Warning: Permanently added '13.120.90.38' (ED25519) to the list of known hosts. You can reproduce this build on your computer by running: sudo dnf install copr-rpmbuild /usr/bin/copr-rpmbuild --verbose --drop-resultdir --task-url https://copr.fedorainfracloud.org/backend/get-build-task/8477088-fedora-rawhide-s390x --chroot fedora-rawhide-s390x Version: 1.2 PID: 45977 Logging PID: 45978 Task: {'allow_user_ssh': False, 'appstream': False, 'background': True, 'build_id': 8477088, 'buildroot_pkgs': [], 'chroot': 'fedora-rawhide-s390x', 'enable_net': False, 'fedora_review': False, 'git_hash': '2ae879b8fffb58594640db9ee1e7b866a313bb3f', 'git_repo': 'https://copr-dist-git.fedorainfracloud.org/git/dmalcolm/gcc-15-smoketest-3.failed/python-imagecodecs', 'isolation': 'default', 'memory_reqs': 2048, 'package_name': 'python-imagecodecs', 'package_version': '2023.1.23-4', 'project_dirname': 'gcc-15-smoketest-3.failed', 'project_name': 'gcc-15-smoketest-3.failed', 'project_owner': 'dmalcolm', 'repo_priority': None, 'repos': [{'baseurl': 'https://download.copr.fedorainfracloud.org/results/dmalcolm/gcc-15-smoketest-3.failed/fedora-rawhide-s390x/', 'id': 'copr_base', 'name': 'Copr repository', 'priority': None}, {'baseurl': 'https://fedorapeople.org/~dmalcolm/gcc/gcc-15-mass-prebuild/$basearch', 'id': 'https_fedorapeople_org_dmalcolm_gcc_gcc_15_mass_prebuild_basearch', 'name': 'Additional repo https_fedorapeople_org_dmalcolm_gcc_gcc_15_mass_prebuild_basearch'}], 'sandbox': 'dmalcolm/gcc-15-smoketest-3.failed--dmalcolm', 'source_json': {}, 'source_type': None, 'ssh_public_keys': None, 'storage': 0, 'submitter': 'dmalcolm', 'tags': [], 'task_id': '8477088-fedora-rawhide-s390x', 'timeout': 115200, 'uses_devel_repo': False, 'with_opts': [], 'without_opts': []} Running: git clone https://copr-dist-git.fedorainfracloud.org/git/dmalcolm/gcc-15-smoketest-3.failed/python-imagecodecs /var/lib/copr-rpmbuild/workspace/workdir-dkh_vt4t/python-imagecodecs --depth 500 --no-single-branch --recursive cmd: ['git', 'clone', 'https://copr-dist-git.fedorainfracloud.org/git/dmalcolm/gcc-15-smoketest-3.failed/python-imagecodecs', '/var/lib/copr-rpmbuild/workspace/workdir-dkh_vt4t/python-imagecodecs', '--depth', '500', '--no-single-branch', '--recursive'] cwd: . rc: 0 stdout: stderr: Cloning into '/var/lib/copr-rpmbuild/workspace/workdir-dkh_vt4t/python-imagecodecs'... Running: git checkout 2ae879b8fffb58594640db9ee1e7b866a313bb3f -- cmd: ['git', 'checkout', '2ae879b8fffb58594640db9ee1e7b866a313bb3f', '--'] cwd: /var/lib/copr-rpmbuild/workspace/workdir-dkh_vt4t/python-imagecodecs rc: 0 stdout: stderr: Note: switching to '2ae879b8fffb58594640db9ee1e7b866a313bb3f'. You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by switching back to a branch. If you want to create a new branch to retain commits you create, you may do so (now or later) by using -c with the switch command. Example: git switch -c Or undo this operation with: git switch - Turn off this advice by setting config variable advice.detachedHead to false HEAD is now at 2ae879b automatic import of python-imagecodecs Running: dist-git-client sources /usr/bin/tail: /var/lib/copr-rpmbuild/main.log: file truncated cmd: ['dist-git-client', 'sources'] cwd: /var/lib/copr-rpmbuild/workspace/workdir-dkh_vt4t/python-imagecodecs rc: 0 stdout: stderr: INFO: Reading stdout from command: git rev-parse --abbrev-ref HEAD INFO: Reading stdout from command: git rev-parse HEAD INFO: Reading sources specification file: sources INFO: Downloading imagecodecs-2023.1.23.tar.gz INFO: Reading stdout from command: curl --help all INFO: Calling: curl -H Pragma: -o imagecodecs-2023.1.23.tar.gz --location --connect-timeout 60 --retry 3 --retry-delay 10 --remote-time --show-error --fail --retry-all-errors https://copr-dist-git.fedorainfracloud.org/repo/pkgs/dmalcolm/gcc-15-smoketest-3.failed/python-imagecodecs/imagecodecs-2023.1.23.tar.gz/md5/69819ee79b1b65b8798b91f78ff9fd65/imagecodecs-2023.1.23.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 14.1M 100 14.1M 0 0 10.4M 0 0:00:01 0:00:01 --:--:-- 10.4M INFO: Reading stdout from command: md5sum imagecodecs-2023.1.23.tar.gz Running (timeout=115200): unbuffer mock --spec /var/lib/copr-rpmbuild/workspace/workdir-dkh_vt4t/python-imagecodecs/python-imagecodecs.spec --sources /var/lib/copr-rpmbuild/workspace/workdir-dkh_vt4t/python-imagecodecs --resultdir /var/lib/copr-rpmbuild/results --uniqueext 1736280654.693837 -r /var/lib/copr-rpmbuild/results/configs/child.cfg INFO: mock.py version 6.0 starting (python version = 3.13.0, NVR = mock-6.0-1.fc41), args: /usr/libexec/mock/mock --spec /var/lib/copr-rpmbuild/workspace/workdir-dkh_vt4t/python-imagecodecs/python-imagecodecs.spec --sources /var/lib/copr-rpmbuild/workspace/workdir-dkh_vt4t/python-imagecodecs --resultdir /var/lib/copr-rpmbuild/results --uniqueext 1736280654.693837 -r /var/lib/copr-rpmbuild/results/configs/child.cfg Start(bootstrap): init plugins INFO: tmpfs initialized INFO: selinux enabled INFO: chroot_scan: initialized INFO: compress_logs: initialized Finish(bootstrap): init plugins Start: init plugins INFO: tmpfs initialized INFO: selinux enabled INFO: chroot_scan: initialized INFO: compress_logs: initialized Finish: init plugins INFO: Signal handler active Start: run INFO: Start(/var/lib/copr-rpmbuild/workspace/workdir-dkh_vt4t/python-imagecodecs/python-imagecodecs.spec) Config(fedora-rawhide-s390x) Start: clean chroot Finish: clean chroot Mock Version: 6.0 INFO: Mock Version: 6.0 Start(bootstrap): chroot init INFO: mounting tmpfs at /var/lib/mock/fedora-rawhide-s390x-bootstrap-1736280654.693837/root. INFO: calling preinit hooks INFO: enabled root cache INFO: enabled package manager cache Start(bootstrap): cleaning package manager metadata Finish(bootstrap): cleaning package manager metadata INFO: Guessed host environment type: unknown INFO: Using container image: registry.fedoraproject.org/fedora:rawhide INFO: Pulling image: registry.fedoraproject.org/fedora:rawhide INFO: Tagging container image as mock-bootstrap-9baf18f7-0748-4245-9ddd-a3449a969f78 INFO: Checking that 9d51fc14eabf1f09e05b6d1fa310b363473951efb08a7c2d51486e9e0aeaa872 image matches host's architecture INFO: Copy content of container 9d51fc14eabf1f09e05b6d1fa310b363473951efb08a7c2d51486e9e0aeaa872 to /var/lib/mock/fedora-rawhide-s390x-bootstrap-1736280654.693837/root INFO: mounting 9d51fc14eabf1f09e05b6d1fa310b363473951efb08a7c2d51486e9e0aeaa872 with podman image mount INFO: image 9d51fc14eabf1f09e05b6d1fa310b363473951efb08a7c2d51486e9e0aeaa872 as /var/lib/containers/storage/overlay/94ca247095614150848e67cea26d68d782195861139b4b21050cc50c991028f8/merged INFO: umounting image 9d51fc14eabf1f09e05b6d1fa310b363473951efb08a7c2d51486e9e0aeaa872 (/var/lib/containers/storage/overlay/94ca247095614150848e67cea26d68d782195861139b4b21050cc50c991028f8/merged) with podman image umount INFO: Removing image mock-bootstrap-9baf18f7-0748-4245-9ddd-a3449a969f78 INFO: Package manager dnf5 detected and used (fallback) INFO: Not updating bootstrap chroot, bootstrap_image_ready=True Start(bootstrap): creating root cache Finish(bootstrap): creating root cache Finish(bootstrap): chroot init Start: chroot init INFO: mounting tmpfs at /var/lib/mock/fedora-rawhide-s390x-1736280654.693837/root. INFO: calling preinit hooks INFO: enabled root cache INFO: enabled package manager cache Start: cleaning package manager metadata Finish: cleaning package manager metadata INFO: enabled HW Info plugin INFO: Package manager dnf5 detected and used (direct choice) INFO: Buildroot is handled by package management downloaded with a bootstrap image: rpm-4.20.0-1.fc42.s390x rpm-sequoia-1.7.0-3.fc42.s390x dnf5-5.2.8.1-2.fc42.s390x dnf5-plugins-5.2.8.1-2.fc42.s390x Start: installing minimal buildroot with dnf5 Updating and loading repositories: fedora 100% | 3.8 KiB/s | 3.2 KiB | 00m01s Copr repository 100% | 2.9 KiB/s | 1.5 KiB | 00m01s Additional repo https_fedorapeople_org 100% | 4.4 KiB/s | 1.5 KiB | 00m00s Repositories loaded. Package Arch Version Repository Size Installing group/module packages: bash s390x 5.2.37-1.fc42 fedora 8.4 MiB bzip2 s390x 1.0.8-19.fc41 fedora 99.2 KiB coreutils s390x 9.5-11.fc42 copr_base 5.4 MiB cpio s390x 2.15-2.fc41 fedora 1.1 MiB diffutils s390x 3.10-8.fc41 fedora 1.6 MiB fedora-release-common noarch 42-0.12 fedora 19.8 KiB findutils s390x 1:4.10.0-4.fc41 fedora 1.9 MiB gawk s390x 5.3.0-4.fc41 fedora 1.8 MiB glibc-minimal-langpack s390x 2.40.9000-26.fc42 fedora 0.0 B grep s390x 3.11-9.fc41 fedora 1.0 MiB gzip s390x 1.13-2.fc41 fedora 400.8 KiB info s390x 7.1.1-2.fc42 fedora 409.1 KiB patch s390x 2.7.6-25.fc41 fedora 298.3 KiB redhat-rpm-config noarch 300-1.no_annobin.0.fc42 copr_base 186.6 KiB rpm-build s390x 4.20.0-1.fc42 fedora 200.4 KiB sed s390x 4.9-3.fc41 fedora 873.2 KiB shadow-utils s390x 2:4.17.0-2.fc42 fedora 4.0 MiB tar s390x 2:1.35-4.fc41 fedora 3.0 MiB unzip s390x 6.0-65.fc42 fedora 2.2 MiB util-linux s390x 2.40.2-8.fc42 fedora 3.7 MiB which s390x 2.21-42.fc41 fedora 83.9 KiB xz s390x 1:5.6.3-2.fc42 fedora 1.2 MiB Installing dependencies: add-determinism s390x 0.5.0-1.fc42 fedora 3.3 MiB alternatives s390x 1.31-1.fc42 fedora 60.6 KiB ansible-srpm-macros noarch 1-16.fc41 fedora 35.7 KiB audit-libs s390x 4.0.2-1.fc41 fedora 350.9 KiB authselect s390x 1.5.0-8.fc42 fedora 157.3 KiB authselect-libs s390x 1.5.0-8.fc42 fedora 823.5 KiB basesystem noarch 11-21.fc41 fedora 0.0 B binutils s390x 2.43.50-9.fc42 fedora 27.4 MiB build-reproducibility-srpm-macros noarch 0.5.0-1.fc42 fedora 735.0 B bzip2-libs s390x 1.0.8-19.fc41 fedora 88.5 KiB ca-certificates noarch 2024.2.69_v8.0.401-4.fc42 fedora 2.6 MiB coreutils-common s390x 9.5-11.fc42 copr_base 11.2 MiB cracklib s390x 2.9.11-6.fc41 fedora 250.0 KiB crypto-policies noarch 20241128-1.gitbb7b0b0.fc42 fedora 137.3 KiB curl s390x 8.11.1-2.fc42 fedora 475.8 KiB cyrus-sasl-lib s390x 2.1.28-27.fc41 fedora 2.4 MiB debugedit s390x 5.1-2.fc42 fedora 195.8 KiB dwz s390x 0.15-8.fc42 fedora 318.6 KiB ed s390x 1.20.2-2.fc41 fedora 150.6 KiB efi-srpm-macros noarch 5-13.fc42 fedora 40.2 KiB elfutils s390x 0.192-7.fc42 fedora 2.9 MiB elfutils-debuginfod-client s390x 0.192-7.fc42 fedora 73.0 KiB elfutils-default-yama-scope noarch 0.192-7.fc42 fedora 1.8 KiB elfutils-libelf s390x 0.192-7.fc42 fedora 1.2 MiB elfutils-libs s390x 0.192-7.fc42 fedora 746.5 KiB fedora-gpg-keys noarch 42-0.3 fedora 126.4 KiB fedora-release noarch 42-0.12 fedora 0.0 B fedora-release-identity-basic noarch 42-0.12 fedora 719.0 B fedora-repos noarch 42-0.3 fedora 4.9 KiB fedora-repos-rawhide noarch 42-0.3 fedora 2.2 KiB file s390x 5.45-8.fc42 fedora 99.3 KiB file-libs s390x 5.45-8.fc42 fedora 9.9 MiB filesystem s390x 3.18-29.fc42 fedora 106.0 B filesystem-srpm-macros noarch 3.18-29.fc42 fedora 36.1 KiB fonts-srpm-macros noarch 1:2.0.5-17.fc41 fedora 55.8 KiB forge-srpm-macros noarch 0.4.0-1.fc42 fedora 38.9 KiB fpc-srpm-macros noarch 1.3-13.fc41 fedora 144.0 B gdb-minimal s390x 15.2-4.fc42 fedora 14.7 MiB gdbm s390x 1:1.23-7.fc41 fedora 483.9 KiB gdbm-libs s390x 1:1.23-7.fc41 fedora 133.4 KiB ghc-srpm-macros noarch 1.9.2-1.fc42 fedora 779.0 B glibc s390x 2.40.9000-26.fc42 fedora 5.1 MiB glibc-common s390x 2.40.9000-26.fc42 fedora 1.1 MiB glibc-gconv-extra s390x 2.40.9000-26.fc42 fedora 6.5 MiB gmp s390x 1:6.3.0-2.fc41 fedora 770.0 KiB gnat-srpm-macros noarch 6-6.fc41 fedora 1.0 KiB go-srpm-macros noarch 3.6.0-5.fc42 fedora 60.8 KiB jansson s390x 2.14-1.fc42 fedora 92.9 KiB json-c s390x 0.18-1.fc42 fedora 82.9 KiB kernel-srpm-macros noarch 1.0-24.fc41 fedora 1.9 KiB keyutils-libs s390x 1.6.3-4.fc41 fedora 54.2 KiB krb5-libs s390x 1.21.3-3.fc42 fedora 2.4 MiB libacl s390x 2.3.2-2.fc41 fedora 43.8 KiB libarchive s390x 3.7.7-1.fc42 fedora 1.0 MiB libattr s390x 2.5.2-4.fc41 fedora 28.3 KiB libblkid s390x 2.40.2-8.fc42 fedora 286.4 KiB libbrotli s390x 1.1.0-5.fc41 fedora 925.1 KiB libcap s390x 2.71-1.fc42 fedora 211.8 KiB libcap-ng s390x 0.8.5-3.fc41 fedora 76.7 KiB libcom_err s390x 1.47.2-1.fc42 fedora 57.7 KiB libcurl s390x 8.11.1-2.fc42 fedora 861.0 KiB libeconf s390x 0.7.5-1.fc42 fedora 62.5 KiB libevent s390x 2.1.12-14.fc41 fedora 938.8 KiB libfdisk s390x 2.40.2-8.fc42 fedora 394.8 KiB libffi s390x 3.4.6-3.fc42 fedora 65.9 KiB libgcc s390x 15.0.0-0.2.fc42 https_fedorapeople_org_dmalcolm_gcc_gcc_15_mass_prebuild_basearch 166.7 KiB libgomp s390x 15.0.0-0.2.fc42 https_fedorapeople_org_dmalcolm_gcc_gcc_15_mass_prebuild_basearch 529.0 KiB libidn2 s390x 2.3.7-2.fc41 fedora 328.9 KiB libmount s390x 2.40.2-8.fc42 fedora 375.8 KiB libnghttp2 s390x 1.64.0-1.fc42 fedora 177.9 KiB libpkgconf s390x 2.3.0-1.fc42 fedora 85.9 KiB libpsl s390x 0.21.5-4.fc41 fedora 80.3 KiB libpwquality s390x 1.4.5-11.fc41 fedora 420.9 KiB libselinux s390x 3.8-0.rc3.1.fc42 fedora 203.4 KiB libsemanage s390x 3.8-0.rc3.1.fc42 fedora 305.1 KiB libsepol s390x 3.8-0.rc3.1.fc42 fedora 840.1 KiB libsmartcols s390x 2.40.2-8.fc42 fedora 192.2 KiB libssh s390x 0.11.1-1.fc42 fedora 585.3 KiB libssh-config noarch 0.11.1-1.fc42 fedora 277.0 B libstdc++ s390x 15.0.0-0.2.fc42 https_fedorapeople_org_dmalcolm_gcc_gcc_15_mass_prebuild_basearch 3.1 MiB libtasn1 s390x 4.19.0-9.fc41 fedora 187.5 KiB libtirpc s390x 1.3.6-1.rc3.fc42 fedora 205.3 KiB libtool-ltdl s390x 2.5.4-1.fc42 copr_base 67.9 KiB libunistring s390x 1.1-8.fc41 fedora 1.8 MiB libuuid s390x 2.40.2-8.fc42 fedora 41.2 KiB libverto s390x 0.3.2-9.fc41 fedora 29.3 KiB libxcrypt s390x 4.4.37-4.fc42 fedora 269.4 KiB libxml2 s390x 2.12.9-1.fc42 fedora 1.8 MiB libzstd s390x 1.5.6-2.fc41 fedora 875.7 KiB lua-libs s390x 5.4.7-1.fc42 fedora 328.8 KiB lua-srpm-macros noarch 1-14.fc41 fedora 1.3 KiB lz4-libs s390x 1.10.0-1.fc41 fedora 201.3 KiB mpfr s390x 4.2.1-5.fc41 fedora 698.7 KiB ncurses-base noarch 6.5-2.20240629.fc41 fedora 326.3 KiB ncurses-libs s390x 6.5-2.20240629.fc41 fedora 1.1 MiB ocaml-srpm-macros noarch 10-3.fc41 fedora 1.9 KiB openblas-srpm-macros noarch 2-18.fc41 fedora 112.0 B openldap s390x 2.6.8-6.fc42 fedora 654.5 KiB openssl-libs s390x 1:3.2.2-10.fc42 fedora 6.0 MiB p11-kit s390x 0.25.5-4.fc42 fedora 2.5 MiB p11-kit-trust s390x 0.25.5-4.fc42 fedora 479.2 KiB package-notes-srpm-macros noarch 0.5-12.fc41 fedora 1.6 KiB pam s390x 1.7.0-3.fc42 fedora 1.5 MiB pam-libs s390x 1.7.0-3.fc42 fedora 122.5 KiB pcre2 s390x 10.44-1.fc41.1 fedora 684.9 KiB pcre2-syntax noarch 10.44-1.fc41.1 fedora 251.6 KiB perl-srpm-macros noarch 1-56.fc41 fedora 861.0 B pkgconf s390x 2.3.0-1.fc42 fedora 92.4 KiB pkgconf-m4 noarch 2.3.0-1.fc42 fedora 14.4 KiB pkgconf-pkg-config s390x 2.3.0-1.fc42 fedora 988.0 B popt s390x 1.19-7.fc41 fedora 144.7 KiB publicsuffix-list-dafsa noarch 20240107-4.fc41 fedora 67.5 KiB pyproject-srpm-macros noarch 1.16.3-1.fc42 fedora 1.9 KiB python-srpm-macros noarch 3.13-3.fc41 fedora 51.0 KiB qt5-srpm-macros noarch 5.15.15-1.fc42 fedora 500.0 B qt6-srpm-macros noarch 6.8.1-4.fc42 fedora 456.0 B readline s390x 8.2-11.fc42 fedora 556.8 KiB rpm s390x 4.20.0-1.fc42 fedora 3.1 MiB rpm-build-libs s390x 4.20.0-1.fc42 fedora 218.4 KiB rpm-libs s390x 4.20.0-1.fc42 fedora 813.6 KiB rpm-sequoia s390x 1.7.0-3.fc42 fedora 3.2 MiB rust-srpm-macros noarch 26.3-3.fc42 fedora 4.8 KiB setup noarch 2.15.0-9.fc42 fedora 720.7 KiB sqlite-libs s390x 3.47.2-1.fc42 fedora 1.6 MiB systemd-libs s390x 257.1-1.fc42 fedora 2.2 MiB util-linux-core s390x 2.40.2-8.fc42 fedora 1.5 MiB xxhash-libs s390x 0.8.3-1.fc42 fedora 64.3 KiB xz-libs s390x 1:5.6.3-2.fc42 fedora 226.1 KiB zig-srpm-macros noarch 1-3.fc41 fedora 1.1 KiB zip s390x 3.0-42.fc42 fedora 723.1 KiB zlib-ng-compat s390x 2.2.2-1.fc42 fedora 109.4 KiB zstd s390x 1.5.6-2.fc41 fedora 1.8 MiB Installing groups: Buildsystem building group Transaction Summary: Installing: 154 packages Total size of inbound packages is 53 MiB. Need to download 0 B. After this operation, 183 MiB extra will be used (install 183 MiB, remove 0 B). [1/1] tar-2:1.35-4.fc41.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [1/1] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/2] bzip2-0:1.0.8-19.fc41.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [2/2] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/3] rpm-build-0:4.20.0-1.fc42.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [3/3] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/4] unzip-0:6.0-65.fc42.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [4/4] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/5] cpio-0:2.15-2.fc41.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [5/5] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/6] which-0:2.21-42.fc41.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [6/6] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/7] bash-0:5.2.37-1.fc42.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [7/7] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/8] grep-0:3.11-9.fc41.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [8/8] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/9] patch-0:2.7.6-25.fc41.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [9/9] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/10] sed-0:4.9-3.fc41.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [10/10] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/11] shadow-utils-2:4.17.0-2.fc42.s3 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [11/11] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/12] util-linux-0:2.40.2-8.fc42.s390 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [12/12] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/13] diffutils-0:3.10-8.fc41.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [13/13] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/14] fedora-release-common-0:42-0.12 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [14/14] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/15] findutils-1:4.10.0-4.fc41.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [15/15] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/16] gawk-0:5.3.0-4.fc41.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [16/16] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/17] glibc-minimal-langpack-0:2.40.9 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [17/17] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/18] gzip-0:1.13-2.fc41.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [18/18] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/19] info-0:7.1.1-2.fc42.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [19/19] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/20] xz-1:5.6.3-2.fc42.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [20/20] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/21] redhat-rpm-config-0:300-1.no_an 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [21/21] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/22] coreutils-0:9.5-11.fc42.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [22/22] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/23] glibc-0:2.40.9000-26.fc42.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [23/23] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/24] libacl-0:2.3.2-2.fc41.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [24/24] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/25] libselinux-0:3.8-0.rc3.1.fc42.s 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [25/25] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/26] bzip2-libs-0:1.0.8-19.fc41.s390 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [26/26] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/27] binutils-0:2.43.50-9.fc42.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [27/27] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/28] debugedit-0:5.1-2.fc42.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [28/28] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/29] elfutils-0:0.192-7.fc42.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [29/29] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/30] elfutils-libelf-0:0.192-7.fc42. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [30/30] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/31] file-0:5.45-8.fc42.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [31/31] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/32] libarchive-0:3.7.7-1.fc42.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [32/32] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/33] pkgconf-pkg-config-0:2.3.0-1.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [33/33] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/34] popt-0:1.19-7.fc41.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [34/34] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/35] readline-0:8.2-11.fc42.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [35/35] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/36] rpm-0:4.20.0-1.fc42.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [36/36] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/37] rpm-build-libs-0:4.20.0-1.fc42. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [37/37] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/38] rpm-libs-0:4.20.0-1.fc42.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [38/38] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/39] zstd-0:1.5.6-2.fc41.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [39/39] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/40] filesystem-0:3.18-29.fc42.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [40/40] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/41] ncurses-libs-0:6.5-2.20240629.f 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [41/41] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/42] pcre2-0:10.44-1.fc41.1.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [42/42] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/43] ed-0:1.20.2-2.fc41.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [43/43] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/44] libattr-0:2.5.2-4.fc41.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [44/44] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/45] audit-libs-0:4.0.2-1.fc41.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [45/45] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/46] libeconf-0:0.7.5-1.fc42.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [46/46] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/47] libsemanage-0:3.8-0.rc3.1.fc42. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [47/47] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/48] libxcrypt-0:4.4.37-4.fc42.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [48/48] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/49] pam-libs-0:1.7.0-3.fc42.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [49/49] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/50] setup-0:2.15.0-9.fc42.noarch 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [50/50] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/51] authselect-libs-0:1.5.0-8.fc42. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [51/51] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/52] libblkid-0:2.40.2-8.fc42.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [52/52] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/53] libcap-ng-0:0.8.5-3.fc41.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [53/53] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/54] libfdisk-0:2.40.2-8.fc42.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [54/54] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/55] libmount-0:2.40.2-8.fc42.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [55/55] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/56] libsmartcols-0:2.40.2-8.fc42.s3 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [56/56] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/57] libuuid-0:2.40.2-8.fc42.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [57/57] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/58] pam-0:1.7.0-3.fc42.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [58/58] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/59] systemd-libs-0:257.1-1.fc42.s39 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [59/59] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/60] util-linux-core-0:2.40.2-8.fc42 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [60/60] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/61] zlib-ng-compat-0:2.2.2-1.fc42.s 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [61/61] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/62] fedora-repos-0:42-0.3.noarch 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [62/62] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/63] gmp-1:6.3.0-2.fc41.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [63/63] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/64] mpfr-0:4.2.1-5.fc41.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [64/64] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/65] glibc-common-0:2.40.9000-26.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [65/65] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/66] xz-libs-1:5.6.3-2.fc42.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [66/66] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/67] ansible-srpm-macros-0:1-16.fc41 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [67/67] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/68] build-reproducibility-srpm-macr 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [68/68] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/69] dwz-0:0.15-8.fc42.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [69/69] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/70] efi-srpm-macros-0:5-13.fc42.noa 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [70/70] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/71] filesystem-srpm-macros-0:3.18-2 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [71/71] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/72] fonts-srpm-macros-1:2.0.5-17.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [72/72] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/73] forge-srpm-macros-0:0.4.0-1.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [73/73] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/74] fpc-srpm-macros-0:1.3-13.fc41.n 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [74/74] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/75] ghc-srpm-macros-0:1.9.2-1.fc42. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [75/75] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/76] gnat-srpm-macros-0:6-6.fc41.noa 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [76/76] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/77] go-srpm-macros-0:3.6.0-5.fc42.n 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [77/77] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/78] kernel-srpm-macros-0:1.0-24.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [78/78] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/79] lua-srpm-macros-0:1-14.fc41.noa 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [79/79] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/80] ocaml-srpm-macros-0:10-3.fc41.n 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [80/80] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/81] openblas-srpm-macros-0:2-18.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [81/81] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/82] package-notes-srpm-macros-0:0.5 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [82/82] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/83] perl-srpm-macros-0:1-56.fc41.no 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [83/83] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/84] pyproject-srpm-macros-0:1.16.3- 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [84/84] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/85] python-srpm-macros-0:3.13-3.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [85/85] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/86] qt5-srpm-macros-0:5.15.15-1.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [86/86] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/87] qt6-srpm-macros-0:6.8.1-4.fc42. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [87/87] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/88] rust-srpm-macros-0:26.3-3.fc42. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [88/88] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/89] zig-srpm-macros-0:1-3.fc41.noar 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [89/89] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/90] zip-0:3.0-42.fc42.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [90/90] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/91] libcap-0:2.71-1.fc42.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [91/91] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/92] openssl-libs-1:3.2.2-10.fc42.s3 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [92/92] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/93] glibc-gconv-extra-0:2.40.9000-2 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [93/93] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/94] basesystem-0:11-21.fc41.noarch 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [94/94] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/95] libsepol-0:3.8-0.rc3.1.fc42.s39 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [95/95] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/96] alternatives-0:1.31-1.fc42.s390 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [96/96] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/97] elfutils-debuginfod-client-0:0. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [97/97] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/98] jansson-0:2.14-1.fc42.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [98/98] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/99] elfutils-libs-0:0.192-7.fc42.s3 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [99/99] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/100] libzstd-0:1.5.6-2.fc41.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [100/100] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/101] file-libs-0:5.45-8.fc42.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [101/101] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/102] libxml2-0:2.12.9-1.fc42.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [102/102] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/103] lz4-libs-0:1.10.0-1.fc41.s390 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [103/103] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/104] pkgconf-0:2.3.0-1.fc42.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [104/104] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/105] pkgconf-m4-0:2.3.0-1.fc42.noa 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [105/105] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/106] curl-0:8.11.1-2.fc42.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [106/106] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/107] lua-libs-0:5.4.7-1.fc42.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [107/107] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/108] rpm-sequoia-0:1.7.0-3.fc42.s3 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [108/108] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/109] sqlite-libs-0:3.47.2-1.fc42.s 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [109/109] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/110] ncurses-base-0:6.5-2.20240629 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [110/110] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/111] pcre2-syntax-0:10.44-1.fc41.1 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [111/111] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/112] authselect-0:1.5.0-8.fc42.s39 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [112/112] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/113] gdbm-1:1.23-7.fc41.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [113/113] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/114] gdbm-libs-1:1.23-7.fc41.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [114/114] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/115] libpwquality-0:1.4.5-11.fc41. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [115/115] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/116] libtirpc-0:1.3.6-1.rc3.fc42.s 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [116/116] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/117] fedora-gpg-keys-0:42-0.3.noar 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [117/117] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/118] fedora-repos-rawhide-0:42-0.3 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [118/118] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/119] add-determinism-0:0.5.0-1.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [119/119] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/120] ca-certificates-0:2024.2.69_v 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [120/120] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/121] crypto-policies-0:20241128-1. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [121/121] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/122] json-c-0:0.18-1.fc42.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [122/122] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/123] elfutils-default-yama-scope-0 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [123/123] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/124] libpkgconf-0:2.3.0-1.fc42.s39 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [124/124] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/125] cracklib-0:2.9.11-6.fc41.s390 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [125/125] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/126] krb5-libs-0:1.21.3-3.fc42.s39 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [126/126] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/127] libcom_err-0:1.47.2-1.fc42.s3 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [127/127] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/128] libffi-0:3.4.6-3.fc42.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [128/128] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/129] p11-kit-0:0.25.5-4.fc42.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [129/129] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/130] p11-kit-trust-0:0.25.5-4.fc42 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [130/130] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/131] keyutils-libs-0:1.6.3-4.fc41. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [131/131] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/132] libverto-0:0.3.2-9.fc41.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [132/132] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/133] libtasn1-0:4.19.0-9.fc41.s390 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [133/133] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/134] coreutils-common-0:9.5-11.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [134/134] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/135] libgcc-0:15.0.0-0.2.fc42.s390 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [135/135] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/136] libstdc++-0:15.0.0-0.2.fc42.s 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [136/136] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/137] libgomp-0:15.0.0-0.2.fc42.s39 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [137/137] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/138] fedora-release-0:42-0.12.noar 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [138/138] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/139] gdb-minimal-0:15.2-4.fc42.s39 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [139/139] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/140] xxhash-libs-0:0.8.3-1.fc42.s3 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [140/140] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/141] fedora-release-identity-basic 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [141/141] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/142] libcurl-0:8.11.1-2.fc42.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [142/142] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/143] libbrotli-0:1.1.0-5.fc41.s390 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [143/143] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/144] libidn2-0:2.3.7-2.fc41.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [144/144] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/145] libnghttp2-0:1.64.0-1.fc42.s3 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [145/145] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/146] libpsl-0:0.21.5-4.fc41.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [146/146] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/147] libssh-0:0.11.1-1.fc42.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [147/147] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/148] openldap-0:2.6.8-6.fc42.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [148/148] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/149] libunistring-0:1.1-8.fc41.s39 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [149/149] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/150] publicsuffix-list-dafsa-0:202 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [150/150] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/151] libssh-config-0:0.11.1-1.fc42 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [151/151] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/152] cyrus-sasl-lib-0:2.1.28-27.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [152/152] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/153] libevent-0:2.1.12-14.fc41.s39 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [153/153] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/154] libtool-ltdl-0:2.5.4-1.fc42.s 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [154/154] Total 100% | 0.0 B/s | 0.0 B | 00m00s Running transaction Importing OpenPGP key 0x105EF944: UserID : "Fedora (42) " Fingerprint: B0F4950458F69E1150C6C5EDC8AC4916105EF944 From : file:///usr/share/distribution-gpg-keys/fedora/RPM-GPG-KEY-fedora-42-primary The key was successfully imported. Importing OpenPGP key 0x105EF944: UserID : "Fedora (42) " Fingerprint: B0F4950458F69E1150C6C5EDC8AC4916105EF944 From : file:///usr/share/distribution-gpg-keys/fedora/RPM-GPG-KEY-fedora-42-primary The key was successfully imported. Importing OpenPGP key 0xE99D6AD1: UserID : "Fedora (41) " Fingerprint: 466CF2D8B60BC3057AA9453ED0622462E99D6AD1 From : file:///usr/share/distribution-gpg-keys/fedora/RPM-GPG-KEY-fedora-41-primary The key was successfully imported. Importing OpenPGP key 0x31645531: UserID : "Fedora (43) " Fingerprint: C6E7F081CF80E13146676E88829B606631645531 From : file:///usr/share/distribution-gpg-keys/fedora/RPM-GPG-KEY-fedora-43-primary The key was successfully imported. [ 1/156] Verify package files 100% | 810.0 B/s | 154.0 B | 00m00s >>> Running pre-transaction scriptlet: filesystem-0:3.18-29.fc42.s390x >>> Finished pre-transaction scriptlet: filesystem-0:3.18-29.fc42.s390x >>> [RPM] /var/lib/mock/fedora-rawhide-s390x-1736280654.693837/root/var/cache/dn [ 2/156] Prepare transaction 100% | 2.9 KiB/s | 154.0 B | 00m00s [ 3/156] Installing libgcc-0:15.0.0-0. 100% | 164.5 MiB/s | 168.4 KiB | 00m00s [ 4/156] Installing libssh-config-0:0. 100% | 0.0 B/s | 816.0 B | 00m00s [ 5/156] Installing publicsuffix-list- 100% | 66.7 MiB/s | 68.3 KiB | 00m00s [ 6/156] Installing fedora-release-ide 100% | 0.0 B/s | 976.0 B | 00m00s [ 7/156] Installing fedora-gpg-keys-0: 100% | 42.0 MiB/s | 172.2 KiB | 00m00s [ 8/156] Installing fedora-repos-rawhi 100% | 0.0 B/s | 2.4 KiB | 00m00s [ 9/156] Installing fedora-repos-0:42- 100% | 0.0 B/s | 5.7 KiB | 00m00s [ 10/156] Installing fedora-release-com 100% | 23.6 MiB/s | 24.1 KiB | 00m00s [ 11/156] Installing fedora-release-0:4 100% | 0.0 B/s | 124.0 B | 00m00s [ 12/156] Installing setup-0:2.15.0-9.f 100% | 50.7 MiB/s | 726.5 KiB | 00m00s >>> [RPM] /etc/hosts created as /etc/hosts.rpmnew [ 13/156] Installing filesystem-0:3.18- 100% | 3.1 MiB/s | 212.6 KiB | 00m00s [ 14/156] Installing basesystem-0:11-21 100% | 0.0 B/s | 124.0 B | 00m00s [ 15/156] Installing coreutils-common-0 100% | 339.1 MiB/s | 11.2 MiB | 00m00s [ 16/156] Installing pcre2-syntax-0:10. 100% | 248.1 MiB/s | 254.1 KiB | 00m00s [ 17/156] Installing ncurses-base-0:6.5 100% | 85.9 MiB/s | 351.7 KiB | 00m00s [ 18/156] Installing glibc-minimal-lang 100% | 0.0 B/s | 124.0 B | 00m00s [ 19/156] Installing ncurses-libs-0:6.5 100% | 212.5 MiB/s | 1.1 MiB | 00m00s [ 20/156] Installing glibc-0:2.40.9000- 100% | 242.8 MiB/s | 5.1 MiB | 00m00s [ 21/156] Installing bash-0:5.2.37-1.fc 100% | 365.3 MiB/s | 8.4 MiB | 00m00s [ 22/156] Installing glibc-common-0:2.4 100% | 152.4 MiB/s | 1.1 MiB | 00m00s [ 23/156] Installing glibc-gconv-extra- 100% | 220.9 MiB/s | 6.6 MiB | 00m00s [ 24/156] Installing zlib-ng-compat-0:2 100% | 107.7 MiB/s | 110.3 KiB | 00m00s [ 25/156] Installing bzip2-libs-0:1.0.8 100% | 0.0 B/s | 89.6 KiB | 00m00s [ 26/156] Installing xz-libs-1:5.6.3-2. 100% | 221.9 MiB/s | 227.2 KiB | 00m00s [ 27/156] Installing popt-0:1.19-7.fc41 100% | 73.9 MiB/s | 151.3 KiB | 00m00s [ 28/156] Installing readline-0:8.2-11. 100% | 272.9 MiB/s | 558.9 KiB | 00m00s [ 29/156] Installing libuuid-0:2.40.2-8 100% | 0.0 B/s | 42.3 KiB | 00m00s [ 30/156] Installing libblkid-0:2.40.2- 100% | 280.8 MiB/s | 287.6 KiB | 00m00s [ 31/156] Installing libxcrypt-0:4.4.37 100% | 265.7 MiB/s | 272.1 KiB | 00m00s [ 32/156] Installing gmp-1:6.3.0-2.fc41 100% | 251.4 MiB/s | 772.2 KiB | 00m00s [ 33/156] Installing libzstd-0:1.5.6-2. 100% | 285.5 MiB/s | 877.0 KiB | 00m00s [ 34/156] Installing elfutils-libelf-0: 100% | 293.7 MiB/s | 1.2 MiB | 00m00s [ 35/156] Installing libstdc++-0:15.0.0 100% | 307.5 MiB/s | 3.1 MiB | 00m00s [ 36/156] Installing libattr-0:2.5.2-4. 100% | 0.0 B/s | 29.3 KiB | 00m00s [ 37/156] Installing libacl-0:2.3.2-2.f 100% | 0.0 B/s | 44.6 KiB | 00m00s [ 38/156] Installing libeconf-0:0.7.5-1 100% | 62.6 MiB/s | 64.2 KiB | 00m00s [ 39/156] Installing gdbm-libs-1:1.23-7 100% | 132.0 MiB/s | 135.1 KiB | 00m00s [ 40/156] Installing dwz-0:0.15-8.fc42. 100% | 312.5 MiB/s | 320.0 KiB | 00m00s [ 41/156] Installing mpfr-0:4.2.1-5.fc4 100% | 228.0 MiB/s | 700.4 KiB | 00m00s [ 42/156] Installing gawk-0:5.3.0-4.fc4 100% | 259.2 MiB/s | 1.8 MiB | 00m00s [ 43/156] Installing unzip-0:6.0-65.fc4 100% | 552.0 MiB/s | 2.2 MiB | 00m00s [ 44/156] Installing file-libs-0:5.45-8 100% | 621.4 MiB/s | 9.9 MiB | 00m00s [ 45/156] Installing file-0:5.45-8.fc42 100% | 19.7 MiB/s | 100.8 KiB | 00m00s [ 46/156] Installing crypto-policies-0: 100% | 32.0 MiB/s | 163.7 KiB | 00m00s [ 47/156] Installing pcre2-0:10.44-1.fc 100% | 223.4 MiB/s | 686.3 KiB | 00m00s [ 48/156] Installing grep-0:3.11-9.fc41 100% | 203.7 MiB/s | 1.0 MiB | 00m00s [ 49/156] Installing xz-1:5.6.3-2.fc42. 100% | 206.8 MiB/s | 1.2 MiB | 00m00s [ 50/156] Installing libcap-ng-0:0.8.5- 100% | 76.7 MiB/s | 78.6 KiB | 00m00s [ 51/156] Installing audit-libs-0:4.0.2 100% | 172.4 MiB/s | 353.0 KiB | 00m00s [ 52/156] Installing pam-libs-0:1.7.0-3 100% | 121.8 MiB/s | 124.8 KiB | 00m00s [ 53/156] Installing libcap-0:2.71-1.fc 100% | 105.8 MiB/s | 216.7 KiB | 00m00s [ 54/156] Installing systemd-libs-0:257 100% | 249.5 MiB/s | 2.2 MiB | 00m00s [ 55/156] Installing libsmartcols-0:2.4 100% | 188.7 MiB/s | 193.2 KiB | 00m00s [ 56/156] Installing libsepol-0:3.8-0.r 100% | 273.8 MiB/s | 841.0 KiB | 00m00s [ 57/156] Installing libselinux-0:3.8-0 100% | 199.9 MiB/s | 204.7 KiB | 00m00s [ 58/156] Installing sed-0:4.9-3.fc41.s 100% | 215.2 MiB/s | 881.4 KiB | 00m00s [ 59/156] Installing findutils-1:4.10.0 100% | 270.4 MiB/s | 1.9 MiB | 00m00s [ 60/156] Installing libmount-0:2.40.2- 100% | 184.0 MiB/s | 376.9 KiB | 00m00s [ 61/156] Installing alternatives-0:1.3 100% | 60.7 MiB/s | 62.2 KiB | 00m00s [ 62/156] Installing lz4-libs-0:1.10.0- 100% | 197.6 MiB/s | 202.4 KiB | 00m00s [ 63/156] Installing lua-libs-0:5.4.7-1 100% | 322.3 MiB/s | 330.0 KiB | 00m00s [ 64/156] Installing libcom_err-0:1.47. 100% | 0.0 B/s | 58.8 KiB | 00m00s [ 65/156] Installing libffi-0:3.4.6-3.f 100% | 0.0 B/s | 67.3 KiB | 00m00s [ 66/156] Installing libtasn1-0:4.19.0- 100% | 184.9 MiB/s | 189.3 KiB | 00m00s [ 67/156] Installing p11-kit-0:0.25.5-4 100% | 251.2 MiB/s | 2.5 MiB | 00m00s [ 68/156] Installing libunistring-0:1.1 100% | 295.6 MiB/s | 1.8 MiB | 00m00s [ 69/156] Installing libidn2-0:2.3.7-2. 100% | 163.5 MiB/s | 334.9 KiB | 00m00s [ 70/156] Installing libpsl-0:0.21.5-4. 100% | 79.5 MiB/s | 81.4 KiB | 00m00s [ 71/156] Installing p11-kit-trust-0:0. 100% | 93.9 MiB/s | 480.9 KiB | 00m00s [ 72/156] Installing openssl-libs-1:3.2 100% | 259.5 MiB/s | 6.0 MiB | 00m00s [ 73/156] Installing coreutils-0:9.5-11 100% | 260.0 MiB/s | 5.5 MiB | 00m00s [ 74/156] Installing ca-certificates-0: 100% | 1.7 MiB/s | 2.4 MiB | 00m01s [ 75/156] Installing gzip-0:1.13-2.fc41 100% | 99.2 MiB/s | 406.3 KiB | 00m00s [ 76/156] Installing authselect-libs-0: 100% | 136.5 MiB/s | 838.5 KiB | 00m00s [ 77/156] Installing cracklib-0:2.9.11- 100% | 85.1 MiB/s | 261.4 KiB | 00m00s [ 78/156] Installing libpwquality-0:1.4 100% | 105.8 MiB/s | 433.3 KiB | 00m00s [ 79/156] Installing rpm-sequoia-0:1.7. 100% | 263.3 MiB/s | 3.2 MiB | 00m00s [ 80/156] Installing libevent-0:2.1.12- 100% | 230.1 MiB/s | 942.6 KiB | 00m00s [ 81/156] Installing zstd-0:1.5.6-2.fc4 100% | 305.8 MiB/s | 1.8 MiB | 00m00s [ 82/156] Installing util-linux-core-0: 100% | 192.9 MiB/s | 1.5 MiB | 00m00s [ 83/156] Installing tar-2:1.35-4.fc41. 100% | 302.0 MiB/s | 3.0 MiB | 00m00s [ 84/156] Installing libsemanage-0:3.8- 100% | 99.9 MiB/s | 306.9 KiB | 00m00s [ 85/156] Installing shadow-utils-2:4.1 100% | 192.7 MiB/s | 4.0 MiB | 00m00s [ 86/156] Installing zip-0:3.0-42.fc42. 100% | 236.7 MiB/s | 727.0 KiB | 00m00s [ 87/156] Installing gdbm-1:1.23-7.fc41 100% | 159.1 MiB/s | 488.8 KiB | 00m00s [ 88/156] Installing cyrus-sasl-lib-0:2 100% | 265.4 MiB/s | 2.4 MiB | 00m00s [ 89/156] Installing libfdisk-0:2.40.2- 100% | 193.3 MiB/s | 395.9 KiB | 00m00s [ 90/156] Installing libxml2-0:2.12.9-1 100% | 263.6 MiB/s | 1.8 MiB | 00m00s [ 91/156] Installing libarchive-0:3.7.7 100% | 249.5 MiB/s | 1.0 MiB | 00m00s [ 92/156] Installing bzip2-0:1.0.8-19.f 100% | 101.3 MiB/s | 103.7 KiB | 00m00s [ 93/156] Installing sqlite-libs-0:3.47 100% | 264.5 MiB/s | 1.6 MiB | 00m00s [ 94/156] Installing rpm-libs-0:4.20.0- 100% | 265.3 MiB/s | 815.1 KiB | 00m00s [ 95/156] Installing add-determinism-0: 100% | 272.2 MiB/s | 3.3 MiB | 00m00s [ 96/156] Installing build-reproducibil 100% | 0.0 B/s | 1.0 KiB | 00m00s [ 97/156] Installing ed-0:1.20.2-2.fc41 100% | 149.3 MiB/s | 152.9 KiB | 00m00s [ 98/156] Installing patch-0:2.7.6-25.f 100% | 146.4 MiB/s | 299.9 KiB | 00m00s [ 99/156] Installing filesystem-srpm-ma 100% | 0.0 B/s | 36.8 KiB | 00m00s [100/156] Installing elfutils-default-y 100% | 510.7 KiB/s | 2.0 KiB | 00m00s [101/156] Installing elfutils-libs-0:0. 100% | 182.7 MiB/s | 748.4 KiB | 00m00s [102/156] Installing cpio-0:2.15-2.fc41 100% | 186.5 MiB/s | 1.1 MiB | 00m00s [103/156] Installing diffutils-0:3.10-8 100% | 203.5 MiB/s | 1.6 MiB | 00m00s [104/156] Installing jansson-0:2.14-1.f 100% | 92.1 MiB/s | 94.3 KiB | 00m00s [105/156] Installing json-c-0:0.18-1.fc 100% | 82.2 MiB/s | 84.1 KiB | 00m00s [106/156] Installing libpkgconf-0:2.3.0 100% | 84.9 MiB/s | 87.0 KiB | 00m00s [107/156] Installing pkgconf-0:2.3.0-1. 100% | 92.7 MiB/s | 94.9 KiB | 00m00s [108/156] Installing keyutils-libs-0:1. 100% | 54.3 MiB/s | 55.6 KiB | 00m00s [109/156] Installing libverto-0:0.3.2-9 100% | 30.3 MiB/s | 31.1 KiB | 00m00s [110/156] Installing krb5-libs-0:1.21.3 100% | 185.9 MiB/s | 2.4 MiB | 00m00s [111/156] Installing libtirpc-0:1.3.6-1 100% | 67.4 MiB/s | 207.1 KiB | 00m00s [112/156] Installing pam-0:1.7.0-3.fc42 100% | 99.6 MiB/s | 1.6 MiB | 00m00s [113/156] Installing libssh-0:0.11.1-1. 100% | 191.2 MiB/s | 587.4 KiB | 00m00s [114/156] Installing libgomp-0:15.0.0-0 100% | 172.7 MiB/s | 530.4 KiB | 00m00s [115/156] Installing rpm-build-libs-0:4 100% | 107.1 MiB/s | 219.3 KiB | 00m00s [116/156] Installing xxhash-libs-0:0.8. 100% | 64.1 MiB/s | 65.7 KiB | 00m00s [117/156] Installing libbrotli-0:1.1.0- 100% | 181.1 MiB/s | 927.4 KiB | 00m00s [118/156] Installing libnghttp2-0:1.64. 100% | 174.9 MiB/s | 179.1 KiB | 00m00s [119/156] Installing libtool-ltdl-0:2.5 100% | 67.4 MiB/s | 69.0 KiB | 00m00s [120/156] Installing openldap-0:2.6.8-6 100% | 214.3 MiB/s | 658.3 KiB | 00m00s [121/156] Installing libcurl-0:8.11.1-2 100% | 210.5 MiB/s | 862.1 KiB | 00m00s [122/156] Installing elfutils-debuginfo 100% | 36.8 MiB/s | 75.3 KiB | 00m00s [123/156] Installing binutils-0:2.43.50 100% | 322.5 MiB/s | 27.4 MiB | 00m00s [124/156] Installing elfutils-0:0.192-7 100% | 293.0 MiB/s | 2.9 MiB | 00m00s [125/156] Installing gdb-minimal-0:15.2 100% | 277.4 MiB/s | 14.7 MiB | 00m00s [126/156] Installing debugedit-0:5.1-2. 100% | 96.9 MiB/s | 198.5 KiB | 00m00s [127/156] Installing curl-0:8.11.1-2.fc 100% | 46.7 MiB/s | 478.3 KiB | 00m00s [128/156] Installing rpm-0:4.20.0-1.fc4 100% | 125.2 MiB/s | 2.5 MiB | 00m00s [129/156] Installing efi-srpm-macros-0: 100% | 40.2 MiB/s | 41.2 KiB | 00m00s [130/156] Installing lua-srpm-macros-0: 100% | 0.0 B/s | 1.9 KiB | 00m00s [131/156] Installing zig-srpm-macros-0: 100% | 0.0 B/s | 1.7 KiB | 00m00s [132/156] Installing pkgconf-m4-0:2.3.0 100% | 0.0 B/s | 14.8 KiB | 00m00s [133/156] Installing pkgconf-pkg-config 100% | 0.0 B/s | 1.8 KiB | 00m00s [134/156] Installing rust-srpm-macros-0 100% | 0.0 B/s | 5.6 KiB | 00m00s [135/156] Installing qt6-srpm-macros-0: 100% | 0.0 B/s | 732.0 B | 00m00s [136/156] Installing qt5-srpm-macros-0: 100% | 0.0 B/s | 776.0 B | 00m00s [137/156] Installing perl-srpm-macros-0 100% | 0.0 B/s | 1.1 KiB | 00m00s [138/156] Installing package-notes-srpm 100% | 0.0 B/s | 2.0 KiB | 00m00s [139/156] Installing openblas-srpm-macr 100% | 0.0 B/s | 392.0 B | 00m00s [140/156] Installing ocaml-srpm-macros- 100% | 0.0 B/s | 2.2 KiB | 00m00s [141/156] Installing kernel-srpm-macros 100% | 0.0 B/s | 2.3 KiB | 00m00s [142/156] Installing gnat-srpm-macros-0 100% | 0.0 B/s | 1.3 KiB | 00m00s [143/156] Installing ghc-srpm-macros-0: 100% | 0.0 B/s | 1.0 KiB | 00m00s [144/156] Installing fpc-srpm-macros-0: 100% | 0.0 B/s | 420.0 B | 00m00s [145/156] Installing ansible-srpm-macro 100% | 0.0 B/s | 36.2 KiB | 00m00s [146/156] Installing fonts-srpm-macros- 100% | 55.7 MiB/s | 57.0 KiB | 00m00s [147/156] Installing forge-srpm-macros- 100% | 39.3 MiB/s | 40.3 KiB | 00m00s [148/156] Installing go-srpm-macros-0:3 100% | 60.5 MiB/s | 62.0 KiB | 00m00s [149/156] Installing python-srpm-macros 100% | 50.9 MiB/s | 52.2 KiB | 00m00s [150/156] Installing redhat-rpm-config- 100% | 62.9 MiB/s | 193.2 KiB | 00m00s [151/156] Installing rpm-build-0:4.20.0 100% | 68.0 MiB/s | 209.0 KiB | 00m00s [152/156] Installing pyproject-srpm-mac 100% | 1.2 MiB/s | 2.5 KiB | 00m00s [153/156] Installing util-linux-0:2.40. 100% | 169.5 MiB/s | 3.7 MiB | 00m00s [154/156] Installing authselect-0:1.5.0 100% | 78.9 MiB/s | 161.7 KiB | 00m00s [155/156] Installing which-0:2.21-42.fc 100% | 84.1 MiB/s | 86.1 KiB | 00m00s [156/156] Installing info-0:7.1.1-2.fc4 100% | 240.9 KiB/s | 409.5 KiB | 00m02s Warning: skipped OpenPGP checks for 7 packages from repositories: copr_base, https_fedorapeople_org_dmalcolm_gcc_gcc_15_mass_prebuild_basearch Complete! Finish: installing minimal buildroot with dnf5 Start: creating root cache Finish: creating root cache Finish: chroot init INFO: Installed packages: INFO: add-determinism-0.5.0-1.fc42.s390x alternatives-1.31-1.fc42.s390x ansible-srpm-macros-1-16.fc41.noarch audit-libs-4.0.2-1.fc41.s390x authselect-1.5.0-8.fc42.s390x authselect-libs-1.5.0-8.fc42.s390x basesystem-11-21.fc41.noarch bash-5.2.37-1.fc42.s390x binutils-2.43.50-9.fc42.s390x build-reproducibility-srpm-macros-0.5.0-1.fc42.noarch bzip2-1.0.8-19.fc41.s390x bzip2-libs-1.0.8-19.fc41.s390x ca-certificates-2024.2.69_v8.0.401-4.fc42.noarch coreutils-9.5-11.fc42.s390x coreutils-common-9.5-11.fc42.s390x cpio-2.15-2.fc41.s390x cracklib-2.9.11-6.fc41.s390x crypto-policies-20241128-1.gitbb7b0b0.fc42.noarch curl-8.11.1-2.fc42.s390x cyrus-sasl-lib-2.1.28-27.fc41.s390x debugedit-5.1-2.fc42.s390x diffutils-3.10-8.fc41.s390x dwz-0.15-8.fc42.s390x ed-1.20.2-2.fc41.s390x efi-srpm-macros-5-13.fc42.noarch elfutils-0.192-7.fc42.s390x elfutils-debuginfod-client-0.192-7.fc42.s390x elfutils-default-yama-scope-0.192-7.fc42.noarch elfutils-libelf-0.192-7.fc42.s390x elfutils-libs-0.192-7.fc42.s390x fedora-gpg-keys-42-0.3.noarch fedora-release-42-0.12.noarch fedora-release-common-42-0.12.noarch fedora-release-identity-basic-42-0.12.noarch fedora-repos-42-0.3.noarch fedora-repos-rawhide-42-0.3.noarch file-5.45-8.fc42.s390x file-libs-5.45-8.fc42.s390x filesystem-3.18-29.fc42.s390x filesystem-srpm-macros-3.18-29.fc42.noarch findutils-4.10.0-4.fc41.s390x fonts-srpm-macros-2.0.5-17.fc41.noarch forge-srpm-macros-0.4.0-1.fc42.noarch fpc-srpm-macros-1.3-13.fc41.noarch gawk-5.3.0-4.fc41.s390x gdb-minimal-15.2-4.fc42.s390x gdbm-1.23-7.fc41.s390x gdbm-libs-1.23-7.fc41.s390x ghc-srpm-macros-1.9.2-1.fc42.noarch glibc-2.40.9000-26.fc42.s390x glibc-common-2.40.9000-26.fc42.s390x glibc-gconv-extra-2.40.9000-26.fc42.s390x glibc-minimal-langpack-2.40.9000-26.fc42.s390x gmp-6.3.0-2.fc41.s390x gnat-srpm-macros-6-6.fc41.noarch go-srpm-macros-3.6.0-5.fc42.noarch gpg-pubkey-105ef944-65ca83d1 gpg-pubkey-31645531-66b6dccf gpg-pubkey-e99d6ad1-64d2612c grep-3.11-9.fc41.s390x gzip-1.13-2.fc41.s390x info-7.1.1-2.fc42.s390x jansson-2.14-1.fc42.s390x json-c-0.18-1.fc42.s390x kernel-srpm-macros-1.0-24.fc41.noarch keyutils-libs-1.6.3-4.fc41.s390x krb5-libs-1.21.3-3.fc42.s390x libacl-2.3.2-2.fc41.s390x libarchive-3.7.7-1.fc42.s390x libattr-2.5.2-4.fc41.s390x libblkid-2.40.2-8.fc42.s390x libbrotli-1.1.0-5.fc41.s390x libcap-2.71-1.fc42.s390x libcap-ng-0.8.5-3.fc41.s390x libcom_err-1.47.2-1.fc42.s390x libcurl-8.11.1-2.fc42.s390x libeconf-0.7.5-1.fc42.s390x libevent-2.1.12-14.fc41.s390x libfdisk-2.40.2-8.fc42.s390x libffi-3.4.6-3.fc42.s390x libgcc-15.0.0-0.2.fc42.s390x libgomp-15.0.0-0.2.fc42.s390x libidn2-2.3.7-2.fc41.s390x libmount-2.40.2-8.fc42.s390x libnghttp2-1.64.0-1.fc42.s390x libpkgconf-2.3.0-1.fc42.s390x libpsl-0.21.5-4.fc41.s390x libpwquality-1.4.5-11.fc41.s390x libselinux-3.8-0.rc3.1.fc42.s390x libsemanage-3.8-0.rc3.1.fc42.s390x libsepol-3.8-0.rc3.1.fc42.s390x libsmartcols-2.40.2-8.fc42.s390x libssh-0.11.1-1.fc42.s390x libssh-config-0.11.1-1.fc42.noarch libstdc++-15.0.0-0.2.fc42.s390x libtasn1-4.19.0-9.fc41.s390x libtirpc-1.3.6-1.rc3.fc42.s390x libtool-ltdl-2.5.4-1.fc42.s390x libunistring-1.1-8.fc41.s390x libuuid-2.40.2-8.fc42.s390x libverto-0.3.2-9.fc41.s390x libxcrypt-4.4.37-4.fc42.s390x libxml2-2.12.9-1.fc42.s390x libzstd-1.5.6-2.fc41.s390x lua-libs-5.4.7-1.fc42.s390x lua-srpm-macros-1-14.fc41.noarch lz4-libs-1.10.0-1.fc41.s390x mpfr-4.2.1-5.fc41.s390x ncurses-base-6.5-2.20240629.fc41.noarch ncurses-libs-6.5-2.20240629.fc41.s390x ocaml-srpm-macros-10-3.fc41.noarch openblas-srpm-macros-2-18.fc41.noarch openldap-2.6.8-6.fc42.s390x openssl-libs-3.2.2-10.fc42.s390x p11-kit-0.25.5-4.fc42.s390x p11-kit-trust-0.25.5-4.fc42.s390x package-notes-srpm-macros-0.5-12.fc41.noarch pam-1.7.0-3.fc42.s390x pam-libs-1.7.0-3.fc42.s390x patch-2.7.6-25.fc41.s390x pcre2-10.44-1.fc41.1.s390x pcre2-syntax-10.44-1.fc41.1.noarch perl-srpm-macros-1-56.fc41.noarch pkgconf-2.3.0-1.fc42.s390x pkgconf-m4-2.3.0-1.fc42.noarch pkgconf-pkg-config-2.3.0-1.fc42.s390x popt-1.19-7.fc41.s390x publicsuffix-list-dafsa-20240107-4.fc41.noarch pyproject-srpm-macros-1.16.3-1.fc42.noarch python-srpm-macros-3.13-3.fc41.noarch qt5-srpm-macros-5.15.15-1.fc42.noarch qt6-srpm-macros-6.8.1-4.fc42.noarch readline-8.2-11.fc42.s390x redhat-rpm-config-300-1.no_annobin.0.fc42.noarch rpm-4.20.0-1.fc42.s390x rpm-build-4.20.0-1.fc42.s390x rpm-build-libs-4.20.0-1.fc42.s390x rpm-libs-4.20.0-1.fc42.s390x rpm-sequoia-1.7.0-3.fc42.s390x rust-srpm-macros-26.3-3.fc42.noarch sed-4.9-3.fc41.s390x setup-2.15.0-9.fc42.noarch shadow-utils-4.17.0-2.fc42.s390x sqlite-libs-3.47.2-1.fc42.s390x systemd-libs-257.1-1.fc42.s390x tar-1.35-4.fc41.s390x unzip-6.0-65.fc42.s390x util-linux-2.40.2-8.fc42.s390x util-linux-core-2.40.2-8.fc42.s390x which-2.21-42.fc41.s390x xxhash-libs-0.8.3-1.fc42.s390x xz-5.6.3-2.fc42.s390x xz-libs-5.6.3-2.fc42.s390x zig-srpm-macros-1-3.fc41.noarch zip-3.0-42.fc42.s390x zlib-ng-compat-2.2.2-1.fc42.s390x zstd-1.5.6-2.fc41.s390x Start: buildsrpm Start: rpmbuild -bs Building target platforms: s390x Building for target s390x setting SOURCE_DATE_EPOCH=1725926400 Wrote: /builddir/build/SRPMS/python-imagecodecs-2023.1.23-4.fc42.src.rpm Finish: rpmbuild -bs INFO: chroot_scan: 1 files copied to /var/lib/copr-rpmbuild/results/chroot_scan INFO: /var/lib/mock/fedora-rawhide-s390x-1736280654.693837/root/var/log/dnf5.log INFO: chroot_scan: creating tarball /var/lib/copr-rpmbuild/results/chroot_scan.tar.gz /bin/tar: Removing leading `/' from member names Finish: buildsrpm INFO: Done(/var/lib/copr-rpmbuild/workspace/workdir-dkh_vt4t/python-imagecodecs/python-imagecodecs.spec) Config(child) 0 minutes 17 seconds INFO: Results and/or logs in: /var/lib/copr-rpmbuild/results INFO: Cleaning up build root ('cleanup_on_success=True') Start: clean chroot INFO: unmounting tmpfs. Finish: clean chroot INFO: Start(/var/lib/copr-rpmbuild/results/python-imagecodecs-2023.1.23-4.fc42.src.rpm) Config(fedora-rawhide-s390x) Start(bootstrap): chroot init INFO: mounting tmpfs at /var/lib/mock/fedora-rawhide-s390x-bootstrap-1736280654.693837/root. INFO: reusing tmpfs at /var/lib/mock/fedora-rawhide-s390x-bootstrap-1736280654.693837/root. INFO: calling preinit hooks INFO: enabled root cache INFO: enabled package manager cache Start(bootstrap): cleaning package manager metadata Finish(bootstrap): cleaning package manager metadata Finish(bootstrap): chroot init Start: chroot init INFO: mounting tmpfs at /var/lib/mock/fedora-rawhide-s390x-1736280654.693837/root. INFO: calling preinit hooks INFO: enabled root cache Start: unpacking root cache Finish: unpacking root cache INFO: enabled package manager cache Start: cleaning package manager metadata Finish: cleaning package manager metadata INFO: enabled HW Info plugin INFO: Buildroot is handled by package management downloaded with a bootstrap image: rpm-4.20.0-1.fc42.s390x rpm-sequoia-1.7.0-3.fc42.s390x dnf5-5.2.8.1-2.fc42.s390x dnf5-plugins-5.2.8.1-2.fc42.s390x Finish: chroot init Start: build phase for python-imagecodecs-2023.1.23-4.fc42.src.rpm Start: build setup for python-imagecodecs-2023.1.23-4.fc42.src.rpm Building target platforms: s390x Building for target s390x setting SOURCE_DATE_EPOCH=1725926400 Wrote: /builddir/build/SRPMS/python-imagecodecs-2023.1.23-4.fc42.src.rpm Updating and loading repositories: fedora 100% | 9.8 KiB/s | 3.2 KiB | 00m00s Copr repository 100% | 3.6 KiB/s | 1.5 KiB | 00m00s Additional repo https_fedorapeople_org 100% | 4.6 KiB/s | 1.5 KiB | 00m00s Repositories loaded. Package Arch Version Repository Size Installing: CharLS-devel s390x 2.4.2-6.fc41 fedora 129.9 KiB blosc-devel s390x 1.21.6-1.fc42 fedora 20.9 KiB blosc2-devel s390x 2.15.2-1.fc42 fedora 149.2 KiB brotli-devel s390x 1.1.0-5.fc41 fedora 65.6 KiB bzip2-devel s390x 1.0.8-19.fc41 fedora 309.8 KiB cfitsio-devel s390x 4.5.0-5.fc42 fedora 517.5 KiB gcc-c++ s390x 15.0.0-0.2.fc42 https_fedorapeople_org_dmalcolm_gcc_gcc_15_mass_prebuild_basearch 29.9 MiB giflib-devel s390x 5.2.2-2.fc41 fedora 673.9 KiB jxrlib-devel s390x 1.1-28.fc41 fedora 204.6 KiB lcms2-devel s390x 2.16-4.fc41 fedora 135.7 KiB libaec-devel s390x 1.1.3-1.fc42 fedora 12.5 KiB libavif-devel s390x 1.0.4-7.fc41 fedora 68.7 KiB libdeflate-devel s390x 1.23-1.fc42 fedora 25.9 KiB libheif-devel s390x 1.19.5-1.fc42 fedora 217.4 KiB libjpeg-turbo-devel s390x 3.1.0-1.fc42 fedora 353.9 KiB liblerc-devel s390x 4.0.0-7.fc41 fedora 4.3 MiB libpng-devel s390x 2:1.6.44-1.fc42 fedora 889.5 KiB libtiff-devel s390x 4.7.0-2.fc42 fedora 761.9 KiB libzstd-devel s390x 1.5.6-2.fc41 fedora 202.4 KiB lz4-devel s390x 1.10.0-1.fc41 fedora 102.2 KiB python3-blosc s390x 1.11.2-2.fc41 fedora 226.2 KiB python3-blosc2 s390x 2.7.1-2.fc42 fedora 1.1 MiB python3-brotli s390x 1.1.0-5.fc41 fedora 923.9 KiB python3-cython s390x 3.0.11-2.fc42 fedora 18.0 MiB python3-devel s390x 3.13.1-2.fc42 fedora 1.8 MiB python3-lz4 s390x 4.3.3-5.fc41 fedora 6.2 MiB python3-numcodecs s390x 0.14.1-2.fc42 fedora 1.7 MiB python3-pytest noarch 8.3.4-1.fc42 fedora 20.8 MiB python3-snappy noarch 0.7.2-2.fc41 fedora 39.5 KiB python3-tifffile noarch 2024.12.12-1.fc42 fedora 2.8 MiB python3-zarr noarch 2.18.3-1.fc42 fedora 3.1 MiB python3-zstd s390x 1.5.6.1-1.fc42 fedora 32.5 KiB snappy-devel s390x 1.2.1-3.fc42 fedora 47.1 KiB xz-devel s390x 1:5.6.3-2.fc42 fedora 255.6 KiB zfp-devel s390x 1.0.1-3.fc41 fedora 480.0 KiB zlib-ng-devel s390x 2.2.2-1.fc42 fedora 103.7 KiB zopfli-devel s390x 1.0.3-11.fc41 fedora 15.5 KiB Installing dependencies: CharLS s390x 2.4.2-6.fc41 fedora 346.3 KiB annobin-docs noarch 12.80-1.fc42 fedora 98.6 KiB annobin-plugin-gcc s390x 12.80-1.fc42 fedora 988.6 KiB blosc s390x 1.21.6-1.fc42 fedora 105.7 KiB blosc2 s390x 2.15.2-1.fc42 fedora 567.2 KiB brotli s390x 1.1.0-5.fc41 fedora 35.6 KiB cfitsio s390x 4.5.0-5.fc42 fedora 2.1 MiB cmake-filesystem s390x 3.31.3-1.fc42 fedora 0.0 B cpp s390x 15.0.0-0.2.fc42 https_fedorapeople_org_dmalcolm_gcc_gcc_15_mass_prebuild_basearch 26.6 MiB expat s390x 2.6.4-1.fc42 fedora 308.9 KiB flexiblas s390x 3.4.4-3.fc41 fedora 48.5 KiB flexiblas-netlib s390x 3.4.4-3.fc41 fedora 12.4 MiB flexiblas-openblas-openmp s390x 3.4.4-3.fc41 fedora 43.1 KiB gcc s390x 15.0.0-0.2.fc42 https_fedorapeople_org_dmalcolm_gcc_gcc_15_mass_prebuild_basearch 79.2 MiB gcc-plugin-annobin s390x 15.0.0-0.2.fc42 https_fedorapeople_org_dmalcolm_gcc_gcc_15_mass_prebuild_basearch 51.3 KiB giflib s390x 5.2.2-2.fc41 fedora 124.0 KiB glibc-devel s390x 2.40.9000-26.fc42 fedora 2.6 MiB isa-l s390x 2.31.0-3.fc41 fedora 193.5 KiB jbigkit-libs s390x 2.1-30.fc41 fedora 121.2 KiB jxrlib s390x 1.1-28.fc41 fedora 791.1 KiB kernel-headers s390x 6.13.0-0.rc6.48.fc42 fedora 6.5 MiB lcms2 s390x 2.16-4.fc41 fedora 456.7 KiB libaec s390x 1.1.3-1.fc42 fedora 117.7 KiB libaom s390x 3.9.0-3.fc41 fedora 3.5 MiB libaom-devel s390x 3.9.0-3.fc41 fedora 27.0 MiB libasan s390x 15.0.0-0.2.fc42 https_fedorapeople_org_dmalcolm_gcc_gcc_15_mass_prebuild_basearch 1.6 MiB libatomic s390x 15.0.0-0.2.fc42 https_fedorapeople_org_dmalcolm_gcc_gcc_15_mass_prebuild_basearch 26.0 KiB libavif s390x 1.0.4-7.fc41 fedora 195.6 KiB libb2 s390x 0.98.1-12.fc41 fedora 42.0 KiB libdav1d s390x 1.5.0-1.fc42 fedora 617.3 KiB libdav1d-devel s390x 1.5.0-1.fc42 fedora 41.9 KiB libdeflate s390x 1.23-1.fc42 fedora 101.0 KiB libgfortran s390x 15.0.0-0.2.fc42 https_fedorapeople_org_dmalcolm_gcc_gcc_15_mass_prebuild_basearch 2.4 MiB libheif s390x 1.19.5-1.fc42 fedora 1.3 MiB libjpeg-turbo s390x 3.1.0-1.fc42 fedora 742.7 KiB liblerc s390x 4.0.0-7.fc41 fedora 269.0 KiB libmpc s390x 1.3.1-6.fc41 fedora 164.5 KiB libpng s390x 2:1.6.44-1.fc42 fedora 257.6 KiB libstdc++-devel s390x 15.0.0-0.2.fc42 https_fedorapeople_org_dmalcolm_gcc_gcc_15_mass_prebuild_basearch 15.4 MiB libtiff s390x 4.7.0-2.fc42 fedora 658.4 KiB libubsan s390x 15.0.0-0.2.fc42 https_fedorapeople_org_dmalcolm_gcc_gcc_15_mass_prebuild_basearch 480.5 KiB libwebp s390x 1.5.0-1.fc42 fedora 633.3 KiB libwebp-devel s390x 1.5.0-1.fc42 fedora 121.2 KiB libxcrypt-devel s390x 4.4.37-4.fc42 fedora 30.5 KiB make s390x 1:4.4.1-9.fc42 fedora 1.9 MiB mpdecimal s390x 2.5.1-16.fc41 fedora 224.7 KiB noopenh264 s390x 0.1.0~openh264_2.4.1-2.fc41 fedora 42.8 KiB openblas s390x 0.3.28-2.fc42 fedora 106.6 KiB openblas-openmp s390x 0.3.28-2.fc42 fedora 15.2 MiB openjpeg s390x 2.5.3-2.fc42 fedora 479.1 KiB openjpeg-devel s390x 2.5.3-2.fc42 fedora 75.6 KiB openjpeg-tools s390x 2.5.3-2.fc42 fedora 180.3 KiB pyproject-rpm-macros noarch 1.16.3-1.fc42 fedora 113.7 KiB python-pip-wheel noarch 24.3.1-1.fc42 fedora 1.2 MiB python-rpm-macros noarch 3.13-3.fc41 fedora 22.1 KiB python3 s390x 3.13.1-2.fc42 fedora 22.4 KiB python3-asciitree noarch 0.3.3-30.fc41 fedora 20.6 KiB python3-cffi s390x 1.17.1-1.fc42 fedora 1.3 MiB python3-cpuinfo noarch 9.0.0-10.fc42 fedora 307.8 KiB python3-cramjam s390x 2.9.1-2.fc42 fedora 4.8 MiB python3-fasteners noarch 0.19-9.fc41 fedora 116.6 KiB python3-iniconfig noarch 1.1.1-23.fc41 fedora 20.6 KiB python3-libs s390x 3.13.1-2.fc42 fedora 40.0 MiB python3-msgpack s390x 1.1.0-1.fc42 fedora 337.8 KiB python3-ndindex s390x 1.9.2-3.fc42 fedora 1.0 MiB python3-numexpr s390x 2.10.2-1.fc42 fedora 800.8 KiB python3-numpy s390x 1:2.2.1-1.fc42 fedora 36.0 MiB python3-numpy-f2py s390x 1:2.2.1-1.fc42 fedora 2.0 MiB python3-packaging noarch 24.2-2.fc42 fedora 555.7 KiB python3-pluggy noarch 1.5.0-1.fc41 fedora 193.2 KiB python3-ply noarch 3.11-25.fc41 fedora 568.2 KiB python3-pycparser noarch 2.20-18.fc41 fedora 821.0 KiB python3-rpm-generators noarch 14-11.fc41 fedora 81.7 KiB python3-rpm-macros noarch 3.13-3.fc41 fedora 6.4 KiB rav1e-devel s390x 0.7.1-4.fc42 fedora 24.8 KiB rav1e-libs s390x 0.7.1-4.fc42 fedora 2.5 MiB snappy s390x 1.2.1-3.fc42 fedora 74.8 KiB svt-av1-devel s390x 2.1.0-2.fc41 fedora 77.1 KiB svt-av1-libs s390x 2.1.0-2.fc41 fedora 3.7 MiB tzdata noarch 2024b-1.fc42 fedora 1.6 MiB zfp s390x 1.0.1-3.fc41 fedora 295.5 KiB zlib-ng s390x 2.2.2-1.fc42 fedora 129.0 KiB zlib-ng-compat-devel s390x 2.2.2-1.fc42 fedora 106.8 KiB zopfli s390x 1.0.3-11.fc41 fedora 332.3 KiB Transaction Summary: Installing: 121 packages Total size of inbound packages is 126 MiB. Need to download 23 MiB. After this operation, 403 MiB extra will be used (install 403 MiB, remove 0 B). [1/6] cfitsio-devel-0:4.5.0-5.fc42.s390 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 2/20] python3-cython-0:3.0.11-2.fc42. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 3/21] python3-devel-0:3.13.1-2.fc42.s 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 4/25] python3-lz4-0:4.3.3-5.fc41.s390 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 5/36] gcc-c++-0:15.0.0-0.2.fc42.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 6/38] cmake-filesystem-0:3.31.3-1.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 7/40] blosc2-0:2.15.2-1.fc42.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 8/42] cfitsio-0:4.5.0-5.fc42.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 9/43] giflib-0:5.2.2-2.fc41.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [10/45] lcms2-0:2.16-4.fc41.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [11/47] libavif-0:1.0.4-7.fc41.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [12/56] zlib-ng-compat-devel-0:2.2.2-1. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [13/57] libjpeg-turbo-0:3.1.0-1.fc42.s3 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [14/58] liblerc-0:4.0.0-7.fc41.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [15/59] libpng-2:1.6.44-1.fc42.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [16/60] libtiff-0:4.7.0-2.fc42.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [17/61] python3-0:3.13.1-2.fc42.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [18/62] python3-libs-0:3.13.1-2.fc42.s3 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [19/72] zlib-ng-0:2.2.2-1.fc42.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [20/74] libmpc-0:1.3.1-6.fc41.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [21/75] gcc-0:15.0.0-0.2.fc42.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [22/76] libstdc++-devel-0:15.0.0-0.2.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [23/77] libaom-0:3.9.0-3.fc41.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [24/78] libdav1d-0:1.5.0-1.fc42.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [25/79] libwebp-0:1.5.0-1.fc42.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [26/80] rav1e-libs-0:0.7.1-4.fc42.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [27/81] svt-av1-libs-0:2.1.0-2.fc41.s39 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [28/83] openjpeg-0:2.5.3-2.fc42.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [29/85] jbigkit-libs-0:2.1-30.fc41.s390 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [30/86] expat-0:2.6.4-1.fc42.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [31/87] libb2-0:0.98.1-12.fc41.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [32/88] mpdecimal-0:2.5.1-16.fc41.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [33/89] python-pip-wheel-0:24.3.1-1.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [34/90] tzdata-0:2024b-1.fc42.noarch 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [35/92] glibc-devel-0:2.40.9000-26.fc42 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [36/93] make-1:4.4.1-9.fc42.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [37/94] cpp-0:15.0.0-0.2.fc42.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [38/95] python3-ply-0:3.11-25.fc41.noar 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [39/96] kernel-headers-0:6.13.0-0.rc6.4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [40/97] libxcrypt-devel-0:4.4.37-4.fc42 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [41/98] python3-pytest-0:8.3.4-1.fc42.n 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [42/99] python3-iniconfig-0:1.1.1-23.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 43/100] python3-packaging-0:24.2-2.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 44/101] python3-pluggy-0:1.5.0-1.fc41 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 45/102] libasan-0:15.0.0-0.2.fc42.s39 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 46/103] libatomic-0:15.0.0-0.2.fc42.s 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 47/104] libubsan-0:15.0.0-0.2.fc42.s3 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 48/105] python3-numpy-1:2.2.1-1.fc42. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 49/106] flexiblas-netlib-0:3.4.4-3.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 50/107] python3-numpy-f2py-1:2.2.1-1. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 51/108] flexiblas-0:3.4.4-3.fc41.s390 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 52/109] flexiblas-openblas-openmp-0:3 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 53/110] openblas-openmp-0:0.3.28-2.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 54/111] openblas-0:0.3.28-2.fc42.s390 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 55/112] python3-cramjam-0:2.9.1-2.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 56/113] isa-l-0:2.31.0-3.fc41.s390x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 57/114] libgfortran-0:15.0.0-0.2.fc42 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 58/115] annobin-plugin-gcc-0:12.80-1. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 59/116] gcc-plugin-annobin-0:15.0.0-0 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 60/117] annobin-docs-0:12.80-1.fc42.n 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 61/118] pyproject-rpm-macros-0:1.16.3 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 62/119] python-rpm-macros-0:3.13-3.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 63/120] python3-rpm-generators-0:14-1 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 64/121] python3-rpm-macros-0:3.13-3.f 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 65/121] CharLS-devel-0:2.4.2-6.fc41.s 100% | 73.6 KiB/s | 30.4 KiB | 00m00s [ 66/121] blosc-devel-0:1.21.6-1.fc42.s 100% | 34.0 KiB/s | 14.3 KiB | 00m00s [ 67/121] brotli-devel-0:1.1.0-5.fc41.s 100% | 335.8 KiB/s | 33.9 KiB | 00m00s [ 68/121] blosc2-devel-0:2.15.2-1.fc42. 100% | 78.9 KiB/s | 41.5 KiB | 00m01s [ 69/121] jxrlib-devel-0:1.1-28.fc41.s3 100% | 344.0 KiB/s | 38.5 KiB | 00m00s [ 70/121] giflib-devel-0:5.2.2-2.fc41.s 100% | 1.0 MiB/s | 211.3 KiB | 00m00s [ 71/121] bzip2-devel-0:1.0.8-19.fc41.s 100% | 691.3 KiB/s | 213.6 KiB | 00m00s [ 72/121] lcms2-devel-0:2.16-4.fc41.s39 100% | 310.8 KiB/s | 32.0 KiB | 00m00s [ 73/121] libaec-devel-0:1.1.3-1.fc42.s 100% | 120.5 KiB/s | 12.0 KiB | 00m00s [ 74/121] libavif-devel-0:1.0.4-7.fc41. 100% | 266.2 KiB/s | 29.3 KiB | 00m00s [ 75/121] libdeflate-devel-0:1.23-1.fc4 100% | 175.1 KiB/s | 18.0 KiB | 00m00s [ 76/121] libheif-devel-0:1.19.5-1.fc42 100% | 490.0 KiB/s | 49.0 KiB | 00m00s [ 77/121] libjpeg-turbo-devel-0:3.1.0-1 100% | 946.0 KiB/s | 97.4 KiB | 00m00s [ 78/121] libpng-devel-2:1.6.44-1.fc42. 100% | 1.4 MiB/s | 293.5 KiB | 00m00s [ 79/121] libtiff-devel-0:4.7.0-2.fc42. 100% | 1.3 MiB/s | 267.9 KiB | 00m00s [ 80/121] libzstd-devel-0:1.5.6-2.fc41. 100% | 517.2 KiB/s | 51.7 KiB | 00m00s [ 81/121] lz4-devel-0:1.10.0-1.fc41.s39 100% | 312.1 KiB/s | 32.1 KiB | 00m00s [ 82/121] python3-blosc-0:1.11.2-2.fc41 100% | 591.4 KiB/s | 65.1 KiB | 00m00s [ 83/121] python3-blosc2-0:2.7.1-2.fc42 100% | 3.0 MiB/s | 362.6 KiB | 00m00s [ 84/121] python3-brotli-0:1.1.0-5.fc41 100% | 2.9 MiB/s | 382.6 KiB | 00m00s [ 85/121] liblerc-devel-0:4.0.0-7.fc41. 100% | 5.1 MiB/s | 3.2 MiB | 00m01s [ 86/121] python3-numcodecs-0:0.14.1-2. 100% | 3.9 MiB/s | 454.0 KiB | 00m00s [ 87/121] python3-snappy-0:0.7.2-2.fc41 100% | 223.5 KiB/s | 24.1 KiB | 00m00s [ 88/121] python3-tifffile-0:2024.12.12 100% | 3.7 MiB/s | 507.0 KiB | 00m00s [ 89/121] python3-zarr-0:2.18.3-1.fc42. 100% | 4.5 MiB/s | 559.5 KiB | 00m00s [ 90/121] python3-zstd-0:1.5.6.1-1.fc42 100% | 175.0 KiB/s | 18.5 KiB | 00m00s [ 91/121] xz-devel-1:5.6.3-2.fc42.s390x 100% | 645.4 KiB/s | 66.5 KiB | 00m00s [ 92/121] snappy-devel-0:1.2.1-3.fc42.s 100% | 199.2 KiB/s | 22.3 KiB | 00m00s [ 93/121] zfp-devel-0:1.0.1-3.fc41.s390 100% | 783.6 KiB/s | 83.8 KiB | 00m00s [ 94/121] zlib-ng-devel-0:2.2.2-1.fc42. 100% | 363.3 KiB/s | 37.4 KiB | 00m00s [ 95/121] zopfli-devel-0:1.0.3-11.fc41. 100% | 123.5 KiB/s | 13.1 KiB | 00m00s [ 96/121] CharLS-0:2.4.2-6.fc41.s390x 100% | 1.2 MiB/s | 119.8 KiB | 00m00s [ 97/121] blosc-0:1.21.6-1.fc42.s390x 100% | 483.4 KiB/s | 49.8 KiB | 00m00s [ 98/121] brotli-0:1.1.0-5.fc41.s390x 100% | 198.5 KiB/s | 20.4 KiB | 00m00s [ 99/121] jxrlib-0:1.1-28.fc41.s390x 100% | 4.0 MiB/s | 472.0 KiB | 00m00s [100/121] libaec-0:1.1.3-1.fc42.s390x 100% | 393.3 KiB/s | 40.5 KiB | 00m00s [101/121] libdeflate-0:1.23-1.fc42.s390 100% | 611.5 KiB/s | 63.0 KiB | 00m00s [102/121] libdav1d-devel-0:1.5.0-1.fc42 100% | 184.6 KiB/s | 19.2 KiB | 00m00s [103/121] libheif-0:1.19.5-1.fc42.s390x 100% | 4.4 MiB/s | 487.5 KiB | 00m00s [104/121] libwebp-devel-0:1.5.0-1.fc42. 100% | 380.4 KiB/s | 39.6 KiB | 00m00s [105/121] openjpeg-devel-0:2.5.3-2.fc42 100% | 263.6 KiB/s | 27.2 KiB | 00m00s [106/121] rav1e-devel-0:0.7.1-4.fc42.s3 100% | 152.1 KiB/s | 15.7 KiB | 00m00s [107/121] svt-av1-devel-0:2.1.0-2.fc41. 100% | 277.4 KiB/s | 28.6 KiB | 00m00s [108/121] python3-cpuinfo-0:9.0.0-10.fc 100% | 647.6 KiB/s | 68.6 KiB | 00m00s [109/121] python3-msgpack-0:1.1.0-1.fc4 100% | 1.0 MiB/s | 109.8 KiB | 00m00s [110/121] python3-numexpr-0:2.10.2-1.fc 100% | 1.9 MiB/s | 230.6 KiB | 00m00s [111/121] libaom-devel-0:3.9.0-3.fc41.s 100% | 22.8 MiB/s | 13.0 MiB | 00m01s [112/121] python3-ndindex-0:1.9.2-3.fc4 100% | 2.0 MiB/s | 277.8 KiB | 00m00s [113/121] snappy-0:1.2.1-3.fc42.s390x 100% | 401.4 KiB/s | 40.5 KiB | 00m00s [114/121] python3-asciitree-0:0.3.3-30. 100% | 163.9 KiB/s | 18.0 KiB | 00m00s [115/121] python3-cffi-0:1.17.1-1.fc42. 100% | 2.4 MiB/s | 313.0 KiB | 00m00s [116/121] python3-fasteners-0:0.19-9.fc 100% | 501.0 KiB/s | 50.6 KiB | 00m00s [117/121] zfp-0:1.0.1-3.fc41.s390x 100% | 818.3 KiB/s | 94.1 KiB | 00m00s [118/121] zopfli-0:1.0.3-11.fc41.s390x 100% | 1.2 MiB/s | 149.7 KiB | 00m00s [119/121] noopenh264-0:0.1.0~openh264_2 100% | 217.2 KiB/s | 21.7 KiB | 00m00s [120/121] openjpeg-tools-0:2.5.3-2.fc42 100% | 828.4 KiB/s | 85.3 KiB | 00m00s [121/121] python3-pycparser-0:2.20-18.f 100% | 1.4 MiB/s | 159.5 KiB | 00m00s -------------------------------------------------------------------------------- [121/121] Total 100% | 6.9 MiB/s | 23.1 MiB | 00m03s Running transaction [ 1/123] Verify package files 100% | 310.0 B/s | 121.0 B | 00m00s [ 2/123] Prepare transaction 100% | 1.3 KiB/s | 121.0 B | 00m00s [ 3/123] Installing cmake-filesystem-0 100% | 7.4 MiB/s | 7.6 KiB | 00m00s [ 4/123] Installing libwebp-0:1.5.0-1. 100% | 207.5 MiB/s | 637.4 KiB | 00m00s [ 5/123] Installing zlib-ng-compat-dev 100% | 105.8 MiB/s | 108.3 KiB | 00m00s [ 6/123] Installing python-rpm-macros- 100% | 0.0 B/s | 22.8 KiB | 00m00s [ 7/123] Installing openjpeg-0:2.5.3-2 100% | 234.9 MiB/s | 481.1 KiB | 00m00s [ 8/123] Installing svt-av1-libs-0:2.1 100% | 286.8 MiB/s | 3.7 MiB | 00m00s [ 9/123] Installing rav1e-libs-0:0.7.1 100% | 281.5 MiB/s | 2.5 MiB | 00m00s [ 10/123] Installing libdav1d-0:1.5.0-1 100% | 201.4 MiB/s | 618.6 KiB | 00m00s [ 11/123] Installing libaom-0:3.9.0-3.f 100% | 289.0 MiB/s | 3.5 MiB | 00m00s [ 12/123] Installing libmpc-0:1.3.1-6.f 100% | 162.1 MiB/s | 166.0 KiB | 00m00s [ 13/123] Installing snappy-0:1.2.1-3.f 100% | 0.0 B/s | 76.4 KiB | 00m00s [ 14/123] Installing blosc-0:1.21.6-1.f 100% | 106.0 MiB/s | 108.6 KiB | 00m00s [ 15/123] Installing libjpeg-turbo-0:3. 100% | 242.3 MiB/s | 744.4 KiB | 00m00s [ 16/123] Installing libjpeg-turbo-deve 100% | 348.1 MiB/s | 356.5 KiB | 00m00s [ 17/123] Installing python3-rpm-macros 100% | 0.0 B/s | 6.7 KiB | 00m00s [ 18/123] Installing libwebp-devel-0:1. 100% | 122.0 MiB/s | 124.9 KiB | 00m00s [ 19/123] Installing libgfortran-0:15.0 100% | 342.6 MiB/s | 2.4 MiB | 00m00s [ 20/123] Installing zlib-ng-0:2.2.2-1. 100% | 127.3 MiB/s | 130.3 KiB | 00m00s [ 21/123] Installing blosc2-0:2.15.2-1. 100% | 278.6 MiB/s | 570.5 KiB | 00m00s [ 22/123] Installing libpng-2:1.6.44-1. 100% | 252.8 MiB/s | 258.8 KiB | 00m00s [ 23/123] Installing liblerc-0:4.0.0-7. 100% | 264.2 MiB/s | 270.6 KiB | 00m00s [ 24/123] Installing lcms2-0:2.16-4.fc4 100% | 223.8 MiB/s | 458.4 KiB | 00m00s [ 25/123] Installing liblerc-devel-0:4. 100% | 428.7 MiB/s | 4.3 MiB | 00m00s [ 26/123] Installing pyproject-rpm-macr 100% | 113.0 MiB/s | 115.7 KiB | 00m00s [ 27/123] Installing cpp-0:15.0.0-0.2.f 100% | 289.6 MiB/s | 26.6 MiB | 00m00s [ 28/123] Installing libavif-0:1.0.4-7. 100% | 48.1 MiB/s | 196.9 KiB | 00m00s [ 29/123] Installing libaom-devel-0:3.9 100% | 344.0 MiB/s | 27.2 MiB | 00m00s [ 30/123] Installing libdav1d-devel-0:1 100% | 0.0 B/s | 43.2 KiB | 00m00s [ 31/123] Installing rav1e-devel-0:0.7. 100% | 0.0 B/s | 25.4 KiB | 00m00s [ 32/123] Installing svt-av1-devel-0:2. 100% | 0.0 B/s | 79.1 KiB | 00m00s [ 33/123] Installing annobin-docs-0:12. 100% | 0.0 B/s | 99.7 KiB | 00m00s [ 34/123] Installing isa-l-0:2.31.0-3.f 100% | 190.1 MiB/s | 194.6 KiB | 00m00s [ 35/123] Installing openblas-0:0.3.28- 100% | 0.0 B/s | 108.3 KiB | 00m00s [ 36/123] Installing openblas-openmp-0: 100% | 323.1 MiB/s | 15.2 MiB | 00m00s [ 37/123] Installing flexiblas-0:3.4.4- 100% | 0.0 B/s | 49.7 KiB | 00m00s [ 38/123] Installing flexiblas-openblas 100% | 0.0 B/s | 44.0 KiB | 00m00s [ 39/123] Installing flexiblas-netlib-0 100% | 309.9 MiB/s | 12.4 MiB | 00m00s [ 40/123] Installing libubsan-0:15.0.0- 100% | 235.0 MiB/s | 481.4 KiB | 00m00s [ 41/123] Installing libatomic-0:15.0.0 100% | 0.0 B/s | 26.9 KiB | 00m00s [ 42/123] Installing libasan-0:15.0.0-0 100% | 198.9 MiB/s | 1.6 MiB | 00m00s [ 43/123] Installing kernel-headers-0:6 100% | 200.8 MiB/s | 6.6 MiB | 00m00s [ 44/123] Installing libxcrypt-devel-0: 100% | 16.0 MiB/s | 32.9 KiB | 00m00s [ 45/123] Installing glibc-devel-0:2.40 100% | 189.0 MiB/s | 2.6 MiB | 00m00s [ 46/123] Installing make-1:4.4.1-9.fc4 100% | 266.1 MiB/s | 1.9 MiB | 00m00s [ 47/123] Installing gcc-0:15.0.0-0.2.f 100% | 322.1 MiB/s | 79.2 MiB | 00m00s [ 48/123] Installing tzdata-0:2024b-1.f 100% | 57.1 MiB/s | 1.9 MiB | 00m00s [ 49/123] Installing python-pip-wheel-0 100% | 622.1 MiB/s | 1.2 MiB | 00m00s [ 50/123] Installing mpdecimal-0:2.5.1- 100% | 220.5 MiB/s | 225.8 KiB | 00m00s [ 51/123] Installing libb2-0:0.98.1-12. 100% | 0.0 B/s | 43.1 KiB | 00m00s [ 52/123] Installing expat-0:2.6.4-1.fc 100% | 43.4 MiB/s | 311.0 KiB | 00m00s [ 53/123] Installing python3-libs-0:3.1 100% | 299.3 MiB/s | 40.4 MiB | 00m00s [ 54/123] Installing python3-0:3.13.1-2 100% | 0.0 B/s | 24.2 KiB | 00m00s [ 55/123] Installing python3-packaging- 100% | 184.9 MiB/s | 568.0 KiB | 00m00s [ 56/123] Installing python3-rpm-genera 100% | 81.0 MiB/s | 82.9 KiB | 00m00s [ 57/123] Installing python3-devel-0:3. 100% | 139.6 MiB/s | 1.8 MiB | 00m00s [ 58/123] Installing python3-numpy-1:2. 100% | 327.3 MiB/s | 36.3 MiB | 00m00s [ 59/123] Installing python3-numpy-f2py 100% | 172.3 MiB/s | 2.1 MiB | 00m00s [ 60/123] Installing python3-numcodecs- 100% | 192.8 MiB/s | 1.7 MiB | 00m00s [ 61/123] Installing python3-ndindex-0: 100% | 213.2 MiB/s | 1.1 MiB | 00m00s [ 62/123] Installing python3-numexpr-0: 100% | 198.2 MiB/s | 811.7 KiB | 00m00s [ 63/123] Installing python3-cpuinfo-0: 100% | 304.6 MiB/s | 311.9 KiB | 00m00s [ 64/123] Installing python3-msgpack-0: 100% | 167.3 MiB/s | 342.7 KiB | 00m00s [ 65/123] Installing python3-asciitree- 100% | 24.1 MiB/s | 24.7 KiB | 00m00s [ 66/123] Installing python3-fasteners- 100% | 121.6 MiB/s | 124.5 KiB | 00m00s [ 67/123] Installing python3-ply-0:3.11 100% | 280.0 MiB/s | 573.4 KiB | 00m00s [ 68/123] Installing python3-pycparser- 100% | 271.0 MiB/s | 832.5 KiB | 00m00s [ 69/123] Installing python3-cffi-0:1.1 100% | 272.2 MiB/s | 1.4 MiB | 00m00s [ 70/123] Installing python3-iniconfig- 100% | 23.0 MiB/s | 23.6 KiB | 00m00s [ 71/123] Installing python3-pluggy-0:1 100% | 194.7 MiB/s | 199.4 KiB | 00m00s [ 72/123] Installing python3-cramjam-0: 100% | 280.0 MiB/s | 4.8 MiB | 00m00s [ 73/123] Installing jbigkit-libs-0:2.1 100% | 120.3 MiB/s | 123.2 KiB | 00m00s [ 74/123] Installing libtiff-0:4.7.0-2. 100% | 215.1 MiB/s | 660.7 KiB | 00m00s [ 75/123] Installing openjpeg-tools-0:2 100% | 178.0 MiB/s | 182.3 KiB | 00m00s [ 76/123] Installing openjpeg-devel-0:2 100% | 0.0 B/s | 77.2 KiB | 00m00s [ 77/123] Installing noopenh264-0:0.1.0 100% | 0.0 B/s | 44.3 KiB | 00m00s [ 78/123] Installing libheif-0:1.19.5-1 100% | 214.2 MiB/s | 1.3 MiB | 00m00s [ 79/123] Installing libstdc++-devel-0: 100% | 362.2 MiB/s | 15.6 MiB | 00m00s [ 80/123] Installing zopfli-0:1.0.3-11. 100% | 163.8 MiB/s | 335.4 KiB | 00m00s [ 81/123] Installing zfp-0:1.0.1-3.fc41 100% | 290.6 MiB/s | 297.6 KiB | 00m00s [ 82/123] Installing libdeflate-0:1.23- 100% | 100.0 MiB/s | 102.4 KiB | 00m00s [ 83/123] Installing libaec-0:1.1.3-1.f 100% | 117.3 MiB/s | 120.1 KiB | 00m00s [ 84/123] Installing jxrlib-0:1.1-28.fc 100% | 258.4 MiB/s | 793.9 KiB | 00m00s [ 85/123] Installing giflib-0:5.2.2-2.f 100% | 122.7 MiB/s | 125.7 KiB | 00m00s [ 86/123] Installing cfitsio-0:4.5.0-5. 100% | 302.1 MiB/s | 2.1 MiB | 00m00s [ 87/123] Installing brotli-0:1.1.0-5.f 100% | 0.0 B/s | 36.2 KiB | 00m00s [ 88/123] Installing brotli-devel-0:1.1 100% | 66.4 MiB/s | 68.0 KiB | 00m00s [ 89/123] Installing CharLS-0:2.4.2-6.f 100% | 339.8 MiB/s | 347.9 KiB | 00m00s [ 90/123] Installing libzstd-devel-0:1. 100% | 198.5 MiB/s | 203.2 KiB | 00m00s [ 91/123] Installing libtiff-devel-0:4. 100% | 251.5 MiB/s | 772.7 KiB | 00m00s [ 92/123] Installing CharLS-devel-0:2.4 100% | 129.2 MiB/s | 132.3 KiB | 00m00s [ 93/123] Installing libheif-devel-0:1. 100% | 214.5 MiB/s | 219.7 KiB | 00m00s [ 94/123] Installing cfitsio-devel-0:4. 100% | 253.7 MiB/s | 519.6 KiB | 00m00s [ 95/123] Installing giflib-devel-0:5.2 100% | 224.3 MiB/s | 689.1 KiB | 00m00s [ 96/123] Installing jxrlib-devel-0:1.1 100% | 201.7 MiB/s | 206.6 KiB | 00m00s [ 97/123] Installing libaec-devel-0:1.1 100% | 0.0 B/s | 13.5 KiB | 00m00s [ 98/123] Installing libdeflate-devel-0 100% | 26.6 MiB/s | 27.3 KiB | 00m00s [ 99/123] Installing zfp-devel-0:1.0.1- 100% | 160.5 MiB/s | 492.9 KiB | 00m00s [100/123] Installing zopfli-devel-0:1.0 100% | 0.0 B/s | 16.6 KiB | 00m00s [101/123] Installing gcc-c++-0:15.0.0-0 100% | 298.7 MiB/s | 29.9 MiB | 00m00s [102/123] Installing python3-snappy-0:0 100% | 14.3 MiB/s | 44.0 KiB | 00m00s [103/123] Installing python3-pytest-0:8 100% | 411.9 MiB/s | 21.0 MiB | 00m00s [104/123] Installing python3-zarr-0:2.1 100% | 352.3 MiB/s | 3.2 MiB | 00m00s [105/123] Installing python3-blosc2-0:2 100% | 211.9 MiB/s | 1.1 MiB | 00m00s [106/123] Installing python3-tifffile-0 100% | 314.1 MiB/s | 2.8 MiB | 00m00s [107/123] Installing python3-cython-0:3 100% | 302.5 MiB/s | 18.1 MiB | 00m00s [108/123] Installing python3-blosc-0:1. 100% | 113.2 MiB/s | 231.8 KiB | 00m00s [109/123] Installing python3-brotli-0:1 100% | 180.9 MiB/s | 926.4 KiB | 00m00s [110/123] Installing python3-lz4-0:4.3. 100% | 412.6 MiB/s | 6.2 MiB | 00m00s [111/123] Installing python3-zstd-0:1.5 100% | 33.9 MiB/s | 34.7 KiB | 00m00s [112/123] Installing annobin-plugin-gcc 100% | 80.6 MiB/s | 990.2 KiB | 00m00s [113/123] Installing gcc-plugin-annobin 100% | 5.2 MiB/s | 52.9 KiB | 00m00s [114/123] Installing libavif-devel-0:1. 100% | 68.4 MiB/s | 70.0 KiB | 00m00s [115/123] Installing lcms2-devel-0:2.16 100% | 0.0 B/s | 136.4 KiB | 00m00s [116/123] Installing libpng-devel-2:1.6 100% | 218.1 MiB/s | 893.4 KiB | 00m00s [117/123] Installing blosc2-devel-0:2.1 100% | 149.5 MiB/s | 153.1 KiB | 00m00s [118/123] Installing zlib-ng-devel-0:2. 100% | 102.8 MiB/s | 105.2 KiB | 00m00s [119/123] Installing blosc-devel-0:1.21 100% | 0.0 B/s | 21.6 KiB | 00m00s [120/123] Installing snappy-devel-0:1.2 100% | 48.1 MiB/s | 49.2 KiB | 00m00s [121/123] Installing xz-devel-1:5.6.3-2 100% | 253.3 MiB/s | 259.4 KiB | 00m00s [122/123] Installing lz4-devel-0:1.10.0 100% | 0.0 B/s | 103.2 KiB | 00m00s [123/123] Installing bzip2-devel-0:1.0. 100% | 2.7 MiB/s | 310.7 KiB | 00m00s Warning: skipped OpenPGP checks for 9 packages from repository: https_fedorapeople_org_dmalcolm_gcc_gcc_15_mass_prebuild_basearch Complete! Finish: build setup for python-imagecodecs-2023.1.23-4.fc42.src.rpm Start: rpmbuild python-imagecodecs-2023.1.23-4.fc42.src.rpm Building target platforms: s390x Building for target s390x setting SOURCE_DATE_EPOCH=1725926400 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.8kCDZp + umask 022 + cd /builddir/build/BUILD/python-imagecodecs-2023.1.23-build + test -d /builddir/build/BUILD/python-imagecodecs-2023.1.23-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILD/python-imagecodecs-2023.1.23-build + /usr/bin/rm -rf /builddir/build/BUILD/python-imagecodecs-2023.1.23-build + /usr/bin/mkdir -p /builddir/build/BUILD/python-imagecodecs-2023.1.23-build + /usr/bin/mkdir -p /builddir/build/BUILD/python-imagecodecs-2023.1.23-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.psFdda + umask 022 + cd /builddir/build/BUILD/python-imagecodecs-2023.1.23-build + cd /builddir/build/BUILD/python-imagecodecs-2023.1.23-build + rm -rf imagecodecs-2023.1.23 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/imagecodecs-2023.1.23.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd imagecodecs-2023.1.23 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/python-imagecodecs-noexcept.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + cp -a /builddir/build/SOURCES/imagecodecs_distributor_setup.py . ++ grep -rl '/\* Generated by Cython' + rm -f imagecodecs/_aec.c imagecodecs/_apng.c imagecodecs/_avif.c imagecodecs/_bitshuffle.c imagecodecs/_blosc.c imagecodecs/_blosc2.c imagecodecs/_brotli.c imagecodecs/_brunsli.c imagecodecs/_bz2.c imagecodecs/_cms.c imagecodecs/_deflate.c imagecodecs/_gif.c imagecodecs/_heif.c imagecodecs/_imcd.c imagecodecs/_jetraw.c imagecodecs/_jpeg12.c imagecodecs/_jpeg2k.c imagecodecs/_jpeg8.c imagecodecs/_jpegls.c imagecodecs/_jpegsof3.c imagecodecs/_jpegxl.c imagecodecs/_jpegxr.c imagecodecs/_lerc.c imagecodecs/_ljpeg.c imagecodecs/_lz4.c imagecodecs/_lz4f.c imagecodecs/_lzf.c imagecodecs/_lzfse.c imagecodecs/_lzham.c imagecodecs/_lzma.c imagecodecs/_mozjpeg.c imagecodecs/_pglz.c imagecodecs/_png.c imagecodecs/_qoi.c imagecodecs/_rcomp.c imagecodecs/_rgbe.c imagecodecs/_shared.c imagecodecs/_snappy.c imagecodecs/_spng.c imagecodecs/_tiff.c imagecodecs/_webp.c imagecodecs/_zfp.c imagecodecs/_zlib.c imagecodecs/_zlibng.c imagecodecs/_zopfli.c imagecodecs/_zstd.c + rm -r 3rdparty + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.nr5yzs + umask 022 + cd /builddir/build/BUILD/python-imagecodecs-2023.1.23-build + cd imagecodecs-2023.1.23 + export PYTHONPATH=. + PYTHONPATH=. + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(packaging)' + echo 'python3dist(pip) >= 19' + '[' -f pyproject.toml ']' + '[' -f setup.py ']' + echo 'python3dist(setuptools) >= 40.8' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + mkdir -p /builddir/build/BUILD/python-imagecodecs-2023.1.23-build/imagecodecs-2023.1.23/.pyproject-builddir + echo -n + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection ' + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection ' + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + VALAFLAGS=-g + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + LT_SYS_LIBRARY_PATH=/usr/lib64: + CC=gcc + CXX=g++ + TMPDIR=/builddir/build/BUILD/python-imagecodecs-2023.1.23-build/imagecodecs-2023.1.23/.pyproject-builddir + RPM_TOXENV=py313 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/python-imagecodecs-2023.1.23-build/imagecodecs-2023.1.23/pyproject-wheeldir --output /builddir/build/BUILD/python-imagecodecs-2023.1.23-build/python-imagecodecs-2023.1.23-4.fc42.s390x-pyproject-buildrequires Handling setuptools >= 40.8 from default build backend Requirement not satisfied: setuptools >= 40.8 Exiting dependency generation pass: build backend + cat /builddir/build/BUILD/python-imagecodecs-2023.1.23-build/python-imagecodecs-2023.1.23-4.fc42.s390x-pyproject-buildrequires + rm -rfv '*.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-imagecodecs-2023.1.23-4.fc42.buildreqs.nosrc.rpm INFO: Going to install missing dynamic buildrequires Updating and loading repositories: Additional repo https_fedorapeople_org 100% | 4.4 KiB/s | 1.5 KiB | 00m00s fedora 100% | 7.5 KiB/s | 3.2 KiB | 00m00s Copr repository 100% | 13.4 KiB/s | 1.5 KiB | 00m00s Repositories loaded. Package "CharLS-devel-2.4.2-6.fc41.s390x" is already installed. Package "blosc-devel-1.21.6-1.fc42.s390x" is already installed. Package "blosc2-devel-2.15.2-1.fc42.s390x" is already installed. Package "brotli-devel-1.1.0-5.fc41.s390x" is already installed. Package "bzip2-devel-1.0.8-19.fc41.s390x" is already installed. Package "cfitsio-devel-4.5.0-5.fc42.s390x" is already installed. Package "gcc-c++-15.0.0-0.2.fc42.s390x" is already installed. Package "giflib-devel-5.2.2-2.fc41.s390x" is already installed. Package "jxrlib-devel-1.1-28.fc41.s390x" is already installed. Package "lcms2-devel-2.16-4.fc41.s390x" is already installed. Package "libaec-devel-1.1.3-1.fc42.s390x" is already installed. Package "libavif-devel-1.0.4-7.fc41.s390x" is already installed. Package "libdeflate-devel-1.23-1.fc42.s390x" is already installed. Package "libheif-devel-1.19.5-1.fc42.s390x" is already installed. Package "libjpeg-turbo-devel-3.1.0-1.fc42.s390x" is already installed. Package "liblerc-devel-4.0.0-7.fc41.s390x" is already installed. Package "libpng-devel-2:1.6.44-1.fc42.s390x" is already installed. Package "libtiff-devel-4.7.0-2.fc42.s390x" is already installed. Package "libzstd-devel-1.5.6-2.fc41.s390x" is already installed. Package "lz4-devel-1.10.0-1.fc41.s390x" is already installed. Package "pyproject-rpm-macros-1.16.3-1.fc42.noarch" is already installed. Package "python3-cython-3.0.11-2.fc42.s390x" is already installed. Package "python3-devel-3.13.1-2.fc42.s390x" is already installed. Package "python3-blosc-1.11.2-2.fc41.s390x" is already installed. Package "python3-blosc2-2.7.1-2.fc42.s390x" is already installed. Package "python3-brotli-1.1.0-5.fc41.s390x" is already installed. Package "python3-lz4-4.3.3-5.fc41.s390x" is already installed. Package "python3-numcodecs-0.14.1-2.fc42.s390x" is already installed. Package "python3-packaging-24.2-2.fc42.noarch" is already installed. Package "python3-pytest-8.3.4-1.fc42.noarch" is already installed. Package "python3-snappy-0.7.2-2.fc41.noarch" is already installed. Package "python3-tifffile-2024.12.12-1.fc42.noarch" is already installed. Package "python3-zarr-2.18.3-1.fc42.noarch" is already installed. Package "python3-zstd-1.5.6.1-1.fc42.s390x" is already installed. Package "snappy-devel-1.2.1-3.fc42.s390x" is already installed. Package "xz-devel-1:5.6.3-2.fc42.s390x" is already installed. Package "zfp-devel-1.0.1-3.fc41.s390x" is already installed. Package "zlib-ng-devel-2.2.2-1.fc42.s390x" is already installed. Package "zopfli-devel-1.0.3-11.fc41.s390x" is already installed. Package Arch Version Repository Size Installing: python3-pip noarch 24.3.1-1.fc42 fedora 11.3 MiB python3-setuptools noarch 74.1.3-4.fc42 fedora 8.4 MiB Transaction Summary: Installing: 2 packages Total size of inbound packages is 5 MiB. Need to download 0 B. After this operation, 20 MiB extra will be used (install 20 MiB, remove 0 B). [1/1] python3-pip-0:24.3.1-1.fc42.noarc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [1/1] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/2] python3-setuptools-0:74.1.3-4.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [2/2] Total 100% | 0.0 B/s | 0.0 B | 00m00s Running transaction [1/4] Verify package files 100% | 142.0 B/s | 2.0 B | 00m00s [2/4] Prepare transaction 100% | 66.0 B/s | 2.0 B | 00m00s [3/4] Installing python3-setuptools-0:7 100% | 190.2 MiB/s | 8.6 MiB | 00m00s [4/4] Installing python3-pip-0:24.3.1-1 100% | 159.1 MiB/s | 11.6 MiB | 00m00s Complete! Building target platforms: s390x Building for target s390x setting SOURCE_DATE_EPOCH=1725926400 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.O0UmVM + umask 022 + cd /builddir/build/BUILD/python-imagecodecs-2023.1.23-build + cd imagecodecs-2023.1.23 + export PYTHONPATH=. + PYTHONPATH=. + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(packaging)' + echo 'python3dist(pip) >= 19' + '[' -f pyproject.toml ']' + '[' -f setup.py ']' + echo 'python3dist(setuptools) >= 40.8' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + mkdir -p /builddir/build/BUILD/python-imagecodecs-2023.1.23-build/imagecodecs-2023.1.23/.pyproject-builddir + echo -n + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection ' + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection ' + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + VALAFLAGS=-g + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + LT_SYS_LIBRARY_PATH=/usr/lib64: + CC=gcc + CXX=g++ + TMPDIR=/builddir/build/BUILD/python-imagecodecs-2023.1.23-build/imagecodecs-2023.1.23/.pyproject-builddir + RPM_TOXENV=py313 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/python-imagecodecs-2023.1.23-build/imagecodecs-2023.1.23/pyproject-wheeldir --output /builddir/build/BUILD/python-imagecodecs-2023.1.23-build/python-imagecodecs-2023.1.23-4.fc42.s390x-pyproject-buildrequires Handling setuptools >= 40.8 from default build backend Requirement satisfied: setuptools >= 40.8 (installed: setuptools 74.1.3) Handling setuptools>=18.0 from get_requires_for_build_wheel Requirement satisfied: setuptools>=18.0 (installed: setuptools 74.1.3) Handling numpy from get_requires_for_build_wheel Requirement satisfied: numpy (installed: numpy 2.2.1) /usr/lib/python3.13/site-packages/setuptools/_distutils/dist.py:261: UserWarning: Unknown distribution option: 'tests_require' warnings.warn(msg) running dist_info writing imagecodecs.egg-info/PKG-INFO writing dependency_links to imagecodecs.egg-info/dependency_links.txt writing entry points to imagecodecs.egg-info/entry_points.txt writing requirements to imagecodecs.egg-info/requires.txt writing top-level names to imagecodecs.egg-info/top_level.txt reading manifest file 'imagecodecs.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching 'imagecodecs/*.cpp' warning: no files found matching 'imagecodecs/patches/*' warning: no files found matching '3rdparty/*' warning: no files found matching '3rdparty/*/*' warning: no files found matching 'tests/*.zfp' warning: no files found matching 'tests/*.icc' warning: no files found matching 'tests/*.jxl' warning: no files found matching 'tests/*.tif' warning: no files found matching 'tests/*.apng' warning: no previously-included files found matching 'tests/libaec/121B2TestData/ExtendedParameters/*.*' warning: no previously-included files found matching 'tests/tiff/gray.movie.*.tif' warning: no previously-included files found matching 'tests/ljpeg/dcm*.ljp' warning: no previously-included files found matching 'tests/ljpeg/2ch.ljp' warning: no previously-included files found matching 'tests/ljpeg/pvrg.ljp' warning: no previously-included files found matching 'tests/33792x79872.jpg' warning: no previously-included files found matching 'tests/jpegxr.czi' warning: no previously-included files found matching 'tests/jetraw.bin' warning: no previously-included files found matching '*.cmd' warning: no previously-included files found matching 'build_utils/*' warning: no previously-included files matching '*' found under directory 'doc' warning: no previously-included files matching '*' found under directory 'docs' warning: no previously-included files matching '__pycache__' found under directory '*' warning: no previously-included files matching '*.py[co]' found under directory '*' warning: no previously-included files matching '*-' found under directory '*' warning: no previously-included files matching '*.html' found under directory '*' warning: no previously-included files matching '*Copy*.*' found under directory '*' adding license file 'LICENSE' writing manifest file 'imagecodecs.egg-info/SOURCES.txt' creating '/builddir/build/BUILD/python-imagecodecs-2023.1.23-build/imagecodecs-2023.1.23/imagecodecs-2023.1.23.dist-info' Handling numpy from hook generated metadata: Requires-Dist (imagecodecs) Requirement satisfied: numpy (installed: numpy 2.2.1) Handling matplotlib ; extra == 'all' from hook generated metadata: Requires-Dist (imagecodecs) Ignoring alien requirement: matplotlib ; extra == 'all' Handling tifffile ; extra == 'all' from hook generated metadata: Requires-Dist (imagecodecs) Ignoring alien requirement: tifffile ; extra == 'all' Handling numcodecs ; extra == 'all' from hook generated metadata: Requires-Dist (imagecodecs) Ignoring alien requirement: numcodecs ; extra == 'all' + cat /builddir/build/BUILD/python-imagecodecs-2023.1.23-build/python-imagecodecs-2023.1.23-4.fc42.s390x-pyproject-buildrequires + rm -rfv imagecodecs-2023.1.23.dist-info/ removed 'imagecodecs-2023.1.23.dist-info/entry_points.txt' removed 'imagecodecs-2023.1.23.dist-info/top_level.txt' removed 'imagecodecs-2023.1.23.dist-info/METADATA' removed 'imagecodecs-2023.1.23.dist-info/LICENSE' removed directory 'imagecodecs-2023.1.23.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-imagecodecs-2023.1.23-4.fc42.buildreqs.nosrc.rpm INFO: Going to install missing dynamic buildrequires Updating and loading repositories: fedora 100% | 7.1 KiB/s | 3.2 KiB | 00m00s Copr repository 100% | 13.7 KiB/s | 1.5 KiB | 00m00s Additional repo https_fedorapeople_org 100% | 4.5 KiB/s | 1.5 KiB | 00m00s Repositories loaded. Package "CharLS-devel-2.4.2-6.fc41.s390x" is already installed. Package "blosc-devel-1.21.6-1.fc42.s390x" is already installed.Nothing to do. Package "blosc2-devel-2.15.2-1.fc42.s390x" is already installed. Package "brotli-devel-1.1.0-5.fc41.s390x" is already installed. Package "bzip2-devel-1.0.8-19.fc41.s390x" is already installed. Package "cfitsio-devel-4.5.0-5.fc42.s390x" is already installed. Package "gcc-c++-15.0.0-0.2.fc42.s390x" is already installed. Package "giflib-devel-5.2.2-2.fc41.s390x" is already installed. Package "jxrlib-devel-1.1-28.fc41.s390x" is already installed. Package "lcms2-devel-2.16-4.fc41.s390x" is already installed. Package "libaec-devel-1.1.3-1.fc42.s390x" is already installed. Package "libavif-devel-1.0.4-7.fc41.s390x" is already installed. Package "libdeflate-devel-1.23-1.fc42.s390x" is already installed. Package "libheif-devel-1.19.5-1.fc42.s390x" is already installed. Package "libjpeg-turbo-devel-3.1.0-1.fc42.s390x" is already installed. Package "liblerc-devel-4.0.0-7.fc41.s390x" is already installed. Package "libpng-devel-2:1.6.44-1.fc42.s390x" is already installed. Package "libtiff-devel-4.7.0-2.fc42.s390x" is already installed. Package "libzstd-devel-1.5.6-2.fc41.s390x" is already installed. Package "lz4-devel-1.10.0-1.fc41.s390x" is already installed. Package "pyproject-rpm-macros-1.16.3-1.fc42.noarch" is already installed. Package "python3-cython-3.0.11-2.fc42.s390x" is already installed. Package "python3-devel-3.13.1-2.fc42.s390x" is already installed. Package "python3-blosc-1.11.2-2.fc41.s390x" is already installed. Package "python3-blosc2-2.7.1-2.fc42.s390x" is already installed. Package "python3-brotli-1.1.0-5.fc41.s390x" is already installed. Package "python3-lz4-4.3.3-5.fc41.s390x" is already installed. Package "python3-numcodecs-0.14.1-2.fc42.s390x" is already installed. Package "python3-numpy-1:2.2.1-1.fc42.s390x" is already installed. Package "python3-packaging-24.2-2.fc42.noarch" is already installed. Package "python3-pip-24.3.1-1.fc42.noarch" is already installed. Package "python3-pytest-8.3.4-1.fc42.noarch" is already installed. Package "python3-snappy-0.7.2-2.fc41.noarch" is already installed. Package "python3-setuptools-74.1.3-4.fc42.noarch" is already installed. Package "python3-setuptools-74.1.3-4.fc42.noarch" is already installed. Package "python3-tifffile-2024.12.12-1.fc42.noarch" is already installed. Package "python3-zarr-2.18.3-1.fc42.noarch" is already installed. Package "python3-zstd-1.5.6.1-1.fc42.s390x" is already installed. Package "snappy-devel-1.2.1-3.fc42.s390x" is already installed. Package "xz-devel-1:5.6.3-2.fc42.s390x" is already installed. Package "zfp-devel-1.0.1-3.fc41.s390x" is already installed. Package "zlib-ng-devel-2.2.2-1.fc42.s390x" is already installed. Package "zopfli-devel-1.0.3-11.fc41.s390x" is already installed. Building target platforms: s390x Building for target s390x setting SOURCE_DATE_EPOCH=1725926400 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.GDXTm0 + umask 022 + cd /builddir/build/BUILD/python-imagecodecs-2023.1.23-build + cd imagecodecs-2023.1.23 + export PYTHONPATH=. + PYTHONPATH=. + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(packaging)' + echo 'python3dist(pip) >= 19' + '[' -f pyproject.toml ']' + '[' -f setup.py ']' + echo 'python3dist(setuptools) >= 40.8' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + mkdir -p /builddir/build/BUILD/python-imagecodecs-2023.1.23-build/imagecodecs-2023.1.23/.pyproject-builddir + echo -n + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection ' + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection ' + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + VALAFLAGS=-g + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + LT_SYS_LIBRARY_PATH=/usr/lib64: + CC=gcc + CXX=g++ + TMPDIR=/builddir/build/BUILD/python-imagecodecs-2023.1.23-build/imagecodecs-2023.1.23/.pyproject-builddir + RPM_TOXENV=py313 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/python-imagecodecs-2023.1.23-build/imagecodecs-2023.1.23/pyproject-wheeldir --output /builddir/build/BUILD/python-imagecodecs-2023.1.23-build/python-imagecodecs-2023.1.23-4.fc42.s390x-pyproject-buildrequires Handling setuptools >= 40.8 from default build backend Requirement satisfied: setuptools >= 40.8 (installed: setuptools 74.1.3) Handling setuptools>=18.0 from get_requires_for_build_wheel Requirement satisfied: setuptools>=18.0 (installed: setuptools 74.1.3) Handling numpy from get_requires_for_build_wheel Requirement satisfied: numpy (installed: numpy 2.2.1) /usr/lib/python3.13/site-packages/setuptools/_distutils/dist.py:261: UserWarning: Unknown distribution option: 'tests_require' warnings.warn(msg) running dist_info writing imagecodecs.egg-info/PKG-INFO writing dependency_links to imagecodecs.egg-info/dependency_links.txt writing entry points to imagecodecs.egg-info/entry_points.txt writing requirements to imagecodecs.egg-info/requires.txt writing top-level names to imagecodecs.egg-info/top_level.txt reading manifest file 'imagecodecs.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching 'imagecodecs/*.cpp' warning: no files found matching 'imagecodecs/patches/*' warning: no files found matching '3rdparty/*' warning: no files found matching '3rdparty/*/*' warning: no files found matching 'tests/*.zfp' warning: no files found matching 'tests/*.icc' warning: no files found matching 'tests/*.jxl' warning: no files found matching 'tests/*.tif' warning: no files found matching 'tests/*.apng' warning: no previously-included files found matching 'tests/libaec/121B2TestData/ExtendedParameters/*.*' warning: no previously-included files found matching 'tests/tiff/gray.movie.*.tif' warning: no previously-included files found matching 'tests/ljpeg/dcm*.ljp' warning: no previously-included files found matching 'tests/ljpeg/2ch.ljp' warning: no previously-included files found matching 'tests/ljpeg/pvrg.ljp' warning: no previously-included files found matching 'tests/33792x79872.jpg' warning: no previously-included files found matching 'tests/jpegxr.czi' warning: no previously-included files found matching 'tests/jetraw.bin' warning: no previously-included files found matching '*.cmd' warning: no previously-included files found matching 'build_utils/*' warning: no previously-included files matching '*' found under directory 'doc' warning: no previously-included files matching '*' found under directory 'docs' warning: no previously-included files matching '__pycache__' found under directory '*' warning: no previously-included files matching '*.py[co]' found under directory '*' warning: no previously-included files matching '*-' found under directory '*' warning: no previously-included files matching '*.html' found under directory '*' warning: no previously-included files matching '*Copy*.*' found under directory '*' adding license file 'LICENSE' writing manifest file 'imagecodecs.egg-info/SOURCES.txt' creating '/builddir/build/BUILD/python-imagecodecs-2023.1.23-build/imagecodecs-2023.1.23/imagecodecs-2023.1.23.dist-info' Handling numpy from hook generated metadata: Requires-Dist (imagecodecs) Requirement satisfied: numpy (installed: numpy 2.2.1) Handling matplotlib ; extra == 'all' from hook generated metadata: Requires-Dist (imagecodecs) Ignoring alien requirement: matplotlib ; extra == 'all' Handling tifffile ; extra == 'all' from hook generated metadata: Requires-Dist (imagecodecs) Ignoring alien requirement: tifffile ; extra == 'all' Handling numcodecs ; extra == 'all' from hook generated metadata: Requires-Dist (imagecodecs) Ignoring alien requirement: numcodecs ; extra == 'all' + cat /builddir/build/BUILD/python-imagecodecs-2023.1.23-build/python-imagecodecs-2023.1.23-4.fc42.s390x-pyproject-buildrequires + rm -rfv imagecodecs-2023.1.23.dist-info/ removed 'imagecodecs-2023.1.23.dist-info/entry_points.txt' removed 'imagecodecs-2023.1.23.dist-info/top_level.txt' removed 'imagecodecs-2023.1.23.dist-info/METADATA' removed 'imagecodecs-2023.1.23.dist-info/LICENSE' removed directory 'imagecodecs-2023.1.23.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.32i6PW + umask 022 + cd /builddir/build/BUILD/python-imagecodecs-2023.1.23-build + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd imagecodecs-2023.1.23 + export CPPFLAGS=-I/usr/include/cfitsio + CPPFLAGS=-I/usr/include/cfitsio + export PYTHONPATH=. + PYTHONPATH=. + mkdir -p /builddir/build/BUILD/python-imagecodecs-2023.1.23-build/imagecodecs-2023.1.23/.pyproject-builddir + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection ' + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection ' + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + VALAFLAGS=-g + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + LT_SYS_LIBRARY_PATH=/usr/lib64: + CC=gcc + CXX=g++ + TMPDIR=/builddir/build/BUILD/python-imagecodecs-2023.1.23-build/imagecodecs-2023.1.23/.pyproject-builddir + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_wheel.py /builddir/build/BUILD/python-imagecodecs-2023.1.23-build/imagecodecs-2023.1.23/pyproject-wheeldir Processing /builddir/build/BUILD/python-imagecodecs-2023.1.23-build/imagecodecs-2023.1.23 Preparing metadata (pyproject.toml): started Running command Preparing metadata (pyproject.toml) /usr/lib/python3.13/site-packages/setuptools/_distutils/dist.py:261: UserWarning: Unknown distribution option: 'tests_require' warnings.warn(msg) running dist_info creating /builddir/build/BUILD/python-imagecodecs-2023.1.23-build/imagecodecs-2023.1.23/.pyproject-builddir/pip-modern-metadata-66se5nih/imagecodecs.egg-info writing /builddir/build/BUILD/python-imagecodecs-2023.1.23-build/imagecodecs-2023.1.23/.pyproject-builddir/pip-modern-metadata-66se5nih/imagecodecs.egg-info/PKG-INFO writing dependency_links to /builddir/build/BUILD/python-imagecodecs-2023.1.23-build/imagecodecs-2023.1.23/.pyproject-builddir/pip-modern-metadata-66se5nih/imagecodecs.egg-info/dependency_links.txt writing entry points to /builddir/build/BUILD/python-imagecodecs-2023.1.23-build/imagecodecs-2023.1.23/.pyproject-builddir/pip-modern-metadata-66se5nih/imagecodecs.egg-info/entry_points.txt writing requirements to /builddir/build/BUILD/python-imagecodecs-2023.1.23-build/imagecodecs-2023.1.23/.pyproject-builddir/pip-modern-metadata-66se5nih/imagecodecs.egg-info/requires.txt writing top-level names to /builddir/build/BUILD/python-imagecodecs-2023.1.23-build/imagecodecs-2023.1.23/.pyproject-builddir/pip-modern-metadata-66se5nih/imagecodecs.egg-info/top_level.txt writing manifest file '/builddir/build/BUILD/python-imagecodecs-2023.1.23-build/imagecodecs-2023.1.23/.pyproject-builddir/pip-modern-metadata-66se5nih/imagecodecs.egg-info/SOURCES.txt' reading manifest file '/builddir/build/BUILD/python-imagecodecs-2023.1.23-build/imagecodecs-2023.1.23/.pyproject-builddir/pip-modern-metadata-66se5nih/imagecodecs.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching 'imagecodecs/*.cpp' warning: no files found matching 'imagecodecs/patches/*' warning: no files found matching '3rdparty/*' warning: no files found matching '3rdparty/*/*' warning: no files found matching 'tests/*.zfp' warning: no files found matching 'tests/*.icc' warning: no files found matching 'tests/*.jxl' warning: no files found matching 'tests/*.tif' warning: no files found matching 'tests/*.apng' warning: no previously-included files found matching 'tests/libaec/121B2TestData/ExtendedParameters/*.*' warning: no previously-included files found matching 'tests/tiff/gray.movie.*.tif' warning: no previously-included files found matching 'tests/ljpeg/dcm*.ljp' warning: no previously-included files found matching 'tests/ljpeg/2ch.ljp' warning: no previously-included files found matching 'tests/ljpeg/pvrg.ljp' warning: no previously-included files found matching 'tests/33792x79872.jpg' warning: no previously-included files found matching 'tests/jpegxr.czi' warning: no previously-included files found matching 'tests/jetraw.bin' warning: no previously-included files found matching '*.cmd' warning: no previously-included files found matching 'build_utils/*' warning: no previously-included files matching '*' found under directory 'doc' warning: no previously-included files matching '*' found under directory 'docs' warning: no previously-included files matching '__pycache__' found under directory '*' warning: no previously-included files matching '*.py[co]' found under directory '*' warning: no previously-included files matching '*-' found under directory '*' warning: no previously-included files matching '*.html' found under directory '*' warning: no previously-included files matching '*Copy*.*' found under directory '*' adding license file 'LICENSE' writing manifest file '/builddir/build/BUILD/python-imagecodecs-2023.1.23-build/imagecodecs-2023.1.23/.pyproject-builddir/pip-modern-metadata-66se5nih/imagecodecs.egg-info/SOURCES.txt' creating '/builddir/build/BUILD/python-imagecodecs-2023.1.23-build/imagecodecs-2023.1.23/.pyproject-builddir/pip-modern-metadata-66se5nih/imagecodecs-2023.1.23.dist-info' Preparing metadata (pyproject.toml): finished with status 'done' Building wheels for collected packages: imagecodecs Building wheel for imagecodecs (pyproject.toml): started Running command Building wheel for imagecodecs (pyproject.toml) /usr/lib/python3.13/site-packages/setuptools/_distutils/dist.py:261: UserWarning: Unknown distribution option: 'tests_require' warnings.warn(msg) running bdist_wheel running build running build_py creating build creating build/lib.linux-s390x-cpython-313 creating build/lib.linux-s390x-cpython-313/imagecodecs copying imagecodecs/__init__.py -> build/lib.linux-s390x-cpython-313/imagecodecs copying imagecodecs/__main__.py -> build/lib.linux-s390x-cpython-313/imagecodecs copying imagecodecs/_imagecodecs.py -> build/lib.linux-s390x-cpython-313/imagecodecs copying imagecodecs/imagecodecs.py -> build/lib.linux-s390x-cpython-313/imagecodecs copying imagecodecs/numcodecs.py -> build/lib.linux-s390x-cpython-313/imagecodecs creating build/lib.linux-s390x-cpython-313/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-aom -> build/lib.linux-s390x-cpython-313/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-bitshuffle -> build/lib.linux-s390x-cpython-313/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-blosc -> build/lib.linux-s390x-cpython-313/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-blosc2 -> build/lib.linux-s390x-cpython-313/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-brotli -> build/lib.linux-s390x-cpython-313/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-brunsli -> build/lib.linux-s390x-cpython-313/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-bzip2 -> build/lib.linux-s390x-cpython-313/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-cfitsio -> build/lib.linux-s390x-cpython-313/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-charls -> build/lib.linux-s390x-cpython-313/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-dav1d -> build/lib.linux-s390x-cpython-313/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-fastlz -> build/lib.linux-s390x-cpython-313/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-giflib -> build/lib.linux-s390x-cpython-313/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-highway -> build/lib.linux-s390x-cpython-313/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-jetraw -> build/lib.linux-s390x-cpython-313/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-jpeg -> build/lib.linux-s390x-cpython-313/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-jpg_0xc3 -> build/lib.linux-s390x-cpython-313/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-jxrlib -> build/lib.linux-s390x-cpython-313/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-lcms2 -> build/lib.linux-s390x-cpython-313/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-lerc -> build/lib.linux-s390x-cpython-313/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-libaec -> build/lib.linux-s390x-cpython-313/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-libaivf -> build/lib.linux-s390x-cpython-313/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-libdeflate -> build/lib.linux-s390x-cpython-313/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-libjpeg -> build/lib.linux-s390x-cpython-313/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-libjpeg-turbo -> build/lib.linux-s390x-cpython-313/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-libjxl -> build/lib.linux-s390x-cpython-313/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-liblj92 -> build/lib.linux-s390x-cpython-313/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-liblzma -> build/lib.linux-s390x-cpython-313/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-libmng -> build/lib.linux-s390x-cpython-313/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-libpng -> build/lib.linux-s390x-cpython-313/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-libspng -> build/lib.linux-s390x-cpython-313/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-libtiff -> build/lib.linux-s390x-cpython-313/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-libwebp -> build/lib.linux-s390x-cpython-313/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-lz4 -> build/lib.linux-s390x-cpython-313/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-lzf -> build/lib.linux-s390x-cpython-313/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-lzfse -> build/lib.linux-s390x-cpython-313/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-lzham -> build/lib.linux-s390x-cpython-313/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-mozjpeg -> build/lib.linux-s390x-cpython-313/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-openjpeg -> build/lib.linux-s390x-cpython-313/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-postgresql -> build/lib.linux-s390x-cpython-313/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-qoi -> build/lib.linux-s390x-cpython-313/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-rav1e -> build/lib.linux-s390x-cpython-313/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-snappy -> build/lib.linux-s390x-cpython-313/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-svt-av1 -> build/lib.linux-s390x-cpython-313/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-zfp -> build/lib.linux-s390x-cpython-313/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-zlib -> build/lib.linux-s390x-cpython-313/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-zlib-ng -> build/lib.linux-s390x-cpython-313/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-zopfli -> build/lib.linux-s390x-cpython-313/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-zstd -> build/lib.linux-s390x-cpython-313/imagecodecs/licenses copying imagecodecs/licenses/PATENTS-rav1e -> build/lib.linux-s390x-cpython-313/imagecodecs/licenses running build_ext Compiling imagecodecs/_aec.pyx because it changed. [1/1] Cythonizing imagecodecs/_aec.pyx building 'imagecodecs._aec' extension creating build/temp.linux-s390x-cpython-313 creating build/temp.linux-s390x-cpython-313/imagecodecs gcc -fno-strict-overflow -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -fexceptions -fexceptions -fexceptions -O3 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/cfitsio -fPIC -Iimagecodecs -I/usr/include/python3.13 -I/usr/lib64/python3.13/site-packages/numpy/_core/include -c imagecodecs/_aec.c -o build/temp.linux-s390x-cpython-313/imagecodecs/_aec.o In file included from /usr/lib64/python3.13/site-packages/numpy/_core/include/numpy/ndarraytypes.h:1913, from /usr/lib64/python3.13/site-packages/numpy/_core/include/numpy/ndarrayobject.h:12, from /usr/lib64/python3.13/site-packages/numpy/_core/include/numpy/arrayobject.h:5, from imagecodecs/_aec.c:1250: /usr/lib64/python3.13/site-packages/numpy/_core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp] 17 | #warning "Using deprecated NumPy API, disable it with " \ | ^~~~~~~ gcc -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/cfitsio build/temp.linux-s390x-cpython-313/imagecodecs/_aec.o -L/usr/lib64 -lm -laec -o build/lib.linux-s390x-cpython-313/imagecodecs/_aec.cpython-313-s390x-linux-gnu.so Compiling imagecodecs/_avif.pyx because it changed. [1/1] Cythonizing imagecodecs/_avif.pyx building 'imagecodecs._avif' extension gcc -fno-strict-overflow -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -fexceptions -fexceptions -fexceptions -O3 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/cfitsio -fPIC -Iimagecodecs -I/usr/include/python3.13 -I/usr/lib64/python3.13/site-packages/numpy/_core/include -c imagecodecs/_avif.c -o build/temp.linux-s390x-cpython-313/imagecodecs/_avif.o In file included from /usr/lib64/python3.13/site-packages/numpy/_core/include/numpy/ndarraytypes.h:1913, from /usr/lib64/python3.13/site-packages/numpy/_core/include/numpy/ndarrayobject.h:12, from /usr/lib64/python3.13/site-packages/numpy/_core/include/numpy/arrayobject.h:5, from imagecodecs/_avif.c:1250: /usr/lib64/python3.13/site-packages/numpy/_core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp] 17 | #warning "Using deprecated NumPy API, disable it with " \ | ^~~~~~~ imagecodecs/_avif.c: In function ‘__pyx_pf_11imagecodecs_5_avif_6avif_decode.isra.0’: imagecodecs/_avif.c:27183:56: warning: ‘__pyx_v_size’ may be used uninitialized [-Wmaybe-uninitialized] 27183 | __pyx_v_rgb.pixels = (__pyx_v_rgb.pixels + __pyx_v_size); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ imagecodecs/_avif.c:25217:14: note: ‘__pyx_v_size’ was declared here 25217 | Py_ssize_t __pyx_v_size; | ^~~~~~~~~~~~ gcc -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/cfitsio build/temp.linux-s390x-cpython-313/imagecodecs/_avif.o -L/usr/lib64 -lm -lavif -o build/lib.linux-s390x-cpython-313/imagecodecs/_avif.cpython-313-s390x-linux-gnu.so Compiling imagecodecs/_blosc.pyx because it changed. [1/1] Cythonizing imagecodecs/_blosc.pyx building 'imagecodecs._blosc' extension gcc -fno-strict-overflow -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -fexceptions -fexceptions -fexceptions -O3 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/cfitsio -fPIC -Iimagecodecs -I/usr/include/python3.13 -I/usr/lib64/python3.13/site-packages/numpy/_core/include -c imagecodecs/_blosc.c -o build/temp.linux-s390x-cpython-313/imagecodecs/_blosc.o In file included from /usr/lib64/python3.13/site-packages/numpy/_core/include/numpy/ndarraytypes.h:1913, from /usr/lib64/python3.13/site-packages/numpy/_core/include/numpy/ndarrayobject.h:12, from /usr/lib64/python3.13/site-packages/numpy/_core/include/numpy/arrayobject.h:5, from imagecodecs/_blosc.c:1250: /usr/lib64/python3.13/site-packages/numpy/_core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp] 17 | #warning "Using deprecated NumPy API, disable it with " \ | ^~~~~~~ gcc -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/cfitsio build/temp.linux-s390x-cpython-313/imagecodecs/_blosc.o -L/usr/lib64 -lm -lblosc -o build/lib.linux-s390x-cpython-313/imagecodecs/_blosc.cpython-313-s390x-linux-gnu.so Compiling imagecodecs/_blosc2.pyx because it changed. [1/1] Cythonizing imagecodecs/_blosc2.pyx building 'imagecodecs._blosc2' extension gcc -fno-strict-overflow -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -fexceptions -fexceptions -fexceptions -O3 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/cfitsio -fPIC -Iimagecodecs -I/usr/include/python3.13 -I/usr/lib64/python3.13/site-packages/numpy/_core/include -c imagecodecs/_blosc2.c -o build/temp.linux-s390x-cpython-313/imagecodecs/_blosc2.o In file included from /usr/lib64/python3.13/site-packages/numpy/_core/include/numpy/ndarraytypes.h:1913, from /usr/lib64/python3.13/site-packages/numpy/_core/include/numpy/ndarrayobject.h:12, from /usr/lib64/python3.13/site-packages/numpy/_core/include/numpy/arrayobject.h:5, from imagecodecs/_blosc2.c:1250: /usr/lib64/python3.13/site-packages/numpy/_core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp] 17 | #warning "Using deprecated NumPy API, disable it with " \ | ^~~~~~~ gcc -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/cfitsio build/temp.linux-s390x-cpython-313/imagecodecs/_blosc2.o -L/usr/lib64 -lm -lblosc2 -o build/lib.linux-s390x-cpython-313/imagecodecs/_blosc2.cpython-313-s390x-linux-gnu.so Compiling imagecodecs/_brotli.pyx because it changed. [1/1] Cythonizing imagecodecs/_brotli.pyx building 'imagecodecs._brotli' extension gcc -fno-strict-overflow -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -fexceptions -fexceptions -fexceptions -O3 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/cfitsio -fPIC -Iimagecodecs -I/usr/include/python3.13 -I/usr/lib64/python3.13/site-packages/numpy/_core/include -c imagecodecs/_brotli.c -o build/temp.linux-s390x-cpython-313/imagecodecs/_brotli.o In file included from /usr/lib64/python3.13/site-packages/numpy/_core/include/numpy/ndarraytypes.h:1913, from /usr/lib64/python3.13/site-packages/numpy/_core/include/numpy/ndarrayobject.h:12, from /usr/lib64/python3.13/site-packages/numpy/_core/include/numpy/arrayobject.h:5, from imagecodecs/_brotli.c:1252: /usr/lib64/python3.13/site-packages/numpy/_core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp] 17 | #warning "Using deprecated NumPy API, disable it with " \ | ^~~~~~~ gcc -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/cfitsio build/temp.linux-s390x-cpython-313/imagecodecs/_brotli.o -L/usr/lib64 -lm -lbrotlienc -lbrotlidec -lbrotlicommon -o build/lib.linux-s390x-cpython-313/imagecodecs/_brotli.cpython-313-s390x-linux-gnu.so Compiling imagecodecs/_bz2.pyx because it changed. [1/1] Cythonizing imagecodecs/_bz2.pyx building 'imagecodecs._bz2' extension gcc -fno-strict-overflow -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -fexceptions -fexceptions -fexceptions -O3 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/cfitsio -fPIC -Iimagecodecs -I/usr/include/python3.13 -I/usr/lib64/python3.13/site-packages/numpy/_core/include -c imagecodecs/_bz2.c -o build/temp.linux-s390x-cpython-313/imagecodecs/_bz2.o In file included from /usr/lib64/python3.13/site-packages/numpy/_core/include/numpy/ndarraytypes.h:1913, from /usr/lib64/python3.13/site-packages/numpy/_core/include/numpy/ndarrayobject.h:12, from /usr/lib64/python3.13/site-packages/numpy/_core/include/numpy/arrayobject.h:5, from imagecodecs/_bz2.c:1250: /usr/lib64/python3.13/site-packages/numpy/_core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp] 17 | #warning "Using deprecated NumPy API, disable it with " \ | ^~~~~~~ gcc -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/cfitsio build/temp.linux-s390x-cpython-313/imagecodecs/_bz2.o -L/usr/lib64 -lm -lbz2 -o build/lib.linux-s390x-cpython-313/imagecodecs/_bz2.cpython-313-s390x-linux-gnu.so Compiling imagecodecs/_cms.pyx because it changed. [1/1] Cythonizing imagecodecs/_cms.pyx building 'imagecodecs._cms' extension gcc -fno-strict-overflow -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -fexceptions -fexceptions -fexceptions -O3 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/cfitsio -fPIC -Iimagecodecs -I/usr/include/python3.13 -I/usr/lib64/python3.13/site-packages/numpy/_core/include -c imagecodecs/_cms.c -o build/temp.linux-s390x-cpython-313/imagecodecs/_cms.o In file included from /usr/lib64/python3.13/site-packages/numpy/_core/include/numpy/ndarraytypes.h:1913, from /usr/lib64/python3.13/site-packages/numpy/_core/include/numpy/ndarrayobject.h:12, from /usr/lib64/python3.13/site-packages/numpy/_core/include/numpy/arrayobject.h:5, from imagecodecs/_cms.c:1250: /usr/lib64/python3.13/site-packages/numpy/_core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp] 17 | #warning "Using deprecated NumPy API, disable it with " \ | ^~~~~~~ In file included from imagecodecs/_cms.c:2773: /usr/include/python3.13/structmember.h:27:9: warning: ‘T_FLOAT’ redefined 27 | #define T_FLOAT Py_T_FLOAT | ^~~~~~~ In file included from imagecodecs/_cms.c:1259: /usr/include/lcms2.h:707:9: note: this is the location of the previous definition 707 | #define T_FLOAT(a) (((a)>>22)&1) | ^~~~~~~ gcc -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/cfitsio build/temp.linux-s390x-cpython-313/imagecodecs/_cms.o -L/usr/lib64 -lm -llcms2 -o build/lib.linux-s390x-cpython-313/imagecodecs/_cms.cpython-313-s390x-linux-gnu.so Compiling imagecodecs/_deflate.pyx because it changed. [1/1] Cythonizing imagecodecs/_deflate.pyx building 'imagecodecs._deflate' extension gcc -fno-strict-overflow -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -fexceptions -fexceptions -fexceptions -O3 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/cfitsio -fPIC -Iimagecodecs -I/usr/include/python3.13 -I/usr/lib64/python3.13/site-packages/numpy/_core/include -c imagecodecs/_deflate.c -o build/temp.linux-s390x-cpython-313/imagecodecs/_deflate.o In file included from /usr/lib64/python3.13/site-packages/numpy/_core/include/numpy/ndarraytypes.h:1913, from /usr/lib64/python3.13/site-packages/numpy/_core/include/numpy/ndarrayobject.h:12, from /usr/lib64/python3.13/site-packages/numpy/_core/include/numpy/arrayobject.h:5, from imagecodecs/_deflate.c:1250: /usr/lib64/python3.13/site-packages/numpy/_core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp] 17 | #warning "Using deprecated NumPy API, disable it with " \ | ^~~~~~~ gcc -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/cfitsio build/temp.linux-s390x-cpython-313/imagecodecs/_deflate.o -L/usr/lib64 -lm -ldeflate -o build/lib.linux-s390x-cpython-313/imagecodecs/_deflate.cpython-313-s390x-linux-gnu.so Compiling imagecodecs/_gif.pyx because it changed. [1/1] Cythonizing imagecodecs/_gif.pyx building 'imagecodecs._gif' extension gcc -fno-strict-overflow -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -fexceptions -fexceptions -fexceptions -O3 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/cfitsio -fPIC -Iimagecodecs -I/usr/include/python3.13 -I/usr/lib64/python3.13/site-packages/numpy/_core/include -c imagecodecs/_gif.c -o build/temp.linux-s390x-cpython-313/imagecodecs/_gif.o In file included from /usr/lib64/python3.13/site-packages/numpy/_core/include/numpy/ndarraytypes.h:1913, from /usr/lib64/python3.13/site-packages/numpy/_core/include/numpy/ndarrayobject.h:12, from /usr/lib64/python3.13/site-packages/numpy/_core/include/numpy/arrayobject.h:5, from imagecodecs/_gif.c:1250: /usr/lib64/python3.13/site-packages/numpy/_core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp] 17 | #warning "Using deprecated NumPy API, disable it with " \ | ^~~~~~~ gcc -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/cfitsio build/temp.linux-s390x-cpython-313/imagecodecs/_gif.o -L/usr/lib64 -lm -lgif -o build/lib.linux-s390x-cpython-313/imagecodecs/_gif.cpython-313-s390x-linux-gnu.so performance hint: imagecodecs/_heif.pyx:816:5: Exception check on 'output_del' will always require the GIL to be acquired. Possible solutions: 1. Declare 'output_del' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions. 2. Use an 'int' return type on 'output_del' to allow an error code to be returned. Compiling imagecodecs/_heif.pyx because it changed. [1/1] Cythonizing imagecodecs/_heif.pyx building 'imagecodecs._heif' extension gcc -fno-strict-overflow -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -fexceptions -fexceptions -fexceptions -O3 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/cfitsio -fPIC -Iimagecodecs -I/usr/include/python3.13 -I/usr/lib64/python3.13/site-packages/numpy/_core/include -c imagecodecs/_heif.c -o build/temp.linux-s390x-cpython-313/imagecodecs/_heif.o In file included from /usr/lib64/python3.13/site-packages/numpy/_core/include/numpy/ndarraytypes.h:1913, from /usr/lib64/python3.13/site-packages/numpy/_core/include/numpy/ndarrayobject.h:12, from /usr/lib64/python3.13/site-packages/numpy/_core/include/numpy/arrayobject.h:5, from imagecodecs/_heif.c:1250: /usr/lib64/python3.13/site-packages/numpy/_core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp] 17 | #warning "Using deprecated NumPy API, disable it with " \ | ^~~~~~~ imagecodecs/_heif.c:29770:12: warning: ‘__pyx_f_11imagecodecs_5_heif_output_seek’ defined but not used [-Wunused-function] 29770 | static int __pyx_f_11imagecodecs_5_heif_output_seek(__pyx_t_11imagecodecs_5_heif_output_t *__pyx_v_output, size_t __pyx_v_pos) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/cfitsio build/temp.linux-s390x-cpython-313/imagecodecs/_heif.o -L/usr/lib64 -lm -lheif -o build/lib.linux-s390x-cpython-313/imagecodecs/_heif.cpython-313-s390x-linux-gnu.so Compiling imagecodecs/_imcd.pyx because it changed. [1/1] Cythonizing imagecodecs/_imcd.pyx building 'imagecodecs._imcd' extension gcc -fno-strict-overflow -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -fexceptions -fexceptions -fexceptions -O3 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/cfitsio -fPIC -Iimagecodecs -I/usr/include/python3.13 -I/usr/lib64/python3.13/site-packages/numpy/_core/include -c imagecodecs/_imcd.c -o build/temp.linux-s390x-cpython-313/imagecodecs/_imcd.o In file included from /usr/lib64/python3.13/site-packages/numpy/_core/include/numpy/ndarraytypes.h:1913, from /usr/lib64/python3.13/site-packages/numpy/_core/include/numpy/ndarrayobject.h:12, from /usr/lib64/python3.13/site-packages/numpy/_core/include/numpy/arrayobject.h:5, from imagecodecs/_imcd.c:1251: /usr/lib64/python3.13/site-packages/numpy/_core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp] 17 | #warning "Using deprecated NumPy API, disable it with " \ | ^~~~~~~ imagecodecs/_imcd.c: In function ‘__pyx_pf_11imagecodecs_5_imcd_46lzw_encode’: imagecodecs/_imcd.c:36428:164: warning: passing argument 3 of ‘imcd_lzw_encode’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 36428 | __pyx_v_ret = imcd_lzw_encode((&(*((uint8_t const *) ( /* dim=0 */ ((char *) (((uint8_t const *) __pyx_v_src.data) + __pyx_t_4)) )))), __pyx_v_srcsize, (&(*((uint8_t const *) ( /* dim=0 */ ((char *) (((uint8_t const *) __pyx_v_dst.data) + __pyx_t_13)) )))), __pyx_v_dstsize); | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from imagecodecs/_imcd.c:1258: imagecodecs/imcd.h:299:14: note: expected ‘uint8_t *’ {aka ‘unsigned char *’} but argument is of type ‘const uint8_t *’ {aka ‘const unsigned char *’} 299 | uint8_t* dst, | ~~~~~~~~~^~~ gcc -fno-strict-overflow -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -fexceptions -fexceptions -fexceptions -O3 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/cfitsio -fPIC -Iimagecodecs -I/usr/include/python3.13 -I/usr/lib64/python3.13/site-packages/numpy/_core/include -c imagecodecs/imcd.c -o build/temp.linux-s390x-cpython-313/imagecodecs/imcd.o imagecodecs/imcd.c: In function ‘imcd_ccittrle_decode’: imagecodecs/imcd.c:848:20: warning: unused variable ‘dstend’ [-Wunused-variable] 848 | const uint8_t* dstend = dstptr + dstsize; | ^~~~~~ gcc -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/cfitsio build/temp.linux-s390x-cpython-313/imagecodecs/_imcd.o build/temp.linux-s390x-cpython-313/imagecodecs/imcd.o -L/usr/lib64 -lm -o build/lib.linux-s390x-cpython-313/imagecodecs/_imcd.cpython-313-s390x-linux-gnu.so warning: imagecodecs/_jpeg8.pyx:46:0: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310 warning: imagecodecs/_jpeg8.pyx:66:8: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310 warning: imagecodecs/_jpeg8.pyx:86:4: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310 warning: imagecodecs/_jpeg8.pyx:230:8: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310 warning: imagecodecs/_jpeg8.pyx:411:4: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310 warning: imagecodecs/_jpeg8.pyx:469:4: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310 Compiling imagecodecs/_jpeg8.pyx because it changed. [1/1] Cythonizing imagecodecs/_jpeg8.pyx building 'imagecodecs._jpeg8' extension gcc -fno-strict-overflow -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -fexceptions -fexceptions -fexceptions -O3 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/cfitsio -fPIC -Iimagecodecs -I/usr/include/python3.13 -I/usr/lib64/python3.13/site-packages/numpy/_core/include -c imagecodecs/_jpeg8.c -o build/temp.linux-s390x-cpython-313/imagecodecs/_jpeg8.o In file included from /usr/lib64/python3.13/site-packages/numpy/_core/include/numpy/ndarraytypes.h:1913, from /usr/lib64/python3.13/site-packages/numpy/_core/include/numpy/ndarrayobject.h:12, from /usr/lib64/python3.13/site-packages/numpy/_core/include/numpy/arrayobject.h:5, from imagecodecs/_jpeg8.c:1250: /usr/lib64/python3.13/site-packages/numpy/_core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp] 17 | #warning "Using deprecated NumPy API, disable it with " \ | ^~~~~~~ gcc -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/cfitsio build/temp.linux-s390x-cpython-313/imagecodecs/_jpeg8.o -L/usr/lib64 -lm -ljpeg -o build/lib.linux-s390x-cpython-313/imagecodecs/_jpeg8.cpython-313-s390x-linux-gnu.so performance hint: imagecodecs/_jpegxr.pyx:748:5: Exception check on 'jxr_encode_guid' will always require the GIL to be acquired. Declare 'jxr_encode_guid' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions. performance hint: imagecodecs/_jpegxr.pyx:193:41: Exception check after calling 'jxr_encode_guid' will always require the GIL to be acquired. Declare 'jxr_encode_guid' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions. Compiling imagecodecs/_jpegxr.pyx because it changed. [1/1] Cythonizing imagecodecs/_jpegxr.pyx building 'imagecodecs._jpegxr' extension gcc -fno-strict-overflow -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -fexceptions -fexceptions -fexceptions -O3 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/cfitsio -fPIC -D__ANSI__=1 -Iimagecodecs -I/usr/include/jxrlib -I/usr/include/python3.13 -I/usr/lib64/python3.13/site-packages/numpy/_core/include -c imagecodecs/_jpegxr.c -o build/temp.linux-s390x-cpython-313/imagecodecs/_jpegxr.o In file included from /usr/lib64/python3.13/site-packages/numpy/_core/include/numpy/ndarraytypes.h:1913, from /usr/lib64/python3.13/site-packages/numpy/_core/include/numpy/ndarrayobject.h:12, from /usr/lib64/python3.13/site-packages/numpy/_core/include/numpy/arrayobject.h:5, from imagecodecs/_jpegxr.c:1262: /usr/lib64/python3.13/site-packages/numpy/_core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp] 17 | #warning "Using deprecated NumPy API, disable it with " \ | ^~~~~~~ imagecodecs/_jpegxr.c:31478:18: warning: ‘__pyx_f_11imagecodecs_7_jpegxr_pixelformat_str’ defined but not used [-Wunused-function] 31478 | static PyObject *__pyx_f_11imagecodecs_7_jpegxr_pixelformat_str(PKPixelFormatGUID *__pyx_v_pf) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/cfitsio build/temp.linux-s390x-cpython-313/imagecodecs/_jpegxr.o -L/usr/lib64 -lm -ljpegxr -ljxrglue -o build/lib.linux-s390x-cpython-313/imagecodecs/_jpegxr.cpython-313-s390x-linux-gnu.so Compiling imagecodecs/_lerc.pyx because it changed. [1/1] Cythonizing imagecodecs/_lerc.pyx building 'imagecodecs._lerc' extension gcc -fno-strict-overflow -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -fexceptions -fexceptions -fexceptions -O3 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/cfitsio -fPIC -Iimagecodecs -I/usr/include/python3.13 -I/usr/lib64/python3.13/site-packages/numpy/_core/include -c imagecodecs/_lerc.c -o build/temp.linux-s390x-cpython-313/imagecodecs/_lerc.o In file included from /usr/lib64/python3.13/site-packages/numpy/_core/include/numpy/ndarraytypes.h:1913, from /usr/lib64/python3.13/site-packages/numpy/_core/include/numpy/ndarrayobject.h:12, from /usr/lib64/python3.13/site-packages/numpy/_core/include/numpy/arrayobject.h:5, from imagecodecs/_lerc.c:1250: /usr/lib64/python3.13/site-packages/numpy/_core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp] 17 | #warning "Using deprecated NumPy API, disable it with " \ | ^~~~~~~ gcc -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/cfitsio build/temp.linux-s390x-cpython-313/imagecodecs/_lerc.o -L/usr/lib64 -lm -lLerc -o build/lib.linux-s390x-cpython-313/imagecodecs/_lerc.cpython-313-s390x-linux-gnu.so Compiling imagecodecs/_lz4.pyx because it changed. [1/1] Cythonizing imagecodecs/_lz4.pyx building 'imagecodecs._lz4' extension gcc -fno-strict-overflow -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -fexceptions -fexceptions -fexceptions -O3 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/cfitsio -fPIC -Iimagecodecs -I/usr/include/python3.13 -I/usr/lib64/python3.13/site-packages/numpy/_core/include -c imagecodecs/_lz4.c -o build/temp.linux-s390x-cpython-313/imagecodecs/_lz4.o In file included from /usr/lib64/python3.13/site-packages/numpy/_core/include/numpy/ndarraytypes.h:1913, from /usr/lib64/python3.13/site-packages/numpy/_core/include/numpy/ndarrayobject.h:12, from /usr/lib64/python3.13/site-packages/numpy/_core/include/numpy/arrayobject.h:5, from imagecodecs/_lz4.c:1250: /usr/lib64/python3.13/site-packages/numpy/_core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp] 17 | #warning "Using deprecated NumPy API, disable it with " \ | ^~~~~~~ gcc -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/cfitsio build/temp.linux-s390x-cpython-313/imagecodecs/_lz4.o -L/usr/lib64 -lm -llz4 -o build/lib.linux-s390x-cpython-313/imagecodecs/_lz4.cpython-313-s390x-linux-gnu.so warning: imagecodecs/_lzma.pyx:127:27: Assigning to 'uint8_t *' from 'const uint8_t *' discards const qualifier warning: imagecodecs/_lzma.pyx:176:27: Assigning to 'uint8_t *' from 'const uint8_t *' discards const qualifier Compiling imagecodecs/_lzma.pyx because it changed. [1/1] Cythonizing imagecodecs/_lzma.pyx building 'imagecodecs._lzma' extension gcc -fno-strict-overflow -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -fexceptions -fexceptions -fexceptions -O3 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/cfitsio -fPIC -Iimagecodecs -I/usr/include/python3.13 -I/usr/lib64/python3.13/site-packages/numpy/_core/include -c imagecodecs/_lzma.c -o build/temp.linux-s390x-cpython-313/imagecodecs/_lzma.o In file included from /usr/lib64/python3.13/site-packages/numpy/_core/include/numpy/ndarraytypes.h:1913, from /usr/lib64/python3.13/site-packages/numpy/_core/include/numpy/ndarrayobject.h:12, from /usr/lib64/python3.13/site-packages/numpy/_core/include/numpy/arrayobject.h:5, from imagecodecs/_lzma.c:1250: /usr/lib64/python3.13/site-packages/numpy/_core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp] 17 | #warning "Using deprecated NumPy API, disable it with " \ | ^~~~~~~ gcc -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/cfitsio build/temp.linux-s390x-cpython-313/imagecodecs/_lzma.o -L/usr/lib64 -lm -llzma -o build/lib.linux-s390x-cpython-313/imagecodecs/_lzma.cpython-313-s390x-linux-gnu.so Compiling imagecodecs/_png.pyx because it changed. [1/1] Cythonizing imagecodecs/_png.pyx building 'imagecodecs._png' extension gcc -fno-strict-overflow -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -fexceptions -fexceptions -fexceptions -O3 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/cfitsio -fPIC -Iimagecodecs -I/usr/include/python3.13 -I/usr/lib64/python3.13/site-packages/numpy/_core/include -c imagecodecs/_png.c -o build/temp.linux-s390x-cpython-313/imagecodecs/_png.o In file included from /usr/lib64/python3.13/site-packages/numpy/_core/include/numpy/ndarraytypes.h:1913, from /usr/lib64/python3.13/site-packages/numpy/_core/include/numpy/ndarrayobject.h:12, from /usr/lib64/python3.13/site-packages/numpy/_core/include/numpy/arrayobject.h:5, from imagecodecs/_png.c:1250: /usr/lib64/python3.13/site-packages/numpy/_core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp] 17 | #warning "Using deprecated NumPy API, disable it with " \ | ^~~~~~~ gcc -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/cfitsio build/temp.linux-s390x-cpython-313/imagecodecs/_png.o -L/usr/lib64 -lm -lpng -o build/lib.linux-s390x-cpython-313/imagecodecs/_png.cpython-313-s390x-linux-gnu.so Compiling imagecodecs/_rcomp.pyx because it changed. [1/1] Cythonizing imagecodecs/_rcomp.pyx building 'imagecodecs._rcomp' extension gcc -fno-strict-overflow -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -fexceptions -fexceptions -fexceptions -O3 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/cfitsio -fPIC -Iimagecodecs -I/usr/include/python3.13 -I/usr/lib64/python3.13/site-packages/numpy/_core/include -c imagecodecs/_rcomp.c -o build/temp.linux-s390x-cpython-313/imagecodecs/_rcomp.o In file included from /usr/lib64/python3.13/site-packages/numpy/_core/include/numpy/ndarraytypes.h:1913, from /usr/lib64/python3.13/site-packages/numpy/_core/include/numpy/ndarrayobject.h:12, from /usr/lib64/python3.13/site-packages/numpy/_core/include/numpy/arrayobject.h:5, from imagecodecs/_rcomp.c:1251: /usr/lib64/python3.13/site-packages/numpy/_core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp] 17 | #warning "Using deprecated NumPy API, disable it with " \ | ^~~~~~~ In file included from imagecodecs/_rcomp.c:2746: /usr/include/python3.13/structmember.h:46:9: warning: ‘READONLY’ redefined 46 | #define READONLY Py_READONLY | ^~~~~~~~ In file included from imagecodecs/_rcomp.c:1258: /usr/include/cfitsio/fitsio.h:284:9: note: this is the location of the previous definition 284 | #define READONLY 0 /* options when opening a file */ | ^~~~~~~~ gcc -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/cfitsio build/temp.linux-s390x-cpython-313/imagecodecs/_rcomp.o -L/usr/lib64 -lm -lcfitsio -lz -o build/lib.linux-s390x-cpython-313/imagecodecs/_rcomp.cpython-313-s390x-linux-gnu.so warning: imagecodecs/_shared.pyx:98:4: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310 Compiling imagecodecs/_shared.pyx because it changed. [1/1] Cythonizing imagecodecs/_shared.pyx building 'imagecodecs._shared' extension gcc -fno-strict-overflow -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -fexceptions -fexceptions -fexceptions -O3 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/cfitsio -fPIC -Iimagecodecs -I/usr/include/python3.13 -I/usr/lib64/python3.13/site-packages/numpy/_core/include -c imagecodecs/_shared.c -o build/temp.linux-s390x-cpython-313/imagecodecs/_shared.o In file included from /usr/lib64/python3.13/site-packages/numpy/_core/include/numpy/ndarraytypes.h:1913, from /usr/lib64/python3.13/site-packages/numpy/_core/include/numpy/ndarrayobject.h:12, from /usr/lib64/python3.13/site-packages/numpy/_core/include/numpy/arrayobject.h:5, from imagecodecs/_shared.c:1250: /usr/lib64/python3.13/site-packages/numpy/_core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp] 17 | #warning "Using deprecated NumPy API, disable it with " \ | ^~~~~~~ gcc -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/cfitsio build/temp.linux-s390x-cpython-313/imagecodecs/_shared.o -L/usr/lib64 -lm -o build/lib.linux-s390x-cpython-313/imagecodecs/_shared.cpython-313-s390x-linux-gnu.so Compiling imagecodecs/_snappy.pyx because it changed. [1/1] Cythonizing imagecodecs/_snappy.pyx building 'imagecodecs._snappy' extension gcc -fno-strict-overflow -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -fexceptions -fexceptions -fexceptions -O3 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/cfitsio -fPIC -Iimagecodecs -I/usr/include/python3.13 -I/usr/lib64/python3.13/site-packages/numpy/_core/include -c imagecodecs/_snappy.c -o build/temp.linux-s390x-cpython-313/imagecodecs/_snappy.o In file included from /usr/lib64/python3.13/site-packages/numpy/_core/include/numpy/ndarraytypes.h:1913, from /usr/lib64/python3.13/site-packages/numpy/_core/include/numpy/ndarrayobject.h:12, from /usr/lib64/python3.13/site-packages/numpy/_core/include/numpy/arrayobject.h:5, from imagecodecs/_snappy.c:1250: /usr/lib64/python3.13/site-packages/numpy/_core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp] 17 | #warning "Using deprecated NumPy API, disable it with " \ | ^~~~~~~ gcc -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/cfitsio build/temp.linux-s390x-cpython-313/imagecodecs/_snappy.o -L/usr/lib64 -lm -lsnappy -o build/lib.linux-s390x-cpython-313/imagecodecs/_snappy.cpython-313-s390x-linux-gnu.so performance hint: imagecodecs/_tiff.pyx:763:5: Exception check on 'dirlist_del' will always require the GIL to be acquired. Possible solutions: 1. Declare 'dirlist_del' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions. 2. Use an 'int' return type on 'dirlist_del' to allow an error code to be returned. Compiling imagecodecs/_tiff.pyx because it changed. [1/1] Cythonizing imagecodecs/_tiff.pyx building 'imagecodecs._tiff' extension gcc -fno-strict-overflow -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -fexceptions -fexceptions -fexceptions -O3 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/cfitsio -fPIC -Iimagecodecs -I/usr/include/python3.13 -I/usr/lib64/python3.13/site-packages/numpy/_core/include -c imagecodecs/_tiff.c -o build/temp.linux-s390x-cpython-313/imagecodecs/_tiff.o In file included from /usr/lib64/python3.13/site-packages/numpy/_core/include/numpy/ndarraytypes.h:1913, from /usr/lib64/python3.13/site-packages/numpy/_core/include/numpy/ndarrayobject.h:12, from /usr/lib64/python3.13/site-packages/numpy/_core/include/numpy/arrayobject.h:5, from imagecodecs/_tiff.c:1250: /usr/lib64/python3.13/site-packages/numpy/_core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp] 17 | #warning "Using deprecated NumPy API, disable it with " \ | ^~~~~~~ imagecodecs/_tiff.c:29381:47: warning: ‘__pyx_f_11imagecodecs_5_tiff_memtif_new’ defined but not used [-Wunused-function] 29381 | static __pyx_t_11imagecodecs_5_tiff_memtif_t *__pyx_f_11imagecodecs_5_tiff_memtif_new(toff_t __pyx_v_size, toff_t __pyx_v_inc) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/cfitsio build/temp.linux-s390x-cpython-313/imagecodecs/_tiff.o -L/usr/lib64 -lm -ltiff -o build/lib.linux-s390x-cpython-313/imagecodecs/_tiff.cpython-313-s390x-linux-gnu.so Compiling imagecodecs/_webp.pyx because it changed. [1/1] Cythonizing imagecodecs/_webp.pyx building 'imagecodecs._webp' extension gcc -fno-strict-overflow -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -fexceptions -fexceptions -fexceptions -O3 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/cfitsio -fPIC -Iimagecodecs -I/usr/include/python3.13 -I/usr/lib64/python3.13/site-packages/numpy/_core/include -c imagecodecs/_webp.c -o build/temp.linux-s390x-cpython-313/imagecodecs/_webp.o In file included from /usr/lib64/python3.13/site-packages/numpy/_core/include/numpy/ndarraytypes.h:1913, from /usr/lib64/python3.13/site-packages/numpy/_core/include/numpy/ndarrayobject.h:12, from /usr/lib64/python3.13/site-packages/numpy/_core/include/numpy/arrayobject.h:5, from imagecodecs/_webp.c:1250: /usr/lib64/python3.13/site-packages/numpy/_core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp] 17 | #warning "Using deprecated NumPy API, disable it with " \ | ^~~~~~~ gcc -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/cfitsio build/temp.linux-s390x-cpython-313/imagecodecs/_webp.o -L/usr/lib64 -lm -lwebp -o build/lib.linux-s390x-cpython-313/imagecodecs/_webp.cpython-313-s390x-linux-gnu.so Compiling imagecodecs/_zfp.pyx because it changed. [1/1] Cythonizing imagecodecs/_zfp.pyx building 'imagecodecs._zfp' extension gcc -fno-strict-overflow -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -fexceptions -fexceptions -fexceptions -O3 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/cfitsio -fPIC -Iimagecodecs -I/usr/include/python3.13 -I/usr/lib64/python3.13/site-packages/numpy/_core/include -c imagecodecs/_zfp.c -o build/temp.linux-s390x-cpython-313/imagecodecs/_zfp.o In file included from /usr/lib64/python3.13/site-packages/numpy/_core/include/numpy/ndarraytypes.h:1913, from /usr/lib64/python3.13/site-packages/numpy/_core/include/numpy/ndarrayobject.h:12, from /usr/lib64/python3.13/site-packages/numpy/_core/include/numpy/arrayobject.h:5, from imagecodecs/_zfp.c:1250: /usr/lib64/python3.13/site-packages/numpy/_core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp] 17 | #warning "Using deprecated NumPy API, disable it with " \ | ^~~~~~~ imagecodecs/_zfp.c: In function ‘__pyx_pf_11imagecodecs_4_zfp_4zfp_encode.isra.0’: imagecodecs/_zfp.c:22830:21: warning: ‘__pyx_v_minbits’ may be used uninitialized [-Wmaybe-uninitialized] 22830 | __pyx_v_ret = zfp_stream_set_params(__pyx_v_zfp, __pyx_v_minbits, __pyx_v_maxbits, __pyx_v_maxprec, __pyx_v_minexp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ imagecodecs/_zfp.c:21075:21: note: ‘__pyx_v_minbits’ was declared here 21075 | __pyx_t_3zfp_uint __pyx_v_minbits; | ^~~~~~~~~~~~~~~ imagecodecs/_zfp.c:22830:21: warning: ‘__pyx_v_maxbits’ may be used uninitialized [-Wmaybe-uninitialized] 22830 | __pyx_v_ret = zfp_stream_set_params(__pyx_v_zfp, __pyx_v_minbits, __pyx_v_maxbits, __pyx_v_maxprec, __pyx_v_minexp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ imagecodecs/_zfp.c:21076:21: note: ‘__pyx_v_maxbits’ was declared here 21076 | __pyx_t_3zfp_uint __pyx_v_maxbits; | ^~~~~~~~~~~~~~~ imagecodecs/_zfp.c:22830:21: warning: ‘__pyx_v_maxprec’ may be used uninitialized [-Wmaybe-uninitialized] 22830 | __pyx_v_ret = zfp_stream_set_params(__pyx_v_zfp, __pyx_v_minbits, __pyx_v_maxbits, __pyx_v_maxprec, __pyx_v_minexp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ imagecodecs/_zfp.c:21077:21: note: ‘__pyx_v_maxprec’ was declared here 21077 | __pyx_t_3zfp_uint __pyx_v_maxprec; | ^~~~~~~~~~~~~~~ imagecodecs/_zfp.c:22830:21: warning: ‘__pyx_v_minexp’ may be used uninitialized [-Wmaybe-uninitialized] 22830 | __pyx_v_ret = zfp_stream_set_params(__pyx_v_zfp, __pyx_v_minbits, __pyx_v_maxbits, __pyx_v_maxprec, __pyx_v_minexp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ imagecodecs/_zfp.c:21078:21: note: ‘__pyx_v_minexp’ was declared here 21078 | __pyx_t_3zfp_uint __pyx_v_minexp; | ^~~~~~~~~~~~~~ gcc -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/cfitsio build/temp.linux-s390x-cpython-313/imagecodecs/_zfp.o -L/usr/lib64 -lm -lzfp -o build/lib.linux-s390x-cpython-313/imagecodecs/_zfp.cpython-313-s390x-linux-gnu.so performance hint: imagecodecs/_zlib.pyx:334:5: Exception check on 'output_del' will always require the GIL to be acquired. Possible solutions: 1. Declare 'output_del' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions. 2. Use an 'int' return type on 'output_del' to allow an error code to be returned. Compiling imagecodecs/_zlib.pyx because it changed. [1/1] Cythonizing imagecodecs/_zlib.pyx building 'imagecodecs._zlib' extension gcc -fno-strict-overflow -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -fexceptions -fexceptions -fexceptions -O3 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/cfitsio -fPIC -Iimagecodecs -I/usr/include/python3.13 -I/usr/lib64/python3.13/site-packages/numpy/_core/include -c imagecodecs/_zlib.c -o build/temp.linux-s390x-cpython-313/imagecodecs/_zlib.o In file included from /usr/lib64/python3.13/site-packages/numpy/_core/include/numpy/ndarraytypes.h:1913, from /usr/lib64/python3.13/site-packages/numpy/_core/include/numpy/ndarrayobject.h:12, from /usr/lib64/python3.13/site-packages/numpy/_core/include/numpy/arrayobject.h:5, from imagecodecs/_zlib.c:1250: /usr/lib64/python3.13/site-packages/numpy/_core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp] 17 | #warning "Using deprecated NumPy API, disable it with " \ | ^~~~~~~ imagecodecs/_zlib.c:24032:12: warning: ‘__pyx_f_11imagecodecs_5_zlib_output_seek’ defined but not used [-Wunused-function] 24032 | static int __pyx_f_11imagecodecs_5_zlib_output_seek(__pyx_t_11imagecodecs_5_zlib_output_t *__pyx_v_output, size_t __pyx_v_pos) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/cfitsio build/temp.linux-s390x-cpython-313/imagecodecs/_zlib.o -L/usr/lib64 -lm -lz -o build/lib.linux-s390x-cpython-313/imagecodecs/_zlib.cpython-313-s390x-linux-gnu.so performance hint: imagecodecs/_zlibng.pyx:336:5: Exception check on 'output_del' will always require the GIL to be acquired. Possible solutions: 1. Declare 'output_del' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions. 2. Use an 'int' return type on 'output_del' to allow an error code to be returned. Compiling imagecodecs/_zlibng.pyx because it changed. [1/1] Cythonizing imagecodecs/_zlibng.pyx building 'imagecodecs._zlibng' extension gcc -fno-strict-overflow -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -fexceptions -fexceptions -fexceptions -O3 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/cfitsio -fPIC -Iimagecodecs -I/usr/include/python3.13 -I/usr/lib64/python3.13/site-packages/numpy/_core/include -c imagecodecs/_zlibng.c -o build/temp.linux-s390x-cpython-313/imagecodecs/_zlibng.o In file included from /usr/lib64/python3.13/site-packages/numpy/_core/include/numpy/ndarraytypes.h:1913, from /usr/lib64/python3.13/site-packages/numpy/_core/include/numpy/ndarrayobject.h:12, from /usr/lib64/python3.13/site-packages/numpy/_core/include/numpy/arrayobject.h:5, from imagecodecs/_zlibng.c:1250: /usr/lib64/python3.13/site-packages/numpy/_core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp] 17 | #warning "Using deprecated NumPy API, disable it with " \ | ^~~~~~~ imagecodecs/_zlibng.c:24039:12: warning: ‘__pyx_f_11imagecodecs_7_zlibng_output_seek’ defined but not used [-Wunused-function] 24039 | static int __pyx_f_11imagecodecs_7_zlibng_output_seek(__pyx_t_11imagecodecs_7_zlibng_output_t *__pyx_v_output, size_t __pyx_v_pos) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/cfitsio build/temp.linux-s390x-cpython-313/imagecodecs/_zlibng.o -L/usr/lib64 -lm -lz-ng -o build/lib.linux-s390x-cpython-313/imagecodecs/_zlibng.cpython-313-s390x-linux-gnu.so Compiling imagecodecs/_zopfli.pyx because it changed. [1/1] Cythonizing imagecodecs/_zopfli.pyx building 'imagecodecs._zopfli' extension gcc -fno-strict-overflow -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -fexceptions -fexceptions -fexceptions -O3 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/cfitsio -fPIC -Iimagecodecs -I/usr/include/zopfli -I/usr/include/python3.13 -I/usr/lib64/python3.13/site-packages/numpy/_core/include -c imagecodecs/_zopfli.c -o build/temp.linux-s390x-cpython-313/imagecodecs/_zopfli.o In file included from /usr/lib64/python3.13/site-packages/numpy/_core/include/numpy/ndarraytypes.h:1913, from /usr/lib64/python3.13/site-packages/numpy/_core/include/numpy/ndarrayobject.h:12, from /usr/lib64/python3.13/site-packages/numpy/_core/include/numpy/arrayobject.h:5, from imagecodecs/_zopfli.c:1251: /usr/lib64/python3.13/site-packages/numpy/_core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp] 17 | #warning "Using deprecated NumPy API, disable it with " \ | ^~~~~~~ gcc -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/cfitsio build/temp.linux-s390x-cpython-313/imagecodecs/_zopfli.o -L/usr/lib64 -lm -lzopfli -o build/lib.linux-s390x-cpython-313/imagecodecs/_zopfli.cpython-313-s390x-linux-gnu.so Compiling imagecodecs/_zstd.pyx because it changed. [1/1] Cythonizing imagecodecs/_zstd.pyx building 'imagecodecs._zstd' extension gcc -fno-strict-overflow -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -fexceptions -fexceptions -fexceptions -O3 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/cfitsio -fPIC -Iimagecodecs -I/usr/include/python3.13 -I/usr/lib64/python3.13/site-packages/numpy/_core/include -c imagecodecs/_zstd.c -o build/temp.linux-s390x-cpython-313/imagecodecs/_zstd.o In file included from /usr/lib64/python3.13/site-packages/numpy/_core/include/numpy/ndarraytypes.h:1913, from /usr/lib64/python3.13/site-packages/numpy/_core/include/numpy/ndarrayobject.h:12, from /usr/lib64/python3.13/site-packages/numpy/_core/include/numpy/arrayobject.h:5, from imagecodecs/_zstd.c:1250: /usr/lib64/python3.13/site-packages/numpy/_core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp] 17 | #warning "Using deprecated NumPy API, disable it with " \ | ^~~~~~~ gcc -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/cfitsio build/temp.linux-s390x-cpython-313/imagecodecs/_zstd.o -L/usr/lib64 -lm -lzstd -o build/lib.linux-s390x-cpython-313/imagecodecs/_zstd.cpython-313-s390x-linux-gnu.so installing to build/bdist.linux-s390x/wheel running install running install_lib creating build/bdist.linux-s390x creating build/bdist.linux-s390x/wheel creating build/bdist.linux-s390x/wheel/imagecodecs copying build/lib.linux-s390x-cpython-313/imagecodecs/__init__.py -> build/bdist.linux-s390x/wheel/./imagecodecs copying build/lib.linux-s390x-cpython-313/imagecodecs/__main__.py -> build/bdist.linux-s390x/wheel/./imagecodecs copying build/lib.linux-s390x-cpython-313/imagecodecs/_imagecodecs.py -> build/bdist.linux-s390x/wheel/./imagecodecs copying build/lib.linux-s390x-cpython-313/imagecodecs/imagecodecs.py -> build/bdist.linux-s390x/wheel/./imagecodecs copying build/lib.linux-s390x-cpython-313/imagecodecs/numcodecs.py -> build/bdist.linux-s390x/wheel/./imagecodecs creating build/bdist.linux-s390x/wheel/imagecodecs/licenses copying build/lib.linux-s390x-cpython-313/imagecodecs/licenses/LICENSE-aom -> build/bdist.linux-s390x/wheel/./imagecodecs/licenses copying build/lib.linux-s390x-cpython-313/imagecodecs/licenses/LICENSE-bitshuffle -> build/bdist.linux-s390x/wheel/./imagecodecs/licenses copying build/lib.linux-s390x-cpython-313/imagecodecs/licenses/LICENSE-blosc -> build/bdist.linux-s390x/wheel/./imagecodecs/licenses copying build/lib.linux-s390x-cpython-313/imagecodecs/licenses/LICENSE-blosc2 -> build/bdist.linux-s390x/wheel/./imagecodecs/licenses copying build/lib.linux-s390x-cpython-313/imagecodecs/licenses/LICENSE-brotli -> build/bdist.linux-s390x/wheel/./imagecodecs/licenses copying build/lib.linux-s390x-cpython-313/imagecodecs/licenses/LICENSE-brunsli -> build/bdist.linux-s390x/wheel/./imagecodecs/licenses copying build/lib.linux-s390x-cpython-313/imagecodecs/licenses/LICENSE-bzip2 -> build/bdist.linux-s390x/wheel/./imagecodecs/licenses copying build/lib.linux-s390x-cpython-313/imagecodecs/licenses/LICENSE-cfitsio -> build/bdist.linux-s390x/wheel/./imagecodecs/licenses copying build/lib.linux-s390x-cpython-313/imagecodecs/licenses/LICENSE-charls -> build/bdist.linux-s390x/wheel/./imagecodecs/licenses copying build/lib.linux-s390x-cpython-313/imagecodecs/licenses/LICENSE-dav1d -> build/bdist.linux-s390x/wheel/./imagecodecs/licenses copying build/lib.linux-s390x-cpython-313/imagecodecs/licenses/LICENSE-fastlz -> build/bdist.linux-s390x/wheel/./imagecodecs/licenses copying build/lib.linux-s390x-cpython-313/imagecodecs/licenses/LICENSE-giflib -> build/bdist.linux-s390x/wheel/./imagecodecs/licenses copying build/lib.linux-s390x-cpython-313/imagecodecs/licenses/LICENSE-highway -> build/bdist.linux-s390x/wheel/./imagecodecs/licenses copying build/lib.linux-s390x-cpython-313/imagecodecs/licenses/LICENSE-jetraw -> build/bdist.linux-s390x/wheel/./imagecodecs/licenses copying build/lib.linux-s390x-cpython-313/imagecodecs/licenses/LICENSE-jpeg -> build/bdist.linux-s390x/wheel/./imagecodecs/licenses copying build/lib.linux-s390x-cpython-313/imagecodecs/licenses/LICENSE-jpg_0xc3 -> build/bdist.linux-s390x/wheel/./imagecodecs/licenses copying build/lib.linux-s390x-cpython-313/imagecodecs/licenses/LICENSE-jxrlib -> build/bdist.linux-s390x/wheel/./imagecodecs/licenses copying build/lib.linux-s390x-cpython-313/imagecodecs/licenses/LICENSE-lcms2 -> build/bdist.linux-s390x/wheel/./imagecodecs/licenses copying build/lib.linux-s390x-cpython-313/imagecodecs/licenses/LICENSE-lerc -> build/bdist.linux-s390x/wheel/./imagecodecs/licenses copying build/lib.linux-s390x-cpython-313/imagecodecs/licenses/LICENSE-libaec -> build/bdist.linux-s390x/wheel/./imagecodecs/licenses copying build/lib.linux-s390x-cpython-313/imagecodecs/licenses/LICENSE-libaivf -> build/bdist.linux-s390x/wheel/./imagecodecs/licenses copying build/lib.linux-s390x-cpython-313/imagecodecs/licenses/LICENSE-libdeflate -> build/bdist.linux-s390x/wheel/./imagecodecs/licenses copying build/lib.linux-s390x-cpython-313/imagecodecs/licenses/LICENSE-libjpeg -> build/bdist.linux-s390x/wheel/./imagecodecs/licenses copying build/lib.linux-s390x-cpython-313/imagecodecs/licenses/LICENSE-libjpeg-turbo -> build/bdist.linux-s390x/wheel/./imagecodecs/licenses copying build/lib.linux-s390x-cpython-313/imagecodecs/licenses/LICENSE-libjxl -> build/bdist.linux-s390x/wheel/./imagecodecs/licenses copying build/lib.linux-s390x-cpython-313/imagecodecs/licenses/LICENSE-liblj92 -> build/bdist.linux-s390x/wheel/./imagecodecs/licenses copying build/lib.linux-s390x-cpython-313/imagecodecs/licenses/LICENSE-liblzma -> build/bdist.linux-s390x/wheel/./imagecodecs/licenses copying build/lib.linux-s390x-cpython-313/imagecodecs/licenses/LICENSE-libmng -> build/bdist.linux-s390x/wheel/./imagecodecs/licenses copying build/lib.linux-s390x-cpython-313/imagecodecs/licenses/LICENSE-libpng -> build/bdist.linux-s390x/wheel/./imagecodecs/licenses copying build/lib.linux-s390x-cpython-313/imagecodecs/licenses/LICENSE-libspng -> build/bdist.linux-s390x/wheel/./imagecodecs/licenses copying build/lib.linux-s390x-cpython-313/imagecodecs/licenses/LICENSE-libtiff -> build/bdist.linux-s390x/wheel/./imagecodecs/licenses copying build/lib.linux-s390x-cpython-313/imagecodecs/licenses/LICENSE-libwebp -> build/bdist.linux-s390x/wheel/./imagecodecs/licenses copying build/lib.linux-s390x-cpython-313/imagecodecs/licenses/LICENSE-lz4 -> build/bdist.linux-s390x/wheel/./imagecodecs/licenses copying build/lib.linux-s390x-cpython-313/imagecodecs/licenses/LICENSE-lzf -> build/bdist.linux-s390x/wheel/./imagecodecs/licenses copying build/lib.linux-s390x-cpython-313/imagecodecs/licenses/LICENSE-lzfse -> build/bdist.linux-s390x/wheel/./imagecodecs/licenses copying build/lib.linux-s390x-cpython-313/imagecodecs/licenses/LICENSE-lzham -> build/bdist.linux-s390x/wheel/./imagecodecs/licenses copying build/lib.linux-s390x-cpython-313/imagecodecs/licenses/LICENSE-mozjpeg -> build/bdist.linux-s390x/wheel/./imagecodecs/licenses copying build/lib.linux-s390x-cpython-313/imagecodecs/licenses/LICENSE-openjpeg -> build/bdist.linux-s390x/wheel/./imagecodecs/licenses copying build/lib.linux-s390x-cpython-313/imagecodecs/licenses/LICENSE-postgresql -> build/bdist.linux-s390x/wheel/./imagecodecs/licenses copying build/lib.linux-s390x-cpython-313/imagecodecs/licenses/LICENSE-qoi -> build/bdist.linux-s390x/wheel/./imagecodecs/licenses copying build/lib.linux-s390x-cpython-313/imagecodecs/licenses/LICENSE-rav1e -> build/bdist.linux-s390x/wheel/./imagecodecs/licenses copying build/lib.linux-s390x-cpython-313/imagecodecs/licenses/LICENSE-snappy -> build/bdist.linux-s390x/wheel/./imagecodecs/licenses copying build/lib.linux-s390x-cpython-313/imagecodecs/licenses/LICENSE-svt-av1 -> build/bdist.linux-s390x/wheel/./imagecodecs/licenses copying build/lib.linux-s390x-cpython-313/imagecodecs/licenses/LICENSE-zfp -> build/bdist.linux-s390x/wheel/./imagecodecs/licenses copying build/lib.linux-s390x-cpython-313/imagecodecs/licenses/LICENSE-zlib -> build/bdist.linux-s390x/wheel/./imagecodecs/licenses copying build/lib.linux-s390x-cpython-313/imagecodecs/licenses/LICENSE-zlib-ng -> build/bdist.linux-s390x/wheel/./imagecodecs/licenses copying build/lib.linux-s390x-cpython-313/imagecodecs/licenses/LICENSE-zopfli -> build/bdist.linux-s390x/wheel/./imagecodecs/licenses copying build/lib.linux-s390x-cpython-313/imagecodecs/licenses/LICENSE-zstd -> build/bdist.linux-s390x/wheel/./imagecodecs/licenses copying build/lib.linux-s390x-cpython-313/imagecodecs/licenses/PATENTS-rav1e -> build/bdist.linux-s390x/wheel/./imagecodecs/licenses copying build/lib.linux-s390x-cpython-313/imagecodecs/_aec.cpython-313-s390x-linux-gnu.so -> build/bdist.linux-s390x/wheel/./imagecodecs copying build/lib.linux-s390x-cpython-313/imagecodecs/_avif.cpython-313-s390x-linux-gnu.so -> build/bdist.linux-s390x/wheel/./imagecodecs copying build/lib.linux-s390x-cpython-313/imagecodecs/_blosc.cpython-313-s390x-linux-gnu.so -> build/bdist.linux-s390x/wheel/./imagecodecs copying build/lib.linux-s390x-cpython-313/imagecodecs/_blosc2.cpython-313-s390x-linux-gnu.so -> build/bdist.linux-s390x/wheel/./imagecodecs copying build/lib.linux-s390x-cpython-313/imagecodecs/_brotli.cpython-313-s390x-linux-gnu.so -> build/bdist.linux-s390x/wheel/./imagecodecs copying build/lib.linux-s390x-cpython-313/imagecodecs/_bz2.cpython-313-s390x-linux-gnu.so -> build/bdist.linux-s390x/wheel/./imagecodecs copying build/lib.linux-s390x-cpython-313/imagecodecs/_cms.cpython-313-s390x-linux-gnu.so -> build/bdist.linux-s390x/wheel/./imagecodecs copying build/lib.linux-s390x-cpython-313/imagecodecs/_deflate.cpython-313-s390x-linux-gnu.so -> build/bdist.linux-s390x/wheel/./imagecodecs copying build/lib.linux-s390x-cpython-313/imagecodecs/_gif.cpython-313-s390x-linux-gnu.so -> build/bdist.linux-s390x/wheel/./imagecodecs copying build/lib.linux-s390x-cpython-313/imagecodecs/_heif.cpython-313-s390x-linux-gnu.so -> build/bdist.linux-s390x/wheel/./imagecodecs copying build/lib.linux-s390x-cpython-313/imagecodecs/_imcd.cpython-313-s390x-linux-gnu.so -> build/bdist.linux-s390x/wheel/./imagecodecs copying build/lib.linux-s390x-cpython-313/imagecodecs/_jpeg8.cpython-313-s390x-linux-gnu.so -> build/bdist.linux-s390x/wheel/./imagecodecs copying build/lib.linux-s390x-cpython-313/imagecodecs/_jpegxr.cpython-313-s390x-linux-gnu.so -> build/bdist.linux-s390x/wheel/./imagecodecs copying build/lib.linux-s390x-cpython-313/imagecodecs/_lerc.cpython-313-s390x-linux-gnu.so -> build/bdist.linux-s390x/wheel/./imagecodecs copying build/lib.linux-s390x-cpython-313/imagecodecs/_lz4.cpython-313-s390x-linux-gnu.so -> build/bdist.linux-s390x/wheel/./imagecodecs copying build/lib.linux-s390x-cpython-313/imagecodecs/_lzma.cpython-313-s390x-linux-gnu.so -> build/bdist.linux-s390x/wheel/./imagecodecs copying build/lib.linux-s390x-cpython-313/imagecodecs/_png.cpython-313-s390x-linux-gnu.so -> build/bdist.linux-s390x/wheel/./imagecodecs copying build/lib.linux-s390x-cpython-313/imagecodecs/_rcomp.cpython-313-s390x-linux-gnu.so -> build/bdist.linux-s390x/wheel/./imagecodecs copying build/lib.linux-s390x-cpython-313/imagecodecs/_shared.cpython-313-s390x-linux-gnu.so -> build/bdist.linux-s390x/wheel/./imagecodecs copying build/lib.linux-s390x-cpython-313/imagecodecs/_snappy.cpython-313-s390x-linux-gnu.so -> build/bdist.linux-s390x/wheel/./imagecodecs copying build/lib.linux-s390x-cpython-313/imagecodecs/_tiff.cpython-313-s390x-linux-gnu.so -> build/bdist.linux-s390x/wheel/./imagecodecs copying build/lib.linux-s390x-cpython-313/imagecodecs/_webp.cpython-313-s390x-linux-gnu.so -> build/bdist.linux-s390x/wheel/./imagecodecs copying build/lib.linux-s390x-cpython-313/imagecodecs/_zfp.cpython-313-s390x-linux-gnu.so -> build/bdist.linux-s390x/wheel/./imagecodecs copying build/lib.linux-s390x-cpython-313/imagecodecs/_zlib.cpython-313-s390x-linux-gnu.so -> build/bdist.linux-s390x/wheel/./imagecodecs copying build/lib.linux-s390x-cpython-313/imagecodecs/_zlibng.cpython-313-s390x-linux-gnu.so -> build/bdist.linux-s390x/wheel/./imagecodecs copying build/lib.linux-s390x-cpython-313/imagecodecs/_zopfli.cpython-313-s390x-linux-gnu.so -> build/bdist.linux-s390x/wheel/./imagecodecs copying build/lib.linux-s390x-cpython-313/imagecodecs/_zstd.cpython-313-s390x-linux-gnu.so -> build/bdist.linux-s390x/wheel/./imagecodecs running install_egg_info running egg_info writing imagecodecs.egg-info/PKG-INFO writing dependency_links to imagecodecs.egg-info/dependency_links.txt writing entry points to imagecodecs.egg-info/entry_points.txt writing requirements to imagecodecs.egg-info/requires.txt writing top-level names to imagecodecs.egg-info/top_level.txt reading manifest file 'imagecodecs.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching 'imagecodecs/*.cpp' warning: no files found matching 'imagecodecs/patches/*' warning: no files found matching '3rdparty/*' warning: no files found matching '3rdparty/*/*' warning: no files found matching 'tests/*.zfp' warning: no files found matching 'tests/*.icc' warning: no files found matching 'tests/*.jxl' warning: no files found matching 'tests/*.tif' warning: no files found matching 'tests/*.apng' warning: no previously-included files found matching 'tests/libaec/121B2TestData/ExtendedParameters/*.*' warning: no previously-included files found matching 'tests/tiff/gray.movie.*.tif' warning: no previously-included files found matching 'tests/ljpeg/dcm*.ljp' warning: no previously-included files found matching 'tests/ljpeg/2ch.ljp' warning: no previously-included files found matching 'tests/ljpeg/pvrg.ljp' warning: no previously-included files found matching 'tests/33792x79872.jpg' warning: no previously-included files found matching 'tests/jpegxr.czi' warning: no previously-included files found matching 'tests/jetraw.bin' warning: no previously-included files found matching '*.cmd' warning: no previously-included files found matching 'build_utils/*' warning: no previously-included files matching '*' found under directory 'doc' warning: no previously-included files matching '*' found under directory 'docs' warning: no previously-included files matching '__pycache__' found under directory '*' warning: no previously-included files matching '*.py[co]' found under directory '*' warning: no previously-included files matching '*-' found under directory '*' warning: no previously-included files matching '*.html' found under directory '*' warning: no previously-included files matching '*Copy*.*' found under directory '*' adding license file 'LICENSE' writing manifest file 'imagecodecs.egg-info/SOURCES.txt' Copying imagecodecs.egg-info to build/bdist.linux-s390x/wheel/./imagecodecs-2023.1.23-py3.13.egg-info running install_scripts creating build/bdist.linux-s390x/wheel/imagecodecs-2023.1.23.dist-info/WHEEL creating '/builddir/build/BUILD/python-imagecodecs-2023.1.23-build/imagecodecs-2023.1.23/.pyproject-builddir/pip-wheel-m43l4lk1/.tmp-9j9to0qr/imagecodecs-2023.1.23-cp313-cp313-linux_s390x.whl' and adding 'build/bdist.linux-s390x/wheel' to it adding 'imagecodecs/__init__.py' adding 'imagecodecs/__main__.py' adding 'imagecodecs/_aec.cpython-313-s390x-linux-gnu.so' adding 'imagecodecs/_avif.cpython-313-s390x-linux-gnu.so' adding 'imagecodecs/_blosc.cpython-313-s390x-linux-gnu.so' adding 'imagecodecs/_blosc2.cpython-313-s390x-linux-gnu.so' adding 'imagecodecs/_brotli.cpython-313-s390x-linux-gnu.so' adding 'imagecodecs/_bz2.cpython-313-s390x-linux-gnu.so' adding 'imagecodecs/_cms.cpython-313-s390x-linux-gnu.so' adding 'imagecodecs/_deflate.cpython-313-s390x-linux-gnu.so' adding 'imagecodecs/_gif.cpython-313-s390x-linux-gnu.so' adding 'imagecodecs/_heif.cpython-313-s390x-linux-gnu.so' adding 'imagecodecs/_imagecodecs.py' adding 'imagecodecs/_imcd.cpython-313-s390x-linux-gnu.so' adding 'imagecodecs/_jpeg8.cpython-313-s390x-linux-gnu.so' adding 'imagecodecs/_jpegxr.cpython-313-s390x-linux-gnu.so' adding 'imagecodecs/_lerc.cpython-313-s390x-linux-gnu.so' adding 'imagecodecs/_lz4.cpython-313-s390x-linux-gnu.so' adding 'imagecodecs/_lzma.cpython-313-s390x-linux-gnu.so' adding 'imagecodecs/_png.cpython-313-s390x-linux-gnu.so' adding 'imagecodecs/_rcomp.cpython-313-s390x-linux-gnu.so' adding 'imagecodecs/_shared.cpython-313-s390x-linux-gnu.so' adding 'imagecodecs/_snappy.cpython-313-s390x-linux-gnu.so' adding 'imagecodecs/_tiff.cpython-313-s390x-linux-gnu.so' adding 'imagecodecs/_webp.cpython-313-s390x-linux-gnu.so' adding 'imagecodecs/_zfp.cpython-313-s390x-linux-gnu.so' adding 'imagecodecs/_zlib.cpython-313-s390x-linux-gnu.so' adding 'imagecodecs/_zlibng.cpython-313-s390x-linux-gnu.so' adding 'imagecodecs/_zopfli.cpython-313-s390x-linux-gnu.so' adding 'imagecodecs/_zstd.cpython-313-s390x-linux-gnu.so' adding 'imagecodecs/imagecodecs.py' adding 'imagecodecs/numcodecs.py' adding 'imagecodecs/licenses/LICENSE-aom' adding 'imagecodecs/licenses/LICENSE-bitshuffle' adding 'imagecodecs/licenses/LICENSE-blosc' adding 'imagecodecs/licenses/LICENSE-blosc2' adding 'imagecodecs/licenses/LICENSE-brotli' adding 'imagecodecs/licenses/LICENSE-brunsli' adding 'imagecodecs/licenses/LICENSE-bzip2' adding 'imagecodecs/licenses/LICENSE-cfitsio' adding 'imagecodecs/licenses/LICENSE-charls' adding 'imagecodecs/licenses/LICENSE-dav1d' adding 'imagecodecs/licenses/LICENSE-fastlz' adding 'imagecodecs/licenses/LICENSE-giflib' adding 'imagecodecs/licenses/LICENSE-highway' adding 'imagecodecs/licenses/LICENSE-jetraw' adding 'imagecodecs/licenses/LICENSE-jpeg' adding 'imagecodecs/licenses/LICENSE-jpg_0xc3' adding 'imagecodecs/licenses/LICENSE-jxrlib' adding 'imagecodecs/licenses/LICENSE-lcms2' adding 'imagecodecs/licenses/LICENSE-lerc' adding 'imagecodecs/licenses/LICENSE-libaec' adding 'imagecodecs/licenses/LICENSE-libaivf' adding 'imagecodecs/licenses/LICENSE-libdeflate' adding 'imagecodecs/licenses/LICENSE-libjpeg' adding 'imagecodecs/licenses/LICENSE-libjpeg-turbo' adding 'imagecodecs/licenses/LICENSE-libjxl' adding 'imagecodecs/licenses/LICENSE-liblj92' adding 'imagecodecs/licenses/LICENSE-liblzma' adding 'imagecodecs/licenses/LICENSE-libmng' adding 'imagecodecs/licenses/LICENSE-libpng' adding 'imagecodecs/licenses/LICENSE-libspng' adding 'imagecodecs/licenses/LICENSE-libtiff' adding 'imagecodecs/licenses/LICENSE-libwebp' adding 'imagecodecs/licenses/LICENSE-lz4' adding 'imagecodecs/licenses/LICENSE-lzf' adding 'imagecodecs/licenses/LICENSE-lzfse' adding 'imagecodecs/licenses/LICENSE-lzham' adding 'imagecodecs/licenses/LICENSE-mozjpeg' adding 'imagecodecs/licenses/LICENSE-openjpeg' adding 'imagecodecs/licenses/LICENSE-postgresql' adding 'imagecodecs/licenses/LICENSE-qoi' adding 'imagecodecs/licenses/LICENSE-rav1e' adding 'imagecodecs/licenses/LICENSE-snappy' adding 'imagecodecs/licenses/LICENSE-svt-av1' adding 'imagecodecs/licenses/LICENSE-zfp' adding 'imagecodecs/licenses/LICENSE-zlib' adding 'imagecodecs/licenses/LICENSE-zlib-ng' adding 'imagecodecs/licenses/LICENSE-zopfli' adding 'imagecodecs/licenses/LICENSE-zstd' adding 'imagecodecs/licenses/PATENTS-rav1e' adding 'imagecodecs-2023.1.23.dist-info/LICENSE' adding 'imagecodecs-2023.1.23.dist-info/METADATA' adding 'imagecodecs-2023.1.23.dist-info/WHEEL' adding 'imagecodecs-2023.1.23.dist-info/entry_points.txt' adding 'imagecodecs-2023.1.23.dist-info/top_level.txt' adding 'imagecodecs-2023.1.23.dist-info/RECORD' removing build/bdist.linux-s390x/wheel Building wheel for imagecodecs (pyproject.toml): finished with status 'done' Created wheel for imagecodecs: filename=imagecodecs-2023.1.23-cp313-cp313-linux_s390x.whl size=15596573 sha256=7c1b6591bd2772d8067241383b9b262fbc3ed289dc3ab6342066e737e8584099 Stored in directory: /builddir/.cache/pip/wheels/8e/14/ea/5f08b686876016e9d4530b0838a0033226132ab94878c64c6b Successfully built imagecodecs + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.7JGAq7 + umask 022 + cd /builddir/build/BUILD/python-imagecodecs-2023.1.23-build + '[' /builddir/build/BUILD/python-imagecodecs-2023.1.23-build/BUILDROOT '!=' / ']' + rm -rf /builddir/build/BUILD/python-imagecodecs-2023.1.23-build/BUILDROOT ++ dirname /builddir/build/BUILD/python-imagecodecs-2023.1.23-build/BUILDROOT + mkdir -p /builddir/build/BUILD/python-imagecodecs-2023.1.23-build + mkdir /builddir/build/BUILD/python-imagecodecs-2023.1.23-build/BUILDROOT + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd imagecodecs-2023.1.23 ++ ls /builddir/build/BUILD/python-imagecodecs-2023.1.23-build/imagecodecs-2023.1.23/pyproject-wheeldir/imagecodecs-2023.1.23-cp313-cp313-linux_s390x.whl ++ xargs basename --multiple ++ sed -E 's/([^-]+)-([^-]+)-.+\.whl/\1==\2/' + specifier=imagecodecs==2023.1.23 + '[' -z imagecodecs==2023.1.23 ']' + TMPDIR=/builddir/build/BUILD/python-imagecodecs-2023.1.23-build/imagecodecs-2023.1.23/.pyproject-builddir + /usr/bin/python3 -m pip install --root /builddir/build/BUILD/python-imagecodecs-2023.1.23-build/BUILDROOT --prefix /usr --no-deps --disable-pip-version-check --progress-bar off --verbose --ignore-installed --no-warn-script-location --no-index --no-cache-dir --find-links /builddir/build/BUILD/python-imagecodecs-2023.1.23-build/imagecodecs-2023.1.23/pyproject-wheeldir imagecodecs==2023.1.23 Using pip 24.3.1 from /usr/lib/python3.13/site-packages/pip (python 3.13) Looking in links: /builddir/build/BUILD/python-imagecodecs-2023.1.23-build/imagecodecs-2023.1.23/pyproject-wheeldir Processing ./pyproject-wheeldir/imagecodecs-2023.1.23-cp313-cp313-linux_s390x.whl Installing collected packages: imagecodecs Creating /builddir/build/BUILD/python-imagecodecs-2023.1.23-build/BUILDROOT/usr/bin changing mode of /builddir/build/BUILD/python-imagecodecs-2023.1.23-build/BUILDROOT/usr/bin/imagecodecs to 755 Successfully installed imagecodecs-2023.1.23 + '[' -d /builddir/build/BUILD/python-imagecodecs-2023.1.23-build/BUILDROOT/usr/bin ']' + '[' -z sP ']' + shebang_flags=-kasP + /usr/bin/python3 -B /usr/lib/rpm/redhat/pathfix.py -pni /usr/bin/python3 -kasP /builddir/build/BUILD/python-imagecodecs-2023.1.23-build/BUILDROOT/usr/bin/imagecodecs /builddir/build/BUILD/python-imagecodecs-2023.1.23-build/BUILDROOT/usr/bin/imagecodecs: updating + rm -rfv /builddir/build/BUILD/python-imagecodecs-2023.1.23-build/BUILDROOT/usr/bin/__pycache__ + rm -f /builddir/build/BUILD/python-imagecodecs-2023.1.23-build/python-imagecodecs-2023.1.23-4.fc42.s390x-pyproject-ghost-distinfo + site_dirs=() + '[' -d /builddir/build/BUILD/python-imagecodecs-2023.1.23-build/BUILDROOT/usr/lib/python3.13/site-packages ']' + '[' /builddir/build/BUILD/python-imagecodecs-2023.1.23-build/BUILDROOT/usr/lib64/python3.13/site-packages '!=' /builddir/build/BUILD/python-imagecodecs-2023.1.23-build/BUILDROOT/usr/lib/python3.13/site-packages ']' + '[' -d /builddir/build/BUILD/python-imagecodecs-2023.1.23-build/BUILDROOT/usr/lib64/python3.13/site-packages ']' + site_dirs+=("/usr/lib64/python3.13/site-packages") + for site_dir in ${site_dirs[@]} + for distinfo in /builddir/build/BUILD/python-imagecodecs-2023.1.23-build/BUILDROOT$site_dir/*.dist-info + echo '%ghost /usr/lib64/python3.13/site-packages/imagecodecs-2023.1.23.dist-info' + sed -i s/pip/rpm/ /builddir/build/BUILD/python-imagecodecs-2023.1.23-build/BUILDROOT/usr/lib64/python3.13/site-packages/imagecodecs-2023.1.23.dist-info/INSTALLER + PYTHONPATH=/usr/lib/rpm/redhat + /usr/bin/python3 -B /usr/lib/rpm/redhat/pyproject_preprocess_record.py --buildroot /builddir/build/BUILD/python-imagecodecs-2023.1.23-build/BUILDROOT --record /builddir/build/BUILD/python-imagecodecs-2023.1.23-build/BUILDROOT/usr/lib64/python3.13/site-packages/imagecodecs-2023.1.23.dist-info/RECORD --output /builddir/build/BUILD/python-imagecodecs-2023.1.23-build/python-imagecodecs-2023.1.23-4.fc42.s390x-pyproject-record + rm -fv /builddir/build/BUILD/python-imagecodecs-2023.1.23-build/BUILDROOT/usr/lib64/python3.13/site-packages/imagecodecs-2023.1.23.dist-info/RECORD removed '/builddir/build/BUILD/python-imagecodecs-2023.1.23-build/BUILDROOT/usr/lib64/python3.13/site-packages/imagecodecs-2023.1.23.dist-info/RECORD' + rm -fv /builddir/build/BUILD/python-imagecodecs-2023.1.23-build/BUILDROOT/usr/lib64/python3.13/site-packages/imagecodecs-2023.1.23.dist-info/REQUESTED removed '/builddir/build/BUILD/python-imagecodecs-2023.1.23-build/BUILDROOT/usr/lib64/python3.13/site-packages/imagecodecs-2023.1.23.dist-info/REQUESTED' ++ wc -l /builddir/build/BUILD/python-imagecodecs-2023.1.23-build/python-imagecodecs-2023.1.23-4.fc42.s390x-pyproject-ghost-distinfo ++ cut -f1 '-d ' + lines=1 + '[' 1 -ne 1 ']' + RPM_FILES_ESCAPE=4.19 + /usr/bin/python3 /usr/lib/rpm/redhat/pyproject_save_files.py --output-files /builddir/build/BUILD/python-imagecodecs-2023.1.23-build/python-imagecodecs-2023.1.23-4.fc42.s390x-pyproject-files --output-modules /builddir/build/BUILD/python-imagecodecs-2023.1.23-build/python-imagecodecs-2023.1.23-4.fc42.s390x-pyproject-modules --buildroot /builddir/build/BUILD/python-imagecodecs-2023.1.23-build/BUILDROOT --sitelib /usr/lib/python3.13/site-packages --sitearch /usr/lib64/python3.13/site-packages --python-version 3.13 --pyproject-record /builddir/build/BUILD/python-imagecodecs-2023.1.23-build/python-imagecodecs-2023.1.23-4.fc42.s390x-pyproject-record --prefix /usr imagecodecs + /usr/bin/find-debuginfo -j2 --strict-build-id -m -i --build-id-seed 2023.1.23-4.fc42 --unique-debug-suffix -2023.1.23-4.fc42.s390x --unique-debug-src-base python-imagecodecs-2023.1.23-4.fc42.s390x --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/python-imagecodecs-2023.1.23-build/imagecodecs-2023.1.23 find-debuginfo: starting Extracting debug info from 27 files DWARF-compressing 27 files sepdebugcrcfix: Updated 27 CRC32s, 0 CRC32s did match. Creating .debug symlinks for symlinks to ELF files Copying sources found by 'debugedit -l' to /usr/src/debug/python-imagecodecs-2023.1.23-4.fc42.s390x find-debuginfo: done + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j2 Bytecompiling .py files below /builddir/build/BUILD/python-imagecodecs-2023.1.23-build/BUILDROOT/usr/lib64/python3.13 using python3.13 Bytecompiling .py files below /builddir/build/BUILD/python-imagecodecs-2023.1.23-build/BUILDROOT/usr/lib/debug/usr/lib64/python3.13 using python3.13 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/bin/add-determinism --brp -j2 /builddir/build/BUILD/python-imagecodecs-2023.1.23-build/BUILDROOT /builddir/build/BUILD/python-imagecodecs-2023.1.23-build/BUILDROOT/usr/lib64/python3.13/site-packages/imagecodecs/__pycache__/__init__.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-imagecodecs-2023.1.23-build/BUILDROOT/usr/lib64/python3.13/site-packages/imagecodecs/__pycache__/__main__.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-imagecodecs-2023.1.23-build/BUILDROOT/usr/lib64/python3.13/site-packages/imagecodecs/__pycache__/imagecodecs.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-imagecodecs-2023.1.23-build/BUILDROOT/usr/lib64/python3.13/site-packages/imagecodecs/__pycache__/_imagecodecs.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-imagecodecs-2023.1.23-build/BUILDROOT/usr/lib64/python3.13/site-packages/imagecodecs/__pycache__/numcodecs.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-imagecodecs-2023.1.23-build/BUILDROOT/usr/lib64/python3.13/site-packages/imagecodecs/__pycache__/numcodecs.cpython-313.pyc: replacing with normalized version Scanned 22 directories and 155 files, processed 6 inodes, 6 modified (2 replaced + 4 rewritten), 0 unsupported format, 0 errors Reading /builddir/build/BUILD/python-imagecodecs-2023.1.23-build/SPECPARTS/rpm-debuginfo.specpart Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.kFu2Mu + umask 022 + cd /builddir/build/BUILD/python-imagecodecs-2023.1.23-build + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd imagecodecs-2023.1.23 + TEST_OPTS=(--deselect "tests/test_imagecodecs.py::test_cms_identity_transforms" --deselect "tests/test_imagecodecs.py::test_compressors[blosc2-encode-0-new]" --deselect "tests/test_imagecodecs.py::test_compressors[blosc2-encode-0-bytearray]" --deselect "tests/test_imagecodecs.py::test_compressors[blosc2-encode-0-out]" --deselect "tests/test_imagecodecs.py::test_compressors[blosc2-encode-0-size]" --deselect "tests/test_imagecodecs.py::test_compressors[blosc2-encode-2-new]" --deselect "tests/test_imagecodecs.py::test_compressors[blosc2-encode-2-bytearray]" --deselect "tests/test_imagecodecs.py::test_compressors[blosc2-encode-2-out]" --deselect "tests/test_imagecodecs.py::test_compressors[blosc2-encode-2-size]" --deselect "tests/test_imagecodecs.py::test_compressors[blosc2-encode-3069-new]" --deselect "tests/test_imagecodecs.py::test_compressors[blosc2-encode-3069-bytearray]" --deselect "tests/test_imagecodecs.py::test_compressors[blosc2-encode-3069-out]" --deselect "tests/test_imagecodecs.py::test_compressors[blosc2-encode-3069-size]" --deselect tests/test_imagecodecs.py::test_spng_encode --deselect "tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-new-new-None]" --deselect "tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-new-new-5]" --deselect "tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-new-new--1]" --deselect "tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-new-out-None]" --deselect "tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-new-out-5]" --deselect "tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-new-out--1]" --deselect "tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-new-bytearray-None]" --deselect "tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-new-bytearray-5]" --deselect "tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-new-bytearray--1]" --deselect "tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-out-new-None]" --deselect "tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-out-new-5]" --deselect "tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-out-new--1]" --deselect "tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-out-out-None]" --deselect "tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-out-out-5]" --deselect "tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-out-out--1]" --deselect "tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-out-bytearray-None]" --deselect "tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-out-bytearray-5]" --deselect "tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-out-bytearray--1]" --deselect "tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-bytearray-new-None]" --deselect "tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-bytearray-new-5]" --deselect "tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-bytearray-new--1]" --deselect "tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-bytearray-out-None]" --deselect "tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-bytearray-out-5]" --deselect "tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-bytearray-out--1]" --deselect "tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-bytearray-bytearray-None]" --deselect "tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-bytearray-bytearray-5]" --deselect "tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-bytearray-bytearray--1]" --deselect "tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-new-new-None]" --deselect "tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-new-new-5]" --deselect "tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-new-new--1]" --deselect "tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-new-out-None]" --deselect "tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-new-out-5]" --deselect "tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-new-out--1]" --deselect "tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-new-bytearray-None]" --deselect "tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-new-bytearray-5]" --deselect "tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-new-bytearray--1]" --deselect "tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-out-new-None]" --deselect "tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-out-new-5]" --deselect "tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-out-new--1]" --deselect "tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-out-out-None]" --deselect "tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-out-out-5]" --deselect "tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-out-out--1]" --deselect "tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-out-bytearray-None]" --deselect "tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-out-bytearray-5]" --deselect "tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-out-bytearray--1]" --deselect "tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-bytearray-new-None]" --deselect "tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-bytearray-new-5]" --deselect "tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-bytearray-new--1]" --deselect "tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-bytearray-out-None]" --deselect "tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-bytearray-out-5]" --deselect "tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-bytearray-out--1]" --deselect "tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-bytearray-bytearray-None]" --deselect "tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-bytearray-bytearray-5]" --deselect "tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-bytearray-bytearray--1]" --deselect "tests/test_imagecodecs.py::test_tiff_files[gray.lerc.u1-False]" --deselect "tests/test_imagecodecs.py::test_tiff_files[gray.lerc.u1-True]" --deselect "tests/test_imagecodecs.py::test_tiff_files[rgb.tiled.lerc.u1-False]" --deselect "tests/test_imagecodecs.py::test_tiff_files[rgb.tiled.lerc.u1-True]" --deselect "tests/test_imagecodecs.py::test_numcodecs[heif-gray]" --deselect "tests/test_imagecodecs.py::test_numcodecs[heif-rgb]" --deselect "tests/test_imagecodecs.py::test_tiff_files[rgb.u1-False]" --deselect "tests/test_imagecodecs.py::test_tiff_files[gray.i2-False]" --deselect "tests/test_imagecodecs.py::test_tiff_files[gray.one.f8-False]" --deselect "tests/test_imagecodecs.py::test_tiff_files[rgba.separate.tiled.u1-False]" --deselect "tests/test_imagecodecs.py::test_tiff_files[gray.u1-False]" --deselect "tests/test_imagecodecs.py::test_tiff_files[gray.f8-False]" --deselect "tests/test_imagecodecs.py::test_tiff_files[rgb.separate.u1-False]" --deselect "tests/test_imagecodecs.py::test_tiff_files[gray.tiled.u1-False]" --deselect "tests/test_imagecodecs.py::test_tiff_files[gray.u2-False]" --deselect "tests/test_imagecodecs.py::test_tiff_files[gray.f4-False]" --deselect "tests/test_imagecodecs.py::test_tiff_files[gray.i1-False]" --deselect "tests/test_imagecodecs.py::test_tiff_files[gray.u4-False]" --deselect "tests/test_imagecodecs.py::test_tiff_files[gray.c8-False]" --deselect "tests/test_imagecodecs.py::test_tiff_files[rgb.separate.tiled.u1-False]" --deselect "tests/test_imagecodecs.py::test_tiff_files[gray.separate.u1-False]" --deselect "tests/test_imagecodecs.py::test_tiff_files[rgba.u1-False]" --deselect "tests/test_imagecodecs.py::test_tiff_files[gray.f2-False]" --deselect "tests/test_imagecodecs.py::test_tiff_files[gray.tiled.u2-False]" --deselect "tests/test_imagecodecs.py::test_tiff_files[gray.one.f4-False]" --deselect "tests/test_imagecodecs.py::test_tiff_files[gray.series.u1-False]" --deselect "tests/test_imagecodecs.py::test_tiff_files[rgba.tiled.u1-False]" --deselect "tests/test_imagecodecs.py::test_tiff_files[gray.i4-False]" --deselect "tests/test_imagecodecs.py::test_tiff_files[rgba.separate.u1-False]" --deselect "tests/test_imagecodecs.py::test_tiff_files[rgb.tiled.u1-False]" --deselect "tests/test_imagecodecs.py::test_tiff_files[rgb.predict.u1-False]" --deselect "tests/test_imagecodecs.py::test_tiff_files[gray.contig.u1-False]" --deselect "tests/test_imagecodecs.py::test_tiff_files[gray.one.f2-False]" --deselect "tests/test_imagecodecs.py::test_tiff_files[gray.bigendian.u2-False]" --deselect "tests/test_imagecodecs.py::test_tiff_files[gray.bigtiff.u1-False]" --deselect "tests/test_imagecodecs.py::test_tiff_files[gray.stack.u1-False]" --deselect "tests/test_imagecodecs.py::test_tiff_files[gray.c16-False]" --deselect "tests/test_imagecodecs.py::test_tiff_files[gray.i8-False]" --deselect "tests/test_imagecodecs.py::test_tiff_files[gray.u8-False]" --deselect "tests/test_imagecodecs.py::test_tiff_files[gray.tiled.f4-False]" --deselect "tests/test_imagecodecs.py::test_tiff_index[0]" --deselect "tests/test_imagecodecs.py::test_tiff_index[3]" --deselect "tests/test_imagecodecs.py::test_tiff_index[None]" --deselect "tests/test_imagecodecs.py::test_tiff_index[list]" --deselect "tests/test_imagecodecs.py::test_tiff_index[slice]" --deselect "tests/test_imagecodecs.py::test_tiff_asrgb" --deselect "tests/test_imagecodecs.py::test_tifffile[deflate-False-u1-<]" --deselect "tests/test_imagecodecs.py::test_tifffile[deflate-False-u1->]" --deselect "tests/test_imagecodecs.py::test_tifffile[deflate-False-u2-<]" --deselect "tests/test_imagecodecs.py::test_tifffile[deflate-False-u2->]" --deselect "tests/test_imagecodecs.py::test_tifffile[deflate-False-f2-<]" --deselect "tests/test_imagecodecs.py::test_tifffile[deflate-False-f2->]" --deselect "tests/test_imagecodecs.py::test_tifffile[deflate-False-f4-<]" --deselect "tests/test_imagecodecs.py::test_tifffile[deflate-False-f4->]" --deselect "tests/test_imagecodecs.py::test_tifffile[deflate-True-u1-<]" --deselect "tests/test_imagecodecs.py::test_tifffile[deflate-True-u1->]" --deselect "tests/test_imagecodecs.py::test_tifffile[deflate-True-u2-<]" --deselect "tests/test_imagecodecs.py::test_tifffile[deflate-True-u2->]" --deselect "tests/test_imagecodecs.py::test_tifffile[deflate-True-f2-<]" --deselect "tests/test_imagecodecs.py::test_tifffile[deflate-True-f2->]" --deselect "tests/test_imagecodecs.py::test_tifffile[deflate-True-f4-<]" --deselect "tests/test_imagecodecs.py::test_tifffile[deflate-True-f4->]" --deselect "tests/test_imagecodecs.py::test_tifffile[lzma-False-u1-<]" --deselect "tests/test_imagecodecs.py::test_tifffile[lzma-False-u1->]" --deselect "tests/test_imagecodecs.py::test_tifffile[lzma-False-u2-<]" --deselect "tests/test_imagecodecs.py::test_tifffile[lzma-False-u2->]" --deselect "tests/test_imagecodecs.py::test_tifffile[lzma-False-f2-<]" --deselect "tests/test_imagecodecs.py::test_tifffile[lzma-False-f2->]" --deselect "tests/test_imagecodecs.py::test_tifffile[lzma-False-f4-<]" --deselect "tests/test_imagecodecs.py::test_tifffile[lzma-False-f4->]" --deselect "tests/test_imagecodecs.py::test_tifffile[lzma-True-u1-<]" --deselect "tests/test_imagecodecs.py::test_tifffile[lzma-True-u1->]" --deselect "tests/test_imagecodecs.py::test_tifffile[lzma-True-u2-<]" --deselect "tests/test_imagecodecs.py::test_tifffile[lzma-True-u2->]" --deselect "tests/test_imagecodecs.py::test_tifffile[lzma-True-f2-<]" --deselect "tests/test_imagecodecs.py::test_tifffile[lzma-True-f2->]" --deselect "tests/test_imagecodecs.py::test_tifffile[lzma-True-f4-<]" --deselect "tests/test_imagecodecs.py::test_tifffile[lzma-True-f4->]") + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + PATH=/builddir/build/BUILD/python-imagecodecs-2023.1.23-build/BUILDROOT/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + PYTHONPATH=/builddir/build/BUILD/python-imagecodecs-2023.1.23-build/BUILDROOT/usr/lib64/python3.13/site-packages:/builddir/build/BUILD/python-imagecodecs-2023.1.23-build/BUILDROOT/usr/lib/python3.13/site-packages + PYTHONDONTWRITEBYTECODE=1 + PYTEST_ADDOPTS=' --ignore=/builddir/build/BUILD/python-imagecodecs-2023.1.23-build/imagecodecs-2023.1.23/.pyproject-builddir' + PYTEST_XDIST_AUTO_NUM_WORKERS=2 + /usr/bin/pytest -v --deselect tests/test_imagecodecs.py::test_cms_identity_transforms --deselect 'tests/test_imagecodecs.py::test_compressors[blosc2-encode-0-new]' --deselect 'tests/test_imagecodecs.py::test_compressors[blosc2-encode-0-bytearray]' --deselect 'tests/test_imagecodecs.py::test_compressors[blosc2-encode-0-out]' --deselect 'tests/test_imagecodecs.py::test_compressors[blosc2-encode-0-size]' --deselect 'tests/test_imagecodecs.py::test_compressors[blosc2-encode-2-new]' --deselect 'tests/test_imagecodecs.py::test_compressors[blosc2-encode-2-bytearray]' --deselect 'tests/test_imagecodecs.py::test_compressors[blosc2-encode-2-out]' --deselect 'tests/test_imagecodecs.py::test_compressors[blosc2-encode-2-size]' --deselect 'tests/test_imagecodecs.py::test_compressors[blosc2-encode-3069-new]' --deselect 'tests/test_imagecodecs.py::test_compressors[blosc2-encode-3069-bytearray]' --deselect 'tests/test_imagecodecs.py::test_compressors[blosc2-encode-3069-out]' --deselect 'tests/test_imagecodecs.py::test_compressors[blosc2-encode-3069-size]' --deselect tests/test_imagecodecs.py::test_spng_encode --deselect 'tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-new-new-None]' --deselect 'tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-new-new-5]' --deselect 'tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-new-new--1]' --deselect 'tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-new-out-None]' --deselect 'tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-new-out-5]' --deselect 'tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-new-out--1]' --deselect 'tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-new-bytearray-None]' --deselect 'tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-new-bytearray-5]' --deselect 'tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-new-bytearray--1]' --deselect 'tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-out-new-None]' --deselect 'tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-out-new-5]' --deselect 'tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-out-new--1]' --deselect 'tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-out-out-None]' --deselect 'tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-out-out-5]' --deselect 'tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-out-out--1]' --deselect 'tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-out-bytearray-None]' --deselect 'tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-out-bytearray-5]' --deselect 'tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-out-bytearray--1]' --deselect 'tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-bytearray-new-None]' --deselect 'tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-bytearray-new-5]' --deselect 'tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-bytearray-new--1]' --deselect 'tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-bytearray-out-None]' --deselect 'tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-bytearray-out-5]' --deselect 'tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-bytearray-out--1]' --deselect 'tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-bytearray-bytearray-None]' --deselect 'tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-bytearray-bytearray-5]' --deselect 'tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-bytearray-bytearray--1]' --deselect 'tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-new-new-None]' --deselect 'tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-new-new-5]' --deselect 'tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-new-new--1]' --deselect 'tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-new-out-None]' --deselect 'tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-new-out-5]' --deselect 'tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-new-out--1]' --deselect 'tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-new-bytearray-None]' --deselect 'tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-new-bytearray-5]' --deselect 'tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-new-bytearray--1]' --deselect 'tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-out-new-None]' --deselect 'tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-out-new-5]' --deselect 'tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-out-new--1]' --deselect 'tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-out-out-None]' --deselect 'tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-out-out-5]' --deselect 'tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-out-out--1]' --deselect 'tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-out-bytearray-None]' --deselect 'tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-out-bytearray-5]' --deselect 'tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-out-bytearray--1]' --deselect 'tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-bytearray-new-None]' --deselect 'tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-bytearray-new-5]' --deselect 'tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-bytearray-new--1]' --deselect 'tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-bytearray-out-None]' --deselect 'tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-bytearray-out-5]' --deselect 'tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-bytearray-out--1]' --deselect 'tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-bytearray-bytearray-None]' --deselect 'tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-bytearray-bytearray-5]' --deselect 'tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-bytearray-bytearray--1]' --deselect 'tests/test_imagecodecs.py::test_tiff_files[gray.lerc.u1-False]' --deselect 'tests/test_imagecodecs.py::test_tiff_files[gray.lerc.u1-True]' --deselect 'tests/test_imagecodecs.py::test_tiff_files[rgb.tiled.lerc.u1-False]' --deselect 'tests/test_imagecodecs.py::test_tiff_files[rgb.tiled.lerc.u1-True]' --deselect 'tests/test_imagecodecs.py::test_numcodecs[heif-gray]' --deselect 'tests/test_imagecodecs.py::test_numcodecs[heif-rgb]' --deselect 'tests/test_imagecodecs.py::test_tiff_files[rgb.u1-False]' --deselect 'tests/test_imagecodecs.py::test_tiff_files[gray.i2-False]' --deselect 'tests/test_imagecodecs.py::test_tiff_files[gray.one.f8-False]' --deselect 'tests/test_imagecodecs.py::test_tiff_files[rgba.separate.tiled.u1-False]' --deselect 'tests/test_imagecodecs.py::test_tiff_files[gray.u1-False]' --deselect 'tests/test_imagecodecs.py::test_tiff_files[gray.f8-False]' --deselect 'tests/test_imagecodecs.py::test_tiff_files[rgb.separate.u1-False]' --deselect 'tests/test_imagecodecs.py::test_tiff_files[gray.tiled.u1-False]' --deselect 'tests/test_imagecodecs.py::test_tiff_files[gray.u2-False]' --deselect 'tests/test_imagecodecs.py::test_tiff_files[gray.f4-False]' --deselect 'tests/test_imagecodecs.py::test_tiff_files[gray.i1-False]' --deselect 'tests/test_imagecodecs.py::test_tiff_files[gray.u4-False]' --deselect 'tests/test_imagecodecs.py::test_tiff_files[gray.c8-False]' --deselect 'tests/test_imagecodecs.py::test_tiff_files[rgb.separate.tiled.u1-False]' --deselect 'tests/test_imagecodecs.py::test_tiff_files[gray.separate.u1-False]' --deselect 'tests/test_imagecodecs.py::test_tiff_files[rgba.u1-False]' --deselect 'tests/test_imagecodecs.py::test_tiff_files[gray.f2-False]' --deselect 'tests/test_imagecodecs.py::test_tiff_files[gray.tiled.u2-False]' --deselect 'tests/test_imagecodecs.py::test_tiff_files[gray.one.f4-False]' --deselect 'tests/test_imagecodecs.py::test_tiff_files[gray.series.u1-False]' --deselect 'tests/test_imagecodecs.py::test_tiff_files[rgba.tiled.u1-False]' --deselect 'tests/test_imagecodecs.py::test_tiff_files[gray.i4-False]' --deselect 'tests/test_imagecodecs.py::test_tiff_files[rgba.separate.u1-False]' --deselect 'tests/test_imagecodecs.py::test_tiff_files[rgb.tiled.u1-False]' --deselect 'tests/test_imagecodecs.py::test_tiff_files[rgb.predict.u1-False]' --deselect 'tests/test_imagecodecs.py::test_tiff_files[gray.contig.u1-False]' --deselect 'tests/test_imagecodecs.py::test_tiff_files[gray.one.f2-False]' --deselect 'tests/test_imagecodecs.py::test_tiff_files[gray.bigendian.u2-False]' --deselect 'tests/test_imagecodecs.py::test_tiff_files[gray.bigtiff.u1-False]' --deselect 'tests/test_imagecodecs.py::test_tiff_files[gray.stack.u1-False]' --deselect 'tests/test_imagecodecs.py::test_tiff_files[gray.c16-False]' --deselect 'tests/test_imagecodecs.py::test_tiff_files[gray.i8-False]' --deselect 'tests/test_imagecodecs.py::test_tiff_files[gray.u8-False]' --deselect 'tests/test_imagecodecs.py::test_tiff_files[gray.tiled.f4-False]' --deselect 'tests/test_imagecodecs.py::test_tiff_index[0]' --deselect 'tests/test_imagecodecs.py::test_tiff_index[3]' --deselect 'tests/test_imagecodecs.py::test_tiff_index[None]' --deselect 'tests/test_imagecodecs.py::test_tiff_index[list]' --deselect 'tests/test_imagecodecs.py::test_tiff_index[slice]' --deselect tests/test_imagecodecs.py::test_tiff_asrgb --deselect 'tests/test_imagecodecs.py::test_tifffile[deflate-False-u1-<]' --deselect 'tests/test_imagecodecs.py::test_tifffile[deflate-False-u1->]' --deselect 'tests/test_imagecodecs.py::test_tifffile[deflate-False-u2-<]' --deselect 'tests/test_imagecodecs.py::test_tifffile[deflate-False-u2->]' --deselect 'tests/test_imagecodecs.py::test_tifffile[deflate-False-f2-<]' --deselect 'tests/test_imagecodecs.py::test_tifffile[deflate-False-f2->]' --deselect 'tests/test_imagecodecs.py::test_tifffile[deflate-False-f4-<]' --deselect 'tests/test_imagecodecs.py::test_tifffile[deflate-False-f4->]' --deselect 'tests/test_imagecodecs.py::test_tifffile[deflate-True-u1-<]' --deselect 'tests/test_imagecodecs.py::test_tifffile[deflate-True-u1->]' --deselect 'tests/test_imagecodecs.py::test_tifffile[deflate-True-u2-<]' --deselect 'tests/test_imagecodecs.py::test_tifffile[deflate-True-u2->]' --deselect 'tests/test_imagecodecs.py::test_tifffile[deflate-True-f2-<]' --deselect 'tests/test_imagecodecs.py::test_tifffile[deflate-True-f2->]' --deselect 'tests/test_imagecodecs.py::test_tifffile[deflate-True-f4-<]' --deselect 'tests/test_imagecodecs.py::test_tifffile[deflate-True-f4->]' --deselect 'tests/test_imagecodecs.py::test_tifffile[lzma-False-u1-<]' --deselect 'tests/test_imagecodecs.py::test_tifffile[lzma-False-u1->]' --deselect 'tests/test_imagecodecs.py::test_tifffile[lzma-False-u2-<]' --deselect 'tests/test_imagecodecs.py::test_tifffile[lzma-False-u2->]' --deselect 'tests/test_imagecodecs.py::test_tifffile[lzma-False-f2-<]' --deselect 'tests/test_imagecodecs.py::test_tifffile[lzma-False-f2->]' --deselect 'tests/test_imagecodecs.py::test_tifffile[lzma-False-f4-<]' --deselect 'tests/test_imagecodecs.py::test_tifffile[lzma-False-f4->]' --deselect 'tests/test_imagecodecs.py::test_tifffile[lzma-True-u1-<]' --deselect 'tests/test_imagecodecs.py::test_tifffile[lzma-True-u1->]' --deselect 'tests/test_imagecodecs.py::test_tifffile[lzma-True-u2-<]' --deselect 'tests/test_imagecodecs.py::test_tifffile[lzma-True-u2->]' --deselect 'tests/test_imagecodecs.py::test_tifffile[lzma-True-f2-<]' --deselect 'tests/test_imagecodecs.py::test_tifffile[lzma-True-f2->]' --deselect 'tests/test_imagecodecs.py::test_tifffile[lzma-True-f4-<]' --deselect 'tests/test_imagecodecs.py::test_tifffile[lzma-True-f4->]' ============================= test session starts ============================== platform linux -- Python 3.13.1, pytest-8.3.4, pluggy-1.5.0 -- /usr/bin/python3 cachedir: .pytest_cache Python 3.13.1 (main, Dec 9 2024, 00:00:00) [GCC 14.2.1 20241104 (Red Hat 14.2.1-6)] packagedir: /builddir/build/BUILD/python-imagecodecs-2023.1.23-build/BUILDROOT/usr/lib64/python3.13/site-packages/imagecodecs version: imagecodecs-2023.1.23, cython-3.0.11, numpy-2.2.1, numpy_abi-0x2000000.14, imcd-2022.12.22, apng-n/a, bitshuffle-n/a, brotli-1.1.0, brunsli-n/a, c-blosc-1.21.6, c-blosc2-2.15.2, cfitsio-4.5, giflib-5.2.2, imcd-2022.12.22, jetraw-n/a, jpeg12-n/a, jpeg2k-n/a, jpegls-n/a, jpegsof3-n/a, jpegxl-n/a, jxrlib-1.1, lcms2-2.16.0, lerc-4.0.0, libaec-1.0.x, libavif-1.0.4, libbzip2-1.0.8, libdeflate-1.23, libheif-1.19.5, libjpeg_turbo-3.1.0/6.2, liblzma-5.6.3, libpng-1.6.44, libtiff-4.7.0, libwebp-1.5.0, ljpeg-n/a, lz4-1.10.0, lz4f-n/a, lzf-n/a, lzfse-n/a, lzham-n/a, mozjpeg-n/a, pglz-n/a, qoi-n/a, rgbe-n/a, snappy-1.1.x, spng-n/a, zfp-1.0.1, zlib-1.3.1.zlib-ng, zlib_ng-2.2.2, zopfli-1.0.x, zstd-1.5.6 dependencies: imagecodecs.py-2022.12.22, numpy-2.2.1, zlib-1.3.1.zlib-ng, bz2-stdlib, lzma-stdlib, blosc-1.11.2, blosc2-2.7.1, zstd-.5.6., lz4-4.3.3, lzf-n/a, lzham-n/a, pyliblzfse-n/a, snappy-unknown, zopflipy-n/a, zfpy-n/a, bitshuffle-n/a, pillow-n/a, numcodecs-0.14.1, zarr-2.18.3, tifffile-2024.12.12, czifile-n/a rootdir: /builddir/build/BUILD/python-imagecodecs-2023.1.23-build/imagecodecs-2023.1.23 collecting ... collected 10337 items / 296 deselected / 10041 selected tests/test_imagecodecs.py::test_version PASSED [ 0%] tests/test_imagecodecs.py::test_module_exist[aec] PASSED [ 0%] tests/test_imagecodecs.py::test_module_exist[apng] XFAIL (imagecodec...) [ 0%] tests/test_imagecodecs.py::test_module_exist[avif] PASSED [ 0%] tests/test_imagecodecs.py::test_module_exist[bitshuffle] XFAIL (imag...) [ 0%] tests/test_imagecodecs.py::test_module_exist[blosc] PASSED [ 0%] tests/test_imagecodecs.py::test_module_exist[blosc2] PASSED [ 0%] tests/test_imagecodecs.py::test_module_exist[brotli] PASSED [ 0%] tests/test_imagecodecs.py::test_module_exist[brunsli] XFAIL (imageco...) [ 0%] tests/test_imagecodecs.py::test_module_exist[bz2] PASSED [ 0%] tests/test_imagecodecs.py::test_module_exist[cms] PASSED [ 0%] tests/test_imagecodecs.py::test_module_exist[deflate] PASSED [ 0%] tests/test_imagecodecs.py::test_module_exist[gif] PASSED [ 0%] tests/test_imagecodecs.py::test_module_exist[heif] PASSED [ 0%] tests/test_imagecodecs.py::test_module_exist[imcd] PASSED [ 0%] tests/test_imagecodecs.py::test_module_exist[jetraw] XFAIL (imagecod...) [ 0%] tests/test_imagecodecs.py::test_module_exist[jpeg12] XFAIL (imagecod...) [ 0%] tests/test_imagecodecs.py::test_module_exist[jpeg2k] XFAIL (imagecod...) [ 0%] tests/test_imagecodecs.py::test_module_exist[jpeg8] PASSED [ 0%] tests/test_imagecodecs.py::test_module_exist[jpegls] XFAIL (imagecod...) [ 0%] tests/test_imagecodecs.py::test_module_exist[jpegsof3] XFAIL (imagec...) [ 0%] tests/test_imagecodecs.py::test_module_exist[jpegxl] XFAIL (imagecod...) [ 0%] tests/test_imagecodecs.py::test_module_exist[jpegxr] PASSED [ 0%] tests/test_imagecodecs.py::test_module_exist[lerc] PASSED [ 0%] tests/test_imagecodecs.py::test_module_exist[ljpeg] XFAIL (imagecode...) [ 0%] tests/test_imagecodecs.py::test_module_exist[lz4] PASSED [ 0%] tests/test_imagecodecs.py::test_module_exist[lz4f] XFAIL (imagecodec...) [ 0%] tests/test_imagecodecs.py::test_module_exist[lzf] XFAIL (imagecodecs...) [ 0%] tests/test_imagecodecs.py::test_module_exist[lzfse] XFAIL (imagecode...) [ 0%] tests/test_imagecodecs.py::test_module_exist[lzham] XFAIL (imagecode...) [ 0%] tests/test_imagecodecs.py::test_module_exist[lzma] PASSED [ 0%] tests/test_imagecodecs.py::test_module_exist[mozjpeg] XFAIL (imageco...) [ 0%] tests/test_imagecodecs.py::test_module_exist[pglz] XFAIL (imagecodec...) [ 0%] tests/test_imagecodecs.py::test_module_exist[png] PASSED [ 0%] tests/test_imagecodecs.py::test_module_exist[qoi] XFAIL (imagecodecs...) [ 0%] tests/test_imagecodecs.py::test_module_exist[rcomp] PASSED [ 0%] tests/test_imagecodecs.py::test_module_exist[rgbe] XFAIL (imagecodec...) [ 0%] tests/test_imagecodecs.py::test_module_exist[snappy] PASSED [ 0%] tests/test_imagecodecs.py::test_module_exist[spng] XFAIL (imagecodec...) [ 0%] tests/test_imagecodecs.py::test_module_exist[tiff] PASSED [ 0%] tests/test_imagecodecs.py::test_module_exist[webp] PASSED [ 0%] tests/test_imagecodecs.py::test_module_exist[zfp] PASSED [ 0%] tests/test_imagecodecs.py::test_module_exist[zlib] PASSED [ 0%] tests/test_imagecodecs.py::test_module_exist[zlibng] PASSED [ 0%] tests/test_imagecodecs.py::test_module_exist[zopfli] PASSED [ 0%] tests/test_imagecodecs.py::test_module_exist[zstd] PASSED [ 0%] tests/test_imagecodecs.py::test_dependency_exist[bitshuffle] SKIPPED [ 0%] tests/test_imagecodecs.py::test_dependency_exist[blosc] PASSED [ 0%] tests/test_imagecodecs.py::test_dependency_exist[blosc2] PASSED [ 0%] tests/test_imagecodecs.py::test_dependency_exist[brotli] PASSED [ 0%] tests/test_imagecodecs.py::test_dependency_exist[czifile] SKIPPED (c...) [ 0%] tests/test_imagecodecs.py::test_dependency_exist[lz4] PASSED [ 0%] tests/test_imagecodecs.py::test_dependency_exist[lzf] SKIPPED (lzf m...) [ 0%] tests/test_imagecodecs.py::test_dependency_exist[liblzfse] SKIPPED (...) [ 0%] tests/test_imagecodecs.py::test_dependency_exist[lzma] PASSED [ 0%] tests/test_imagecodecs.py::test_dependency_exist[numcodecs] PASSED [ 0%] tests/test_imagecodecs.py::test_dependency_exist[snappy] PASSED [ 0%] tests/test_imagecodecs.py::test_dependency_exist[tifffile] PASSED [ 0%] tests/test_imagecodecs.py::test_dependency_exist[zopfli] SKIPPED (zo...) [ 0%] tests/test_imagecodecs.py::test_dependency_exist[zstd] PASSED [ 0%] tests/test_imagecodecs.py::test_dependency_exist[zarr] PASSED [ 0%] tests/test_imagecodecs.py::test_version_functions PASSED [ 0%] tests/test_imagecodecs.py::test_stubs PASSED [ 0%] tests/test_imagecodecs.py::test_dir PASSED [ 0%] tests/test_imagecodecs.py::test_imread_imwrite[str-none] PASSED [ 0%] tests/test_imagecodecs.py::test_imread_imwrite[str-str] PASSED [ 0%] tests/test_imagecodecs.py::test_imread_imwrite[str-ext] PASSED [ 0%] tests/test_imagecodecs.py::test_imread_imwrite[str-codec] PASSED [ 0%] tests/test_imagecodecs.py::test_imread_imwrite[str-list] PASSED [ 0%] tests/test_imagecodecs.py::test_imread_imwrite[str-fail] PASSED [ 0%] tests/test_imagecodecs.py::test_imread_imwrite[pathlib-none] PASSED [ 0%] tests/test_imagecodecs.py::test_imread_imwrite[pathlib-str] PASSED [ 0%] tests/test_imagecodecs.py::test_imread_imwrite[pathlib-ext] PASSED [ 0%] tests/test_imagecodecs.py::test_imread_imwrite[pathlib-codec] PASSED [ 0%] tests/test_imagecodecs.py::test_imread_imwrite[pathlib-list] PASSED [ 0%] tests/test_imagecodecs.py::test_imread_imwrite[pathlib-fail] PASSED [ 0%] tests/test_imagecodecs.py::test_imread_imwrite[bytesio-none] PASSED [ 0%] tests/test_imagecodecs.py::test_imread_imwrite[bytesio-str] PASSED [ 0%] tests/test_imagecodecs.py::test_imread_imwrite[bytesio-ext] PASSED [ 0%] tests/test_imagecodecs.py::test_imread_imwrite[bytesio-codec] PASSED [ 0%] tests/test_imagecodecs.py::test_imread_imwrite[bytesio-list] PASSED [ 0%] tests/test_imagecodecs.py::test_imread_imwrite[bytesio-fail] PASSED [ 0%] tests/test_imagecodecs.py::test_imread_imwrite[bytes-none] PASSED [ 0%] tests/test_imagecodecs.py::test_imread_imwrite[bytes-str] PASSED [ 0%] tests/test_imagecodecs.py::test_imread_imwrite[bytes-ext] PASSED [ 0%] tests/test_imagecodecs.py::test_imread_imwrite[bytes-codec] PASSED [ 0%] tests/test_imagecodecs.py::test_imread_imwrite[bytes-list] PASSED [ 0%] tests/test_imagecodecs.py::test_imread_imwrite[bytes-fail] PASSED [ 0%] tests/test_imagecodecs.py::test_none PASSED [ 0%] tests/test_imagecodecs.py::test_bitorder PASSED [ 0%] tests/test_imagecodecs.py::test_bitorder_ndarray PASSED [ 0%] tests/test_imagecodecs.py::test_packints_decode FAILED [ 0%] tests/test_imagecodecs.py::test_packbits[encode-0] PASSED [ 0%] tests/test_imagecodecs.py::test_packbits[encode-1] PASSED [ 0%] tests/test_imagecodecs.py::test_packbits[encode-2] PASSED [ 0%] tests/test_imagecodecs.py::test_packbits[encode-3] PASSED [ 0%] tests/test_imagecodecs.py::test_packbits[encode-4] PASSED [ 0%] tests/test_imagecodecs.py::test_packbits[encode-5] PASSED [ 0%] tests/test_imagecodecs.py::test_packbits[encode-6] PASSED [ 0%] tests/test_imagecodecs.py::test_packbits[encode-7] PASSED [ 0%] tests/test_imagecodecs.py::test_packbits[encode-8] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits[encode-9] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits[encode-10] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits[encode-11] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits[encode-12] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits[encode-13] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits[encode-14] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits[encode-15] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits[encode-16] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits[encode-17] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits[encode-18] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits[encode-19] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits[encode-20] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits[encode-21] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits[encode-22] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits[encode-23] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits[encode-24] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits[encode-25] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits[encode-26] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits[encode-27] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits[encode-28] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits[decode-0] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits[decode-1] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits[decode-2] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits[decode-3] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits[decode-4] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits[decode-5] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits[decode-6] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits[decode-7] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits[decode-8] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits[decode-9] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits[decode-10] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits[decode-11] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits[decode-12] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits[decode-13] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits[decode-14] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits[decode-15] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits[decode-16] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits[decode-17] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits[decode-18] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits[decode-19] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits[decode-20] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits[decode-21] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits[decode-22] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits[decode-23] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits[decode-24] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits[decode-25] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits[decode-26] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits[decode-27] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits[decode-28] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits_py[0] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits_py[1] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits_py[2] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits_py[3] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits_py[4] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits_py[5] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits_py[6] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits_py[7] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits_py[8] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits_py[9] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits_py[10] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits_py[11] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits_py[12] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits_py[13] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits_py[14] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits_py[15] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits_py[16] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits_py[17] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits_py[18] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits_py[19] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits_py[20] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits_py[21] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits_py[22] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits_py[23] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits_py[24] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits_py[25] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits_py[26] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits_py[27] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits_py[28] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits_nop PASSED [ 1%] tests/test_imagecodecs.py::test_packbits_array[uint8-encode-None] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits_array[uint8-encode-array] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits_array[uint8-decode-None] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits_array[uint8-decode-array] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits_array[uint16-encode-None] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits_array[uint16-encode-array] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits_array[uint16-decode-None] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits_array[uint16-decode-array] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits_encode_axis PASSED [ 1%] tests/test_imagecodecs.py::test_delta[delta->-u1-encode-new] PASSED [ 1%] tests/test_imagecodecs.py::test_delta[delta->-u1-encode-out] PASSED [ 1%] tests/test_imagecodecs.py::test_delta[delta->-u1-encode-inplace] PASSED [ 1%] tests/test_imagecodecs.py::test_delta[delta->-u1-decode-new] PASSED [ 1%] tests/test_imagecodecs.py::test_delta[delta->-u1-decode-out] PASSED [ 1%] tests/test_imagecodecs.py::test_delta[delta->-u1-decode-inplace] PASSED [ 1%] tests/test_imagecodecs.py::test_delta[delta->-u2-encode-new] PASSED [ 1%] tests/test_imagecodecs.py::test_delta[delta->-u2-encode-out] PASSED [ 1%] tests/test_imagecodecs.py::test_delta[delta->-u2-encode-inplace] PASSED [ 1%] tests/test_imagecodecs.py::test_delta[delta->-u2-decode-new] PASSED [ 1%] tests/test_imagecodecs.py::test_delta[delta->-u2-decode-out] PASSED [ 1%] tests/test_imagecodecs.py::test_delta[delta->-u2-decode-inplace] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-u4-encode-new] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-u4-encode-out] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-u4-encode-inplace] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-u4-decode-new] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-u4-decode-out] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-u4-decode-inplace] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-u8-encode-new] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-u8-encode-out] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-u8-encode-inplace] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-u8-decode-new] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-u8-decode-out] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-u8-decode-inplace] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-i1-encode-new] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-i1-encode-out] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-i1-encode-inplace] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-i1-decode-new] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-i1-decode-out] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-i1-decode-inplace] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-i2-encode-new] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-i2-encode-out] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-i2-encode-inplace] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-i2-decode-new] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-i2-decode-out] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-i2-decode-inplace] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-i4-encode-new] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-i4-encode-out] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-i4-encode-inplace] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-i4-decode-new] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-i4-decode-out] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-i4-decode-inplace] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-i8-encode-new] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-i8-encode-out] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-i8-encode-inplace] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-i8-decode-new] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-i8-decode-out] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-i8-decode-inplace] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-f4-encode-new] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-f4-encode-out] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-f4-encode-inplace] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-f4-decode-new] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-f4-decode-out] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-f4-decode-inplace] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-f8-encode-new] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-f8-encode-out] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-f8-encode-inplace] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-f8-decode-new] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-f8-decode-out] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-f8-decode-inplace] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-B-encode-new] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-B-encode-out] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-B-encode-inplace] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-B-decode-new] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-B-decode-out] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-B-decode-inplace] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-b-encode-new] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-b-encode-out] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-b-encode-inplace] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-b-decode-new] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-b-decode-out] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-b-decode-inplace] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta-<-u1-encode-new] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta-<-u1-encode-out] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta-<-u1-encode-inplace] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta-<-u1-decode-new] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta-<-u1-decode-out] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta-<-u1-decode-inplace] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta-<-u2-encode-new] FAILED [ 2%] tests/test_imagecodecs.py::test_delta[delta-<-u2-encode-out] FAILED [ 2%] tests/test_imagecodecs.py::test_delta[delta-<-u2-encode-inplace] FAILED [ 2%] tests/test_imagecodecs.py::test_delta[delta-<-u2-decode-new] FAILED [ 2%] tests/test_imagecodecs.py::test_delta[delta-<-u2-decode-out] FAILED [ 2%] tests/test_imagecodecs.py::test_delta[delta-<-u2-decode-inplace] FAILED [ 2%] tests/test_imagecodecs.py::test_delta[delta-<-u4-encode-new] FAILED [ 2%] tests/test_imagecodecs.py::test_delta[delta-<-u4-encode-out] FAILED [ 2%] tests/test_imagecodecs.py::test_delta[delta-<-u4-encode-inplace] FAILED [ 2%] tests/test_imagecodecs.py::test_delta[delta-<-u4-decode-new] FAILED [ 2%] tests/test_imagecodecs.py::test_delta[delta-<-u4-decode-out] FAILED [ 2%] tests/test_imagecodecs.py::test_delta[delta-<-u4-decode-inplace] FAILED [ 2%] tests/test_imagecodecs.py::test_delta[delta-<-u8-encode-new] FAILED [ 2%] tests/test_imagecodecs.py::test_delta[delta-<-u8-encode-out] FAILED [ 2%] tests/test_imagecodecs.py::test_delta[delta-<-u8-encode-inplace] FAILED [ 2%] tests/test_imagecodecs.py::test_delta[delta-<-u8-decode-new] FAILED [ 2%] tests/test_imagecodecs.py::test_delta[delta-<-u8-decode-out] FAILED [ 2%] tests/test_imagecodecs.py::test_delta[delta-<-u8-decode-inplace] FAILED [ 2%] tests/test_imagecodecs.py::test_delta[delta-<-i1-encode-new] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta-<-i1-encode-out] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta-<-i1-encode-inplace] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta-<-i1-decode-new] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta-<-i1-decode-out] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta-<-i1-decode-inplace] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta-<-i2-encode-new] FAILED [ 2%] tests/test_imagecodecs.py::test_delta[delta-<-i2-encode-out] FAILED [ 2%] tests/test_imagecodecs.py::test_delta[delta-<-i2-encode-inplace] FAILED [ 2%] tests/test_imagecodecs.py::test_delta[delta-<-i2-decode-new] FAILED [ 2%] tests/test_imagecodecs.py::test_delta[delta-<-i2-decode-out] FAILED [ 2%] tests/test_imagecodecs.py::test_delta[delta-<-i2-decode-inplace] FAILED [ 2%] tests/test_imagecodecs.py::test_delta[delta-<-i4-encode-new] FAILED [ 2%] tests/test_imagecodecs.py::test_delta[delta-<-i4-encode-out] FAILED [ 2%] tests/test_imagecodecs.py::test_delta[delta-<-i4-encode-inplace] FAILED [ 2%] tests/test_imagecodecs.py::test_delta[delta-<-i4-decode-new] FAILED [ 2%] tests/test_imagecodecs.py::test_delta[delta-<-i4-decode-out] FAILED [ 3%] tests/test_imagecodecs.py::test_delta[delta-<-i4-decode-inplace] FAILED [ 3%] tests/test_imagecodecs.py::test_delta[delta-<-i8-encode-new] FAILED [ 3%] tests/test_imagecodecs.py::test_delta[delta-<-i8-encode-out] FAILED [ 3%] tests/test_imagecodecs.py::test_delta[delta-<-i8-encode-inplace] FAILED [ 3%] tests/test_imagecodecs.py::test_delta[delta-<-i8-decode-new] FAILED [ 3%] tests/test_imagecodecs.py::test_delta[delta-<-i8-decode-out] FAILED [ 3%] tests/test_imagecodecs.py::test_delta[delta-<-i8-decode-inplace] FAILED [ 3%] tests/test_imagecodecs.py::test_delta[delta-<-f4-encode-new] FAILED [ 3%] tests/test_imagecodecs.py::test_delta[delta-<-f4-encode-out] FAILED [ 3%] tests/test_imagecodecs.py::test_delta[delta-<-f4-encode-inplace] FAILED [ 3%] tests/test_imagecodecs.py::test_delta[delta-<-f4-decode-new] FAILED [ 3%] tests/test_imagecodecs.py::test_delta[delta-<-f4-decode-out] FAILED [ 3%] tests/test_imagecodecs.py::test_delta[delta-<-f4-decode-inplace] FAILED [ 3%] tests/test_imagecodecs.py::test_delta[delta-<-f8-encode-new] FAILED [ 3%] tests/test_imagecodecs.py::test_delta[delta-<-f8-encode-out] FAILED [ 3%] tests/test_imagecodecs.py::test_delta[delta-<-f8-encode-inplace] FAILED [ 3%] tests/test_imagecodecs.py::test_delta[delta-<-f8-decode-new] FAILED [ 3%] tests/test_imagecodecs.py::test_delta[delta-<-f8-decode-out] FAILED [ 3%] tests/test_imagecodecs.py::test_delta[delta-<-f8-decode-inplace] FAILED [ 3%] tests/test_imagecodecs.py::test_delta[delta-<-B-encode-new] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[delta-<-B-encode-out] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[delta-<-B-encode-inplace] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[delta-<-B-decode-new] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[delta-<-B-decode-out] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[delta-<-B-decode-inplace] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[delta-<-b-encode-new] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[delta-<-b-encode-out] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[delta-<-b-encode-inplace] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[delta-<-b-decode-new] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[delta-<-b-decode-out] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[delta-<-b-decode-inplace] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-u1-encode-new] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-u1-encode-out] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-u1-encode-inplace] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-u1-decode-new] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-u1-decode-out] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-u1-decode-inplace] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-u2-encode-new] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-u2-encode-out] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-u2-encode-inplace] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-u2-decode-new] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-u2-decode-out] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-u2-decode-inplace] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-u4-encode-new] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-u4-encode-out] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-u4-encode-inplace] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-u4-decode-new] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-u4-decode-out] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-u4-decode-inplace] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-u8-encode-new] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-u8-encode-out] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-u8-encode-inplace] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-u8-decode-new] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-u8-decode-out] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-u8-decode-inplace] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-i1-encode-new] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-i1-encode-out] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-i1-encode-inplace] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-i1-decode-new] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-i1-decode-out] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-i1-decode-inplace] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-i2-encode-new] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-i2-encode-out] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-i2-encode-inplace] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-i2-decode-new] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-i2-decode-out] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-i2-decode-inplace] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-i4-encode-new] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-i4-encode-out] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-i4-encode-inplace] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-i4-decode-new] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-i4-decode-out] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-i4-decode-inplace] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-i8-encode-new] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-i8-encode-out] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-i8-encode-inplace] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-i8-decode-new] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-i8-decode-out] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-i8-decode-inplace] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-f4-encode-new] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-f4-encode-out] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-f4-encode-inplace] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-f4-decode-new] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-f4-decode-out] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-f4-decode-inplace] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-f8-encode-new] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-f8-encode-out] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-f8-encode-inplace] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-f8-decode-new] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-f8-decode-out] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-f8-decode-inplace] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-B-encode-new] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-B-encode-out] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-B-encode-inplace] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-B-decode-new] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-B-decode-out] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-B-decode-inplace] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-b-encode-new] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-b-encode-out] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-b-encode-inplace] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor->-b-decode-new] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor->-b-decode-out] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor->-b-decode-inplace] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-u1-encode-new] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-u1-encode-out] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-u1-encode-inplace] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-u1-decode-new] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-u1-decode-out] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-u1-decode-inplace] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-u2-encode-new] FAILED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-u2-encode-out] FAILED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-u2-encode-inplace] FAILED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-u2-decode-new] FAILED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-u2-decode-out] FAILED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-u2-decode-inplace] FAILED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-u4-encode-new] FAILED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-u4-encode-out] FAILED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-u4-encode-inplace] FAILED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-u4-decode-new] FAILED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-u4-decode-out] FAILED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-u4-decode-inplace] FAILED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-u8-encode-new] FAILED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-u8-encode-out] FAILED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-u8-encode-inplace] FAILED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-u8-decode-new] FAILED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-u8-decode-out] FAILED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-u8-decode-inplace] FAILED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-i1-encode-new] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-i1-encode-out] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-i1-encode-inplace] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-i1-decode-new] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-i1-decode-out] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-i1-decode-inplace] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-i2-encode-new] FAILED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-i2-encode-out] FAILED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-i2-encode-inplace] FAILED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-i2-decode-new] FAILED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-i2-decode-out] FAILED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-i2-decode-inplace] FAILED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-i4-encode-new] FAILED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-i4-encode-out] FAILED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-i4-encode-inplace] FAILED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-i4-decode-new] FAILED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-i4-decode-out] FAILED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-i4-decode-inplace] FAILED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-i8-encode-new] FAILED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-i8-encode-out] FAILED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-i8-encode-inplace] FAILED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-i8-decode-new] FAILED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-i8-decode-out] FAILED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-i8-decode-inplace] FAILED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-f4-encode-new] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-f4-encode-out] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-f4-encode-inplace] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-f4-decode-new] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-f4-decode-out] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-f4-decode-inplace] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-f8-encode-new] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-f8-encode-out] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-f8-encode-inplace] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-f8-decode-new] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-f8-decode-out] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-f8-decode-inplace] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-B-encode-new] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-B-encode-out] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-B-encode-inplace] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-B-decode-new] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-B-decode-out] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-B-decode-inplace] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-b-encode-new] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-b-encode-out] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-b-encode-inplace] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-b-decode-new] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-b-decode-out] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-b-decode-inplace] PASSED [ 4%] tests/test_imagecodecs.py::test_floatpred[False-le-encode-new] PASSED [ 4%] tests/test_imagecodecs.py::test_floatpred[False-le-encode-out] PASSED [ 4%] tests/test_imagecodecs.py::test_floatpred[False-le-decode-new] PASSED [ 4%] tests/test_imagecodecs.py::test_floatpred[False-le-decode-out] PASSED [ 4%] tests/test_imagecodecs.py::test_floatpred[False-be-encode-new] FAILED [ 4%] tests/test_imagecodecs.py::test_floatpred[False-be-encode-out] FAILED [ 4%] tests/test_imagecodecs.py::test_floatpred[False-be-decode-new] FAILED [ 4%] tests/test_imagecodecs.py::test_floatpred[False-be-decode-out] FAILED [ 4%] tests/test_imagecodecs.py::test_floatpred[True-le-encode-new] PASSED [ 4%] tests/test_imagecodecs.py::test_floatpred[True-le-encode-out] PASSED [ 4%] tests/test_imagecodecs.py::test_floatpred[True-le-decode-new] PASSED [ 4%] tests/test_imagecodecs.py::test_floatpred[True-le-decode-out] PASSED [ 4%] tests/test_imagecodecs.py::test_floatpred[True-be-encode-new] FAILED [ 4%] tests/test_imagecodecs.py::test_floatpred[True-be-encode-out] FAILED [ 4%] tests/test_imagecodecs.py::test_floatpred[True-be-decode-new] FAILED [ 4%] tests/test_imagecodecs.py::test_floatpred[True-be-decode-out] FAILED [ 4%] tests/test_imagecodecs.py::test_float24[encode->-f30-f40-nan] FAILED [ 4%] tests/test_imagecodecs.py::test_float24[encode->-f31-f41-nan] FAILED [ 4%] tests/test_imagecodecs.py::test_float24[encode->-f32-f42-nan] FAILED [ 4%] tests/test_imagecodecs.py::test_float24[encode->-f33-f43-inf] FAILED [ 4%] tests/test_imagecodecs.py::test_float24[encode->-f34-f44--inf] FAILED [ 4%] tests/test_imagecodecs.py::test_float24[encode->-f35-f45-0.0] PASSED [ 4%] tests/test_imagecodecs.py::test_float24[encode->-f36-f46--0.0] FAILED [ 4%] tests/test_imagecodecs.py::test_float24[encode->-f37-f47-1.0] FAILED [ 4%] tests/test_imagecodecs.py::test_float24[encode->-f38-f48--1.0] FAILED [ 4%] tests/test_imagecodecs.py::test_float24[encode->-f39-f49-3.1416016] FAILED [ 5%] tests/test_imagecodecs.py::test_float24[encode->-f310-f410-3.1415839e-06] FAILED [ 5%] tests/test_imagecodecs.py::test_float24[encode->-f311-f411-3.1415839e-06] FAILED [ 5%] tests/test_imagecodecs.py::test_float24[encode->-f312-f412-1e-19] FAILED [ 5%] tests/test_imagecodecs.py::test_float24[encode->-f313-f413-inf] FAILED [ 5%] tests/test_imagecodecs.py::test_float24[encode->-f314-f414-1.0842022e-19] FAILED [ 5%] tests/test_imagecodecs.py::test_float24[encode->-f315-f415-1.0842021e-19] FAILED [ 5%] tests/test_imagecodecs.py::test_float24[encode->-f316-f416-5.421011e-20] FAILED [ 5%] tests/test_imagecodecs.py::test_float24[encode->-f317-f417-3.3087225e-24] FAILED [ 5%] tests/test_imagecodecs.py::test_float24[encode->-f318-f418-2.1684043e-19] FAILED [ 5%] tests/test_imagecodecs.py::test_float24[encode->-f319-f419-0.0] PASSED [ 5%] tests/test_imagecodecs.py::test_float24[encode->-f320-f420-0.0] FAILED [ 5%] tests/test_imagecodecs.py::test_float24[encode->-f321-f421-0.0] PASSED [ 5%] tests/test_imagecodecs.py::test_float24[encode->-f322-f422-0.0] FAILED [ 5%] tests/test_imagecodecs.py::test_float24[encode-<-f30-f40-nan] FAILED [ 5%] tests/test_imagecodecs.py::test_float24[encode-<-f31-f41-nan] FAILED [ 5%] tests/test_imagecodecs.py::test_float24[encode-<-f32-f42-nan] FAILED [ 5%] tests/test_imagecodecs.py::test_float24[encode-<-f33-f43-inf] FAILED [ 5%] tests/test_imagecodecs.py::test_float24[encode-<-f34-f44--inf] FAILED [ 5%] tests/test_imagecodecs.py::test_float24[encode-<-f35-f45-0.0] PASSED [ 5%] tests/test_imagecodecs.py::test_float24[encode-<-f36-f46--0.0] FAILED [ 5%] tests/test_imagecodecs.py::test_float24[encode-<-f37-f47-1.0] FAILED [ 5%] tests/test_imagecodecs.py::test_float24[encode-<-f38-f48--1.0] FAILED [ 5%] tests/test_imagecodecs.py::test_float24[encode-<-f39-f49-3.1416016] FAILED [ 5%] tests/test_imagecodecs.py::test_float24[encode-<-f310-f410-3.1415839e-06] FAILED [ 5%] tests/test_imagecodecs.py::test_float24[encode-<-f311-f411-3.1415839e-06] FAILED [ 5%] tests/test_imagecodecs.py::test_float24[encode-<-f312-f412-1e-19] FAILED [ 5%] tests/test_imagecodecs.py::test_float24[encode-<-f313-f413-inf] FAILED [ 5%] tests/test_imagecodecs.py::test_float24[encode-<-f314-f414-1.0842022e-19] FAILED [ 5%] tests/test_imagecodecs.py::test_float24[encode-<-f315-f415-1.0842021e-19] FAILED [ 5%] tests/test_imagecodecs.py::test_float24[encode-<-f316-f416-5.421011e-20] FAILED [ 5%] tests/test_imagecodecs.py::test_float24[encode-<-f317-f417-3.3087225e-24] FAILED [ 5%] tests/test_imagecodecs.py::test_float24[encode-<-f318-f418-2.1684043e-19] FAILED [ 5%] tests/test_imagecodecs.py::test_float24[encode-<-f319-f419-0.0] PASSED [ 5%] tests/test_imagecodecs.py::test_float24[encode-<-f320-f420-0.0] FAILED [ 5%] tests/test_imagecodecs.py::test_float24[encode-<-f321-f421-0.0] PASSED [ 5%] tests/test_imagecodecs.py::test_float24[encode-<-f322-f422-0.0] FAILED [ 5%] tests/test_imagecodecs.py::test_float24[decode->-f30-f40-nan] FAILED [ 5%] tests/test_imagecodecs.py::test_float24[decode->-f31-f41-nan] FAILED [ 5%] tests/test_imagecodecs.py::test_float24[decode->-f32-f42-nan] FAILED [ 5%] tests/test_imagecodecs.py::test_float24[decode->-f33-f43-inf] FAILED [ 5%] tests/test_imagecodecs.py::test_float24[decode->-f34-f44--inf] FAILED [ 5%] tests/test_imagecodecs.py::test_float24[decode->-f35-f45-0.0] PASSED [ 5%] tests/test_imagecodecs.py::test_float24[decode->-f36-f46--0.0] PASSED [ 5%] tests/test_imagecodecs.py::test_float24[decode->-f37-f47-1.0] FAILED [ 5%] tests/test_imagecodecs.py::test_float24[decode->-f38-f48--1.0] FAILED [ 5%] tests/test_imagecodecs.py::test_float24[decode->-f39-f49-3.1416016] FAILED [ 5%] tests/test_imagecodecs.py::test_float24[decode->-f310-f410-3.1415839e-06] FAILED [ 5%] tests/test_imagecodecs.py::test_float24[decode->-f311-f411-3.1415839e-06] FAILED [ 5%] tests/test_imagecodecs.py::test_float24[decode->-f312-f412-1e-19] PASSED [ 5%] tests/test_imagecodecs.py::test_float24[decode->-f313-f413-inf] FAILED [ 5%] tests/test_imagecodecs.py::test_float24[decode->-f314-f414-1.0842022e-19] PASSED [ 5%] tests/test_imagecodecs.py::test_float24[decode->-f315-f415-1.0842021e-19] PASSED [ 5%] tests/test_imagecodecs.py::test_float24[decode->-f316-f416-5.421011e-20] PASSED [ 5%] tests/test_imagecodecs.py::test_float24[decode->-f317-f417-3.3087225e-24] PASSED [ 5%] tests/test_imagecodecs.py::test_float24[decode->-f318-f418-2.1684043e-19] PASSED [ 5%] tests/test_imagecodecs.py::test_float24[decode->-f319-f419-0.0] PASSED [ 5%] tests/test_imagecodecs.py::test_float24[decode->-f320-f420-0.0] PASSED [ 5%] tests/test_imagecodecs.py::test_float24[decode->-f321-f421-0.0] PASSED [ 5%] tests/test_imagecodecs.py::test_float24[decode->-f322-f422-0.0] PASSED [ 5%] tests/test_imagecodecs.py::test_float24[decode-<-f30-f40-nan] FAILED [ 5%] tests/test_imagecodecs.py::test_float24[decode-<-f31-f41-nan] FAILED [ 5%] tests/test_imagecodecs.py::test_float24[decode-<-f32-f42-nan] FAILED [ 5%] tests/test_imagecodecs.py::test_float24[decode-<-f33-f43-inf] FAILED [ 5%] tests/test_imagecodecs.py::test_float24[decode-<-f34-f44--inf] FAILED [ 5%] tests/test_imagecodecs.py::test_float24[decode-<-f35-f45-0.0] PASSED [ 5%] tests/test_imagecodecs.py::test_float24[decode-<-f36-f46--0.0] PASSED [ 5%] tests/test_imagecodecs.py::test_float24[decode-<-f37-f47-1.0] FAILED [ 5%] tests/test_imagecodecs.py::test_float24[decode-<-f38-f48--1.0] FAILED [ 5%] tests/test_imagecodecs.py::test_float24[decode-<-f39-f49-3.1416016] FAILED [ 5%] tests/test_imagecodecs.py::test_float24[decode-<-f310-f410-3.1415839e-06] FAILED [ 5%] tests/test_imagecodecs.py::test_float24[decode-<-f311-f411-3.1415839e-06] FAILED [ 5%] tests/test_imagecodecs.py::test_float24[decode-<-f312-f412-1e-19] PASSED [ 5%] tests/test_imagecodecs.py::test_float24[decode-<-f313-f413-inf] FAILED [ 5%] tests/test_imagecodecs.py::test_float24[decode-<-f314-f414-1.0842022e-19] PASSED [ 5%] tests/test_imagecodecs.py::test_float24[decode-<-f315-f415-1.0842021e-19] PASSED [ 5%] tests/test_imagecodecs.py::test_float24[decode-<-f316-f416-5.421011e-20] PASSED [ 5%] tests/test_imagecodecs.py::test_float24[decode-<-f317-f417-3.3087225e-24] PASSED [ 5%] tests/test_imagecodecs.py::test_float24[decode-<-f318-f418-2.1684043e-19] PASSED [ 5%] tests/test_imagecodecs.py::test_float24[decode-<-f319-f419-0.0] PASSED [ 5%] tests/test_imagecodecs.py::test_float24[decode-<-f320-f420-0.0] PASSED [ 5%] tests/test_imagecodecs.py::test_float24[decode-<-f321-f421-0.0] PASSED [ 5%] tests/test_imagecodecs.py::test_float24[decode-<-f322-f422-0.0] PASSED [ 5%] tests/test_imagecodecs.py::test_float24_roundtrip[>] PASSED [ 5%] tests/test_imagecodecs.py::test_float24_roundtrip[<] PASSED [ 5%] tests/test_imagecodecs.py::test_lzw_corrupt PASSED [ 5%] tests/test_imagecodecs.py::test_lzw_msb PASSED [ 5%] tests/test_imagecodecs.py::test_lzw_decode[new] PASSED [ 5%] tests/test_imagecodecs.py::test_lzw_decode[size] PASSED [ 5%] tests/test_imagecodecs.py::test_lzw_decode[ndarray] PASSED [ 5%] tests/test_imagecodecs.py::test_lzw_decode[bytearray] PASSED [ 5%] tests/test_imagecodecs.py::test_lzw_decode_image_noeoi PASSED [ 5%] tests/test_imagecodecs.py::test_compressors[bitshuffle-encode-0-new] SKIPPED [ 5%] tests/test_imagecodecs.py::test_compressors[bitshuffle-encode-0-bytearray] SKIPPED [ 5%] tests/test_imagecodecs.py::test_compressors[bitshuffle-encode-0-out] SKIPPED [ 5%] tests/test_imagecodecs.py::test_compressors[bitshuffle-encode-0-size] SKIPPED [ 5%] tests/test_imagecodecs.py::test_compressors[bitshuffle-encode-0-excess] SKIPPED [ 5%] tests/test_imagecodecs.py::test_compressors[bitshuffle-encode-0-trunc] SKIPPED [ 5%] tests/test_imagecodecs.py::test_compressors[bitshuffle-encode-2-new] SKIPPED [ 5%] tests/test_imagecodecs.py::test_compressors[bitshuffle-encode-2-bytearray] SKIPPED [ 5%] tests/test_imagecodecs.py::test_compressors[bitshuffle-encode-2-out] SKIPPED [ 6%] tests/test_imagecodecs.py::test_compressors[bitshuffle-encode-2-size] SKIPPED [ 6%] tests/test_imagecodecs.py::test_compressors[bitshuffle-encode-2-excess] SKIPPED [ 6%] tests/test_imagecodecs.py::test_compressors[bitshuffle-encode-2-trunc] SKIPPED [ 6%] tests/test_imagecodecs.py::test_compressors[bitshuffle-encode-3069-new] SKIPPED [ 6%] tests/test_imagecodecs.py::test_compressors[bitshuffle-encode-3069-bytearray] SKIPPED [ 6%] tests/test_imagecodecs.py::test_compressors[bitshuffle-encode-3069-out] SKIPPED [ 6%] tests/test_imagecodecs.py::test_compressors[bitshuffle-encode-3069-size] SKIPPED [ 6%] tests/test_imagecodecs.py::test_compressors[bitshuffle-encode-3069-excess] SKIPPED [ 6%] tests/test_imagecodecs.py::test_compressors[bitshuffle-encode-3069-trunc] SKIPPED [ 6%] tests/test_imagecodecs.py::test_compressors[bitshuffle-decode-0-new] SKIPPED [ 6%] tests/test_imagecodecs.py::test_compressors[bitshuffle-decode-0-bytearray] SKIPPED [ 6%] tests/test_imagecodecs.py::test_compressors[bitshuffle-decode-0-out] SKIPPED [ 6%] tests/test_imagecodecs.py::test_compressors[bitshuffle-decode-0-size] SKIPPED [ 6%] tests/test_imagecodecs.py::test_compressors[bitshuffle-decode-0-excess] SKIPPED [ 6%] tests/test_imagecodecs.py::test_compressors[bitshuffle-decode-0-trunc] SKIPPED [ 6%] tests/test_imagecodecs.py::test_compressors[bitshuffle-decode-2-new] SKIPPED [ 6%] tests/test_imagecodecs.py::test_compressors[bitshuffle-decode-2-bytearray] SKIPPED [ 6%] tests/test_imagecodecs.py::test_compressors[bitshuffle-decode-2-out] SKIPPED [ 6%] tests/test_imagecodecs.py::test_compressors[bitshuffle-decode-2-size] SKIPPED [ 6%] tests/test_imagecodecs.py::test_compressors[bitshuffle-decode-2-excess] SKIPPED [ 6%] tests/test_imagecodecs.py::test_compressors[bitshuffle-decode-2-trunc] SKIPPED [ 6%] tests/test_imagecodecs.py::test_compressors[bitshuffle-decode-3069-new] SKIPPED [ 6%] tests/test_imagecodecs.py::test_compressors[bitshuffle-decode-3069-bytearray] SKIPPED [ 6%] tests/test_imagecodecs.py::test_compressors[bitshuffle-decode-3069-out] SKIPPED [ 6%] tests/test_imagecodecs.py::test_compressors[bitshuffle-decode-3069-size] SKIPPED [ 6%] tests/test_imagecodecs.py::test_compressors[bitshuffle-decode-3069-excess] SKIPPED [ 6%] tests/test_imagecodecs.py::test_compressors[bitshuffle-decode-3069-trunc] SKIPPED [ 6%] tests/test_imagecodecs.py::test_compressors[brotli-encode-0-new] XFAIL [ 6%] tests/test_imagecodecs.py::test_compressors[brotli-encode-0-bytearray] XFAIL [ 6%] tests/test_imagecodecs.py::test_compressors[brotli-encode-0-out] XFAIL [ 6%] tests/test_imagecodecs.py::test_compressors[brotli-encode-0-size] XFAIL [ 6%] tests/test_imagecodecs.py::test_compressors[brotli-encode-0-excess] XFAIL [ 6%] tests/test_imagecodecs.py::test_compressors[brotli-encode-0-trunc] XFAIL [ 6%] tests/test_imagecodecs.py::test_compressors[brotli-encode-2-new] PASSED [ 6%] tests/test_imagecodecs.py::test_compressors[brotli-encode-2-bytearray] PASSED [ 6%] tests/test_imagecodecs.py::test_compressors[brotli-encode-2-out] PASSED [ 6%] tests/test_imagecodecs.py::test_compressors[brotli-encode-2-size] PASSED [ 6%] tests/test_imagecodecs.py::test_compressors[brotli-encode-2-excess] PASSED [ 6%] tests/test_imagecodecs.py::test_compressors[brotli-encode-2-trunc] PASSED [ 6%] tests/test_imagecodecs.py::test_compressors[brotli-encode-3069-new] PASSED [ 6%] tests/test_imagecodecs.py::test_compressors[brotli-encode-3069-bytearray] PASSED [ 6%] tests/test_imagecodecs.py::test_compressors[brotli-encode-3069-out] PASSED [ 6%] tests/test_imagecodecs.py::test_compressors[brotli-encode-3069-size] PASSED [ 6%] tests/test_imagecodecs.py::test_compressors[brotli-encode-3069-excess] PASSED [ 6%] tests/test_imagecodecs.py::test_compressors[brotli-encode-3069-trunc] PASSED [ 6%] tests/test_imagecodecs.py::test_compressors[brotli-decode-0-new] PASSED [ 6%] tests/test_imagecodecs.py::test_compressors[brotli-decode-0-bytearray] PASSED [ 6%] tests/test_imagecodecs.py::test_compressors[brotli-decode-0-out] PASSED [ 6%] tests/test_imagecodecs.py::test_compressors[brotli-decode-0-size] PASSED [ 6%] tests/test_imagecodecs.py::test_compressors[brotli-decode-0-excess] PASSED [ 6%] tests/test_imagecodecs.py::test_compressors[brotli-decode-0-trunc] PASSED [ 6%] tests/test_imagecodecs.py::test_compressors[brotli-decode-2-new] PASSED [ 6%] tests/test_imagecodecs.py::test_compressors[brotli-decode-2-bytearray] PASSED [ 6%] tests/test_imagecodecs.py::test_compressors[brotli-decode-2-out] PASSED [ 6%] tests/test_imagecodecs.py::test_compressors[brotli-decode-2-size] PASSED [ 6%] tests/test_imagecodecs.py::test_compressors[brotli-decode-2-excess] PASSED [ 6%] tests/test_imagecodecs.py::test_compressors[brotli-decode-2-trunc] PASSED [ 6%] tests/test_imagecodecs.py::test_compressors[brotli-decode-3069-new] PASSED [ 6%] tests/test_imagecodecs.py::test_compressors[brotli-decode-3069-bytearray] PASSED [ 6%] tests/test_imagecodecs.py::test_compressors[brotli-decode-3069-out] PASSED [ 6%] tests/test_imagecodecs.py::test_compressors[brotli-decode-3069-size] PASSED [ 6%] tests/test_imagecodecs.py::test_compressors[brotli-decode-3069-excess] PASSED [ 6%] tests/test_imagecodecs.py::test_compressors[brotli-decode-3069-trunc] PASSED [ 6%] tests/test_imagecodecs.py::test_compressors[blosc-encode-0-new] PASSED [ 6%] tests/test_imagecodecs.py::test_compressors[blosc-encode-0-bytearray] PASSED [ 6%] tests/test_imagecodecs.py::test_compressors[blosc-encode-0-out] PASSED [ 6%] tests/test_imagecodecs.py::test_compressors[blosc-encode-0-size] PASSED [ 6%] tests/test_imagecodecs.py::test_compressors[blosc-encode-0-excess] PASSED [ 6%] tests/test_imagecodecs.py::test_compressors[blosc-encode-0-trunc] PASSED [ 6%] tests/test_imagecodecs.py::test_compressors[blosc-encode-2-new] PASSED [ 6%] tests/test_imagecodecs.py::test_compressors[blosc-encode-2-bytearray] PASSED [ 6%] tests/test_imagecodecs.py::test_compressors[blosc-encode-2-out] PASSED [ 6%] tests/test_imagecodecs.py::test_compressors[blosc-encode-2-size] PASSED [ 6%] tests/test_imagecodecs.py::test_compressors[blosc-encode-2-excess] PASSED [ 6%] tests/test_imagecodecs.py::test_compressors[blosc-encode-2-trunc] PASSED [ 6%] tests/test_imagecodecs.py::test_compressors[blosc-encode-3069-new] PASSED [ 6%] tests/test_imagecodecs.py::test_compressors[blosc-encode-3069-bytearray] PASSED [ 6%] tests/test_imagecodecs.py::test_compressors[blosc-encode-3069-out] PASSED [ 6%] tests/test_imagecodecs.py::test_compressors[blosc-encode-3069-size] PASSED [ 6%] tests/test_imagecodecs.py::test_compressors[blosc-encode-3069-excess] PASSED [ 6%] tests/test_imagecodecs.py::test_compressors[blosc-encode-3069-trunc] PASSED [ 6%] tests/test_imagecodecs.py::test_compressors[blosc-decode-0-new] PASSED [ 6%] tests/test_imagecodecs.py::test_compressors[blosc-decode-0-bytearray] PASSED [ 6%] tests/test_imagecodecs.py::test_compressors[blosc-decode-0-out] PASSED [ 6%] tests/test_imagecodecs.py::test_compressors[blosc-decode-0-size] PASSED [ 6%] tests/test_imagecodecs.py::test_compressors[blosc-decode-0-excess] PASSED [ 6%] tests/test_imagecodecs.py::test_compressors[blosc-decode-0-trunc] PASSED [ 6%] tests/test_imagecodecs.py::test_compressors[blosc-decode-2-new] PASSED [ 6%] tests/test_imagecodecs.py::test_compressors[blosc-decode-2-bytearray] PASSED [ 6%] tests/test_imagecodecs.py::test_compressors[blosc-decode-2-out] PASSED [ 6%] tests/test_imagecodecs.py::test_compressors[blosc-decode-2-size] PASSED [ 6%] tests/test_imagecodecs.py::test_compressors[blosc-decode-2-excess] PASSED [ 6%] tests/test_imagecodecs.py::test_compressors[blosc-decode-2-trunc] PASSED [ 6%] tests/test_imagecodecs.py::test_compressors[blosc-decode-3069-new] PASSED [ 6%] tests/test_imagecodecs.py::test_compressors[blosc-decode-3069-bytearray] PASSED [ 6%] tests/test_imagecodecs.py::test_compressors[blosc-decode-3069-out] PASSED [ 6%] tests/test_imagecodecs.py::test_compressors[blosc-decode-3069-size] PASSED [ 6%] tests/test_imagecodecs.py::test_compressors[blosc-decode-3069-excess] PASSED [ 6%] tests/test_imagecodecs.py::test_compressors[blosc-decode-3069-trunc] PASSED [ 6%] tests/test_imagecodecs.py::test_compressors[blosc2-encode-0-excess] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[blosc2-encode-0-trunc] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[blosc2-encode-2-excess] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[blosc2-encode-2-trunc] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[blosc2-encode-3069-excess] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[blosc2-encode-3069-trunc] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[blosc2-decode-0-new] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[blosc2-decode-0-bytearray] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[blosc2-decode-0-out] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[blosc2-decode-0-size] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[blosc2-decode-0-excess] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[blosc2-decode-0-trunc] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[blosc2-decode-2-new] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[blosc2-decode-2-bytearray] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[blosc2-decode-2-out] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[blosc2-decode-2-size] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[blosc2-decode-2-excess] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[blosc2-decode-2-trunc] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[blosc2-decode-3069-new] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[blosc2-decode-3069-bytearray] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[blosc2-decode-3069-out] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[blosc2-decode-3069-size] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[blosc2-decode-3069-excess] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[blosc2-decode-3069-trunc] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[bz2-encode-0-new] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[bz2-encode-0-bytearray] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[bz2-encode-0-out] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[bz2-encode-0-size] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[bz2-encode-0-excess] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[bz2-encode-0-trunc] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[bz2-encode-2-new] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[bz2-encode-2-bytearray] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[bz2-encode-2-out] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[bz2-encode-2-size] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[bz2-encode-2-excess] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[bz2-encode-2-trunc] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[bz2-encode-3069-new] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[bz2-encode-3069-bytearray] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[bz2-encode-3069-out] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[bz2-encode-3069-size] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[bz2-encode-3069-excess] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[bz2-encode-3069-trunc] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[bz2-decode-0-new] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[bz2-decode-0-bytearray] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[bz2-decode-0-out] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[bz2-decode-0-size] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[bz2-decode-0-excess] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[bz2-decode-0-trunc] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[bz2-decode-2-new] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[bz2-decode-2-bytearray] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[bz2-decode-2-out] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[bz2-decode-2-size] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[bz2-decode-2-excess] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[bz2-decode-2-trunc] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[bz2-decode-3069-new] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[bz2-decode-3069-bytearray] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[bz2-decode-3069-out] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[bz2-decode-3069-size] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[bz2-decode-3069-excess] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[bz2-decode-3069-trunc] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[deflate-encode-0-new] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[deflate-encode-0-bytearray] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[deflate-encode-0-out] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[deflate-encode-0-size] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[deflate-encode-0-excess] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[deflate-encode-0-trunc] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[deflate-encode-2-new] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[deflate-encode-2-bytearray] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[deflate-encode-2-out] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[deflate-encode-2-size] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[deflate-encode-2-excess] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[deflate-encode-2-trunc] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[deflate-encode-3069-new] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[deflate-encode-3069-bytearray] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[deflate-encode-3069-out] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[deflate-encode-3069-size] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[deflate-encode-3069-excess] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[deflate-encode-3069-trunc] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[deflate-decode-0-new] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[deflate-decode-0-bytearray] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[deflate-decode-0-out] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[deflate-decode-0-size] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[deflate-decode-0-excess] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[deflate-decode-0-trunc] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[deflate-decode-2-new] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[deflate-decode-2-bytearray] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[deflate-decode-2-out] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[deflate-decode-2-size] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[deflate-decode-2-excess] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[deflate-decode-2-trunc] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[deflate-decode-3069-new] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[deflate-decode-3069-bytearray] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[deflate-decode-3069-out] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[deflate-decode-3069-size] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[deflate-decode-3069-excess] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[deflate-decode-3069-trunc] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[gzip-encode-0-new] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[gzip-encode-0-bytearray] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[gzip-encode-0-out] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[gzip-encode-0-size] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[gzip-encode-0-excess] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[gzip-encode-0-trunc] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[gzip-encode-2-new] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[gzip-encode-2-bytearray] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[gzip-encode-2-out] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[gzip-encode-2-size] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[gzip-encode-2-excess] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[gzip-encode-2-trunc] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[gzip-encode-3069-new] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[gzip-encode-3069-bytearray] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[gzip-encode-3069-out] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[gzip-encode-3069-size] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[gzip-encode-3069-excess] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[gzip-encode-3069-trunc] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[gzip-decode-0-new] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[gzip-decode-0-bytearray] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[gzip-decode-0-out] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[gzip-decode-0-size] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[gzip-decode-0-excess] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[gzip-decode-0-trunc] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[gzip-decode-2-new] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[gzip-decode-2-bytearray] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[gzip-decode-2-out] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[gzip-decode-2-size] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[gzip-decode-2-excess] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[gzip-decode-2-trunc] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[gzip-decode-3069-new] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[gzip-decode-3069-bytearray] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[gzip-decode-3069-out] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[gzip-decode-3069-size] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[gzip-decode-3069-excess] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[gzip-decode-3069-trunc] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4-encode-0-new] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4-encode-0-bytearray] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4-encode-0-out] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4-encode-0-size] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4-encode-0-excess] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4-encode-0-trunc] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4-encode-2-new] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4-encode-2-bytearray] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4-encode-2-out] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4-encode-2-size] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4-encode-2-excess] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4-encode-2-trunc] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4-encode-3069-new] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4-encode-3069-bytearray] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4-encode-3069-out] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4-encode-3069-size] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4-encode-3069-excess] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4-encode-3069-trunc] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4-decode-0-new] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4-decode-0-bytearray] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4-decode-0-out] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4-decode-0-size] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4-decode-0-excess] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4-decode-0-trunc] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4-decode-2-new] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4-decode-2-bytearray] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4-decode-2-out] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4-decode-2-size] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4-decode-2-excess] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4-decode-2-trunc] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4-decode-3069-new] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4-decode-3069-bytearray] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4-decode-3069-out] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4-decode-3069-size] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4-decode-3069-excess] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4-decode-3069-trunc] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4h-encode-0-new] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4h-encode-0-bytearray] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4h-encode-0-out] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4h-encode-0-size] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4h-encode-0-excess] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4h-encode-0-trunc] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4h-encode-2-new] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4h-encode-2-bytearray] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4h-encode-2-out] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4h-encode-2-size] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4h-encode-2-excess] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4h-encode-2-trunc] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4h-encode-3069-new] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4h-encode-3069-bytearray] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4h-encode-3069-out] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4h-encode-3069-size] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4h-encode-3069-excess] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4h-encode-3069-trunc] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4h-decode-0-new] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4h-decode-0-bytearray] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4h-decode-0-out] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4h-decode-0-size] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4h-decode-0-excess] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4h-decode-0-trunc] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4h-decode-2-new] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4h-decode-2-bytearray] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4h-decode-2-out] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4h-decode-2-size] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4h-decode-2-excess] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4h-decode-2-trunc] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4h-decode-3069-new] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4h-decode-3069-bytearray] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4h-decode-3069-out] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4h-decode-3069-size] PASSED [ 9%] tests/test_imagecodecs.py::test_compressors[lz4h-decode-3069-excess] PASSED [ 9%] tests/test_imagecodecs.py::test_compressors[lz4h-decode-3069-trunc] PASSED [ 9%] tests/test_imagecodecs.py::test_compressors[lz4f-encode-0-new] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lz4f-encode-0-bytearray] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lz4f-encode-0-out] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lz4f-encode-0-size] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lz4f-encode-0-excess] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lz4f-encode-0-trunc] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lz4f-encode-2-new] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lz4f-encode-2-bytearray] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lz4f-encode-2-out] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lz4f-encode-2-size] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lz4f-encode-2-excess] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lz4f-encode-2-trunc] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lz4f-encode-3069-new] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lz4f-encode-3069-bytearray] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lz4f-encode-3069-out] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lz4f-encode-3069-size] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lz4f-encode-3069-excess] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lz4f-encode-3069-trunc] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lz4f-decode-0-new] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lz4f-decode-0-bytearray] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lz4f-decode-0-out] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lz4f-decode-0-size] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lz4f-decode-0-excess] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lz4f-decode-0-trunc] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lz4f-decode-2-new] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lz4f-decode-2-bytearray] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lz4f-decode-2-out] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lz4f-decode-2-size] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lz4f-decode-2-excess] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lz4f-decode-2-trunc] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lz4f-decode-3069-new] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lz4f-decode-3069-bytearray] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lz4f-decode-3069-out] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lz4f-decode-3069-size] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lz4f-decode-3069-excess] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lz4f-decode-3069-trunc] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lzf-encode-0-new] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lzf-encode-0-bytearray] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lzf-encode-0-out] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lzf-encode-0-size] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lzf-encode-0-excess] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lzf-encode-0-trunc] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lzf-encode-2-new] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lzf-encode-2-bytearray] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lzf-encode-2-out] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lzf-encode-2-size] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lzf-encode-2-excess] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lzf-encode-2-trunc] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lzf-encode-3069-new] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lzf-encode-3069-bytearray] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lzf-encode-3069-out] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lzf-encode-3069-size] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lzf-encode-3069-excess] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lzf-encode-3069-trunc] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lzf-decode-0-new] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lzf-decode-0-bytearray] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lzf-decode-0-out] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lzf-decode-0-size] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lzf-decode-0-excess] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lzf-decode-0-trunc] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lzf-decode-2-new] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lzf-decode-2-bytearray] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lzf-decode-2-out] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lzf-decode-2-size] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lzf-decode-2-excess] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lzf-decode-2-trunc] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lzf-decode-3069-new] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lzf-decode-3069-bytearray] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lzf-decode-3069-out] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lzf-decode-3069-size] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lzf-decode-3069-excess] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lzf-decode-3069-trunc] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lzfse-encode-0-new] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lzfse-encode-0-bytearray] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lzfse-encode-0-out] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lzfse-encode-0-size] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lzfse-encode-0-excess] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lzfse-encode-0-trunc] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lzfse-encode-2-new] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lzfse-encode-2-bytearray] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lzfse-encode-2-out] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lzfse-encode-2-size] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lzfse-encode-2-excess] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lzfse-encode-2-trunc] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lzfse-encode-3069-new] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lzfse-encode-3069-bytearray] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lzfse-encode-3069-out] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lzfse-encode-3069-size] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lzfse-encode-3069-excess] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lzfse-encode-3069-trunc] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lzfse-decode-0-new] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lzfse-decode-0-bytearray] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lzfse-decode-0-out] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lzfse-decode-0-size] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lzfse-decode-0-excess] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lzfse-decode-0-trunc] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lzfse-decode-2-new] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lzfse-decode-2-bytearray] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lzfse-decode-2-out] SKIPPED [ 10%] tests/test_imagecodecs.py::test_compressors[lzfse-decode-2-size] SKIPPED [ 10%] tests/test_imagecodecs.py::test_compressors[lzfse-decode-2-excess] SKIPPED [ 10%] tests/test_imagecodecs.py::test_compressors[lzfse-decode-2-trunc] SKIPPED [ 10%] tests/test_imagecodecs.py::test_compressors[lzfse-decode-3069-new] SKIPPED [ 10%] tests/test_imagecodecs.py::test_compressors[lzfse-decode-3069-bytearray] SKIPPED [ 10%] tests/test_imagecodecs.py::test_compressors[lzfse-decode-3069-out] SKIPPED [ 10%] tests/test_imagecodecs.py::test_compressors[lzfse-decode-3069-size] SKIPPED [ 10%] tests/test_imagecodecs.py::test_compressors[lzfse-decode-3069-excess] SKIPPED [ 10%] tests/test_imagecodecs.py::test_compressors[lzfse-decode-3069-trunc] SKIPPED [ 10%] tests/test_imagecodecs.py::test_compressors[lzham-encode-0-new] SKIPPED [ 10%] tests/test_imagecodecs.py::test_compressors[lzham-encode-0-bytearray] SKIPPED [ 10%] tests/test_imagecodecs.py::test_compressors[lzham-encode-0-out] SKIPPED [ 10%] tests/test_imagecodecs.py::test_compressors[lzham-encode-0-size] SKIPPED [ 10%] tests/test_imagecodecs.py::test_compressors[lzham-encode-0-excess] SKIPPED [ 10%] tests/test_imagecodecs.py::test_compressors[lzham-encode-0-trunc] SKIPPED [ 10%] tests/test_imagecodecs.py::test_compressors[lzham-encode-2-new] SKIPPED [ 10%] tests/test_imagecodecs.py::test_compressors[lzham-encode-2-bytearray] SKIPPED [ 10%] tests/test_imagecodecs.py::test_compressors[lzham-encode-2-out] SKIPPED [ 10%] tests/test_imagecodecs.py::test_compressors[lzham-encode-2-size] SKIPPED [ 10%] tests/test_imagecodecs.py::test_compressors[lzham-encode-2-excess] SKIPPED [ 10%] tests/test_imagecodecs.py::test_compressors[lzham-encode-2-trunc] SKIPPED [ 10%] tests/test_imagecodecs.py::test_compressors[lzham-encode-3069-new] SKIPPED [ 10%] tests/test_imagecodecs.py::test_compressors[lzham-encode-3069-bytearray] SKIPPED [ 10%] tests/test_imagecodecs.py::test_compressors[lzham-encode-3069-out] SKIPPED [ 10%] tests/test_imagecodecs.py::test_compressors[lzham-encode-3069-size] SKIPPED [ 10%] tests/test_imagecodecs.py::test_compressors[lzham-encode-3069-excess] SKIPPED [ 10%] tests/test_imagecodecs.py::test_compressors[lzham-encode-3069-trunc] SKIPPED [ 10%] tests/test_imagecodecs.py::test_compressors[lzham-decode-0-new] SKIPPED [ 10%] tests/test_imagecodecs.py::test_compressors[lzham-decode-0-bytearray] SKIPPED [ 10%] tests/test_imagecodecs.py::test_compressors[lzham-decode-0-out] SKIPPED [ 10%] tests/test_imagecodecs.py::test_compressors[lzham-decode-0-size] SKIPPED [ 10%] tests/test_imagecodecs.py::test_compressors[lzham-decode-0-excess] SKIPPED [ 10%] tests/test_imagecodecs.py::test_compressors[lzham-decode-0-trunc] SKIPPED [ 10%] tests/test_imagecodecs.py::test_compressors[lzham-decode-2-new] SKIPPED [ 10%] tests/test_imagecodecs.py::test_compressors[lzham-decode-2-bytearray] SKIPPED [ 10%] tests/test_imagecodecs.py::test_compressors[lzham-decode-2-out] SKIPPED [ 10%] tests/test_imagecodecs.py::test_compressors[lzham-decode-2-size] SKIPPED [ 10%] tests/test_imagecodecs.py::test_compressors[lzham-decode-2-excess] SKIPPED [ 10%] tests/test_imagecodecs.py::test_compressors[lzham-decode-2-trunc] SKIPPED [ 10%] tests/test_imagecodecs.py::test_compressors[lzham-decode-3069-new] SKIPPED [ 10%] tests/test_imagecodecs.py::test_compressors[lzham-decode-3069-bytearray] SKIPPED [ 10%] tests/test_imagecodecs.py::test_compressors[lzham-decode-3069-out] SKIPPED [ 10%] tests/test_imagecodecs.py::test_compressors[lzham-decode-3069-size] SKIPPED [ 10%] tests/test_imagecodecs.py::test_compressors[lzham-decode-3069-excess] SKIPPED [ 10%] tests/test_imagecodecs.py::test_compressors[lzham-decode-3069-trunc] SKIPPED [ 10%] tests/test_imagecodecs.py::test_compressors[lzma-encode-0-new] PASSED [ 10%] tests/test_imagecodecs.py::test_compressors[lzma-encode-0-bytearray] PASSED [ 10%] tests/test_imagecodecs.py::test_compressors[lzma-encode-0-out] PASSED [ 10%] tests/test_imagecodecs.py::test_compressors[lzma-encode-0-size] PASSED [ 10%] tests/test_imagecodecs.py::test_compressors[lzma-encode-0-excess] PASSED [ 10%] tests/test_imagecodecs.py::test_compressors[lzma-encode-0-trunc] PASSED [ 10%] tests/test_imagecodecs.py::test_compressors[lzma-encode-2-new] PASSED [ 10%] tests/test_imagecodecs.py::test_compressors[lzma-encode-2-bytearray] PASSED [ 10%] tests/test_imagecodecs.py::test_compressors[lzma-encode-2-out] PASSED [ 10%] tests/test_imagecodecs.py::test_compressors[lzma-encode-2-size] PASSED [ 10%] tests/test_imagecodecs.py::test_compressors[lzma-encode-2-excess] PASSED [ 10%] tests/test_imagecodecs.py::test_compressors[lzma-encode-2-trunc] PASSED [ 10%] tests/test_imagecodecs.py::test_compressors[lzma-encode-3069-new] PASSED [ 10%] tests/test_imagecodecs.py::test_compressors[lzma-encode-3069-bytearray] PASSED [ 10%] tests/test_imagecodecs.py::test_compressors[lzma-encode-3069-out] PASSED [ 10%] tests/test_imagecodecs.py::test_compressors[lzma-encode-3069-size] PASSED [ 10%] tests/test_imagecodecs.py::test_compressors[lzma-encode-3069-excess] PASSED [ 10%] tests/test_imagecodecs.py::test_compressors[lzma-encode-3069-trunc] PASSED [ 10%] tests/test_imagecodecs.py::test_compressors[lzma-decode-0-new] PASSED [ 10%] tests/test_imagecodecs.py::test_compressors[lzma-decode-0-bytearray] PASSED [ 10%] tests/test_imagecodecs.py::test_compressors[lzma-decode-0-out] PASSED [ 10%] tests/test_imagecodecs.py::test_compressors[lzma-decode-0-size] PASSED [ 10%] tests/test_imagecodecs.py::test_compressors[lzma-decode-0-excess] PASSED [ 10%] tests/test_imagecodecs.py::test_compressors[lzma-decode-0-trunc] PASSED [ 10%] tests/test_imagecodecs.py::test_compressors[lzma-decode-2-new] PASSED [ 10%] tests/test_imagecodecs.py::test_compressors[lzma-decode-2-bytearray] PASSED [ 10%] tests/test_imagecodecs.py::test_compressors[lzma-decode-2-out] PASSED [ 10%] tests/test_imagecodecs.py::test_compressors[lzma-decode-2-size] PASSED [ 10%] tests/test_imagecodecs.py::test_compressors[lzma-decode-2-excess] PASSED [ 10%] tests/test_imagecodecs.py::test_compressors[lzma-decode-2-trunc] PASSED [ 10%] tests/test_imagecodecs.py::test_compressors[lzma-decode-3069-new] PASSED [ 10%] tests/test_imagecodecs.py::test_compressors[lzma-decode-3069-bytearray] PASSED [ 10%] tests/test_imagecodecs.py::test_compressors[lzma-decode-3069-out] PASSED [ 10%] tests/test_imagecodecs.py::test_compressors[lzma-decode-3069-size] PASSED [ 10%] tests/test_imagecodecs.py::test_compressors[lzma-decode-3069-excess] PASSED [ 10%] tests/test_imagecodecs.py::test_compressors[lzma-decode-3069-trunc] PASSED [ 10%] tests/test_imagecodecs.py::test_compressors[lzw-encode-0-new] PASSED [ 10%] tests/test_imagecodecs.py::test_compressors[lzw-encode-0-bytearray] PASSED [ 10%] tests/test_imagecodecs.py::test_compressors[lzw-encode-0-out] PASSED [ 10%] tests/test_imagecodecs.py::test_compressors[lzw-encode-0-size] PASSED [ 10%] tests/test_imagecodecs.py::test_compressors[lzw-encode-0-excess] PASSED [ 10%] tests/test_imagecodecs.py::test_compressors[lzw-encode-0-trunc] PASSED [ 10%] tests/test_imagecodecs.py::test_compressors[lzw-encode-2-new] PASSED [ 10%] tests/test_imagecodecs.py::test_compressors[lzw-encode-2-bytearray] PASSED [ 10%] tests/test_imagecodecs.py::test_compressors[lzw-encode-2-out] PASSED [ 10%] tests/test_imagecodecs.py::test_compressors[lzw-encode-2-size] PASSED [ 10%] tests/test_imagecodecs.py::test_compressors[lzw-encode-2-excess] PASSED [ 10%] tests/test_imagecodecs.py::test_compressors[lzw-encode-2-trunc] PASSED [ 10%] tests/test_imagecodecs.py::test_compressors[lzw-encode-3069-new] PASSED [ 10%] tests/test_imagecodecs.py::test_compressors[lzw-encode-3069-bytearray] PASSED [ 10%] tests/test_imagecodecs.py::test_compressors[lzw-encode-3069-out] PASSED [ 10%] tests/test_imagecodecs.py::test_compressors[lzw-encode-3069-size] PASSED [ 10%] tests/test_imagecodecs.py::test_compressors[lzw-encode-3069-excess] PASSED [ 10%] tests/test_imagecodecs.py::test_compressors[lzw-encode-3069-trunc] PASSED [ 10%] tests/test_imagecodecs.py::test_compressors[lzw-decode-0-new] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[lzw-decode-0-bytearray] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[lzw-decode-0-out] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[lzw-decode-0-size] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[lzw-decode-0-excess] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[lzw-decode-0-trunc] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[lzw-decode-2-new] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[lzw-decode-2-bytearray] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[lzw-decode-2-out] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[lzw-decode-2-size] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[lzw-decode-2-excess] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[lzw-decode-2-trunc] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[lzw-decode-3069-new] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[lzw-decode-3069-bytearray] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[lzw-decode-3069-out] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[lzw-decode-3069-size] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[lzw-decode-3069-excess] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[lzw-decode-3069-trunc] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[snappy-encode-0-new] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[snappy-encode-0-bytearray] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[snappy-encode-0-out] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[snappy-encode-0-size] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[snappy-encode-0-excess] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[snappy-encode-0-trunc] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[snappy-encode-2-new] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[snappy-encode-2-bytearray] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[snappy-encode-2-out] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[snappy-encode-2-size] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[snappy-encode-2-excess] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[snappy-encode-2-trunc] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[snappy-encode-3069-new] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[snappy-encode-3069-bytearray] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[snappy-encode-3069-out] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[snappy-encode-3069-size] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[snappy-encode-3069-excess] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[snappy-encode-3069-trunc] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[snappy-decode-0-new] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[snappy-decode-0-bytearray] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[snappy-decode-0-out] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[snappy-decode-0-size] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[snappy-decode-0-excess] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[snappy-decode-0-trunc] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[snappy-decode-2-new] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[snappy-decode-2-bytearray] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[snappy-decode-2-out] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[snappy-decode-2-size] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[snappy-decode-2-excess] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[snappy-decode-2-trunc] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[snappy-decode-3069-new] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[snappy-decode-3069-bytearray] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[snappy-decode-3069-out] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[snappy-decode-3069-size] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[snappy-decode-3069-excess] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[snappy-decode-3069-trunc] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[zlib-encode-0-new] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[zlib-encode-0-bytearray] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[zlib-encode-0-out] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[zlib-encode-0-size] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[zlib-encode-0-excess] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[zlib-encode-0-trunc] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[zlib-encode-2-new] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[zlib-encode-2-bytearray] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[zlib-encode-2-out] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[zlib-encode-2-size] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[zlib-encode-2-excess] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[zlib-encode-2-trunc] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[zlib-encode-3069-new] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[zlib-encode-3069-bytearray] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[zlib-encode-3069-out] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[zlib-encode-3069-size] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[zlib-encode-3069-excess] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[zlib-encode-3069-trunc] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[zlib-decode-0-new] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[zlib-decode-0-bytearray] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[zlib-decode-0-out] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[zlib-decode-0-size] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[zlib-decode-0-excess] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[zlib-decode-0-trunc] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[zlib-decode-2-new] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[zlib-decode-2-bytearray] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[zlib-decode-2-out] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[zlib-decode-2-size] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[zlib-decode-2-excess] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[zlib-decode-2-trunc] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[zlib-decode-3069-new] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[zlib-decode-3069-bytearray] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[zlib-decode-3069-out] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[zlib-decode-3069-size] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[zlib-decode-3069-excess] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[zlib-decode-3069-trunc] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[zlibng-encode-0-new] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[zlibng-encode-0-bytearray] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[zlibng-encode-0-out] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[zlibng-encode-0-size] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[zlibng-encode-0-excess] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[zlibng-encode-0-trunc] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[zlibng-encode-2-new] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[zlibng-encode-2-bytearray] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[zlibng-encode-2-out] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[zlibng-encode-2-size] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[zlibng-encode-2-excess] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zlibng-encode-2-trunc] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zlibng-encode-3069-new] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zlibng-encode-3069-bytearray] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zlibng-encode-3069-out] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zlibng-encode-3069-size] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zlibng-encode-3069-excess] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zlibng-encode-3069-trunc] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zlibng-decode-0-new] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zlibng-decode-0-bytearray] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zlibng-decode-0-out] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zlibng-decode-0-size] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zlibng-decode-0-excess] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zlibng-decode-0-trunc] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zlibng-decode-2-new] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zlibng-decode-2-bytearray] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zlibng-decode-2-out] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zlibng-decode-2-size] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zlibng-decode-2-excess] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zlibng-decode-2-trunc] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zlibng-decode-3069-new] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zlibng-decode-3069-bytearray] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zlibng-decode-3069-out] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zlibng-decode-3069-size] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zlibng-decode-3069-excess] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zlibng-decode-3069-trunc] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zopfli-encode-0-new] SKIPPED [ 12%] tests/test_imagecodecs.py::test_compressors[zopfli-encode-0-bytearray] SKIPPED [ 12%] tests/test_imagecodecs.py::test_compressors[zopfli-encode-0-out] SKIPPED [ 12%] tests/test_imagecodecs.py::test_compressors[zopfli-encode-0-size] SKIPPED [ 12%] tests/test_imagecodecs.py::test_compressors[zopfli-encode-0-excess] SKIPPED [ 12%] tests/test_imagecodecs.py::test_compressors[zopfli-encode-0-trunc] SKIPPED [ 12%] tests/test_imagecodecs.py::test_compressors[zopfli-encode-2-new] SKIPPED [ 12%] tests/test_imagecodecs.py::test_compressors[zopfli-encode-2-bytearray] SKIPPED [ 12%] tests/test_imagecodecs.py::test_compressors[zopfli-encode-2-out] SKIPPED [ 12%] tests/test_imagecodecs.py::test_compressors[zopfli-encode-2-size] SKIPPED [ 12%] tests/test_imagecodecs.py::test_compressors[zopfli-encode-2-excess] SKIPPED [ 12%] tests/test_imagecodecs.py::test_compressors[zopfli-encode-2-trunc] SKIPPED [ 12%] tests/test_imagecodecs.py::test_compressors[zopfli-encode-3069-new] SKIPPED [ 12%] tests/test_imagecodecs.py::test_compressors[zopfli-encode-3069-bytearray] SKIPPED [ 12%] tests/test_imagecodecs.py::test_compressors[zopfli-encode-3069-out] SKIPPED [ 12%] tests/test_imagecodecs.py::test_compressors[zopfli-encode-3069-size] SKIPPED [ 12%] tests/test_imagecodecs.py::test_compressors[zopfli-encode-3069-excess] SKIPPED [ 12%] tests/test_imagecodecs.py::test_compressors[zopfli-encode-3069-trunc] SKIPPED [ 12%] tests/test_imagecodecs.py::test_compressors[zopfli-decode-0-new] SKIPPED [ 12%] tests/test_imagecodecs.py::test_compressors[zopfli-decode-0-bytearray] SKIPPED [ 12%] tests/test_imagecodecs.py::test_compressors[zopfli-decode-0-out] SKIPPED [ 12%] tests/test_imagecodecs.py::test_compressors[zopfli-decode-0-size] SKIPPED [ 12%] tests/test_imagecodecs.py::test_compressors[zopfli-decode-0-excess] SKIPPED [ 12%] tests/test_imagecodecs.py::test_compressors[zopfli-decode-0-trunc] SKIPPED [ 12%] tests/test_imagecodecs.py::test_compressors[zopfli-decode-2-new] SKIPPED [ 12%] tests/test_imagecodecs.py::test_compressors[zopfli-decode-2-bytearray] SKIPPED [ 12%] tests/test_imagecodecs.py::test_compressors[zopfli-decode-2-out] SKIPPED [ 12%] tests/test_imagecodecs.py::test_compressors[zopfli-decode-2-size] SKIPPED [ 12%] tests/test_imagecodecs.py::test_compressors[zopfli-decode-2-excess] SKIPPED [ 12%] tests/test_imagecodecs.py::test_compressors[zopfli-decode-2-trunc] SKIPPED [ 12%] tests/test_imagecodecs.py::test_compressors[zopfli-decode-3069-new] SKIPPED [ 12%] tests/test_imagecodecs.py::test_compressors[zopfli-decode-3069-bytearray] SKIPPED [ 12%] tests/test_imagecodecs.py::test_compressors[zopfli-decode-3069-out] SKIPPED [ 12%] tests/test_imagecodecs.py::test_compressors[zopfli-decode-3069-size] SKIPPED [ 12%] tests/test_imagecodecs.py::test_compressors[zopfli-decode-3069-excess] SKIPPED [ 12%] tests/test_imagecodecs.py::test_compressors[zopfli-decode-3069-trunc] SKIPPED [ 12%] tests/test_imagecodecs.py::test_compressors[zstd-encode-0-new] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zstd-encode-0-bytearray] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zstd-encode-0-out] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zstd-encode-0-size] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zstd-encode-0-excess] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zstd-encode-0-trunc] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zstd-encode-2-new] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zstd-encode-2-bytearray] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zstd-encode-2-out] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zstd-encode-2-size] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zstd-encode-2-excess] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zstd-encode-2-trunc] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zstd-encode-3069-new] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zstd-encode-3069-bytearray] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zstd-encode-3069-out] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zstd-encode-3069-size] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zstd-encode-3069-excess] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zstd-encode-3069-trunc] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zstd-decode-0-new] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zstd-decode-0-bytearray] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zstd-decode-0-out] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zstd-decode-0-size] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zstd-decode-0-excess] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zstd-decode-0-trunc] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zstd-decode-2-new] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zstd-decode-2-bytearray] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zstd-decode-2-out] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zstd-decode-2-size] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zstd-decode-2-excess] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zstd-decode-2-trunc] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zstd-decode-3069-new] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zstd-decode-3069-bytearray] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zstd-decode-3069-out] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zstd-decode-3069-size] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zstd-decode-3069-excess] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zstd-decode-3069-trunc] PASSED [ 12%] tests/test_imagecodecs.py::test_bitshuffle_roundtrip[0-1-bytes] SKIPPED [ 12%] tests/test_imagecodecs.py::test_bitshuffle_roundtrip[0-1-ndarray] SKIPPED [ 12%] tests/test_imagecodecs.py::test_bitshuffle_roundtrip[0-2-bytes] SKIPPED [ 12%] tests/test_imagecodecs.py::test_bitshuffle_roundtrip[0-2-ndarray] SKIPPED [ 13%] tests/test_imagecodecs.py::test_bitshuffle_roundtrip[0-4-bytes] SKIPPED [ 13%] tests/test_imagecodecs.py::test_bitshuffle_roundtrip[0-4-ndarray] SKIPPED [ 13%] tests/test_imagecodecs.py::test_bitshuffle_roundtrip[0-8-bytes] SKIPPED [ 13%] tests/test_imagecodecs.py::test_bitshuffle_roundtrip[0-8-ndarray] SKIPPED [ 13%] tests/test_imagecodecs.py::test_bitshuffle_roundtrip[8-1-bytes] SKIPPED [ 13%] tests/test_imagecodecs.py::test_bitshuffle_roundtrip[8-1-ndarray] SKIPPED [ 13%] tests/test_imagecodecs.py::test_bitshuffle_roundtrip[8-2-bytes] SKIPPED [ 13%] tests/test_imagecodecs.py::test_bitshuffle_roundtrip[8-2-ndarray] SKIPPED [ 13%] tests/test_imagecodecs.py::test_bitshuffle_roundtrip[8-4-bytes] SKIPPED [ 13%] tests/test_imagecodecs.py::test_bitshuffle_roundtrip[8-4-ndarray] SKIPPED [ 13%] tests/test_imagecodecs.py::test_bitshuffle_roundtrip[8-8-bytes] SKIPPED [ 13%] tests/test_imagecodecs.py::test_bitshuffle_roundtrip[8-8-ndarray] SKIPPED [ 13%] tests/test_imagecodecs.py::test_bitshuffle_roundtrip[64-1-bytes] SKIPPED [ 13%] tests/test_imagecodecs.py::test_bitshuffle_roundtrip[64-1-ndarray] SKIPPED [ 13%] tests/test_imagecodecs.py::test_bitshuffle_roundtrip[64-2-bytes] SKIPPED [ 13%] tests/test_imagecodecs.py::test_bitshuffle_roundtrip[64-2-ndarray] SKIPPED [ 13%] tests/test_imagecodecs.py::test_bitshuffle_roundtrip[64-4-bytes] SKIPPED [ 13%] tests/test_imagecodecs.py::test_bitshuffle_roundtrip[64-4-ndarray] SKIPPED [ 13%] tests/test_imagecodecs.py::test_bitshuffle_roundtrip[64-8-bytes] SKIPPED [ 13%] tests/test_imagecodecs.py::test_bitshuffle_roundtrip[64-8-ndarray] SKIPPED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[1-blosclz-noshuffle-None-1] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[1-blosclz-noshuffle-None-6] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[1-blosclz-noshuffle-1-1] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[1-blosclz-noshuffle-1-6] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[1-blosclz-shuffle-None-1] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[1-blosclz-shuffle-None-6] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[1-blosclz-shuffle-1-1] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[1-blosclz-shuffle-1-6] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[1-blosclz-bitshuffle-None-1] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[1-blosclz-bitshuffle-None-6] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[1-blosclz-bitshuffle-1-1] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[1-blosclz-bitshuffle-1-6] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[1-lz4-noshuffle-None-1] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[1-lz4-noshuffle-None-6] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[1-lz4-noshuffle-1-1] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[1-lz4-noshuffle-1-6] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[1-lz4-shuffle-None-1] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[1-lz4-shuffle-None-6] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[1-lz4-shuffle-1-1] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[1-lz4-shuffle-1-6] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[1-lz4-bitshuffle-None-1] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[1-lz4-bitshuffle-None-6] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[1-lz4-bitshuffle-1-1] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[1-lz4-bitshuffle-1-6] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[1-lz4hc-noshuffle-None-1] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[1-lz4hc-noshuffle-None-6] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[1-lz4hc-noshuffle-1-1] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[1-lz4hc-noshuffle-1-6] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[1-lz4hc-shuffle-None-1] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[1-lz4hc-shuffle-None-6] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[1-lz4hc-shuffle-1-1] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[1-lz4hc-shuffle-1-6] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[1-lz4hc-bitshuffle-None-1] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[1-lz4hc-bitshuffle-None-6] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[1-lz4hc-bitshuffle-1-1] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[1-lz4hc-bitshuffle-1-6] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[1-zlib-noshuffle-None-1] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[1-zlib-noshuffle-None-6] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[1-zlib-noshuffle-1-1] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[1-zlib-noshuffle-1-6] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[1-zlib-shuffle-None-1] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[1-zlib-shuffle-None-6] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[1-zlib-shuffle-1-1] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[1-zlib-shuffle-1-6] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[1-zlib-bitshuffle-None-1] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[1-zlib-bitshuffle-None-6] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[1-zlib-bitshuffle-1-1] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[1-zlib-bitshuffle-1-6] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[1-zstd-noshuffle-None-1] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[1-zstd-noshuffle-None-6] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[1-zstd-noshuffle-1-1] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[1-zstd-noshuffle-1-6] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[1-zstd-shuffle-None-1] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[1-zstd-shuffle-None-6] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[1-zstd-shuffle-1-1] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[1-zstd-shuffle-1-6] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[1-zstd-bitshuffle-None-1] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[1-zstd-bitshuffle-None-6] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[1-zstd-bitshuffle-1-1] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[1-zstd-bitshuffle-1-6] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[2-blosclz-noshuffle-None-1] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[2-blosclz-noshuffle-None-6] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[2-blosclz-noshuffle-1-1] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[2-blosclz-noshuffle-1-6] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[2-blosclz-shuffle-None-1] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[2-blosclz-shuffle-None-6] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[2-blosclz-shuffle-1-1] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[2-blosclz-shuffle-1-6] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[2-blosclz-bitshuffle-None-1] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[2-blosclz-bitshuffle-None-6] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[2-blosclz-bitshuffle-1-1] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[2-blosclz-bitshuffle-1-6] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[2-lz4-noshuffle-None-1] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[2-lz4-noshuffle-None-6] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[2-lz4-noshuffle-1-1] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[2-lz4-noshuffle-1-6] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[2-lz4-shuffle-None-1] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[2-lz4-shuffle-None-6] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[2-lz4-shuffle-1-1] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[2-lz4-shuffle-1-6] PASSED [ 14%] tests/test_imagecodecs.py::test_blosc_roundtrip[2-lz4-bitshuffle-None-1] PASSED [ 14%] tests/test_imagecodecs.py::test_blosc_roundtrip[2-lz4-bitshuffle-None-6] PASSED [ 14%] tests/test_imagecodecs.py::test_blosc_roundtrip[2-lz4-bitshuffle-1-1] PASSED [ 14%] tests/test_imagecodecs.py::test_blosc_roundtrip[2-lz4-bitshuffle-1-6] PASSED [ 14%] tests/test_imagecodecs.py::test_blosc_roundtrip[2-lz4hc-noshuffle-None-1] PASSED [ 14%] tests/test_imagecodecs.py::test_blosc_roundtrip[2-lz4hc-noshuffle-None-6] PASSED [ 14%] tests/test_imagecodecs.py::test_blosc_roundtrip[2-lz4hc-noshuffle-1-1] PASSED [ 14%] tests/test_imagecodecs.py::test_blosc_roundtrip[2-lz4hc-noshuffle-1-6] PASSED [ 14%] tests/test_imagecodecs.py::test_blosc_roundtrip[2-lz4hc-shuffle-None-1] PASSED [ 14%] tests/test_imagecodecs.py::test_blosc_roundtrip[2-lz4hc-shuffle-None-6] PASSED [ 14%] tests/test_imagecodecs.py::test_blosc_roundtrip[2-lz4hc-shuffle-1-1] PASSED [ 14%] tests/test_imagecodecs.py::test_blosc_roundtrip[2-lz4hc-shuffle-1-6] PASSED [ 14%] tests/test_imagecodecs.py::test_blosc_roundtrip[2-lz4hc-bitshuffle-None-1] PASSED [ 14%] tests/test_imagecodecs.py::test_blosc_roundtrip[2-lz4hc-bitshuffle-None-6] PASSED [ 14%] tests/test_imagecodecs.py::test_blosc_roundtrip[2-lz4hc-bitshuffle-1-1] PASSED [ 14%] tests/test_imagecodecs.py::test_blosc_roundtrip[2-lz4hc-bitshuffle-1-6] PASSED [ 14%] tests/test_imagecodecs.py::test_blosc_roundtrip[2-zlib-noshuffle-None-1] PASSED [ 14%] tests/test_imagecodecs.py::test_blosc_roundtrip[2-zlib-noshuffle-None-6] PASSED [ 14%] tests/test_imagecodecs.py::test_blosc_roundtrip[2-zlib-noshuffle-1-1] PASSED [ 14%] tests/test_imagecodecs.py::test_blosc_roundtrip[2-zlib-noshuffle-1-6] PASSED [ 14%] tests/test_imagecodecs.py::test_blosc_roundtrip[2-zlib-shuffle-None-1] PASSED [ 14%] tests/test_imagecodecs.py::test_blosc_roundtrip[2-zlib-shuffle-None-6] PASSED [ 14%] tests/test_imagecodecs.py::test_blosc_roundtrip[2-zlib-shuffle-1-1] PASSED [ 14%] tests/test_imagecodecs.py::test_blosc_roundtrip[2-zlib-shuffle-1-6] PASSED [ 14%] tests/test_imagecodecs.py::test_blosc_roundtrip[2-zlib-bitshuffle-None-1] PASSED [ 14%] tests/test_imagecodecs.py::test_blosc_roundtrip[2-zlib-bitshuffle-None-6] PASSED [ 14%] tests/test_imagecodecs.py::test_blosc_roundtrip[2-zlib-bitshuffle-1-1] PASSED [ 14%] tests/test_imagecodecs.py::test_blosc_roundtrip[2-zlib-bitshuffle-1-6] PASSED [ 14%] tests/test_imagecodecs.py::test_blosc_roundtrip[2-zstd-noshuffle-None-1] PASSED [ 14%] tests/test_imagecodecs.py::test_blosc_roundtrip[2-zstd-noshuffle-None-6] PASSED [ 14%] tests/test_imagecodecs.py::test_blosc_roundtrip[2-zstd-noshuffle-1-1] PASSED [ 14%] tests/test_imagecodecs.py::test_blosc_roundtrip[2-zstd-noshuffle-1-6] PASSED [ 14%] tests/test_imagecodecs.py::test_blosc_roundtrip[2-zstd-shuffle-None-1] PASSED [ 14%] tests/test_imagecodecs.py::test_blosc_roundtrip[2-zstd-shuffle-None-6] PASSED [ 14%] tests/test_imagecodecs.py::test_blosc_roundtrip[2-zstd-shuffle-1-1] PASSED [ 14%] tests/test_imagecodecs.py::test_blosc_roundtrip[2-zstd-shuffle-1-6] PASSED [ 14%] tests/test_imagecodecs.py::test_blosc_roundtrip[2-zstd-bitshuffle-None-1] PASSED [ 14%] tests/test_imagecodecs.py::test_blosc_roundtrip[2-zstd-bitshuffle-None-6] PASSED [ 14%] tests/test_imagecodecs.py::test_blosc_roundtrip[2-zstd-bitshuffle-1-1] PASSED [ 14%] tests/test_imagecodecs.py::test_blosc_roundtrip[2-zstd-bitshuffle-1-6] PASSED [ 14%] tests/test_imagecodecs.py::test_aec_extended[name0-bytes] SKIPPED (g...) [ 14%] tests/test_imagecodecs.py::test_aec_extended[name0-numpy] SKIPPED (g...) [ 14%] tests/test_imagecodecs.py::test_aec_options[p256n01-basic] PASSED [ 14%] tests/test_imagecodecs.py::test_aec_options[p256n01-restricted] PASSED [ 14%] tests/test_imagecodecs.py::test_aec_options[p256n02-basic] PASSED [ 14%] tests/test_imagecodecs.py::test_aec_options[p256n02-restricted] PASSED [ 14%] tests/test_imagecodecs.py::test_aec_options[p256n03-basic] PASSED [ 14%] tests/test_imagecodecs.py::test_aec_options[p256n03-restricted] PASSED [ 14%] tests/test_imagecodecs.py::test_aec_options[p256n04-basic] PASSED [ 14%] tests/test_imagecodecs.py::test_aec_options[p256n04-restricted] PASSED [ 14%] tests/test_imagecodecs.py::test_aec_options[p256n05] PASSED [ 14%] tests/test_imagecodecs.py::test_aec_options[p256n06] PASSED [ 14%] tests/test_imagecodecs.py::test_aec_options[p256n07] PASSED [ 14%] tests/test_imagecodecs.py::test_aec_options[p256n08] PASSED [ 14%] tests/test_imagecodecs.py::test_aec_options[p256n09] PASSED [ 14%] tests/test_imagecodecs.py::test_aec_options[p256n10] PASSED [ 14%] tests/test_imagecodecs.py::test_aec_options[p256n11] PASSED [ 14%] tests/test_imagecodecs.py::test_aec_options[p256n12] PASSED [ 14%] tests/test_imagecodecs.py::test_aec_options[p256n13] PASSED [ 14%] tests/test_imagecodecs.py::test_aec_options[p256n14] PASSED [ 14%] tests/test_imagecodecs.py::test_aec_options[p256n15] PASSED [ 14%] tests/test_imagecodecs.py::test_aec_options[p256n16] PASSED [ 14%] tests/test_imagecodecs.py::test_aec_options[p512n17] PASSED [ 14%] tests/test_imagecodecs.py::test_aec_options[p512n18] PASSED [ 14%] tests/test_imagecodecs.py::test_aec_options[p512n19] PASSED [ 14%] tests/test_imagecodecs.py::test_aec_options[p512n20] PASSED [ 14%] tests/test_imagecodecs.py::test_aec_options[p512n21] PASSED [ 14%] tests/test_imagecodecs.py::test_aec_options[p512n22] PASSED [ 14%] tests/test_imagecodecs.py::test_aec_options[p512n23] PASSED [ 14%] tests/test_imagecodecs.py::test_aec_options[p512n24] PASSED [ 14%] tests/test_imagecodecs.py::test_aec_options[p512n25] PASSED [ 14%] tests/test_imagecodecs.py::test_aec_options[p512n26] PASSED [ 14%] tests/test_imagecodecs.py::test_aec_options[p512n27] PASSED [ 14%] tests/test_imagecodecs.py::test_aec_options[p512n28] PASSED [ 14%] tests/test_imagecodecs.py::test_aec_options[p512n29] PASSED [ 14%] tests/test_imagecodecs.py::test_aec_options[p512n30] PASSED [ 14%] tests/test_imagecodecs.py::test_aec_options[p512n31] PASSED [ 14%] tests/test_imagecodecs.py::test_aec_options[p512n32] PASSED [ 14%] tests/test_imagecodecs.py::test_pglz SKIPPED (pglz missing) [ 14%] tests/test_imagecodecs.py::test_rcomp[1-u1] PASSED [ 14%] tests/test_imagecodecs.py::test_rcomp[1-u2] PASSED [ 14%] tests/test_imagecodecs.py::test_rcomp[1-u4] PASSED [ 14%] tests/test_imagecodecs.py::test_rcomp[1-i1] PASSED [ 14%] tests/test_imagecodecs.py::test_rcomp[1-i2] PASSED [ 14%] tests/test_imagecodecs.py::test_rcomp[1-i4] PASSED [ 14%] tests/test_imagecodecs.py::test_rcomp[2-u1] PASSED [ 14%] tests/test_imagecodecs.py::test_rcomp[2-u2] PASSED [ 14%] tests/test_imagecodecs.py::test_rcomp[2-u4] PASSED [ 14%] tests/test_imagecodecs.py::test_rcomp[2-i1] PASSED [ 14%] tests/test_imagecodecs.py::test_rcomp[2-i2] PASSED [ 14%] tests/test_imagecodecs.py::test_rcomp[2-i4] PASSED [ 14%] tests/test_imagecodecs.py::test_rcomp[3-u1] PASSED [ 14%] tests/test_imagecodecs.py::test_rcomp[3-u2] PASSED [ 14%] tests/test_imagecodecs.py::test_rcomp[3-u4] PASSED [ 14%] tests/test_imagecodecs.py::test_rcomp[3-i1] PASSED [ 14%] tests/test_imagecodecs.py::test_rcomp[3-i2] PASSED [ 14%] tests/test_imagecodecs.py::test_rcomp[3-i4] PASSED [ 14%] tests/test_imagecodecs.py::test_rcomp[4-u1] PASSED [ 14%] tests/test_imagecodecs.py::test_rcomp[4-u2] PASSED [ 14%] tests/test_imagecodecs.py::test_rcomp[4-u4] PASSED [ 14%] tests/test_imagecodecs.py::test_rcomp[4-i1] PASSED [ 15%] tests/test_imagecodecs.py::test_rcomp[4-i2] PASSED [ 15%] tests/test_imagecodecs.py::test_rcomp[4-i4] PASSED [ 15%] tests/test_imagecodecs.py::test_jetraw SKIPPED (jetraw missing) [ 15%] tests/test_imagecodecs.py::test_rgbe_decode SKIPPED (rgbe missing) [ 15%] tests/test_imagecodecs.py::test_rgbe_roundtrip SKIPPED (rgbe missing) [ 15%] tests/test_imagecodecs.py::test_cms_profile PASSED [ 15%] tests/test_imagecodecs.py::test_cms_output_shape PASSED [ 15%] tests/test_imagecodecs.py::test_cms_format FAILED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg8-rgb-444-0-False] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg8-rgb-444-0-True] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg8-rgb-444-25-False] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg8-rgb-444-25-True] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg8-rgb-422-0-False] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg8-rgb-422-0-True] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg8-rgb-422-25-False] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg8-rgb-422-25-True] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg8-rgb-420-0-False] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg8-rgb-420-0-True] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg8-rgb-420-25-False] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg8-rgb-420-25-True] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg8-rgb-411-0-False] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg8-rgb-411-0-True] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg8-rgb-411-25-False] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg8-rgb-411-25-True] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg8-rgb-440-0-False] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg8-rgb-440-0-True] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg8-rgb-440-25-False] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg8-rgb-440-25-True] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg8-rgba-444-0-False] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg8-rgba-444-0-True] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg8-rgba-444-25-False] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg8-rgba-444-25-True] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg8-rgba-422-0-False] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg8-rgba-422-0-True] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg8-rgba-422-25-False] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg8-rgba-422-25-True] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg8-rgba-420-0-False] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg8-rgba-420-0-True] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg8-rgba-420-25-False] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg8-rgba-420-25-True] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg8-rgba-411-0-False] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg8-rgba-411-0-True] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg8-rgba-411-25-False] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg8-rgba-411-25-True] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg8-rgba-440-0-False] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg8-rgba-440-0-True] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg8-rgba-440-25-False] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg8-rgba-440-25-True] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg8-gray-444-0-False] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg8-gray-444-0-True] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg8-gray-444-25-False] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg8-gray-444-25-True] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg8-gray-422-0-False] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg8-gray-422-0-True] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg8-gray-422-25-False] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg8-gray-422-25-True] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg8-gray-420-0-False] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg8-gray-420-0-True] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg8-gray-420-25-False] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg8-gray-420-25-True] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg8-gray-411-0-False] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg8-gray-411-0-True] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg8-gray-411-25-False] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg8-gray-411-25-True] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg8-gray-440-0-False] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg8-gray-440-0-True] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg8-gray-440-25-False] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg8-gray-440-25-True] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-rgb-444-0-False] SKIPPED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-rgb-444-0-True] SKIPPED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-rgb-444-25-False] SKIPPED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-rgb-444-25-True] SKIPPED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-rgb-422-0-False] SKIPPED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-rgb-422-0-True] SKIPPED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-rgb-422-25-False] SKIPPED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-rgb-422-25-True] SKIPPED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-rgb-420-0-False] SKIPPED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-rgb-420-0-True] SKIPPED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-rgb-420-25-False] SKIPPED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-rgb-420-25-True] SKIPPED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-rgb-411-0-False] SKIPPED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-rgb-411-0-True] SKIPPED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-rgb-411-25-False] SKIPPED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-rgb-411-25-True] SKIPPED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-rgb-440-0-False] SKIPPED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-rgb-440-0-True] SKIPPED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-rgb-440-25-False] SKIPPED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-rgb-440-25-True] SKIPPED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-rgba-444-0-False] SKIPPED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-rgba-444-0-True] SKIPPED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-rgba-444-25-False] SKIPPED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-rgba-444-25-True] SKIPPED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-rgba-422-0-False] SKIPPED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-rgba-422-0-True] SKIPPED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-rgba-422-25-False] SKIPPED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-rgba-422-25-True] SKIPPED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-rgba-420-0-False] SKIPPED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-rgba-420-0-True] SKIPPED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-rgba-420-25-False] SKIPPED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-rgba-420-25-True] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-rgba-411-0-False] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-rgba-411-0-True] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-rgba-411-25-False] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-rgba-411-25-True] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-rgba-440-0-False] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-rgba-440-0-True] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-rgba-440-25-False] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-rgba-440-25-True] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-gray-444-0-False] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-gray-444-0-True] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-gray-444-25-False] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-gray-444-25-True] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-gray-422-0-False] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-gray-422-0-True] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-gray-422-25-False] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-gray-422-25-True] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-gray-420-0-False] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-gray-420-0-True] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-gray-420-25-False] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-gray-420-25-True] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-gray-411-0-False] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-gray-411-0-True] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-gray-411-25-False] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-gray-411-25-True] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-gray-440-0-False] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-gray-440-0-True] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-gray-440-25-False] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-gray-440-25-True] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[mozjpeg-rgb-444-0-False] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[mozjpeg-rgb-444-0-True] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[mozjpeg-rgb-444-25-False] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[mozjpeg-rgb-444-25-True] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[mozjpeg-rgb-422-0-False] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[mozjpeg-rgb-422-0-True] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[mozjpeg-rgb-422-25-False] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[mozjpeg-rgb-422-25-True] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[mozjpeg-rgb-420-0-False] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[mozjpeg-rgb-420-0-True] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[mozjpeg-rgb-420-25-False] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[mozjpeg-rgb-420-25-True] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[mozjpeg-rgb-411-0-False] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[mozjpeg-rgb-411-0-True] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[mozjpeg-rgb-411-25-False] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[mozjpeg-rgb-411-25-True] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[mozjpeg-rgb-440-0-False] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[mozjpeg-rgb-440-0-True] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[mozjpeg-rgb-440-25-False] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[mozjpeg-rgb-440-25-True] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[mozjpeg-rgba-444-0-False] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[mozjpeg-rgba-444-0-True] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[mozjpeg-rgba-444-25-False] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[mozjpeg-rgba-444-25-True] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[mozjpeg-rgba-422-0-False] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[mozjpeg-rgba-422-0-True] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[mozjpeg-rgba-422-25-False] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[mozjpeg-rgba-422-25-True] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[mozjpeg-rgba-420-0-False] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[mozjpeg-rgba-420-0-True] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[mozjpeg-rgba-420-25-False] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[mozjpeg-rgba-420-25-True] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[mozjpeg-rgba-411-0-False] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[mozjpeg-rgba-411-0-True] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[mozjpeg-rgba-411-25-False] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[mozjpeg-rgba-411-25-True] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[mozjpeg-rgba-440-0-False] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[mozjpeg-rgba-440-0-True] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[mozjpeg-rgba-440-25-False] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[mozjpeg-rgba-440-25-True] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[mozjpeg-gray-444-0-False] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[mozjpeg-gray-444-0-True] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[mozjpeg-gray-444-25-False] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[mozjpeg-gray-444-25-True] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[mozjpeg-gray-422-0-False] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[mozjpeg-gray-422-0-True] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[mozjpeg-gray-422-25-False] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[mozjpeg-gray-422-25-True] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[mozjpeg-gray-420-0-False] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[mozjpeg-gray-420-0-True] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[mozjpeg-gray-420-25-False] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[mozjpeg-gray-420-25-True] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[mozjpeg-gray-411-0-False] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[mozjpeg-gray-411-0-True] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[mozjpeg-gray-411-25-False] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[mozjpeg-gray-411-25-True] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[mozjpeg-gray-440-0-False] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[mozjpeg-gray-440-0-True] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[mozjpeg-gray-440-25-False] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[mozjpeg-gray-440-25-True] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg8_decode[new] PASSED [ 16%] tests/test_imagecodecs.py::test_jpeg8_decode[out] PASSED [ 16%] tests/test_imagecodecs.py::test_jpeg12_decode[new] SKIPPED (jpeg12 m...) [ 16%] tests/test_imagecodecs.py::test_jpeg12_decode[out] SKIPPED (jpeg12 m...) [ 16%] tests/test_imagecodecs.py::test_jpeg12_decode[bytearray] SKIPPED (jp...) [ 16%] tests/test_imagecodecs.py::test_jpeg_rgb_mode PASSED [ 16%] tests/test_imagecodecs.py::test_mozjpeg SKIPPED (mozjpeg missing) [ 16%] tests/test_imagecodecs.py::test_ljpeg[1px.ljp-result0-ljpeg] SKIPPED [ 16%] tests/test_imagecodecs.py::test_ljpeg[1px.ljp-result0-jpegsof3] SKIPPED [ 16%] tests/test_imagecodecs.py::test_ljpeg[2ch.ljp-result1-ljpeg] SKIPPED [ 16%] tests/test_imagecodecs.py::test_ljpeg[2ch.ljp-result1-jpegsof3] SKIPPED [ 16%] tests/test_imagecodecs.py::test_ljpeg[2dht.ljp-result2-ljpeg] SKIPPED [ 17%] tests/test_imagecodecs.py::test_ljpeg[2dht.ljp-result2-jpegsof3] SKIPPED [ 17%] tests/test_imagecodecs.py::test_ljpeg[3dht.ljp-result3-ljpeg] SKIPPED [ 17%] tests/test_imagecodecs.py::test_ljpeg[3dht.ljp-result3-jpegsof3] SKIPPED [ 17%] tests/test_imagecodecs.py::test_ljpeg[gray16.ljp-result4-ljpeg] SKIPPED [ 17%] tests/test_imagecodecs.py::test_ljpeg[gray16.ljp-result4-jpegsof3] SKIPPED [ 17%] tests/test_imagecodecs.py::test_ljpeg[gray8.ljp-result5-ljpeg] SKIPPED [ 17%] tests/test_imagecodecs.py::test_ljpeg[gray8.ljp-result5-jpegsof3] SKIPPED [ 17%] tests/test_imagecodecs.py::test_ljpeg[rgb24.ljp-result6-ljpeg] SKIPPED [ 17%] tests/test_imagecodecs.py::test_ljpeg[rgb24.ljp-result6-jpegsof3] SKIPPED [ 17%] tests/test_imagecodecs.py::test_ljpeg[dng0.ljp-result7-ljpeg] SKIPPED [ 17%] tests/test_imagecodecs.py::test_ljpeg[dng0.ljp-result7-jpegsof3] SKIPPED [ 17%] tests/test_imagecodecs.py::test_ljpeg[dng1.ljp-result8-ljpeg] SKIPPED [ 17%] tests/test_imagecodecs.py::test_ljpeg[dng1.ljp-result8-jpegsof3] SKIPPED [ 17%] tests/test_imagecodecs.py::test_ljpeg[dng2.ljp-result9-ljpeg] SKIPPED [ 17%] tests/test_imagecodecs.py::test_ljpeg[dng2.ljp-result9-jpegsof3] SKIPPED [ 17%] tests/test_imagecodecs.py::test_ljpeg[dng3.ljp-result10-ljpeg] SKIPPED [ 17%] tests/test_imagecodecs.py::test_ljpeg[dng3.ljp-result10-jpegsof3] SKIPPED [ 17%] tests/test_imagecodecs.py::test_ljpeg[dng4.ljp-result11-ljpeg] SKIPPED [ 17%] tests/test_imagecodecs.py::test_ljpeg[dng4.ljp-result11-jpegsof3] SKIPPED [ 17%] tests/test_imagecodecs.py::test_ljpeg[dng5.ljp-result12-ljpeg] SKIPPED [ 17%] tests/test_imagecodecs.py::test_ljpeg[dng5.ljp-result12-jpegsof3] SKIPPED [ 17%] tests/test_imagecodecs.py::test_ljpeg[dng6.ljp-result13-ljpeg] SKIPPED [ 17%] tests/test_imagecodecs.py::test_ljpeg[dng6.ljp-result13-jpegsof3] SKIPPED [ 17%] tests/test_imagecodecs.py::test_ljpeg[dng7.ljp-result14-ljpeg] SKIPPED [ 17%] tests/test_imagecodecs.py::test_ljpeg[dng7.ljp-result14-jpegsof3] SKIPPED [ 17%] tests/test_imagecodecs.py::test_ljpeg[dcm1-8bit.ljp-result15-ljpeg] SKIPPED [ 17%] tests/test_imagecodecs.py::test_ljpeg[dcm1-8bit.ljp-result15-jpegsof3] SKIPPED [ 17%] tests/test_imagecodecs.py::test_ljpeg[dcm1.ljp-result16-ljpeg] SKIPPED [ 17%] tests/test_imagecodecs.py::test_ljpeg[dcm1.ljp-result16-jpegsof3] SKIPPED [ 17%] tests/test_imagecodecs.py::test_ljpeg[dcm2.ljp-result17-ljpeg] SKIPPED [ 17%] tests/test_imagecodecs.py::test_ljpeg[dcm2.ljp-result17-jpegsof3] SKIPPED [ 17%] tests/test_imagecodecs.py::test_ljpeg[dcm3.ljp-result18-ljpeg] SKIPPED [ 17%] tests/test_imagecodecs.py::test_ljpeg[dcm3.ljp-result18-jpegsof3] SKIPPED [ 17%] tests/test_imagecodecs.py::test_ljpeg[dcm4.ljp-result19-ljpeg] SKIPPED [ 17%] tests/test_imagecodecs.py::test_ljpeg[dcm4.ljp-result19-jpegsof3] SKIPPED [ 17%] tests/test_imagecodecs.py::test_ljpeg[dcm5.ljp-result20-ljpeg] SKIPPED [ 17%] tests/test_imagecodecs.py::test_ljpeg[dcm5.ljp-result20-jpegsof3] SKIPPED [ 17%] tests/test_imagecodecs.py::test_ljpeg[dcm6.ljp-result21-ljpeg] SKIPPED [ 17%] tests/test_imagecodecs.py::test_ljpeg[dcm6.ljp-result21-jpegsof3] SKIPPED [ 17%] tests/test_imagecodecs.py::test_ljpeg[dcm7.ljp-result22-ljpeg] SKIPPED [ 17%] tests/test_imagecodecs.py::test_ljpeg[dcm7.ljp-result22-jpegsof3] SKIPPED [ 17%] tests/test_imagecodecs.py::test_ljpeg[linearraw.ljp-result23-ljpeg] SKIPPED [ 17%] tests/test_imagecodecs.py::test_ljpeg[linearraw.ljp-result23-jpegsof3] SKIPPED [ 17%] tests/test_imagecodecs.py::test_ljpeg[pvrg.ljp-result24-ljpeg] SKIPPED [ 17%] tests/test_imagecodecs.py::test_ljpeg[pvrg.ljp-result24-jpegsof3] SKIPPED [ 17%] tests/test_imagecodecs.py::test_jpegsof3[jpegsof3-gray8.ljp-new] SKIPPED [ 17%] tests/test_imagecodecs.py::test_jpegsof3[jpegsof3-gray8.ljp-out] SKIPPED [ 17%] tests/test_imagecodecs.py::test_jpegsof3[jpegsof3-gray8.ljp-bytearray] SKIPPED [ 17%] tests/test_imagecodecs.py::test_jpegsof3[jpegsof3-gray16.ljp-new] SKIPPED [ 17%] tests/test_imagecodecs.py::test_jpegsof3[jpegsof3-gray16.ljp-out] SKIPPED [ 17%] tests/test_imagecodecs.py::test_jpegsof3[jpegsof3-gray16.ljp-bytearray] SKIPPED [ 17%] tests/test_imagecodecs.py::test_jpegsof3[ljpeg-gray8.ljp-new] SKIPPED [ 17%] tests/test_imagecodecs.py::test_jpegsof3[ljpeg-gray8.ljp-out] SKIPPED [ 17%] tests/test_imagecodecs.py::test_jpegsof3[ljpeg-gray8.ljp-bytearray] SKIPPED [ 17%] tests/test_imagecodecs.py::test_jpegsof3[ljpeg-gray16.ljp-new] SKIPPED [ 17%] tests/test_imagecodecs.py::test_jpegsof3[ljpeg-gray16.ljp-out] SKIPPED [ 17%] tests/test_imagecodecs.py::test_jpegsof3[ljpeg-gray16.ljp-bytearray] SKIPPED [ 17%] tests/test_imagecodecs.py::test_jpegxl_planar[uint8] SKIPPED (jpegxl...) [ 17%] tests/test_imagecodecs.py::test_jpegxl_planar[uint16] SKIPPED (jpegx...) [ 17%] tests/test_imagecodecs.py::test_jpegxl_planar[float16] SKIPPED (jpeg...) [ 17%] tests/test_imagecodecs.py::test_jpegxl_planar[float32] SKIPPED (jpeg...) [ 17%] tests/test_imagecodecs.py::test_jpegxl_bitspersample SKIPPED (jpegxl...) [ 17%] tests/test_imagecodecs.py::test_jpegxr_decode[new] PASSED [ 17%] tests/test_imagecodecs.py::test_jpegxr_decode[out] PASSED [ 17%] tests/test_imagecodecs.py::test_jpegxr_decode[bytearray] PASSED [ 17%] tests/test_imagecodecs.py::test_jpegxr_fixedpoint[False] PASSED [ 17%] tests/test_imagecodecs.py::test_jpegxr_fixedpoint[True] PASSED [ 17%] tests/test_imagecodecs.py::test_avif_strict_disabled PASSED [ 17%] tests/test_imagecodecs.py::test_avif_encoder[auto] SKIPPED (avif mis...) [ 17%] tests/test_imagecodecs.py::test_avif_encoder[aom] SKIPPED (avif missing) [ 17%] tests/test_imagecodecs.py::test_avif_encoder[rav1e] SKIPPED (avif mi...) [ 17%] tests/test_imagecodecs.py::test_avif_encoder[svt] SKIPPED (avif missing) [ 17%] tests/test_imagecodecs.py::test_jpegls_decode[new] SKIPPED (jpegls m...) [ 17%] tests/test_imagecodecs.py::test_jpegls_decode[out] SKIPPED (jpegls m...) [ 17%] tests/test_imagecodecs.py::test_jpegls_decode[bytearray] SKIPPED (jp...) [ 17%] tests/test_imagecodecs.py::test_brunsli_decode[new] SKIPPED (brunsli...) [ 17%] tests/test_imagecodecs.py::test_brunsli_decode[out] SKIPPED (brunsli...) [ 17%] tests/test_imagecodecs.py::test_brunsli_decode[bytearray] SKIPPED (b...) [ 17%] tests/test_imagecodecs.py::test_brunsli_encode_jpeg SKIPPED (brunsli...) [ 17%] tests/test_imagecodecs.py::test_webp_decode[new] PASSED [ 17%] tests/test_imagecodecs.py::test_webp_decode[out] PASSED [ 17%] tests/test_imagecodecs.py::test_webp_decode[bytearray] PASSED [ 17%] tests/test_imagecodecs.py::test_webp_opaque PASSED [ 17%] tests/test_imagecodecs.py::test_zfp[float32-rgba-new-new-mode0-None] FAILED [ 17%] tests/test_imagecodecs.py::test_zfp[float32-rgba-new-new-mode0-omp] FAILED [ 17%] tests/test_imagecodecs.py::test_zfp[float32-rgba-new-new-mode1-None] FAILED [ 17%] tests/test_imagecodecs.py::test_zfp[float32-rgba-new-new-mode1-omp] FAILED [ 17%] tests/test_imagecodecs.py::test_zfp[float32-rgba-new-out-mode0-None] FAILED [ 17%] tests/test_imagecodecs.py::test_zfp[float32-rgba-new-out-mode0-omp] FAILED [ 17%] tests/test_imagecodecs.py::test_zfp[float32-rgba-new-out-mode1-None] FAILED [ 17%] tests/test_imagecodecs.py::test_zfp[float32-rgba-new-out-mode1-omp] FAILED [ 17%] tests/test_imagecodecs.py::test_zfp[float32-rgba-new-bytearray-mode0-None] FAILED [ 17%] tests/test_imagecodecs.py::test_zfp[float32-rgba-new-bytearray-mode0-omp] FAILED [ 17%] tests/test_imagecodecs.py::test_zfp[float32-rgba-new-bytearray-mode1-None] FAILED [ 17%] tests/test_imagecodecs.py::test_zfp[float32-rgba-new-bytearray-mode1-omp] FAILED [ 17%] tests/test_imagecodecs.py::test_zfp[float32-rgba-out-new-mode0-None] FAILED [ 17%] tests/test_imagecodecs.py::test_zfp[float32-rgba-out-new-mode0-omp] FAILED [ 17%] tests/test_imagecodecs.py::test_zfp[float32-rgba-out-new-mode1-None] FAILED [ 17%] tests/test_imagecodecs.py::test_zfp[float32-rgba-out-new-mode1-omp] FAILED [ 17%] tests/test_imagecodecs.py::test_zfp[float32-rgba-out-out-mode0-None] FAILED [ 17%] tests/test_imagecodecs.py::test_zfp[float32-rgba-out-out-mode0-omp] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-rgba-out-out-mode1-None] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-rgba-out-out-mode1-omp] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-rgba-out-bytearray-mode0-None] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-rgba-out-bytearray-mode0-omp] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-rgba-out-bytearray-mode1-None] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-rgba-out-bytearray-mode1-omp] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-rgba-bytearray-new-mode0-None] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-rgba-bytearray-new-mode0-omp] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-rgba-bytearray-new-mode1-None] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-rgba-bytearray-new-mode1-omp] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-rgba-bytearray-out-mode0-None] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-rgba-bytearray-out-mode0-omp] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-rgba-bytearray-out-mode1-None] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-rgba-bytearray-out-mode1-omp] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-rgba-bytearray-bytearray-mode0-None] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-rgba-bytearray-bytearray-mode0-omp] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-rgba-bytearray-bytearray-mode1-None] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-rgba-bytearray-bytearray-mode1-omp] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-view-new-new-mode0-None] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-view-new-new-mode0-omp] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-view-new-new-mode1-None] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-view-new-new-mode1-omp] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-view-new-out-mode0-None] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-view-new-out-mode0-omp] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-view-new-out-mode1-None] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-view-new-out-mode1-omp] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-view-new-bytearray-mode0-None] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-view-new-bytearray-mode0-omp] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-view-new-bytearray-mode1-None] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-view-new-bytearray-mode1-omp] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-view-out-new-mode0-None] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-view-out-new-mode0-omp] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-view-out-new-mode1-None] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-view-out-new-mode1-omp] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-view-out-out-mode0-None] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-view-out-out-mode0-omp] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-view-out-out-mode1-None] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-view-out-out-mode1-omp] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-view-out-bytearray-mode0-None] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-view-out-bytearray-mode0-omp] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-view-out-bytearray-mode1-None] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-view-out-bytearray-mode1-omp] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-view-bytearray-new-mode0-None] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-view-bytearray-new-mode0-omp] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-view-bytearray-new-mode1-None] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-view-bytearray-new-mode1-omp] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-view-bytearray-out-mode0-None] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-view-bytearray-out-mode0-omp] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-view-bytearray-out-mode1-None] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-view-bytearray-out-mode1-omp] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-view-bytearray-bytearray-mode0-None] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-view-bytearray-bytearray-mode0-omp] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-view-bytearray-bytearray-mode1-None] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-view-bytearray-bytearray-mode1-omp] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-gray-new-new-mode0-None] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-gray-new-new-mode0-omp] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-gray-new-new-mode1-None] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-gray-new-new-mode1-omp] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-gray-new-out-mode0-None] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-gray-new-out-mode0-omp] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-gray-new-out-mode1-None] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-gray-new-out-mode1-omp] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-gray-new-bytearray-mode0-None] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-gray-new-bytearray-mode0-omp] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-gray-new-bytearray-mode1-None] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-gray-new-bytearray-mode1-omp] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-gray-out-new-mode0-None] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-gray-out-new-mode0-omp] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-gray-out-new-mode1-None] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-gray-out-new-mode1-omp] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-gray-out-out-mode0-None] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-gray-out-out-mode0-omp] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-gray-out-out-mode1-None] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-gray-out-out-mode1-omp] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-gray-out-bytearray-mode0-None] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-gray-out-bytearray-mode0-omp] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-gray-out-bytearray-mode1-None] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-gray-out-bytearray-mode1-omp] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-gray-bytearray-new-mode0-None] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-gray-bytearray-new-mode0-omp] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-gray-bytearray-new-mode1-None] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-gray-bytearray-new-mode1-omp] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-gray-bytearray-out-mode0-None] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-gray-bytearray-out-mode0-omp] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-gray-bytearray-out-mode1-None] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-gray-bytearray-out-mode1-omp] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-gray-bytearray-bytearray-mode0-None] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-gray-bytearray-bytearray-mode0-omp] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-gray-bytearray-bytearray-mode1-None] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-gray-bytearray-bytearray-mode1-omp] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-line-new-new-mode0-None] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-line-new-new-mode0-omp] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-line-new-new-mode1-None] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-line-new-new-mode1-omp] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-line-new-out-mode0-None] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-line-new-out-mode0-omp] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-line-new-out-mode1-None] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-line-new-out-mode1-omp] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-line-new-bytearray-mode0-None] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-line-new-bytearray-mode0-omp] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float32-line-new-bytearray-mode1-None] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float32-line-new-bytearray-mode1-omp] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float32-line-out-new-mode0-None] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float32-line-out-new-mode0-omp] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float32-line-out-new-mode1-None] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float32-line-out-new-mode1-omp] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float32-line-out-out-mode0-None] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float32-line-out-out-mode0-omp] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float32-line-out-out-mode1-None] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float32-line-out-out-mode1-omp] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float32-line-out-bytearray-mode0-None] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float32-line-out-bytearray-mode0-omp] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float32-line-out-bytearray-mode1-None] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float32-line-out-bytearray-mode1-omp] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float32-line-bytearray-new-mode0-None] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float32-line-bytearray-new-mode0-omp] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float32-line-bytearray-new-mode1-None] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float32-line-bytearray-new-mode1-omp] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float32-line-bytearray-out-mode0-None] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float32-line-bytearray-out-mode0-omp] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float32-line-bytearray-out-mode1-None] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float32-line-bytearray-out-mode1-omp] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float32-line-bytearray-bytearray-mode0-None] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float32-line-bytearray-bytearray-mode0-omp] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float32-line-bytearray-bytearray-mode1-None] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float32-line-bytearray-bytearray-mode1-omp] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-rgba-new-new-mode0-None] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-rgba-new-new-mode0-omp] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-rgba-new-new-mode1-None] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-rgba-new-new-mode1-omp] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-rgba-new-out-mode0-None] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-rgba-new-out-mode0-omp] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-rgba-new-out-mode1-None] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-rgba-new-out-mode1-omp] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-rgba-new-bytearray-mode0-None] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-rgba-new-bytearray-mode0-omp] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-rgba-new-bytearray-mode1-None] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-rgba-new-bytearray-mode1-omp] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-rgba-out-new-mode0-None] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-rgba-out-new-mode0-omp] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-rgba-out-new-mode1-None] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-rgba-out-new-mode1-omp] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-rgba-out-out-mode0-None] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-rgba-out-out-mode0-omp] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-rgba-out-out-mode1-None] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-rgba-out-out-mode1-omp] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-rgba-out-bytearray-mode0-None] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-rgba-out-bytearray-mode0-omp] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-rgba-out-bytearray-mode1-None] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-rgba-out-bytearray-mode1-omp] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-rgba-bytearray-new-mode0-None] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-rgba-bytearray-new-mode0-omp] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-rgba-bytearray-new-mode1-None] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-rgba-bytearray-new-mode1-omp] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-rgba-bytearray-out-mode0-None] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-rgba-bytearray-out-mode0-omp] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-rgba-bytearray-out-mode1-None] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-rgba-bytearray-out-mode1-omp] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-rgba-bytearray-bytearray-mode0-None] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-rgba-bytearray-bytearray-mode0-omp] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-rgba-bytearray-bytearray-mode1-None] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-rgba-bytearray-bytearray-mode1-omp] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-view-new-new-mode0-None] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-view-new-new-mode0-omp] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-view-new-new-mode1-None] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-view-new-new-mode1-omp] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-view-new-out-mode0-None] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-view-new-out-mode0-omp] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-view-new-out-mode1-None] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-view-new-out-mode1-omp] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-view-new-bytearray-mode0-None] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-view-new-bytearray-mode0-omp] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-view-new-bytearray-mode1-None] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-view-new-bytearray-mode1-omp] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-view-out-new-mode0-None] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-view-out-new-mode0-omp] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-view-out-new-mode1-None] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-view-out-new-mode1-omp] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-view-out-out-mode0-None] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-view-out-out-mode0-omp] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-view-out-out-mode1-None] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-view-out-out-mode1-omp] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-view-out-bytearray-mode0-None] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-view-out-bytearray-mode0-omp] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-view-out-bytearray-mode1-None] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-view-out-bytearray-mode1-omp] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-view-bytearray-new-mode0-None] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-view-bytearray-new-mode0-omp] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-view-bytearray-new-mode1-None] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-view-bytearray-new-mode1-omp] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-view-bytearray-out-mode0-None] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-view-bytearray-out-mode0-omp] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-view-bytearray-out-mode1-None] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-view-bytearray-out-mode1-omp] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-view-bytearray-bytearray-mode0-None] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-view-bytearray-bytearray-mode0-omp] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-view-bytearray-bytearray-mode1-None] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-view-bytearray-bytearray-mode1-omp] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-gray-new-new-mode0-None] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-gray-new-new-mode0-omp] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-gray-new-new-mode1-None] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[float64-gray-new-new-mode1-omp] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[float64-gray-new-out-mode0-None] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[float64-gray-new-out-mode0-omp] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[float64-gray-new-out-mode1-None] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[float64-gray-new-out-mode1-omp] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[float64-gray-new-bytearray-mode0-None] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[float64-gray-new-bytearray-mode0-omp] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[float64-gray-new-bytearray-mode1-None] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[float64-gray-new-bytearray-mode1-omp] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[float64-gray-out-new-mode0-None] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[float64-gray-out-new-mode0-omp] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[float64-gray-out-new-mode1-None] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[float64-gray-out-new-mode1-omp] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[float64-gray-out-out-mode0-None] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[float64-gray-out-out-mode0-omp] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[float64-gray-out-out-mode1-None] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[float64-gray-out-out-mode1-omp] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[float64-gray-out-bytearray-mode0-None] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[float64-gray-out-bytearray-mode0-omp] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[float64-gray-out-bytearray-mode1-None] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[float64-gray-out-bytearray-mode1-omp] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[float64-gray-bytearray-new-mode0-None] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[float64-gray-bytearray-new-mode0-omp] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[float64-gray-bytearray-new-mode1-None] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[float64-gray-bytearray-new-mode1-omp] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[float64-gray-bytearray-out-mode0-None] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[float64-gray-bytearray-out-mode0-omp] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[float64-gray-bytearray-out-mode1-None] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[float64-gray-bytearray-out-mode1-omp] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[float64-gray-bytearray-bytearray-mode0-None] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[float64-gray-bytearray-bytearray-mode0-omp] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[float64-gray-bytearray-bytearray-mode1-None] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[float64-gray-bytearray-bytearray-mode1-omp] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[float64-line-new-new-mode0-None] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[float64-line-new-new-mode0-omp] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[float64-line-new-new-mode1-None] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[float64-line-new-new-mode1-omp] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[float64-line-new-out-mode0-None] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[float64-line-new-out-mode0-omp] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[float64-line-new-out-mode1-None] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[float64-line-new-out-mode1-omp] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[float64-line-new-bytearray-mode0-None] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[float64-line-new-bytearray-mode0-omp] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[float64-line-new-bytearray-mode1-None] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[float64-line-new-bytearray-mode1-omp] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[float64-line-out-new-mode0-None] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[float64-line-out-new-mode0-omp] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[float64-line-out-new-mode1-None] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[float64-line-out-new-mode1-omp] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[float64-line-out-out-mode0-None] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[float64-line-out-out-mode0-omp] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[float64-line-out-out-mode1-None] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[float64-line-out-out-mode1-omp] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[float64-line-out-bytearray-mode0-None] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[float64-line-out-bytearray-mode0-omp] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[float64-line-out-bytearray-mode1-None] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[float64-line-out-bytearray-mode1-omp] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[float64-line-bytearray-new-mode0-None] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[float64-line-bytearray-new-mode0-omp] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[float64-line-bytearray-new-mode1-None] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[float64-line-bytearray-new-mode1-omp] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[float64-line-bytearray-out-mode0-None] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[float64-line-bytearray-out-mode0-omp] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[float64-line-bytearray-out-mode1-None] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[float64-line-bytearray-out-mode1-omp] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[float64-line-bytearray-bytearray-mode0-None] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[float64-line-bytearray-bytearray-mode0-omp] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[float64-line-bytearray-bytearray-mode1-None] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[float64-line-bytearray-bytearray-mode1-omp] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[int32-rgba-new-new-mode0-None] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[int32-rgba-new-new-mode0-omp] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[int32-rgba-new-new-mode1-None] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[int32-rgba-new-new-mode1-omp] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[int32-rgba-new-out-mode0-None] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[int32-rgba-new-out-mode0-omp] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[int32-rgba-new-out-mode1-None] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[int32-rgba-new-out-mode1-omp] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[int32-rgba-new-bytearray-mode0-None] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[int32-rgba-new-bytearray-mode0-omp] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[int32-rgba-new-bytearray-mode1-None] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[int32-rgba-new-bytearray-mode1-omp] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[int32-rgba-out-new-mode0-None] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[int32-rgba-out-new-mode0-omp] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[int32-rgba-out-new-mode1-None] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[int32-rgba-out-new-mode1-omp] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[int32-rgba-out-out-mode0-None] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[int32-rgba-out-out-mode0-omp] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[int32-rgba-out-out-mode1-None] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[int32-rgba-out-out-mode1-omp] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[int32-rgba-out-bytearray-mode0-None] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[int32-rgba-out-bytearray-mode0-omp] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[int32-rgba-out-bytearray-mode1-None] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[int32-rgba-out-bytearray-mode1-omp] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[int32-rgba-bytearray-new-mode0-None] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[int32-rgba-bytearray-new-mode0-omp] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[int32-rgba-bytearray-new-mode1-None] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[int32-rgba-bytearray-new-mode1-omp] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[int32-rgba-bytearray-out-mode0-None] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[int32-rgba-bytearray-out-mode0-omp] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[int32-rgba-bytearray-out-mode1-None] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-rgba-bytearray-out-mode1-omp] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-rgba-bytearray-bytearray-mode0-None] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-rgba-bytearray-bytearray-mode0-omp] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-rgba-bytearray-bytearray-mode1-None] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-rgba-bytearray-bytearray-mode1-omp] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-view-new-new-mode0-None] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-view-new-new-mode0-omp] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-view-new-new-mode1-None] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-view-new-new-mode1-omp] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-view-new-out-mode0-None] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-view-new-out-mode0-omp] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-view-new-out-mode1-None] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-view-new-out-mode1-omp] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-view-new-bytearray-mode0-None] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-view-new-bytearray-mode0-omp] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-view-new-bytearray-mode1-None] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-view-new-bytearray-mode1-omp] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-view-out-new-mode0-None] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-view-out-new-mode0-omp] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-view-out-new-mode1-None] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-view-out-new-mode1-omp] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-view-out-out-mode0-None] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-view-out-out-mode0-omp] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-view-out-out-mode1-None] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-view-out-out-mode1-omp] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-view-out-bytearray-mode0-None] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-view-out-bytearray-mode0-omp] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-view-out-bytearray-mode1-None] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-view-out-bytearray-mode1-omp] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-view-bytearray-new-mode0-None] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-view-bytearray-new-mode0-omp] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-view-bytearray-new-mode1-None] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-view-bytearray-new-mode1-omp] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-view-bytearray-out-mode0-None] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-view-bytearray-out-mode0-omp] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-view-bytearray-out-mode1-None] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-view-bytearray-out-mode1-omp] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-view-bytearray-bytearray-mode0-None] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-view-bytearray-bytearray-mode0-omp] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-view-bytearray-bytearray-mode1-None] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-view-bytearray-bytearray-mode1-omp] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-gray-new-new-mode0-None] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-gray-new-new-mode0-omp] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-gray-new-new-mode1-None] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-gray-new-new-mode1-omp] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-gray-new-out-mode0-None] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-gray-new-out-mode0-omp] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-gray-new-out-mode1-None] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-gray-new-out-mode1-omp] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-gray-new-bytearray-mode0-None] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-gray-new-bytearray-mode0-omp] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-gray-new-bytearray-mode1-None] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-gray-new-bytearray-mode1-omp] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-gray-out-new-mode0-None] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-gray-out-new-mode0-omp] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-gray-out-new-mode1-None] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-gray-out-new-mode1-omp] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-gray-out-out-mode0-None] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-gray-out-out-mode0-omp] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-gray-out-out-mode1-None] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-gray-out-out-mode1-omp] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-gray-out-bytearray-mode0-None] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-gray-out-bytearray-mode0-omp] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-gray-out-bytearray-mode1-None] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-gray-out-bytearray-mode1-omp] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-gray-bytearray-new-mode0-None] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-gray-bytearray-new-mode0-omp] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-gray-bytearray-new-mode1-None] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-gray-bytearray-new-mode1-omp] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-gray-bytearray-out-mode0-None] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-gray-bytearray-out-mode0-omp] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-gray-bytearray-out-mode1-None] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-gray-bytearray-out-mode1-omp] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-gray-bytearray-bytearray-mode0-None] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-gray-bytearray-bytearray-mode0-omp] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-gray-bytearray-bytearray-mode1-None] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-gray-bytearray-bytearray-mode1-omp] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-line-new-new-mode0-None] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-line-new-new-mode0-omp] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-line-new-new-mode1-None] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-line-new-new-mode1-omp] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-line-new-out-mode0-None] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-line-new-out-mode0-omp] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-line-new-out-mode1-None] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-line-new-out-mode1-omp] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-line-new-bytearray-mode0-None] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-line-new-bytearray-mode0-omp] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-line-new-bytearray-mode1-None] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-line-new-bytearray-mode1-omp] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-line-out-new-mode0-None] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-line-out-new-mode0-omp] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-line-out-new-mode1-None] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-line-out-new-mode1-omp] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-line-out-out-mode0-None] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-line-out-out-mode0-omp] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-line-out-out-mode1-None] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-line-out-out-mode1-omp] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-line-out-bytearray-mode0-None] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-line-out-bytearray-mode0-omp] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-line-out-bytearray-mode1-None] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-line-out-bytearray-mode1-omp] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int32-line-bytearray-new-mode0-None] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int32-line-bytearray-new-mode0-omp] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int32-line-bytearray-new-mode1-None] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int32-line-bytearray-new-mode1-omp] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int32-line-bytearray-out-mode0-None] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int32-line-bytearray-out-mode0-omp] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int32-line-bytearray-out-mode1-None] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int32-line-bytearray-out-mode1-omp] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int32-line-bytearray-bytearray-mode0-None] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int32-line-bytearray-bytearray-mode0-omp] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int32-line-bytearray-bytearray-mode1-None] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int32-line-bytearray-bytearray-mode1-omp] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-rgba-new-new-mode0-None] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-rgba-new-new-mode0-omp] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-rgba-new-new-mode1-None] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-rgba-new-new-mode1-omp] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-rgba-new-out-mode0-None] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-rgba-new-out-mode0-omp] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-rgba-new-out-mode1-None] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-rgba-new-out-mode1-omp] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-rgba-new-bytearray-mode0-None] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-rgba-new-bytearray-mode0-omp] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-rgba-new-bytearray-mode1-None] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-rgba-new-bytearray-mode1-omp] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-rgba-out-new-mode0-None] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-rgba-out-new-mode0-omp] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-rgba-out-new-mode1-None] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-rgba-out-new-mode1-omp] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-rgba-out-out-mode0-None] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-rgba-out-out-mode0-omp] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-rgba-out-out-mode1-None] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-rgba-out-out-mode1-omp] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-rgba-out-bytearray-mode0-None] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-rgba-out-bytearray-mode0-omp] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-rgba-out-bytearray-mode1-None] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-rgba-out-bytearray-mode1-omp] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-rgba-bytearray-new-mode0-None] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-rgba-bytearray-new-mode0-omp] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-rgba-bytearray-new-mode1-None] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-rgba-bytearray-new-mode1-omp] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-rgba-bytearray-out-mode0-None] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-rgba-bytearray-out-mode0-omp] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-rgba-bytearray-out-mode1-None] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-rgba-bytearray-out-mode1-omp] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-rgba-bytearray-bytearray-mode0-None] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-rgba-bytearray-bytearray-mode0-omp] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-rgba-bytearray-bytearray-mode1-None] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-rgba-bytearray-bytearray-mode1-omp] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-view-new-new-mode0-None] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-view-new-new-mode0-omp] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-view-new-new-mode1-None] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-view-new-new-mode1-omp] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-view-new-out-mode0-None] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-view-new-out-mode0-omp] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-view-new-out-mode1-None] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-view-new-out-mode1-omp] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-view-new-bytearray-mode0-None] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-view-new-bytearray-mode0-omp] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-view-new-bytearray-mode1-None] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-view-new-bytearray-mode1-omp] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-view-out-new-mode0-None] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-view-out-new-mode0-omp] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-view-out-new-mode1-None] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-view-out-new-mode1-omp] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-view-out-out-mode0-None] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-view-out-out-mode0-omp] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-view-out-out-mode1-None] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-view-out-out-mode1-omp] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-view-out-bytearray-mode0-None] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-view-out-bytearray-mode0-omp] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-view-out-bytearray-mode1-None] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-view-out-bytearray-mode1-omp] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-view-bytearray-new-mode0-None] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-view-bytearray-new-mode0-omp] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-view-bytearray-new-mode1-None] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-view-bytearray-new-mode1-omp] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-view-bytearray-out-mode0-None] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-view-bytearray-out-mode0-omp] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-view-bytearray-out-mode1-None] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-view-bytearray-out-mode1-omp] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-view-bytearray-bytearray-mode0-None] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-view-bytearray-bytearray-mode0-omp] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-view-bytearray-bytearray-mode1-None] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-view-bytearray-bytearray-mode1-omp] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-gray-new-new-mode0-None] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-gray-new-new-mode0-omp] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-gray-new-new-mode1-None] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-gray-new-new-mode1-omp] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-gray-new-out-mode0-None] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-gray-new-out-mode0-omp] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-gray-new-out-mode1-None] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-gray-new-out-mode1-omp] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-gray-new-bytearray-mode0-None] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-gray-new-bytearray-mode0-omp] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-gray-new-bytearray-mode1-None] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-gray-new-bytearray-mode1-omp] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-gray-out-new-mode0-None] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-gray-out-new-mode0-omp] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-gray-out-new-mode1-None] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-gray-out-new-mode1-omp] FAILED [ 23%] tests/test_imagecodecs.py::test_zfp[int64-gray-out-out-mode0-None] FAILED [ 23%] tests/test_imagecodecs.py::test_zfp[int64-gray-out-out-mode0-omp] FAILED [ 23%] tests/test_imagecodecs.py::test_zfp[int64-gray-out-out-mode1-None] FAILED [ 23%] tests/test_imagecodecs.py::test_zfp[int64-gray-out-out-mode1-omp] FAILED [ 23%] tests/test_imagecodecs.py::test_zfp[int64-gray-out-bytearray-mode0-None] FAILED [ 23%] tests/test_imagecodecs.py::test_zfp[int64-gray-out-bytearray-mode0-omp] FAILED [ 23%] tests/test_imagecodecs.py::test_zfp[int64-gray-out-bytearray-mode1-None] FAILED [ 23%] tests/test_imagecodecs.py::test_zfp[int64-gray-out-bytearray-mode1-omp] FAILED [ 23%] tests/test_imagecodecs.py::test_zfp[int64-gray-bytearray-new-mode0-None] FAILED [ 23%] tests/test_imagecodecs.py::test_zfp[int64-gray-bytearray-new-mode0-omp] FAILED [ 23%] tests/test_imagecodecs.py::test_zfp[int64-gray-bytearray-new-mode1-None] FAILED [ 23%] tests/test_imagecodecs.py::test_zfp[int64-gray-bytearray-new-mode1-omp] FAILED [ 23%] tests/test_imagecodecs.py::test_zfp[int64-gray-bytearray-out-mode0-None] FAILED [ 23%] tests/test_imagecodecs.py::test_zfp[int64-gray-bytearray-out-mode0-omp] FAILED [ 23%] tests/test_imagecodecs.py::test_zfp[int64-gray-bytearray-out-mode1-None] FAILED [ 23%] tests/test_imagecodecs.py::test_zfp[int64-gray-bytearray-out-mode1-omp] FAILED [ 23%] tests/test_imagecodecs.py::test_zfp[int64-gray-bytearray-bytearray-mode0-None] FAILED [ 23%] tests/test_imagecodecs.py::test_zfp[int64-gray-bytearray-bytearray-mode0-omp] FAILED [ 23%] tests/test_imagecodecs.py::test_zfp[int64-gray-bytearray-bytearray-mode1-None] FAILED [ 23%] tests/test_imagecodecs.py::test_zfp[int64-gray-bytearray-bytearray-mode1-omp] FAILED [ 23%] tests/test_imagecodecs.py::test_zfp[int64-line-new-new-mode0-None] FAILED [ 23%] tests/test_imagecodecs.py::test_zfp[int64-line-new-new-mode0-omp] FAILED [ 23%] tests/test_imagecodecs.py::test_zfp[int64-line-new-new-mode1-None] FAILED [ 23%] tests/test_imagecodecs.py::test_zfp[int64-line-new-new-mode1-omp] FAILED [ 23%] tests/test_imagecodecs.py::test_zfp[int64-line-new-out-mode0-None] FAILED [ 23%] tests/test_imagecodecs.py::test_zfp[int64-line-new-out-mode0-omp] FAILED [ 23%] tests/test_imagecodecs.py::test_zfp[int64-line-new-out-mode1-None] FAILED [ 23%] tests/test_imagecodecs.py::test_zfp[int64-line-new-out-mode1-omp] FAILED [ 23%] tests/test_imagecodecs.py::test_zfp[int64-line-new-bytearray-mode0-None] FAILED [ 23%] tests/test_imagecodecs.py::test_zfp[int64-line-new-bytearray-mode0-omp] FAILED [ 23%] tests/test_imagecodecs.py::test_zfp[int64-line-new-bytearray-mode1-None] FAILED [ 23%] tests/test_imagecodecs.py::test_zfp[int64-line-new-bytearray-mode1-omp] FAILED [ 23%] tests/test_imagecodecs.py::test_zfp[int64-line-out-new-mode0-None] FAILED [ 23%] tests/test_imagecodecs.py::test_zfp[int64-line-out-new-mode0-omp] FAILED [ 23%] tests/test_imagecodecs.py::test_zfp[int64-line-out-new-mode1-None] FAILED [ 23%] tests/test_imagecodecs.py::test_zfp[int64-line-out-new-mode1-omp] FAILED [ 23%] tests/test_imagecodecs.py::test_zfp[int64-line-out-out-mode0-None] FAILED [ 23%] tests/test_imagecodecs.py::test_zfp[int64-line-out-out-mode0-omp] FAILED [ 23%] tests/test_imagecodecs.py::test_zfp[int64-line-out-out-mode1-None] FAILED [ 23%] tests/test_imagecodecs.py::test_zfp[int64-line-out-out-mode1-omp] FAILED [ 23%] tests/test_imagecodecs.py::test_zfp[int64-line-out-bytearray-mode0-None] FAILED [ 23%] tests/test_imagecodecs.py::test_zfp[int64-line-out-bytearray-mode0-omp] FAILED [ 23%] tests/test_imagecodecs.py::test_zfp[int64-line-out-bytearray-mode1-None] FAILED [ 23%] tests/test_imagecodecs.py::test_zfp[int64-line-out-bytearray-mode1-omp] FAILED [ 23%] tests/test_imagecodecs.py::test_zfp[int64-line-bytearray-new-mode0-None] FAILED [ 23%] tests/test_imagecodecs.py::test_zfp[int64-line-bytearray-new-mode0-omp] FAILED [ 23%] tests/test_imagecodecs.py::test_zfp[int64-line-bytearray-new-mode1-None] FAILED [ 23%] tests/test_imagecodecs.py::test_zfp[int64-line-bytearray-new-mode1-omp] FAILED [ 23%] tests/test_imagecodecs.py::test_zfp[int64-line-bytearray-out-mode0-None] FAILED [ 23%] tests/test_imagecodecs.py::test_zfp[int64-line-bytearray-out-mode0-omp] FAILED [ 23%] tests/test_imagecodecs.py::test_zfp[int64-line-bytearray-out-mode1-None] FAILED [ 23%] tests/test_imagecodecs.py::test_zfp[int64-line-bytearray-out-mode1-omp] FAILED [ 23%] tests/test_imagecodecs.py::test_zfp[int64-line-bytearray-bytearray-mode0-None] FAILED [ 23%] tests/test_imagecodecs.py::test_zfp[int64-line-bytearray-bytearray-mode0-omp] FAILED [ 23%] tests/test_imagecodecs.py::test_zfp[int64-line-bytearray-bytearray-mode1-None] FAILED [ 23%] tests/test_imagecodecs.py::test_zfp[int64-line-bytearray-bytearray-mode1-omp] FAILED [ 23%] tests/test_imagecodecs.py::test_lerc[uint8-gray-new-new-None-None] FAILED [ 23%] tests/test_imagecodecs.py::test_lerc[uint8-gray-new-new-None-0.02] FAILED [ 23%] tests/test_imagecodecs.py::test_lerc[uint8-gray-new-new-True-None] FAILED [ 23%] tests/test_imagecodecs.py::test_lerc[uint8-gray-new-new-True-0.02] FAILED [ 23%] tests/test_imagecodecs.py::test_lerc[uint8-gray-new-out-None-None] FAILED [ 23%] tests/test_imagecodecs.py::test_lerc[uint8-gray-new-out-None-0.02] FAILED [ 23%] tests/test_imagecodecs.py::test_lerc[uint8-gray-new-out-True-None] FAILED [ 23%] tests/test_imagecodecs.py::test_lerc[uint8-gray-new-out-True-0.02] FAILED [ 23%] tests/test_imagecodecs.py::test_lerc[uint8-gray-new-bytearray-None-None] FAILED [ 23%] tests/test_imagecodecs.py::test_lerc[uint8-gray-new-bytearray-None-0.02] FAILED [ 23%] tests/test_imagecodecs.py::test_lerc[uint8-gray-new-bytearray-True-None] FAILED [ 23%] tests/test_imagecodecs.py::test_lerc[uint8-gray-new-bytearray-True-0.02] FAILED [ 23%] tests/test_imagecodecs.py::test_lerc[uint8-gray-out-new-None-None] FAILED [ 23%] tests/test_imagecodecs.py::test_lerc[uint8-gray-out-new-None-0.02] FAILED [ 23%] tests/test_imagecodecs.py::test_lerc[uint8-gray-out-new-True-None] FAILED [ 23%] tests/test_imagecodecs.py::test_lerc[uint8-gray-out-new-True-0.02] FAILED [ 23%] tests/test_imagecodecs.py::test_lerc[uint8-gray-out-out-None-None] FAILED [ 23%] tests/test_imagecodecs.py::test_lerc[uint8-gray-out-out-None-0.02] FAILED [ 23%] tests/test_imagecodecs.py::test_lerc[uint8-gray-out-out-True-None] FAILED [ 23%] tests/test_imagecodecs.py::test_lerc[uint8-gray-out-out-True-0.02] FAILED [ 23%] tests/test_imagecodecs.py::test_lerc[uint8-gray-out-bytearray-None-None] FAILED [ 23%] tests/test_imagecodecs.py::test_lerc[uint8-gray-out-bytearray-None-0.02] FAILED [ 23%] tests/test_imagecodecs.py::test_lerc[uint8-gray-out-bytearray-True-None] FAILED [ 23%] tests/test_imagecodecs.py::test_lerc[uint8-gray-out-bytearray-True-0.02] FAILED [ 23%] tests/test_imagecodecs.py::test_lerc[uint8-gray-bytearray-new-None-None] FAILED [ 23%] tests/test_imagecodecs.py::test_lerc[uint8-gray-bytearray-new-None-0.02] FAILED [ 23%] tests/test_imagecodecs.py::test_lerc[uint8-gray-bytearray-new-True-None] FAILED [ 23%] tests/test_imagecodecs.py::test_lerc[uint8-gray-bytearray-new-True-0.02] FAILED [ 23%] tests/test_imagecodecs.py::test_lerc[uint8-gray-bytearray-out-None-None] FAILED [ 23%] tests/test_imagecodecs.py::test_lerc[uint8-gray-bytearray-out-None-0.02] FAILED [ 23%] tests/test_imagecodecs.py::test_lerc[uint8-gray-bytearray-out-True-None] FAILED [ 23%] tests/test_imagecodecs.py::test_lerc[uint8-gray-bytearray-out-True-0.02] FAILED [ 23%] tests/test_imagecodecs.py::test_lerc[uint8-gray-bytearray-bytearray-None-None] FAILED [ 23%] tests/test_imagecodecs.py::test_lerc[uint8-gray-bytearray-bytearray-None-0.02] FAILED [ 23%] tests/test_imagecodecs.py::test_lerc[uint8-gray-bytearray-bytearray-True-None] FAILED [ 23%] tests/test_imagecodecs.py::test_lerc[uint8-gray-bytearray-bytearray-True-0.02] FAILED [ 23%] tests/test_imagecodecs.py::test_lerc[uint8-rgb-new-new-None-None] FAILED [ 23%] tests/test_imagecodecs.py::test_lerc[uint8-rgb-new-new-None-0.02] FAILED [ 23%] tests/test_imagecodecs.py::test_lerc[uint8-rgb-new-new-True-None] FAILED [ 23%] tests/test_imagecodecs.py::test_lerc[uint8-rgb-new-new-True-0.02] FAILED [ 23%] tests/test_imagecodecs.py::test_lerc[uint8-rgb-new-out-None-None] FAILED [ 23%] tests/test_imagecodecs.py::test_lerc[uint8-rgb-new-out-None-0.02] FAILED [ 23%] tests/test_imagecodecs.py::test_lerc[uint8-rgb-new-out-True-None] FAILED [ 23%] tests/test_imagecodecs.py::test_lerc[uint8-rgb-new-out-True-0.02] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-rgb-new-bytearray-None-None] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-rgb-new-bytearray-None-0.02] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-rgb-new-bytearray-True-None] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-rgb-new-bytearray-True-0.02] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-rgb-out-new-None-None] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-rgb-out-new-None-0.02] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-rgb-out-new-True-None] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-rgb-out-new-True-0.02] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-rgb-out-out-None-None] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-rgb-out-out-None-0.02] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-rgb-out-out-True-None] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-rgb-out-out-True-0.02] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-rgb-out-bytearray-None-None] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-rgb-out-bytearray-None-0.02] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-rgb-out-bytearray-True-None] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-rgb-out-bytearray-True-0.02] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-rgb-bytearray-new-None-None] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-rgb-bytearray-new-None-0.02] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-rgb-bytearray-new-True-None] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-rgb-bytearray-new-True-0.02] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-rgb-bytearray-out-None-None] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-rgb-bytearray-out-None-0.02] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-rgb-bytearray-out-True-None] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-rgb-bytearray-out-True-0.02] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-rgb-bytearray-bytearray-None-None] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-rgb-bytearray-bytearray-None-0.02] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-rgb-bytearray-bytearray-True-None] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-rgb-bytearray-bytearray-True-0.02] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-rgba-new-new-None-None] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-rgba-new-new-None-0.02] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-rgba-new-new-True-None] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-rgba-new-new-True-0.02] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-rgba-new-out-None-None] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-rgba-new-out-None-0.02] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-rgba-new-out-True-None] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-rgba-new-out-True-0.02] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-rgba-new-bytearray-None-None] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-rgba-new-bytearray-None-0.02] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-rgba-new-bytearray-True-None] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-rgba-new-bytearray-True-0.02] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-rgba-out-new-None-None] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-rgba-out-new-None-0.02] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-rgba-out-new-True-None] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-rgba-out-new-True-0.02] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-rgba-out-out-None-None] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-rgba-out-out-None-0.02] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-rgba-out-out-True-None] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-rgba-out-out-True-0.02] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-rgba-out-bytearray-None-None] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-rgba-out-bytearray-None-0.02] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-rgba-out-bytearray-True-None] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-rgba-out-bytearray-True-0.02] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-rgba-bytearray-new-None-None] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-rgba-bytearray-new-None-0.02] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-rgba-bytearray-new-True-None] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-rgba-bytearray-new-True-0.02] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-rgba-bytearray-out-None-None] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-rgba-bytearray-out-None-0.02] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-rgba-bytearray-out-True-None] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-rgba-bytearray-out-True-0.02] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-rgba-bytearray-bytearray-None-None] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-rgba-bytearray-bytearray-None-0.02] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-rgba-bytearray-bytearray-True-None] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-rgba-bytearray-bytearray-True-0.02] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-channels-new-new-None-None] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-channels-new-new-None-0.02] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-channels-new-new-True-None] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-channels-new-new-True-0.02] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-channels-new-out-None-None] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-channels-new-out-None-0.02] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-channels-new-out-True-None] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-channels-new-out-True-0.02] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-channels-new-bytearray-None-None] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-channels-new-bytearray-None-0.02] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-channels-new-bytearray-True-None] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-channels-new-bytearray-True-0.02] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-channels-out-new-None-None] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-channels-out-new-None-0.02] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-channels-out-new-True-None] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-channels-out-new-True-0.02] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-channels-out-out-None-None] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-channels-out-out-None-0.02] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-channels-out-out-True-None] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-channels-out-out-True-0.02] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-channels-out-bytearray-None-None] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-channels-out-bytearray-None-0.02] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-channels-out-bytearray-True-None] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-channels-out-bytearray-True-0.02] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-channels-bytearray-new-None-None] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-channels-bytearray-new-None-0.02] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-channels-bytearray-new-True-None] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-channels-bytearray-new-True-0.02] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-channels-bytearray-out-None-None] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-channels-bytearray-out-None-0.02] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-channels-bytearray-out-True-None] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-channels-bytearray-out-True-0.02] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-channels-bytearray-bytearray-None-None] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-channels-bytearray-bytearray-None-0.02] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-channels-bytearray-bytearray-True-None] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-channels-bytearray-bytearray-True-0.02] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-stack-new-new-None-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-stack-new-new-None-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-stack-new-new-True-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-stack-new-new-True-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-stack-new-out-None-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-stack-new-out-None-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-stack-new-out-True-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-stack-new-out-True-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-stack-new-bytearray-None-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-stack-new-bytearray-None-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-stack-new-bytearray-True-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-stack-new-bytearray-True-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-stack-out-new-None-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-stack-out-new-None-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-stack-out-new-True-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-stack-out-new-True-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-stack-out-out-None-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-stack-out-out-None-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-stack-out-out-True-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-stack-out-out-True-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-stack-out-bytearray-None-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-stack-out-bytearray-None-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-stack-out-bytearray-True-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-stack-out-bytearray-True-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-stack-bytearray-new-None-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-stack-bytearray-new-None-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-stack-bytearray-new-True-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-stack-bytearray-new-True-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-stack-bytearray-out-None-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-stack-bytearray-out-None-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-stack-bytearray-out-True-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-stack-bytearray-out-True-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-stack-bytearray-bytearray-None-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-stack-bytearray-bytearray-None-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-stack-bytearray-bytearray-True-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-stack-bytearray-bytearray-True-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[int8-gray-new-new-None-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[int8-gray-new-new-None-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[int8-gray-new-new-True-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[int8-gray-new-new-True-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[int8-gray-new-out-None-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[int8-gray-new-out-None-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[int8-gray-new-out-True-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[int8-gray-new-out-True-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[int8-gray-new-bytearray-None-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[int8-gray-new-bytearray-None-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[int8-gray-new-bytearray-True-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[int8-gray-new-bytearray-True-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[int8-gray-out-new-None-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[int8-gray-out-new-None-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[int8-gray-out-new-True-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[int8-gray-out-new-True-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[int8-gray-out-out-None-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[int8-gray-out-out-None-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[int8-gray-out-out-True-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[int8-gray-out-out-True-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[int8-gray-out-bytearray-None-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[int8-gray-out-bytearray-None-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[int8-gray-out-bytearray-True-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[int8-gray-out-bytearray-True-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[int8-gray-bytearray-new-None-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[int8-gray-bytearray-new-None-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[int8-gray-bytearray-new-True-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[int8-gray-bytearray-new-True-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[int8-gray-bytearray-out-None-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[int8-gray-bytearray-out-None-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[int8-gray-bytearray-out-True-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[int8-gray-bytearray-out-True-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[int8-gray-bytearray-bytearray-None-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[int8-gray-bytearray-bytearray-None-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[int8-gray-bytearray-bytearray-True-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[int8-gray-bytearray-bytearray-True-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[int8-rgb-new-new-None-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[int8-rgb-new-new-None-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[int8-rgb-new-new-True-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[int8-rgb-new-new-True-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[int8-rgb-new-out-None-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[int8-rgb-new-out-None-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[int8-rgb-new-out-True-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[int8-rgb-new-out-True-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[int8-rgb-new-bytearray-None-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[int8-rgb-new-bytearray-None-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[int8-rgb-new-bytearray-True-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[int8-rgb-new-bytearray-True-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[int8-rgb-out-new-None-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[int8-rgb-out-new-None-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[int8-rgb-out-new-True-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[int8-rgb-out-new-True-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[int8-rgb-out-out-None-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[int8-rgb-out-out-None-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[int8-rgb-out-out-True-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[int8-rgb-out-out-True-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[int8-rgb-out-bytearray-None-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[int8-rgb-out-bytearray-None-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[int8-rgb-out-bytearray-True-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[int8-rgb-out-bytearray-True-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[int8-rgb-bytearray-new-None-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[int8-rgb-bytearray-new-None-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[int8-rgb-bytearray-new-True-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[int8-rgb-bytearray-new-True-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[int8-rgb-bytearray-out-None-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-rgb-bytearray-out-None-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-rgb-bytearray-out-True-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-rgb-bytearray-out-True-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-rgb-bytearray-bytearray-None-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-rgb-bytearray-bytearray-None-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-rgb-bytearray-bytearray-True-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-rgb-bytearray-bytearray-True-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-rgba-new-new-None-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-rgba-new-new-None-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-rgba-new-new-True-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-rgba-new-new-True-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-rgba-new-out-None-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-rgba-new-out-None-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-rgba-new-out-True-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-rgba-new-out-True-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-rgba-new-bytearray-None-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-rgba-new-bytearray-None-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-rgba-new-bytearray-True-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-rgba-new-bytearray-True-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-rgba-out-new-None-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-rgba-out-new-None-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-rgba-out-new-True-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-rgba-out-new-True-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-rgba-out-out-None-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-rgba-out-out-None-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-rgba-out-out-True-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-rgba-out-out-True-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-rgba-out-bytearray-None-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-rgba-out-bytearray-None-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-rgba-out-bytearray-True-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-rgba-out-bytearray-True-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-rgba-bytearray-new-None-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-rgba-bytearray-new-None-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-rgba-bytearray-new-True-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-rgba-bytearray-new-True-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-rgba-bytearray-out-None-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-rgba-bytearray-out-None-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-rgba-bytearray-out-True-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-rgba-bytearray-out-True-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-rgba-bytearray-bytearray-None-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-rgba-bytearray-bytearray-None-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-rgba-bytearray-bytearray-True-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-rgba-bytearray-bytearray-True-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-channels-new-new-None-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-channels-new-new-None-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-channels-new-new-True-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-channels-new-new-True-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-channels-new-out-None-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-channels-new-out-None-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-channels-new-out-True-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-channels-new-out-True-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-channels-new-bytearray-None-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-channels-new-bytearray-None-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-channels-new-bytearray-True-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-channels-new-bytearray-True-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-channels-out-new-None-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-channels-out-new-None-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-channels-out-new-True-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-channels-out-new-True-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-channels-out-out-None-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-channels-out-out-None-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-channels-out-out-True-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-channels-out-out-True-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-channels-out-bytearray-None-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-channels-out-bytearray-None-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-channels-out-bytearray-True-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-channels-out-bytearray-True-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-channels-bytearray-new-None-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-channels-bytearray-new-None-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-channels-bytearray-new-True-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-channels-bytearray-new-True-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-channels-bytearray-out-None-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-channels-bytearray-out-None-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-channels-bytearray-out-True-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-channels-bytearray-out-True-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-channels-bytearray-bytearray-None-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-channels-bytearray-bytearray-None-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-channels-bytearray-bytearray-True-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-channels-bytearray-bytearray-True-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-stack-new-new-None-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-stack-new-new-None-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-stack-new-new-True-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-stack-new-new-True-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-stack-new-out-None-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-stack-new-out-None-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-stack-new-out-True-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-stack-new-out-True-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-stack-new-bytearray-None-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-stack-new-bytearray-None-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-stack-new-bytearray-True-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-stack-new-bytearray-True-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-stack-out-new-None-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-stack-out-new-None-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-stack-out-new-True-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-stack-out-new-True-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-stack-out-out-None-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-stack-out-out-None-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-stack-out-out-True-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-stack-out-out-True-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-stack-out-bytearray-None-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-stack-out-bytearray-None-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-stack-out-bytearray-True-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-stack-out-bytearray-True-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-stack-bytearray-new-None-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-stack-bytearray-new-None-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-stack-bytearray-new-True-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-stack-bytearray-new-True-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-stack-bytearray-out-None-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-stack-bytearray-out-None-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-stack-bytearray-out-True-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-stack-bytearray-out-True-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-stack-bytearray-bytearray-None-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-stack-bytearray-bytearray-None-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-stack-bytearray-bytearray-True-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-stack-bytearray-bytearray-True-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[uint16-gray-new-new-None-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[uint16-gray-new-new-None-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[uint16-gray-new-new-True-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[uint16-gray-new-new-True-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[uint16-gray-new-out-None-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[uint16-gray-new-out-None-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[uint16-gray-new-out-True-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[uint16-gray-new-out-True-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[uint16-gray-new-bytearray-None-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[uint16-gray-new-bytearray-None-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[uint16-gray-new-bytearray-True-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[uint16-gray-new-bytearray-True-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[uint16-gray-out-new-None-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[uint16-gray-out-new-None-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[uint16-gray-out-new-True-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[uint16-gray-out-new-True-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[uint16-gray-out-out-None-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[uint16-gray-out-out-None-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[uint16-gray-out-out-True-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[uint16-gray-out-out-True-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[uint16-gray-out-bytearray-None-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[uint16-gray-out-bytearray-None-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[uint16-gray-out-bytearray-True-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[uint16-gray-out-bytearray-True-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[uint16-gray-bytearray-new-None-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[uint16-gray-bytearray-new-None-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[uint16-gray-bytearray-new-True-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[uint16-gray-bytearray-new-True-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[uint16-gray-bytearray-out-None-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[uint16-gray-bytearray-out-None-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[uint16-gray-bytearray-out-True-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[uint16-gray-bytearray-out-True-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[uint16-gray-bytearray-bytearray-None-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[uint16-gray-bytearray-bytearray-None-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[uint16-gray-bytearray-bytearray-True-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[uint16-gray-bytearray-bytearray-True-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[uint16-rgb-new-new-None-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[uint16-rgb-new-new-None-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[uint16-rgb-new-new-True-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[uint16-rgb-new-new-True-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[uint16-rgb-new-out-None-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[uint16-rgb-new-out-None-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[uint16-rgb-new-out-True-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[uint16-rgb-new-out-True-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[uint16-rgb-new-bytearray-None-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[uint16-rgb-new-bytearray-None-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[uint16-rgb-new-bytearray-True-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[uint16-rgb-new-bytearray-True-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[uint16-rgb-out-new-None-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[uint16-rgb-out-new-None-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[uint16-rgb-out-new-True-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[uint16-rgb-out-new-True-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[uint16-rgb-out-out-None-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[uint16-rgb-out-out-None-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[uint16-rgb-out-out-True-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[uint16-rgb-out-out-True-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[uint16-rgb-out-bytearray-None-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[uint16-rgb-out-bytearray-None-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[uint16-rgb-out-bytearray-True-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[uint16-rgb-out-bytearray-True-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[uint16-rgb-bytearray-new-None-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[uint16-rgb-bytearray-new-None-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[uint16-rgb-bytearray-new-True-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[uint16-rgb-bytearray-new-True-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[uint16-rgb-bytearray-out-None-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[uint16-rgb-bytearray-out-None-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[uint16-rgb-bytearray-out-True-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[uint16-rgb-bytearray-out-True-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[uint16-rgb-bytearray-bytearray-None-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[uint16-rgb-bytearray-bytearray-None-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[uint16-rgb-bytearray-bytearray-True-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[uint16-rgb-bytearray-bytearray-True-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[uint16-rgba-new-new-None-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[uint16-rgba-new-new-None-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[uint16-rgba-new-new-True-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[uint16-rgba-new-new-True-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[uint16-rgba-new-out-None-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[uint16-rgba-new-out-None-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[uint16-rgba-new-out-True-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[uint16-rgba-new-out-True-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[uint16-rgba-new-bytearray-None-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[uint16-rgba-new-bytearray-None-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[uint16-rgba-new-bytearray-True-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[uint16-rgba-new-bytearray-True-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[uint16-rgba-out-new-None-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[uint16-rgba-out-new-None-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-rgba-out-new-True-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-rgba-out-new-True-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-rgba-out-out-None-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-rgba-out-out-None-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-rgba-out-out-True-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-rgba-out-out-True-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-rgba-out-bytearray-None-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-rgba-out-bytearray-None-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-rgba-out-bytearray-True-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-rgba-out-bytearray-True-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-rgba-bytearray-new-None-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-rgba-bytearray-new-None-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-rgba-bytearray-new-True-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-rgba-bytearray-new-True-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-rgba-bytearray-out-None-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-rgba-bytearray-out-None-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-rgba-bytearray-out-True-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-rgba-bytearray-out-True-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-rgba-bytearray-bytearray-None-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-rgba-bytearray-bytearray-None-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-rgba-bytearray-bytearray-True-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-rgba-bytearray-bytearray-True-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-channels-new-new-None-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-channels-new-new-None-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-channels-new-new-True-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-channels-new-new-True-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-channels-new-out-None-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-channels-new-out-None-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-channels-new-out-True-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-channels-new-out-True-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-channels-new-bytearray-None-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-channels-new-bytearray-None-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-channels-new-bytearray-True-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-channels-new-bytearray-True-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-channels-out-new-None-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-channels-out-new-None-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-channels-out-new-True-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-channels-out-new-True-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-channels-out-out-None-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-channels-out-out-None-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-channels-out-out-True-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-channels-out-out-True-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-channels-out-bytearray-None-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-channels-out-bytearray-None-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-channels-out-bytearray-True-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-channels-out-bytearray-True-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-channels-bytearray-new-None-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-channels-bytearray-new-None-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-channels-bytearray-new-True-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-channels-bytearray-new-True-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-channels-bytearray-out-None-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-channels-bytearray-out-None-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-channels-bytearray-out-True-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-channels-bytearray-out-True-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-channels-bytearray-bytearray-None-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-channels-bytearray-bytearray-None-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-channels-bytearray-bytearray-True-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-channels-bytearray-bytearray-True-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-stack-new-new-None-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-stack-new-new-None-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-stack-new-new-True-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-stack-new-new-True-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-stack-new-out-None-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-stack-new-out-None-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-stack-new-out-True-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-stack-new-out-True-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-stack-new-bytearray-None-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-stack-new-bytearray-None-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-stack-new-bytearray-True-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-stack-new-bytearray-True-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-stack-out-new-None-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-stack-out-new-None-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-stack-out-new-True-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-stack-out-new-True-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-stack-out-out-None-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-stack-out-out-None-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-stack-out-out-True-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-stack-out-out-True-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-stack-out-bytearray-None-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-stack-out-bytearray-None-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-stack-out-bytearray-True-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-stack-out-bytearray-True-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-stack-bytearray-new-None-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-stack-bytearray-new-None-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-stack-bytearray-new-True-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-stack-bytearray-new-True-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-stack-bytearray-out-None-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-stack-bytearray-out-None-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-stack-bytearray-out-True-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-stack-bytearray-out-True-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-stack-bytearray-bytearray-None-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-stack-bytearray-bytearray-None-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-stack-bytearray-bytearray-True-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-stack-bytearray-bytearray-True-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[int32-gray-new-new-None-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[int32-gray-new-new-None-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[int32-gray-new-new-True-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[int32-gray-new-new-True-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[int32-gray-new-out-None-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[int32-gray-new-out-None-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-gray-new-out-True-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-gray-new-out-True-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-gray-new-bytearray-None-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-gray-new-bytearray-None-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-gray-new-bytearray-True-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-gray-new-bytearray-True-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-gray-out-new-None-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-gray-out-new-None-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-gray-out-new-True-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-gray-out-new-True-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-gray-out-out-None-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-gray-out-out-None-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-gray-out-out-True-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-gray-out-out-True-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-gray-out-bytearray-None-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-gray-out-bytearray-None-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-gray-out-bytearray-True-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-gray-out-bytearray-True-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-gray-bytearray-new-None-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-gray-bytearray-new-None-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-gray-bytearray-new-True-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-gray-bytearray-new-True-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-gray-bytearray-out-None-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-gray-bytearray-out-None-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-gray-bytearray-out-True-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-gray-bytearray-out-True-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-gray-bytearray-bytearray-None-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-gray-bytearray-bytearray-None-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-gray-bytearray-bytearray-True-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-gray-bytearray-bytearray-True-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-rgb-new-new-None-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-rgb-new-new-None-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-rgb-new-new-True-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-rgb-new-new-True-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-rgb-new-out-None-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-rgb-new-out-None-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-rgb-new-out-True-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-rgb-new-out-True-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-rgb-new-bytearray-None-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-rgb-new-bytearray-None-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-rgb-new-bytearray-True-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-rgb-new-bytearray-True-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-rgb-out-new-None-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-rgb-out-new-None-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-rgb-out-new-True-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-rgb-out-new-True-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-rgb-out-out-None-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-rgb-out-out-None-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-rgb-out-out-True-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-rgb-out-out-True-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-rgb-out-bytearray-None-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-rgb-out-bytearray-None-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-rgb-out-bytearray-True-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-rgb-out-bytearray-True-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-rgb-bytearray-new-None-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-rgb-bytearray-new-None-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-rgb-bytearray-new-True-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-rgb-bytearray-new-True-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-rgb-bytearray-out-None-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-rgb-bytearray-out-None-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-rgb-bytearray-out-True-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-rgb-bytearray-out-True-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-rgb-bytearray-bytearray-None-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-rgb-bytearray-bytearray-None-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-rgb-bytearray-bytearray-True-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-rgb-bytearray-bytearray-True-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-rgba-new-new-None-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-rgba-new-new-None-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-rgba-new-new-True-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-rgba-new-new-True-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-rgba-new-out-None-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-rgba-new-out-None-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-rgba-new-out-True-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-rgba-new-out-True-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-rgba-new-bytearray-None-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-rgba-new-bytearray-None-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-rgba-new-bytearray-True-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-rgba-new-bytearray-True-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-rgba-out-new-None-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-rgba-out-new-None-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-rgba-out-new-True-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-rgba-out-new-True-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-rgba-out-out-None-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-rgba-out-out-None-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-rgba-out-out-True-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-rgba-out-out-True-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-rgba-out-bytearray-None-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-rgba-out-bytearray-None-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-rgba-out-bytearray-True-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-rgba-out-bytearray-True-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-rgba-bytearray-new-None-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-rgba-bytearray-new-None-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-rgba-bytearray-new-True-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-rgba-bytearray-new-True-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-rgba-bytearray-out-None-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-rgba-bytearray-out-None-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-rgba-bytearray-out-True-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-rgba-bytearray-out-True-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-rgba-bytearray-bytearray-None-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-rgba-bytearray-bytearray-None-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-rgba-bytearray-bytearray-True-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-rgba-bytearray-bytearray-True-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-channels-new-new-None-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-channels-new-new-None-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-channels-new-new-True-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-channels-new-new-True-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-channels-new-out-None-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-channels-new-out-None-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-channels-new-out-True-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-channels-new-out-True-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-channels-new-bytearray-None-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-channels-new-bytearray-None-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-channels-new-bytearray-True-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-channels-new-bytearray-True-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-channels-out-new-None-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-channels-out-new-None-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-channels-out-new-True-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-channels-out-new-True-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-channels-out-out-None-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-channels-out-out-None-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-channels-out-out-True-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-channels-out-out-True-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-channels-out-bytearray-None-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-channels-out-bytearray-None-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-channels-out-bytearray-True-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-channels-out-bytearray-True-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-channels-bytearray-new-None-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-channels-bytearray-new-None-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-channels-bytearray-new-True-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-channels-bytearray-new-True-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-channels-bytearray-out-None-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-channels-bytearray-out-None-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-channels-bytearray-out-True-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-channels-bytearray-out-True-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-channels-bytearray-bytearray-None-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-channels-bytearray-bytearray-None-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-channels-bytearray-bytearray-True-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-channels-bytearray-bytearray-True-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-stack-new-new-None-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-stack-new-new-None-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-stack-new-new-True-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-stack-new-new-True-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-stack-new-out-None-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-stack-new-out-None-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-stack-new-out-True-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-stack-new-out-True-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-stack-new-bytearray-None-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-stack-new-bytearray-None-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-stack-new-bytearray-True-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-stack-new-bytearray-True-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-stack-out-new-None-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-stack-out-new-None-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-stack-out-new-True-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-stack-out-new-True-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-stack-out-out-None-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-stack-out-out-None-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-stack-out-out-True-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-stack-out-out-True-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-stack-out-bytearray-None-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-stack-out-bytearray-None-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-stack-out-bytearray-True-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-stack-out-bytearray-True-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-stack-bytearray-new-None-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-stack-bytearray-new-None-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-stack-bytearray-new-True-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-stack-bytearray-new-True-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-stack-bytearray-out-None-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-stack-bytearray-out-None-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-stack-bytearray-out-True-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-stack-bytearray-out-True-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-stack-bytearray-bytearray-None-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-stack-bytearray-bytearray-None-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-stack-bytearray-bytearray-True-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-stack-bytearray-bytearray-True-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[float32-gray-new-new-None-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[float32-gray-new-new-None-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[float32-gray-new-new-True-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[float32-gray-new-new-True-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[float32-gray-new-out-None-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[float32-gray-new-out-None-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[float32-gray-new-out-True-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[float32-gray-new-out-True-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[float32-gray-new-bytearray-None-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[float32-gray-new-bytearray-None-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[float32-gray-new-bytearray-True-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[float32-gray-new-bytearray-True-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[float32-gray-out-new-None-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[float32-gray-out-new-None-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[float32-gray-out-new-True-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[float32-gray-out-new-True-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[float32-gray-out-out-None-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[float32-gray-out-out-None-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[float32-gray-out-out-True-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[float32-gray-out-out-True-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[float32-gray-out-bytearray-None-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[float32-gray-out-bytearray-None-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[float32-gray-out-bytearray-True-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[float32-gray-out-bytearray-True-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[float32-gray-bytearray-new-None-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[float32-gray-bytearray-new-None-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[float32-gray-bytearray-new-True-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-gray-bytearray-new-True-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-gray-bytearray-out-None-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-gray-bytearray-out-None-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-gray-bytearray-out-True-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-gray-bytearray-out-True-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-gray-bytearray-bytearray-None-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-gray-bytearray-bytearray-None-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-gray-bytearray-bytearray-True-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-gray-bytearray-bytearray-True-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-rgb-new-new-None-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-rgb-new-new-None-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-rgb-new-new-True-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-rgb-new-new-True-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-rgb-new-out-None-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-rgb-new-out-None-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-rgb-new-out-True-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-rgb-new-out-True-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-rgb-new-bytearray-None-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-rgb-new-bytearray-None-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-rgb-new-bytearray-True-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-rgb-new-bytearray-True-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-rgb-out-new-None-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-rgb-out-new-None-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-rgb-out-new-True-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-rgb-out-new-True-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-rgb-out-out-None-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-rgb-out-out-None-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-rgb-out-out-True-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-rgb-out-out-True-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-rgb-out-bytearray-None-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-rgb-out-bytearray-None-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-rgb-out-bytearray-True-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-rgb-out-bytearray-True-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-rgb-bytearray-new-None-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-rgb-bytearray-new-None-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-rgb-bytearray-new-True-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-rgb-bytearray-new-True-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-rgb-bytearray-out-None-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-rgb-bytearray-out-None-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-rgb-bytearray-out-True-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-rgb-bytearray-out-True-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-rgb-bytearray-bytearray-None-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-rgb-bytearray-bytearray-None-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-rgb-bytearray-bytearray-True-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-rgb-bytearray-bytearray-True-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-rgba-new-new-None-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-rgba-new-new-None-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-rgba-new-new-True-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-rgba-new-new-True-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-rgba-new-out-None-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-rgba-new-out-None-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-rgba-new-out-True-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-rgba-new-out-True-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-rgba-new-bytearray-None-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-rgba-new-bytearray-None-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-rgba-new-bytearray-True-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-rgba-new-bytearray-True-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-rgba-out-new-None-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-rgba-out-new-None-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-rgba-out-new-True-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-rgba-out-new-True-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-rgba-out-out-None-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-rgba-out-out-None-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-rgba-out-out-True-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-rgba-out-out-True-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-rgba-out-bytearray-None-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-rgba-out-bytearray-None-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-rgba-out-bytearray-True-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-rgba-out-bytearray-True-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-rgba-bytearray-new-None-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-rgba-bytearray-new-None-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-rgba-bytearray-new-True-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-rgba-bytearray-new-True-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-rgba-bytearray-out-None-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-rgba-bytearray-out-None-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-rgba-bytearray-out-True-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-rgba-bytearray-out-True-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-rgba-bytearray-bytearray-None-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-rgba-bytearray-bytearray-None-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-rgba-bytearray-bytearray-True-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-rgba-bytearray-bytearray-True-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-channels-new-new-None-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-channels-new-new-None-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-channels-new-new-True-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-channels-new-new-True-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-channels-new-out-None-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-channels-new-out-None-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-channels-new-out-True-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-channels-new-out-True-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-channels-new-bytearray-None-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-channels-new-bytearray-None-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-channels-new-bytearray-True-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-channels-new-bytearray-True-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-channels-out-new-None-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-channels-out-new-None-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-channels-out-new-True-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-channels-out-new-True-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-channels-out-out-None-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-channels-out-out-None-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-channels-out-out-True-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-channels-out-out-True-0.02] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-channels-out-bytearray-None-None] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-channels-out-bytearray-None-0.02] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-channels-out-bytearray-True-None] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-channels-out-bytearray-True-0.02] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-channels-bytearray-new-None-None] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-channels-bytearray-new-None-0.02] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-channels-bytearray-new-True-None] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-channels-bytearray-new-True-0.02] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-channels-bytearray-out-None-None] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-channels-bytearray-out-None-0.02] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-channels-bytearray-out-True-None] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-channels-bytearray-out-True-0.02] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-channels-bytearray-bytearray-None-None] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-channels-bytearray-bytearray-None-0.02] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-channels-bytearray-bytearray-True-None] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-channels-bytearray-bytearray-True-0.02] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-stack-new-new-None-None] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-stack-new-new-None-0.02] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-stack-new-new-True-None] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-stack-new-new-True-0.02] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-stack-new-out-None-None] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-stack-new-out-None-0.02] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-stack-new-out-True-None] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-stack-new-out-True-0.02] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-stack-new-bytearray-None-None] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-stack-new-bytearray-None-0.02] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-stack-new-bytearray-True-None] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-stack-new-bytearray-True-0.02] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-stack-out-new-None-None] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-stack-out-new-None-0.02] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-stack-out-new-True-None] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-stack-out-new-True-0.02] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-stack-out-out-None-None] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-stack-out-out-None-0.02] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-stack-out-out-True-None] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-stack-out-out-True-0.02] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-stack-out-bytearray-None-None] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-stack-out-bytearray-None-0.02] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-stack-out-bytearray-True-None] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-stack-out-bytearray-True-0.02] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-stack-bytearray-new-None-None] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-stack-bytearray-new-None-0.02] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-stack-bytearray-new-True-None] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-stack-bytearray-new-True-0.02] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-stack-bytearray-out-None-None] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-stack-bytearray-out-None-0.02] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-stack-bytearray-out-True-None] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-stack-bytearray-out-True-0.02] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-stack-bytearray-bytearray-None-None] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-stack-bytearray-bytearray-None-0.02] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-stack-bytearray-bytearray-True-None] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-stack-bytearray-bytearray-True-0.02] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float64-gray-new-new-None-None] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float64-gray-new-new-None-0.02] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float64-gray-new-new-True-None] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float64-gray-new-new-True-0.02] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float64-gray-new-out-None-None] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float64-gray-new-out-None-0.02] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float64-gray-new-out-True-None] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float64-gray-new-out-True-0.02] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float64-gray-new-bytearray-None-None] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float64-gray-new-bytearray-None-0.02] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float64-gray-new-bytearray-True-None] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float64-gray-new-bytearray-True-0.02] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float64-gray-out-new-None-None] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float64-gray-out-new-None-0.02] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float64-gray-out-new-True-None] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float64-gray-out-new-True-0.02] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float64-gray-out-out-None-None] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float64-gray-out-out-None-0.02] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float64-gray-out-out-True-None] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float64-gray-out-out-True-0.02] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float64-gray-out-bytearray-None-None] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float64-gray-out-bytearray-None-0.02] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float64-gray-out-bytearray-True-None] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float64-gray-out-bytearray-True-0.02] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float64-gray-bytearray-new-None-None] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float64-gray-bytearray-new-None-0.02] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float64-gray-bytearray-new-True-None] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float64-gray-bytearray-new-True-0.02] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float64-gray-bytearray-out-None-None] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float64-gray-bytearray-out-None-0.02] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float64-gray-bytearray-out-True-None] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float64-gray-bytearray-out-True-0.02] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float64-gray-bytearray-bytearray-None-None] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float64-gray-bytearray-bytearray-None-0.02] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float64-gray-bytearray-bytearray-True-None] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float64-gray-bytearray-bytearray-True-0.02] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float64-rgb-new-new-None-None] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float64-rgb-new-new-None-0.02] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float64-rgb-new-new-True-None] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float64-rgb-new-new-True-0.02] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float64-rgb-new-out-None-None] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float64-rgb-new-out-None-0.02] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float64-rgb-new-out-True-None] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float64-rgb-new-out-True-0.02] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float64-rgb-new-bytearray-None-None] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float64-rgb-new-bytearray-None-0.02] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float64-rgb-new-bytearray-True-None] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float64-rgb-new-bytearray-True-0.02] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgb-out-new-None-None] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgb-out-new-None-0.02] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgb-out-new-True-None] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgb-out-new-True-0.02] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgb-out-out-None-None] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgb-out-out-None-0.02] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgb-out-out-True-None] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgb-out-out-True-0.02] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgb-out-bytearray-None-None] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgb-out-bytearray-None-0.02] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgb-out-bytearray-True-None] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgb-out-bytearray-True-0.02] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgb-bytearray-new-None-None] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgb-bytearray-new-None-0.02] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgb-bytearray-new-True-None] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgb-bytearray-new-True-0.02] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgb-bytearray-out-None-None] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgb-bytearray-out-None-0.02] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgb-bytearray-out-True-None] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgb-bytearray-out-True-0.02] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgb-bytearray-bytearray-None-None] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgb-bytearray-bytearray-None-0.02] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgb-bytearray-bytearray-True-None] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgb-bytearray-bytearray-True-0.02] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgba-new-new-None-None] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgba-new-new-None-0.02] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgba-new-new-True-None] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgba-new-new-True-0.02] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgba-new-out-None-None] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgba-new-out-None-0.02] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgba-new-out-True-None] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgba-new-out-True-0.02] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgba-new-bytearray-None-None] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgba-new-bytearray-None-0.02] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgba-new-bytearray-True-None] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgba-new-bytearray-True-0.02] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgba-out-new-None-None] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgba-out-new-None-0.02] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgba-out-new-True-None] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgba-out-new-True-0.02] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgba-out-out-None-None] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgba-out-out-None-0.02] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgba-out-out-True-None] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgba-out-out-True-0.02] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgba-out-bytearray-None-None] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgba-out-bytearray-None-0.02] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgba-out-bytearray-True-None] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgba-out-bytearray-True-0.02] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgba-bytearray-new-None-None] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgba-bytearray-new-None-0.02] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgba-bytearray-new-True-None] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgba-bytearray-new-True-0.02] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgba-bytearray-out-None-None] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgba-bytearray-out-None-0.02] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgba-bytearray-out-True-None] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgba-bytearray-out-True-0.02] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgba-bytearray-bytearray-None-None] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgba-bytearray-bytearray-None-0.02] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgba-bytearray-bytearray-True-None] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgba-bytearray-bytearray-True-0.02] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-channels-new-new-None-None] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-channels-new-new-None-0.02] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-channels-new-new-True-None] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-channels-new-new-True-0.02] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-channels-new-out-None-None] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-channels-new-out-None-0.02] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-channels-new-out-True-None] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-channels-new-out-True-0.02] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-channels-new-bytearray-None-None] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-channels-new-bytearray-None-0.02] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-channels-new-bytearray-True-None] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-channels-new-bytearray-True-0.02] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-channels-out-new-None-None] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-channels-out-new-None-0.02] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-channels-out-new-True-None] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-channels-out-new-True-0.02] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-channels-out-out-None-None] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-channels-out-out-None-0.02] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-channels-out-out-True-None] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-channels-out-out-True-0.02] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-channels-out-bytearray-None-None] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-channels-out-bytearray-None-0.02] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-channels-out-bytearray-True-None] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-channels-out-bytearray-True-0.02] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-channels-bytearray-new-None-None] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-channels-bytearray-new-None-0.02] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-channels-bytearray-new-True-None] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-channels-bytearray-new-True-0.02] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-channels-bytearray-out-None-None] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-channels-bytearray-out-None-0.02] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-channels-bytearray-out-True-None] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-channels-bytearray-out-True-0.02] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-channels-bytearray-bytearray-None-None] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-channels-bytearray-bytearray-None-0.02] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-channels-bytearray-bytearray-True-None] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-channels-bytearray-bytearray-True-0.02] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-stack-new-new-None-None] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-stack-new-new-None-0.02] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-stack-new-new-True-None] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-stack-new-new-True-0.02] FAILED [ 34%] tests/test_imagecodecs.py::test_lerc[float64-stack-new-out-None-None] FAILED [ 34%] tests/test_imagecodecs.py::test_lerc[float64-stack-new-out-None-0.02] FAILED [ 34%] tests/test_imagecodecs.py::test_lerc[float64-stack-new-out-True-None] FAILED [ 34%] tests/test_imagecodecs.py::test_lerc[float64-stack-new-out-True-0.02] FAILED [ 34%] tests/test_imagecodecs.py::test_lerc[float64-stack-new-bytearray-None-None] FAILED [ 34%] tests/test_imagecodecs.py::test_lerc[float64-stack-new-bytearray-None-0.02] FAILED [ 34%] tests/test_imagecodecs.py::test_lerc[float64-stack-new-bytearray-True-None] FAILED [ 34%] tests/test_imagecodecs.py::test_lerc[float64-stack-new-bytearray-True-0.02] FAILED [ 34%] tests/test_imagecodecs.py::test_lerc[float64-stack-out-new-None-None] FAILED [ 34%] tests/test_imagecodecs.py::test_lerc[float64-stack-out-new-None-0.02] FAILED [ 34%] tests/test_imagecodecs.py::test_lerc[float64-stack-out-new-True-None] FAILED [ 34%] tests/test_imagecodecs.py::test_lerc[float64-stack-out-new-True-0.02] FAILED [ 34%] tests/test_imagecodecs.py::test_lerc[float64-stack-out-out-None-None] FAILED [ 34%] tests/test_imagecodecs.py::test_lerc[float64-stack-out-out-None-0.02] FAILED [ 34%] tests/test_imagecodecs.py::test_lerc[float64-stack-out-out-True-None] FAILED [ 34%] tests/test_imagecodecs.py::test_lerc[float64-stack-out-out-True-0.02] FAILED [ 34%] tests/test_imagecodecs.py::test_lerc[float64-stack-out-bytearray-None-None] FAILED [ 34%] tests/test_imagecodecs.py::test_lerc[float64-stack-out-bytearray-None-0.02] FAILED [ 34%] tests/test_imagecodecs.py::test_lerc[float64-stack-out-bytearray-True-None] FAILED [ 34%] tests/test_imagecodecs.py::test_lerc[float64-stack-out-bytearray-True-0.02] FAILED [ 34%] tests/test_imagecodecs.py::test_lerc[float64-stack-bytearray-new-None-None] FAILED [ 34%] tests/test_imagecodecs.py::test_lerc[float64-stack-bytearray-new-None-0.02] FAILED [ 34%] tests/test_imagecodecs.py::test_lerc[float64-stack-bytearray-new-True-None] FAILED [ 34%] tests/test_imagecodecs.py::test_lerc[float64-stack-bytearray-new-True-0.02] FAILED [ 34%] tests/test_imagecodecs.py::test_lerc[float64-stack-bytearray-out-None-None] FAILED [ 34%] tests/test_imagecodecs.py::test_lerc[float64-stack-bytearray-out-None-0.02] FAILED [ 34%] tests/test_imagecodecs.py::test_lerc[float64-stack-bytearray-out-True-None] FAILED [ 34%] tests/test_imagecodecs.py::test_lerc[float64-stack-bytearray-out-True-0.02] FAILED [ 34%] tests/test_imagecodecs.py::test_lerc[float64-stack-bytearray-bytearray-None-None] FAILED [ 34%] tests/test_imagecodecs.py::test_lerc[float64-stack-bytearray-bytearray-None-0.02] FAILED [ 34%] tests/test_imagecodecs.py::test_lerc[float64-stack-bytearray-bytearray-True-None] FAILED [ 34%] tests/test_imagecodecs.py::test_lerc[float64-stack-bytearray-bytearray-True-0.02] FAILED [ 34%] tests/test_imagecodecs.py::test_lerc_files[world.lerc1] FAILED [ 34%] tests/test_imagecodecs.py::test_lerc_files[california_400_400_1_float.lerc2] FAILED [ 34%] tests/test_imagecodecs.py::test_lerc_files[bluemarble_256_256_3_byte.lerc2] FAILED [ 34%] tests/test_imagecodecs.py::test_lerc_files[zstd.lerc2] FAILED [ 34%] tests/test_imagecodecs.py::test_lerc_compression[None] FAILED [ 34%] tests/test_imagecodecs.py::test_lerc_compression[zstd] FAILED [ 34%] tests/test_imagecodecs.py::test_lerc_compression[deflate] FAILED [ 34%] tests/test_imagecodecs.py::test_lerc_masks FAILED [ 34%] tests/test_imagecodecs.py::test_jpeg2k_int8_4bit[new] SKIPPED (jpeg2...) [ 34%] tests/test_imagecodecs.py::test_jpeg2k_int8_4bit[out] SKIPPED (jpeg2...) [ 34%] tests/test_imagecodecs.py::test_jpeg2k_int8_4bit[bytearray] SKIPPED [ 34%] tests/test_imagecodecs.py::test_jpeg2k_ycbc SKIPPED (jpeg2k missing) [ 34%] tests/test_imagecodecs.py::test_jpeg2k_codecformat[0] SKIPPED (jpeg2...) [ 34%] tests/test_imagecodecs.py::test_jpeg2k_codecformat[2] SKIPPED (jpeg2...) [ 34%] tests/test_imagecodecs.py::test_jpeg2k_numthreads[1] SKIPPED (jpeg2k...) [ 34%] tests/test_imagecodecs.py::test_jpeg2k_numthreads[2] SKIPPED (jpeg2k...) [ 34%] tests/test_imagecodecs.py::test_jpeg2k_reversible[False] SKIPPED (jp...) [ 34%] tests/test_imagecodecs.py::test_jpeg2k_reversible[True] SKIPPED (jpe...) [ 34%] tests/test_imagecodecs.py::test_jpeg2k_mct[False] SKIPPED (jpeg2k mi...) [ 34%] tests/test_imagecodecs.py::test_jpeg2k_mct[True] SKIPPED (jpeg2k mis...) [ 34%] tests/test_imagecodecs.py::test_jpeg2k[False-u1-None] SKIPPED (jpeg2...) [ 34%] tests/test_imagecodecs.py::test_jpeg2k[False-u1-True] SKIPPED (jpeg2...) [ 34%] tests/test_imagecodecs.py::test_jpeg2k[False-u2-None] SKIPPED (jpeg2...) [ 34%] tests/test_imagecodecs.py::test_jpeg2k[False-u2-True] SKIPPED (jpeg2...) [ 34%] tests/test_imagecodecs.py::test_jpeg2k[False-u4-None] SKIPPED (jpeg2...) [ 34%] tests/test_imagecodecs.py::test_jpeg2k[False-u4-True] SKIPPED (jpeg2...) [ 34%] tests/test_imagecodecs.py::test_jpeg2k[False-i1-None] SKIPPED (jpeg2...) [ 34%] tests/test_imagecodecs.py::test_jpeg2k[False-i1-True] SKIPPED (jpeg2...) [ 34%] tests/test_imagecodecs.py::test_jpeg2k[False-i2-None] SKIPPED (jpeg2...) [ 34%] tests/test_imagecodecs.py::test_jpeg2k[False-i2-True] SKIPPED (jpeg2...) [ 34%] tests/test_imagecodecs.py::test_jpeg2k[False-i4-None] SKIPPED (jpeg2...) [ 34%] tests/test_imagecodecs.py::test_jpeg2k[False-i4-True] SKIPPED (jpeg2...) [ 34%] tests/test_imagecodecs.py::test_jpeg2k[True-u1-None] SKIPPED (jpeg2k...) [ 34%] tests/test_imagecodecs.py::test_jpeg2k[True-u1-True] SKIPPED (jpeg2k...) [ 34%] tests/test_imagecodecs.py::test_jpeg2k[True-u2-None] SKIPPED (jpeg2k...) [ 34%] tests/test_imagecodecs.py::test_jpeg2k[True-u2-True] SKIPPED (jpeg2k...) [ 34%] tests/test_imagecodecs.py::test_jpeg2k[True-u4-None] SKIPPED (jpeg2k...) [ 34%] tests/test_imagecodecs.py::test_jpeg2k[True-u4-True] SKIPPED (jpeg2k...) [ 34%] tests/test_imagecodecs.py::test_jpeg2k[True-i1-None] SKIPPED (jpeg2k...) [ 34%] tests/test_imagecodecs.py::test_jpeg2k[True-i1-True] SKIPPED (jpeg2k...) [ 34%] tests/test_imagecodecs.py::test_jpeg2k[True-i2-None] SKIPPED (jpeg2k...) [ 34%] tests/test_imagecodecs.py::test_jpeg2k[True-i2-True] SKIPPED (jpeg2k...) [ 34%] tests/test_imagecodecs.py::test_jpeg2k[True-i4-None] SKIPPED (jpeg2k...) [ 34%] tests/test_imagecodecs.py::test_jpeg2k[True-i4-True] SKIPPED (jpeg2k...) [ 34%] tests/test_imagecodecs.py::test_jpegxr[gray uint8-new-new-None] PASSED [ 34%] tests/test_imagecodecs.py::test_jpegxr[gray uint8-new-new-90] PASSED [ 34%] tests/test_imagecodecs.py::test_jpegxr[gray uint8-new-new-0.4] PASSED [ 34%] tests/test_imagecodecs.py::test_jpegxr[gray uint8-new-out-None] PASSED [ 34%] tests/test_imagecodecs.py::test_jpegxr[gray uint8-new-out-90] PASSED [ 34%] tests/test_imagecodecs.py::test_jpegxr[gray uint8-new-out-0.4] PASSED [ 34%] tests/test_imagecodecs.py::test_jpegxr[gray uint8-new-bytearray-None] PASSED [ 34%] tests/test_imagecodecs.py::test_jpegxr[gray uint8-new-bytearray-90] PASSED [ 34%] tests/test_imagecodecs.py::test_jpegxr[gray uint8-new-bytearray-0.4] PASSED [ 34%] tests/test_imagecodecs.py::test_jpegxr[gray uint8-out-new-None] PASSED [ 34%] tests/test_imagecodecs.py::test_jpegxr[gray uint8-out-new-90] PASSED [ 34%] tests/test_imagecodecs.py::test_jpegxr[gray uint8-out-new-0.4] PASSED [ 34%] tests/test_imagecodecs.py::test_jpegxr[gray uint8-out-out-None] PASSED [ 34%] tests/test_imagecodecs.py::test_jpegxr[gray uint8-out-out-90] PASSED [ 34%] tests/test_imagecodecs.py::test_jpegxr[gray uint8-out-out-0.4] PASSED [ 34%] tests/test_imagecodecs.py::test_jpegxr[gray uint8-out-bytearray-None] PASSED [ 34%] tests/test_imagecodecs.py::test_jpegxr[gray uint8-out-bytearray-90] PASSED [ 34%] tests/test_imagecodecs.py::test_jpegxr[gray uint8-out-bytearray-0.4] PASSED [ 34%] tests/test_imagecodecs.py::test_jpegxr[gray uint8-bytearray-new-None] PASSED [ 34%] tests/test_imagecodecs.py::test_jpegxr[gray uint8-bytearray-new-90] PASSED [ 34%] tests/test_imagecodecs.py::test_jpegxr[gray uint8-bytearray-new-0.4] PASSED [ 34%] tests/test_imagecodecs.py::test_jpegxr[gray uint8-bytearray-out-None] PASSED [ 34%] tests/test_imagecodecs.py::test_jpegxr[gray uint8-bytearray-out-90] PASSED [ 34%] tests/test_imagecodecs.py::test_jpegxr[gray uint8-bytearray-out-0.4] PASSED [ 34%] tests/test_imagecodecs.py::test_jpegxr[gray uint8-bytearray-bytearray-None] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray uint8-bytearray-bytearray-90] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray uint8-bytearray-bytearray-0.4] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray uint16-new-new-None] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray uint16-new-new-90] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray uint16-new-new-0.4] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray uint16-new-out-None] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray uint16-new-out-90] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray uint16-new-out-0.4] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray uint16-new-bytearray-None] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray uint16-new-bytearray-90] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray uint16-new-bytearray-0.4] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray uint16-out-new-None] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray uint16-out-new-90] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray uint16-out-new-0.4] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray uint16-out-out-None] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray uint16-out-out-90] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray uint16-out-out-0.4] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray uint16-out-bytearray-None] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray uint16-out-bytearray-90] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray uint16-out-bytearray-0.4] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray uint16-bytearray-new-None] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray uint16-bytearray-new-90] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray uint16-bytearray-new-0.4] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray uint16-bytearray-out-None] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray uint16-bytearray-out-90] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray uint16-bytearray-out-0.4] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray uint16-bytearray-bytearray-None] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray uint16-bytearray-bytearray-90] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray uint16-bytearray-bytearray-0.4] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray float16-new-new-None] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray float16-new-new-90] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray float16-new-new-0.4] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray float16-new-out-None] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray float16-new-out-90] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray float16-new-out-0.4] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray float16-new-bytearray-None] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray float16-new-bytearray-90] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray float16-new-bytearray-0.4] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray float16-out-new-None] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray float16-out-new-90] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray float16-out-new-0.4] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray float16-out-out-None] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray float16-out-out-90] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray float16-out-out-0.4] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray float16-out-bytearray-None] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray float16-out-bytearray-90] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray float16-out-bytearray-0.4] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray float16-bytearray-new-None] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray float16-bytearray-new-90] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray float16-bytearray-new-0.4] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray float16-bytearray-out-None] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray float16-bytearray-out-90] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray float16-bytearray-out-0.4] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray float16-bytearray-bytearray-None] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray float16-bytearray-bytearray-90] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray float16-bytearray-bytearray-0.4] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray float32-new-new-None] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray float32-new-new-90] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray float32-new-new-0.4] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray float32-new-out-None] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray float32-new-out-90] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray float32-new-out-0.4] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray float32-new-bytearray-None] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray float32-new-bytearray-90] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray float32-new-bytearray-0.4] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray float32-out-new-None] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray float32-out-new-90] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray float32-out-new-0.4] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray float32-out-out-None] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray float32-out-out-90] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray float32-out-out-0.4] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray float32-out-bytearray-None] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray float32-out-bytearray-90] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray float32-out-bytearray-0.4] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray float32-bytearray-new-None] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray float32-bytearray-new-90] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray float32-bytearray-new-0.4] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray float32-bytearray-out-None] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray float32-bytearray-out-90] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray float32-bytearray-out-0.4] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray float32-bytearray-bytearray-None] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray float32-bytearray-bytearray-90] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray float32-bytearray-bytearray-0.4] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[rgb uint8-new-new-None] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[rgb uint8-new-new-90] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[rgb uint8-new-new-0.4] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[rgb uint8-new-out-None] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[rgb uint8-new-out-90] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[rgb uint8-new-out-0.4] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[rgb uint8-new-bytearray-None] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[rgb uint8-new-bytearray-90] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[rgb uint8-new-bytearray-0.4] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[rgb uint8-out-new-None] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[rgb uint8-out-new-90] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[rgb uint8-out-new-0.4] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[rgb uint8-out-out-None] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[rgb uint8-out-out-90] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[rgb uint8-out-out-0.4] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[rgb uint8-out-bytearray-None] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[rgb uint8-out-bytearray-90] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb uint8-out-bytearray-0.4] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb uint8-bytearray-new-None] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb uint8-bytearray-new-90] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb uint8-bytearray-new-0.4] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb uint8-bytearray-out-None] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb uint8-bytearray-out-90] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb uint8-bytearray-out-0.4] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb uint8-bytearray-bytearray-None] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb uint8-bytearray-bytearray-90] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb uint8-bytearray-bytearray-0.4] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb uint16-new-new-None] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb uint16-new-new-90] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb uint16-new-new-0.4] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb uint16-new-out-None] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb uint16-new-out-90] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb uint16-new-out-0.4] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb uint16-new-bytearray-None] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb uint16-new-bytearray-90] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb uint16-new-bytearray-0.4] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb uint16-out-new-None] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb uint16-out-new-90] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb uint16-out-new-0.4] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb uint16-out-out-None] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb uint16-out-out-90] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb uint16-out-out-0.4] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb uint16-out-bytearray-None] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb uint16-out-bytearray-90] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb uint16-out-bytearray-0.4] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb uint16-bytearray-new-None] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb uint16-bytearray-new-90] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb uint16-bytearray-new-0.4] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb uint16-bytearray-out-None] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb uint16-bytearray-out-90] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb uint16-bytearray-out-0.4] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb uint16-bytearray-bytearray-None] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb uint16-bytearray-bytearray-90] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb uint16-bytearray-bytearray-0.4] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb float16-new-new-None] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb float16-new-new-90] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb float16-new-new-0.4] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb float16-new-out-None] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb float16-new-out-90] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb float16-new-out-0.4] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb float16-new-bytearray-None] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb float16-new-bytearray-90] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb float16-new-bytearray-0.4] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb float16-out-new-None] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb float16-out-new-90] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb float16-out-new-0.4] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb float16-out-out-None] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb float16-out-out-90] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb float16-out-out-0.4] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb float16-out-bytearray-None] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb float16-out-bytearray-90] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb float16-out-bytearray-0.4] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb float16-bytearray-new-None] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb float16-bytearray-new-90] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb float16-bytearray-new-0.4] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb float16-bytearray-out-None] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb float16-bytearray-out-90] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb float16-bytearray-out-0.4] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb float16-bytearray-bytearray-None] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb float16-bytearray-bytearray-90] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb float16-bytearray-bytearray-0.4] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb float32-new-new-None] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb float32-new-new-90] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb float32-new-new-0.4] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb float32-new-out-None] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb float32-new-out-90] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb float32-new-out-0.4] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb float32-new-bytearray-None] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb float32-new-bytearray-90] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb float32-new-bytearray-0.4] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb float32-out-new-None] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb float32-out-new-90] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb float32-out-new-0.4] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb float32-out-out-None] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb float32-out-out-90] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb float32-out-out-0.4] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb float32-out-bytearray-None] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb float32-out-bytearray-90] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb float32-out-bytearray-0.4] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb float32-bytearray-new-None] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb float32-bytearray-new-90] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb float32-bytearray-new-0.4] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb float32-bytearray-out-None] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb float32-bytearray-out-90] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb float32-bytearray-out-0.4] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb float32-bytearray-bytearray-None] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb float32-bytearray-bytearray-90] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb float32-bytearray-bytearray-0.4] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgba uint8-new-new-None] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgba uint8-new-new-90] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgba uint8-new-new-0.4] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgba uint8-new-out-None] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgba uint8-new-out-90] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgba uint8-new-out-0.4] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgba uint8-new-bytearray-None] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgba uint8-new-bytearray-90] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgba uint8-new-bytearray-0.4] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgba uint8-out-new-None] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba uint8-out-new-90] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba uint8-out-new-0.4] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba uint8-out-out-None] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba uint8-out-out-90] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba uint8-out-out-0.4] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba uint8-out-bytearray-None] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba uint8-out-bytearray-90] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba uint8-out-bytearray-0.4] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba uint8-bytearray-new-None] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba uint8-bytearray-new-90] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba uint8-bytearray-new-0.4] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba uint8-bytearray-out-None] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba uint8-bytearray-out-90] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba uint8-bytearray-out-0.4] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba uint8-bytearray-bytearray-None] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba uint8-bytearray-bytearray-90] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba uint8-bytearray-bytearray-0.4] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba uint16-new-new-None] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba uint16-new-new-90] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba uint16-new-new-0.4] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba uint16-new-out-None] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba uint16-new-out-90] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba uint16-new-out-0.4] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba uint16-new-bytearray-None] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba uint16-new-bytearray-90] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba uint16-new-bytearray-0.4] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba uint16-out-new-None] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba uint16-out-new-90] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba uint16-out-new-0.4] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba uint16-out-out-None] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba uint16-out-out-90] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba uint16-out-out-0.4] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba uint16-out-bytearray-None] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba uint16-out-bytearray-90] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba uint16-out-bytearray-0.4] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba uint16-bytearray-new-None] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba uint16-bytearray-new-90] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba uint16-bytearray-new-0.4] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba uint16-bytearray-out-None] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba uint16-bytearray-out-90] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba uint16-bytearray-out-0.4] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba uint16-bytearray-bytearray-None] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba uint16-bytearray-bytearray-90] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba uint16-bytearray-bytearray-0.4] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba float16-new-new-None] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba float16-new-new-90] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba float16-new-new-0.4] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba float16-new-out-None] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba float16-new-out-90] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba float16-new-out-0.4] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba float16-new-bytearray-None] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba float16-new-bytearray-90] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba float16-new-bytearray-0.4] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba float16-out-new-None] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba float16-out-new-90] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba float16-out-new-0.4] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba float16-out-out-None] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba float16-out-out-90] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba float16-out-out-0.4] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba float16-out-bytearray-None] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba float16-out-bytearray-90] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba float16-out-bytearray-0.4] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba float16-bytearray-new-None] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba float16-bytearray-new-90] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba float16-bytearray-new-0.4] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba float16-bytearray-out-None] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba float16-bytearray-out-90] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba float16-bytearray-out-0.4] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba float16-bytearray-bytearray-None] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba float16-bytearray-bytearray-90] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba float16-bytearray-bytearray-0.4] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba float32-new-new-None] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba float32-new-new-90] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba float32-new-new-0.4] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba float32-new-out-None] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba float32-new-out-90] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba float32-new-out-0.4] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba float32-new-bytearray-None] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba float32-new-bytearray-90] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba float32-new-bytearray-0.4] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba float32-out-new-None] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba float32-out-new-90] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba float32-out-new-0.4] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba float32-out-out-None] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba float32-out-out-90] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba float32-out-out-0.4] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba float32-out-bytearray-None] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba float32-out-bytearray-90] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba float32-out-bytearray-0.4] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba float32-bytearray-new-None] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba float32-bytearray-new-90] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba float32-bytearray-new-0.4] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba float32-bytearray-out-None] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba float32-bytearray-out-90] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba float32-bytearray-out-0.4] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba float32-bytearray-bytearray-None] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba float32-bytearray-bytearray-90] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba float32-bytearray-bytearray-0.4] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[channels uint8-new-new-None] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[channels uint8-new-new-90] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channels uint8-new-new-0.4] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channels uint8-new-out-None] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channels uint8-new-out-90] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channels uint8-new-out-0.4] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channels uint8-new-bytearray-None] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channels uint8-new-bytearray-90] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channels uint8-new-bytearray-0.4] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channels uint8-out-new-None] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channels uint8-out-new-90] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channels uint8-out-new-0.4] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channels uint8-out-out-None] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channels uint8-out-out-90] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channels uint8-out-out-0.4] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channels uint8-out-bytearray-None] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channels uint8-out-bytearray-90] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channels uint8-out-bytearray-0.4] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channels uint8-bytearray-new-None] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channels uint8-bytearray-new-90] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channels uint8-bytearray-new-0.4] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channels uint8-bytearray-out-None] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channels uint8-bytearray-out-90] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channels uint8-bytearray-out-0.4] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channels uint8-bytearray-bytearray-None] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channels uint8-bytearray-bytearray-90] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channels uint8-bytearray-bytearray-0.4] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channelsa uint8-new-new-None] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channelsa uint8-new-new-90] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channelsa uint8-new-new-0.4] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channelsa uint8-new-out-None] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channelsa uint8-new-out-90] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channelsa uint8-new-out-0.4] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channelsa uint8-new-bytearray-None] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channelsa uint8-new-bytearray-90] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channelsa uint8-new-bytearray-0.4] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channelsa uint8-out-new-None] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channelsa uint8-out-new-90] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channelsa uint8-out-new-0.4] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channelsa uint8-out-out-None] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channelsa uint8-out-out-90] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channelsa uint8-out-out-0.4] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channelsa uint8-out-bytearray-None] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channelsa uint8-out-bytearray-90] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channelsa uint8-out-bytearray-0.4] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channelsa uint8-bytearray-new-None] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channelsa uint8-bytearray-new-90] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channelsa uint8-bytearray-new-0.4] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channelsa uint8-bytearray-out-None] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channelsa uint8-bytearray-out-90] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channelsa uint8-bytearray-out-0.4] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channelsa uint8-bytearray-bytearray-None] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channelsa uint8-bytearray-bytearray-90] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channelsa uint8-bytearray-bytearray-0.4] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channels uint16-new-new-None] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channels uint16-new-new-90] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channels uint16-new-new-0.4] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channels uint16-new-out-None] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channels uint16-new-out-90] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channels uint16-new-out-0.4] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channels uint16-new-bytearray-None] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channels uint16-new-bytearray-90] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channels uint16-new-bytearray-0.4] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channels uint16-out-new-None] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channels uint16-out-new-90] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channels uint16-out-new-0.4] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channels uint16-out-out-None] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channels uint16-out-out-90] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channels uint16-out-out-0.4] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channels uint16-out-bytearray-None] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channels uint16-out-bytearray-90] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channels uint16-out-bytearray-0.4] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channels uint16-bytearray-new-None] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channels uint16-bytearray-new-90] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channels uint16-bytearray-new-0.4] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channels uint16-bytearray-out-None] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channels uint16-bytearray-out-90] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channels uint16-bytearray-out-0.4] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channels uint16-bytearray-bytearray-None] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channels uint16-bytearray-bytearray-90] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channels uint16-bytearray-bytearray-0.4] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channelsa uint16-new-new-None] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channelsa uint16-new-new-90] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channelsa uint16-new-new-0.4] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channelsa uint16-new-out-None] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channelsa uint16-new-out-90] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channelsa uint16-new-out-0.4] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channelsa uint16-new-bytearray-None] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channelsa uint16-new-bytearray-90] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channelsa uint16-new-bytearray-0.4] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channelsa uint16-out-new-None] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channelsa uint16-out-new-90] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channelsa uint16-out-new-0.4] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channelsa uint16-out-out-None] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channelsa uint16-out-out-90] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channelsa uint16-out-out-0.4] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channelsa uint16-out-bytearray-None] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channelsa uint16-out-bytearray-90] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channelsa uint16-out-bytearray-0.4] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channelsa uint16-bytearray-new-None] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channelsa uint16-bytearray-new-90] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channelsa uint16-bytearray-new-0.4] PASSED [ 39%] tests/test_imagecodecs.py::test_jpegxr[channelsa uint16-bytearray-out-None] PASSED [ 39%] tests/test_imagecodecs.py::test_jpegxr[channelsa uint16-bytearray-out-90] PASSED [ 39%] tests/test_imagecodecs.py::test_jpegxr[channelsa uint16-bytearray-out-0.4] PASSED [ 39%] tests/test_imagecodecs.py::test_jpegxr[channelsa uint16-bytearray-bytearray-None] PASSED [ 39%] tests/test_imagecodecs.py::test_jpegxr[channelsa uint16-bytearray-bytearray-90] PASSED [ 39%] tests/test_imagecodecs.py::test_jpegxr[channelsa uint16-bytearray-bytearray-0.4] PASSED [ 39%] tests/test_imagecodecs.py::test_jpegxr[cmyk uint8-new-new-None] PASSED [ 39%] tests/test_imagecodecs.py::test_jpegxr[cmyk uint8-new-new-90] PASSED [ 39%] tests/test_imagecodecs.py::test_jpegxr[cmyk uint8-new-new-0.4] PASSED [ 39%] tests/test_imagecodecs.py::test_jpegxr[cmyk uint8-new-out-None] PASSED [ 39%] tests/test_imagecodecs.py::test_jpegxr[cmyk uint8-new-out-90] PASSED [ 39%] tests/test_imagecodecs.py::test_jpegxr[cmyk uint8-new-out-0.4] PASSED [ 39%] tests/test_imagecodecs.py::test_jpegxr[cmyk uint8-new-bytearray-None] PASSED [ 39%] tests/test_imagecodecs.py::test_jpegxr[cmyk uint8-new-bytearray-90] PASSED [ 39%] tests/test_imagecodecs.py::test_jpegxr[cmyk uint8-new-bytearray-0.4] PASSED [ 39%] tests/test_imagecodecs.py::test_jpegxr[cmyk uint8-out-new-None] PASSED [ 39%] tests/test_imagecodecs.py::test_jpegxr[cmyk uint8-out-new-90] PASSED [ 39%] tests/test_imagecodecs.py::test_jpegxr[cmyk uint8-out-new-0.4] PASSED [ 39%] tests/test_imagecodecs.py::test_jpegxr[cmyk uint8-out-out-None] PASSED [ 39%] tests/test_imagecodecs.py::test_jpegxr[cmyk uint8-out-out-90] PASSED [ 39%] tests/test_imagecodecs.py::test_jpegxr[cmyk uint8-out-out-0.4] PASSED [ 39%] tests/test_imagecodecs.py::test_jpegxr[cmyk uint8-out-bytearray-None] PASSED [ 39%] tests/test_imagecodecs.py::test_jpegxr[cmyk uint8-out-bytearray-90] PASSED [ 39%] tests/test_imagecodecs.py::test_jpegxr[cmyk uint8-out-bytearray-0.4] PASSED [ 39%] tests/test_imagecodecs.py::test_jpegxr[cmyk uint8-bytearray-new-None] PASSED [ 39%] tests/test_imagecodecs.py::test_jpegxr[cmyk uint8-bytearray-new-90] PASSED [ 39%] tests/test_imagecodecs.py::test_jpegxr[cmyk uint8-bytearray-new-0.4] PASSED [ 39%] tests/test_imagecodecs.py::test_jpegxr[cmyk uint8-bytearray-out-None] PASSED [ 39%] tests/test_imagecodecs.py::test_jpegxr[cmyk uint8-bytearray-out-90] PASSED [ 39%] tests/test_imagecodecs.py::test_jpegxr[cmyk uint8-bytearray-out-0.4] PASSED [ 39%] tests/test_imagecodecs.py::test_jpegxr[cmyk uint8-bytearray-bytearray-None] PASSED [ 39%] tests/test_imagecodecs.py::test_jpegxr[cmyk uint8-bytearray-bytearray-90] PASSED [ 39%] tests/test_imagecodecs.py::test_jpegxr[cmyk uint8-bytearray-bytearray-0.4] PASSED [ 39%] tests/test_imagecodecs.py::test_jpegxr[cmyka uint8-new-new-None] PASSED [ 39%] tests/test_imagecodecs.py::test_jpegxr[cmyka uint8-new-new-90] PASSED [ 39%] tests/test_imagecodecs.py::test_jpegxr[cmyka uint8-new-new-0.4] PASSED [ 39%] tests/test_imagecodecs.py::test_jpegxr[cmyka uint8-new-out-None] PASSED [ 39%] tests/test_imagecodecs.py::test_jpegxr[cmyka uint8-new-out-90] PASSED [ 39%] tests/test_imagecodecs.py::test_jpegxr[cmyka uint8-new-out-0.4] PASSED [ 39%] tests/test_imagecodecs.py::test_jpegxr[cmyka uint8-new-bytearray-None] PASSED [ 39%] tests/test_imagecodecs.py::test_jpegxr[cmyka uint8-new-bytearray-90] PASSED [ 39%] tests/test_imagecodecs.py::test_jpegxr[cmyka uint8-new-bytearray-0.4] PASSED [ 39%] tests/test_imagecodecs.py::test_jpegxr[cmyka uint8-out-new-None] PASSED [ 39%] tests/test_imagecodecs.py::test_jpegxr[cmyka uint8-out-new-90] PASSED [ 39%] tests/test_imagecodecs.py::test_jpegxr[cmyka uint8-out-new-0.4] PASSED [ 39%] tests/test_imagecodecs.py::test_jpegxr[cmyka uint8-out-out-None] PASSED [ 39%] tests/test_imagecodecs.py::test_jpegxr[cmyka uint8-out-out-90] PASSED [ 39%] tests/test_imagecodecs.py::test_jpegxr[cmyka uint8-out-out-0.4] PASSED [ 39%] tests/test_imagecodecs.py::test_jpegxr[cmyka uint8-out-bytearray-None] PASSED [ 39%] tests/test_imagecodecs.py::test_jpegxr[cmyka uint8-out-bytearray-90] PASSED [ 39%] tests/test_imagecodecs.py::test_jpegxr[cmyka uint8-out-bytearray-0.4] PASSED [ 39%] tests/test_imagecodecs.py::test_jpegxr[cmyka uint8-bytearray-new-None] PASSED [ 39%] tests/test_imagecodecs.py::test_jpegxr[cmyka uint8-bytearray-new-90] PASSED [ 39%] tests/test_imagecodecs.py::test_jpegxr[cmyka uint8-bytearray-new-0.4] PASSED [ 39%] tests/test_imagecodecs.py::test_jpegxr[cmyka uint8-bytearray-out-None] PASSED [ 39%] tests/test_imagecodecs.py::test_jpegxr[cmyka uint8-bytearray-out-90] PASSED [ 39%] tests/test_imagecodecs.py::test_jpegxr[cmyka uint8-bytearray-out-0.4] PASSED [ 39%] tests/test_imagecodecs.py::test_jpegxr[cmyka uint8-bytearray-bytearray-None] PASSED [ 39%] tests/test_imagecodecs.py::test_jpegxr[cmyka uint8-bytearray-bytearray-90] PASSED [ 39%] tests/test_imagecodecs.py::test_jpegxr[cmyka uint8-bytearray-bytearray-0.4] PASSED [ 39%] tests/test_imagecodecs.py::test_png_encode_fast PASSED [ 39%] tests/test_imagecodecs.py::test_apng_encode_fast SKIPPED (apng missing) [ 39%] tests/test_imagecodecs.py::test_png_error PASSED [ 39%] tests/test_imagecodecs.py::test_apng_error SKIPPED (apng missing) [ 39%] tests/test_imagecodecs.py::test_apng[1-uint8] SKIPPED (apng missing) [ 39%] tests/test_imagecodecs.py::test_apng[1-uint16] SKIPPED (apng missing) [ 39%] tests/test_imagecodecs.py::test_apng[2-uint8] SKIPPED (apng missing) [ 39%] tests/test_imagecodecs.py::test_apng[2-uint16] SKIPPED (apng missing) [ 39%] tests/test_imagecodecs.py::test_apng[3-uint8] SKIPPED (apng missing) [ 39%] tests/test_imagecodecs.py::test_apng[3-uint16] SKIPPED (apng missing) [ 39%] tests/test_imagecodecs.py::test_apng[4-uint8] SKIPPED (apng missing) [ 39%] tests/test_imagecodecs.py::test_apng[4-uint16] SKIPPED (apng missing) [ 39%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgb-new-new-None] SKIPPED [ 39%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgb-new-new-5] SKIPPED [ 39%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgb-new-new--1] SKIPPED [ 39%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgb-new-out-None] SKIPPED [ 39%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgb-new-out-5] SKIPPED [ 39%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgb-new-out--1] SKIPPED [ 39%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgb-new-view-None] SKIPPED [ 39%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgb-new-view-5] SKIPPED [ 39%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgb-new-view--1] SKIPPED [ 39%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgb-new-bytearray-None] SKIPPED [ 39%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgb-new-bytearray-5] SKIPPED [ 39%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgb-new-bytearray--1] SKIPPED [ 39%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgb-out-new-None] SKIPPED [ 39%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgb-out-new-5] SKIPPED [ 39%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgb-out-new--1] SKIPPED [ 39%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgb-out-out-None] SKIPPED [ 39%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgb-out-out-5] SKIPPED [ 39%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgb-out-out--1] SKIPPED [ 39%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgb-out-view-None] SKIPPED [ 39%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgb-out-view-5] SKIPPED [ 39%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgb-out-view--1] SKIPPED [ 39%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgb-out-bytearray-None] SKIPPED [ 39%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgb-out-bytearray-5] SKIPPED [ 39%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgb-out-bytearray--1] SKIPPED [ 39%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgb-bytearray-new-None] SKIPPED [ 39%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgb-bytearray-new-5] SKIPPED [ 39%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgb-bytearray-new--1] SKIPPED [ 39%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgb-bytearray-out-None] SKIPPED [ 39%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgb-bytearray-out-5] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgb-bytearray-out--1] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgb-bytearray-view-None] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgb-bytearray-view-5] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgb-bytearray-view--1] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgb-bytearray-bytearray-None] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgb-bytearray-bytearray-5] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgb-bytearray-bytearray--1] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgba-new-new-None] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgba-new-new-5] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgba-new-new--1] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgba-new-out-None] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgba-new-out-5] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgba-new-out--1] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgba-new-view-None] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgba-new-view-5] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgba-new-view--1] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgba-new-bytearray-None] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgba-new-bytearray-5] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgba-new-bytearray--1] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgba-out-new-None] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgba-out-new-5] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgba-out-new--1] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgba-out-out-None] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgba-out-out-5] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgba-out-out--1] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgba-out-view-None] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgba-out-view-5] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgba-out-view--1] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgba-out-bytearray-None] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgba-out-bytearray-5] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgba-out-bytearray--1] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgba-bytearray-new-None] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgba-bytearray-new-5] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgba-bytearray-new--1] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgba-bytearray-out-None] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgba-bytearray-out-5] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgba-bytearray-out--1] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgba-bytearray-view-None] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgba-bytearray-view-5] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgba-bytearray-view--1] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgba-bytearray-bytearray-None] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgba-bytearray-bytearray-5] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgba-bytearray-bytearray--1] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-view-new-new-None] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-view-new-new-5] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-view-new-new--1] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-view-new-out-None] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-view-new-out-5] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-view-new-out--1] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-view-new-view-None] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-view-new-view-5] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-view-new-view--1] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-view-new-bytearray-None] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-view-new-bytearray-5] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-view-new-bytearray--1] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-view-out-new-None] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-view-out-new-5] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-view-out-new--1] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-view-out-out-None] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-view-out-out-5] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-view-out-out--1] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-view-out-view-None] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-view-out-view-5] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-view-out-view--1] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-view-out-bytearray-None] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-view-out-bytearray-5] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-view-out-bytearray--1] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-view-bytearray-new-None] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-view-bytearray-new-5] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-view-bytearray-new--1] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-view-bytearray-out-None] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-view-bytearray-out-5] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-view-bytearray-out--1] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-view-bytearray-view-None] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-view-bytearray-view-5] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-view-bytearray-view--1] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-view-bytearray-bytearray-None] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-view-bytearray-bytearray-5] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-view-bytearray-bytearray--1] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-gray-new-new-None] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-gray-new-new-5] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-gray-new-new--1] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-gray-new-out-None] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-gray-new-out-5] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-gray-new-out--1] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-gray-new-view-None] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-gray-new-view-5] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-gray-new-view--1] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-gray-new-bytearray-None] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-gray-new-bytearray-5] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-gray-new-bytearray--1] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-gray-out-new-None] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-gray-out-new-5] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-gray-out-new--1] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-gray-out-out-None] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-gray-out-out-5] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-gray-out-out--1] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-gray-out-view-None] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-gray-out-view-5] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-gray-out-view--1] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-gray-out-bytearray-None] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-gray-out-bytearray-5] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-gray-out-bytearray--1] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-gray-bytearray-new-None] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-gray-bytearray-new-5] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-gray-bytearray-new--1] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-gray-bytearray-out-None] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-gray-bytearray-out-5] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-gray-bytearray-out--1] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-gray-bytearray-view-None] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-gray-bytearray-view-5] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-gray-bytearray-view--1] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-gray-bytearray-bytearray-None] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-gray-bytearray-bytearray-5] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-gray-bytearray-bytearray--1] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-graya-new-new-None] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-graya-new-new-5] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-graya-new-new--1] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-graya-new-out-None] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-graya-new-out-5] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-graya-new-out--1] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-graya-new-view-None] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-graya-new-view-5] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-graya-new-view--1] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-graya-new-bytearray-None] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-graya-new-bytearray-5] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-graya-new-bytearray--1] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-graya-out-new-None] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-graya-out-new-5] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-graya-out-new--1] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-graya-out-out-None] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-graya-out-out-5] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-graya-out-out--1] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-graya-out-view-None] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-graya-out-view-5] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-graya-out-view--1] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-graya-out-bytearray-None] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-graya-out-bytearray-5] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-graya-out-bytearray--1] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-graya-bytearray-new-None] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-graya-bytearray-new-5] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-graya-bytearray-new--1] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-graya-bytearray-out-None] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-graya-bytearray-out-5] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-graya-bytearray-out--1] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-graya-bytearray-view-None] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-graya-bytearray-view-5] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-graya-bytearray-view--1] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-graya-bytearray-bytearray-None] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-graya-bytearray-bytearray-5] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-graya-bytearray-bytearray--1] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgb-new-new-None] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgb-new-new-5] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgb-new-new--1] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgb-new-out-None] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgb-new-out-5] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgb-new-out--1] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgb-new-view-None] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgb-new-view-5] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgb-new-view--1] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgb-new-bytearray-None] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgb-new-bytearray-5] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgb-new-bytearray--1] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgb-out-new-None] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgb-out-new-5] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgb-out-new--1] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgb-out-out-None] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgb-out-out-5] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgb-out-out--1] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgb-out-view-None] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgb-out-view-5] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgb-out-view--1] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgb-out-bytearray-None] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgb-out-bytearray-5] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgb-out-bytearray--1] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgb-bytearray-new-None] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgb-bytearray-new-5] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgb-bytearray-new--1] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgb-bytearray-out-None] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgb-bytearray-out-5] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgb-bytearray-out--1] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgb-bytearray-view-None] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgb-bytearray-view-5] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgb-bytearray-view--1] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgb-bytearray-bytearray-None] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgb-bytearray-bytearray-5] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgb-bytearray-bytearray--1] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgba-new-new-None] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgba-new-new-5] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgba-new-new--1] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgba-new-out-None] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgba-new-out-5] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgba-new-out--1] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgba-new-view-None] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgba-new-view-5] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgba-new-view--1] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgba-new-bytearray-None] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgba-new-bytearray-5] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgba-new-bytearray--1] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgba-out-new-None] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgba-out-new-5] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgba-out-new--1] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgba-out-out-None] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgba-out-out-5] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgba-out-out--1] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgba-out-view-None] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgba-out-view-5] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgba-out-view--1] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgba-out-bytearray-None] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgba-out-bytearray-5] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgba-out-bytearray--1] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgba-bytearray-new-None] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgba-bytearray-new-5] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgba-bytearray-new--1] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgba-bytearray-out-None] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgba-bytearray-out-5] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgba-bytearray-out--1] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgba-bytearray-view-None] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgba-bytearray-view-5] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgba-bytearray-view--1] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgba-bytearray-bytearray-None] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgba-bytearray-bytearray-5] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgba-bytearray-bytearray--1] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-view-new-new-None] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-view-new-new-5] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-view-new-new--1] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-view-new-out-None] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-view-new-out-5] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-view-new-out--1] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-view-new-view-None] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-view-new-view-5] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-view-new-view--1] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-view-new-bytearray-None] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-view-new-bytearray-5] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-view-new-bytearray--1] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-view-out-new-None] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-view-out-new-5] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-view-out-new--1] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-view-out-out-None] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-view-out-out-5] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-view-out-out--1] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-view-out-view-None] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-view-out-view-5] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-view-out-view--1] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-view-out-bytearray-None] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-view-out-bytearray-5] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-view-out-bytearray--1] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-view-bytearray-new-None] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-view-bytearray-new-5] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-view-bytearray-new--1] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-view-bytearray-out-None] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-view-bytearray-out-5] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-view-bytearray-out--1] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-view-bytearray-view-None] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-view-bytearray-view-5] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-view-bytearray-view--1] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-view-bytearray-bytearray-None] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-view-bytearray-bytearray-5] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-view-bytearray-bytearray--1] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-gray-new-new-None] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-gray-new-new-5] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-gray-new-new--1] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-gray-new-out-None] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-gray-new-out-5] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-gray-new-out--1] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-gray-new-view-None] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-gray-new-view-5] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-gray-new-view--1] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-gray-new-bytearray-None] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-gray-new-bytearray-5] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-gray-new-bytearray--1] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-gray-out-new-None] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-gray-out-new-5] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-gray-out-new--1] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-gray-out-out-None] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-gray-out-out-5] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-gray-out-out--1] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-gray-out-view-None] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-gray-out-view-5] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-gray-out-view--1] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-gray-out-bytearray-None] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-gray-out-bytearray-5] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-gray-out-bytearray--1] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-gray-bytearray-new-None] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-gray-bytearray-new-5] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-gray-bytearray-new--1] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-gray-bytearray-out-None] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-gray-bytearray-out-5] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-gray-bytearray-out--1] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-gray-bytearray-view-None] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-gray-bytearray-view-5] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-gray-bytearray-view--1] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-gray-bytearray-bytearray-None] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-gray-bytearray-bytearray-5] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-gray-bytearray-bytearray--1] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-graya-new-new-None] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-graya-new-new-5] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-graya-new-new--1] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-graya-new-out-None] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-graya-new-out-5] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-graya-new-out--1] SKIPPED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-graya-new-view-None] SKIPPED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-graya-new-view-5] SKIPPED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-graya-new-view--1] SKIPPED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-graya-new-bytearray-None] SKIPPED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-graya-new-bytearray-5] SKIPPED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-graya-new-bytearray--1] SKIPPED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-graya-out-new-None] SKIPPED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-graya-out-new-5] SKIPPED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-graya-out-new--1] SKIPPED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-graya-out-out-None] SKIPPED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-graya-out-out-5] SKIPPED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-graya-out-out--1] SKIPPED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-graya-out-view-None] SKIPPED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-graya-out-view-5] SKIPPED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-graya-out-view--1] SKIPPED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-graya-out-bytearray-None] SKIPPED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-graya-out-bytearray-5] SKIPPED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-graya-out-bytearray--1] SKIPPED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-graya-bytearray-new-None] SKIPPED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-graya-bytearray-new-5] SKIPPED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-graya-bytearray-new--1] SKIPPED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-graya-bytearray-out-None] SKIPPED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-graya-bytearray-out-5] SKIPPED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-graya-bytearray-out--1] SKIPPED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-graya-bytearray-view-None] SKIPPED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-graya-bytearray-view-5] SKIPPED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-graya-bytearray-view--1] SKIPPED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-graya-bytearray-bytearray-None] SKIPPED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-graya-bytearray-bytearray-5] SKIPPED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-graya-bytearray-bytearray--1] SKIPPED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgb-new-new-None] PASSED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgb-new-new-5] PASSED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgb-new-new--1] PASSED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgb-new-out-None] PASSED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgb-new-out-5] PASSED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgb-new-out--1] PASSED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgb-new-view-None] XFAIL [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgb-new-view-5] XFAIL [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgb-new-view--1] XFAIL [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgb-new-bytearray-None] PASSED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgb-new-bytearray-5] PASSED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgb-new-bytearray--1] PASSED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgb-out-new-None] PASSED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgb-out-new-5] PASSED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgb-out-new--1] PASSED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgb-out-out-None] PASSED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgb-out-out-5] PASSED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgb-out-out--1] PASSED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgb-out-view-None] XFAIL [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgb-out-view-5] XFAIL [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgb-out-view--1] XFAIL [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgb-out-bytearray-None] PASSED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgb-out-bytearray-5] PASSED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgb-out-bytearray--1] PASSED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgb-bytearray-new-None] PASSED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgb-bytearray-new-5] PASSED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgb-bytearray-new--1] PASSED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgb-bytearray-out-None] PASSED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgb-bytearray-out-5] PASSED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgb-bytearray-out--1] PASSED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgb-bytearray-view-None] XFAIL [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgb-bytearray-view-5] XFAIL [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgb-bytearray-view--1] XFAIL [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgb-bytearray-bytearray-None] PASSED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgb-bytearray-bytearray-5] PASSED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgb-bytearray-bytearray--1] PASSED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgba-new-new-None] PASSED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgba-new-new-5] PASSED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgba-new-new--1] PASSED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgba-new-out-None] PASSED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgba-new-out-5] PASSED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgba-new-out--1] PASSED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgba-new-view-None] XFAIL [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgba-new-view-5] XFAIL [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgba-new-view--1] XFAIL [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgba-new-bytearray-None] PASSED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgba-new-bytearray-5] PASSED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgba-new-bytearray--1] PASSED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgba-out-new-None] PASSED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgba-out-new-5] PASSED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgba-out-new--1] PASSED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgba-out-out-None] PASSED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgba-out-out-5] PASSED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgba-out-out--1] PASSED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgba-out-view-None] XFAIL [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgba-out-view-5] XFAIL [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgba-out-view--1] XFAIL [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgba-out-bytearray-None] PASSED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgba-out-bytearray-5] PASSED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgba-out-bytearray--1] PASSED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgba-bytearray-new-None] PASSED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgba-bytearray-new-5] PASSED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgba-bytearray-new--1] PASSED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgba-bytearray-out-None] PASSED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgba-bytearray-out-5] PASSED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgba-bytearray-out--1] PASSED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgba-bytearray-view-None] XFAIL [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgba-bytearray-view-5] XFAIL [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgba-bytearray-view--1] XFAIL [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgba-bytearray-bytearray-None] PASSED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgba-bytearray-bytearray-5] PASSED [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgba-bytearray-bytearray--1] PASSED [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-view-new-new-None] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-view-new-new-5] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-view-new-new--1] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-view-new-out-None] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-view-new-out-5] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-view-new-out--1] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-view-new-view-None] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-view-new-view-5] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-view-new-view--1] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-view-new-bytearray-None] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-view-new-bytearray-5] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-view-new-bytearray--1] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-view-out-new-None] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-view-out-new-5] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-view-out-new--1] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-view-out-out-None] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-view-out-out-5] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-view-out-out--1] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-view-out-view-None] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-view-out-view-5] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-view-out-view--1] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-view-out-bytearray-None] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-view-out-bytearray-5] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-view-out-bytearray--1] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-view-bytearray-new-None] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-view-bytearray-new-5] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-view-bytearray-new--1] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-view-bytearray-out-None] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-view-bytearray-out-5] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-view-bytearray-out--1] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-view-bytearray-view-None] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-view-bytearray-view-5] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-view-bytearray-view--1] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-view-bytearray-bytearray-None] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-view-bytearray-bytearray-5] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-view-bytearray-bytearray--1] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-gray-new-new-None] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-gray-new-new-5] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-gray-new-new--1] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-gray-new-out-None] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-gray-new-out-5] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-gray-new-out--1] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-gray-new-view-None] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-gray-new-view-5] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-gray-new-view--1] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-gray-new-bytearray-None] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-gray-new-bytearray-5] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-gray-new-bytearray--1] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-gray-out-new-None] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-gray-out-new-5] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-gray-out-new--1] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-gray-out-out-None] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-gray-out-out-5] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-gray-out-out--1] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-gray-out-view-None] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-gray-out-view-5] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-gray-out-view--1] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-gray-out-bytearray-None] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-gray-out-bytearray-5] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-gray-out-bytearray--1] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-gray-bytearray-new-None] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-gray-bytearray-new-5] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-gray-bytearray-new--1] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-gray-bytearray-out-None] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-gray-bytearray-out-5] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-gray-bytearray-out--1] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-gray-bytearray-view-None] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-gray-bytearray-view-5] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-gray-bytearray-view--1] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-gray-bytearray-bytearray-None] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-gray-bytearray-bytearray-5] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-gray-bytearray-bytearray--1] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-graya-new-new-None] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-graya-new-new-5] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-graya-new-new--1] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-graya-new-out-None] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-graya-new-out-5] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-graya-new-out--1] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-graya-new-view-None] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-graya-new-view-5] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-graya-new-view--1] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-graya-new-bytearray-None] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-graya-new-bytearray-5] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-graya-new-bytearray--1] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-graya-out-new-None] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-graya-out-new-5] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-graya-out-new--1] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-graya-out-out-None] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-graya-out-out-5] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-graya-out-out--1] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-graya-out-view-None] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-graya-out-view-5] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-graya-out-view--1] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-graya-out-bytearray-None] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-graya-out-bytearray-5] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-graya-out-bytearray--1] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-graya-bytearray-new-None] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-graya-bytearray-new-5] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-graya-bytearray-new--1] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-graya-bytearray-out-None] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-graya-bytearray-out-5] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-graya-bytearray-out--1] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-graya-bytearray-view-None] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-graya-bytearray-view-5] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-graya-bytearray-view--1] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-graya-bytearray-bytearray-None] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-graya-bytearray-bytearray-5] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-graya-bytearray-bytearray--1] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgb-new-new-None] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgb-new-new-5] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgb-new-new--1] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgb-new-out-None] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgb-new-out-5] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgb-new-out--1] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgb-new-view-None] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgb-new-view-5] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgb-new-view--1] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgb-new-bytearray-None] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgb-new-bytearray-5] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgb-new-bytearray--1] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgb-out-new-None] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgb-out-new-5] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgb-out-new--1] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgb-out-out-None] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgb-out-out-5] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgb-out-out--1] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgb-out-view-None] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgb-out-view-5] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgb-out-view--1] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgb-out-bytearray-None] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgb-out-bytearray-5] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgb-out-bytearray--1] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgb-bytearray-new-None] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgb-bytearray-new-5] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgb-bytearray-new--1] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgb-bytearray-out-None] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgb-bytearray-out-5] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgb-bytearray-out--1] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgb-bytearray-view-None] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgb-bytearray-view-5] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgb-bytearray-view--1] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgb-bytearray-bytearray-None] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgb-bytearray-bytearray-5] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgb-bytearray-bytearray--1] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgba-new-new-None] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgba-new-new-5] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgba-new-new--1] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgba-new-out-None] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgba-new-out-5] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgba-new-out--1] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgba-new-view-None] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgba-new-view-5] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgba-new-view--1] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgba-new-bytearray-None] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgba-new-bytearray-5] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgba-new-bytearray--1] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgba-out-new-None] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgba-out-new-5] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgba-out-new--1] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgba-out-out-None] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgba-out-out-5] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgba-out-out--1] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgba-out-view-None] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgba-out-view-5] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgba-out-view--1] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgba-out-bytearray-None] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgba-out-bytearray-5] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgba-out-bytearray--1] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgba-bytearray-new-None] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgba-bytearray-new-5] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgba-bytearray-new--1] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgba-bytearray-out-None] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgba-bytearray-out-5] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgba-bytearray-out--1] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgba-bytearray-view-None] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgba-bytearray-view-5] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgba-bytearray-view--1] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgba-bytearray-bytearray-None] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgba-bytearray-bytearray-5] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgba-bytearray-bytearray--1] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-view-new-new-None] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-view-new-new-5] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-view-new-new--1] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-view-new-out-None] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-view-new-out-5] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-view-new-out--1] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-view-new-view-None] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-view-new-view-5] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-view-new-view--1] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-view-new-bytearray-None] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-view-new-bytearray-5] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-view-new-bytearray--1] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-view-out-new-None] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-view-out-new-5] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-view-out-new--1] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-view-out-out-None] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-view-out-out-5] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-view-out-out--1] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-view-out-view-None] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-view-out-view-5] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-view-out-view--1] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-view-out-bytearray-None] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-view-out-bytearray-5] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-view-out-bytearray--1] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-view-bytearray-new-None] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-view-bytearray-new-5] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-view-bytearray-new--1] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-view-bytearray-out-None] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-view-bytearray-out-5] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-view-bytearray-out--1] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-view-bytearray-view-None] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-view-bytearray-view-5] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-view-bytearray-view--1] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-view-bytearray-bytearray-None] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-view-bytearray-bytearray-5] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-view-bytearray-bytearray--1] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-gray-new-new-None] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-gray-new-new-5] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-gray-new-new--1] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-gray-new-out-None] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-gray-new-out-5] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-gray-new-out--1] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-gray-new-view-None] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-gray-new-view-5] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-gray-new-view--1] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-gray-new-bytearray-None] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-gray-new-bytearray-5] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-gray-new-bytearray--1] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-gray-out-new-None] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-gray-out-new-5] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-gray-out-new--1] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-gray-out-out-None] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-gray-out-out-5] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-gray-out-out--1] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-gray-out-view-None] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-gray-out-view-5] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-gray-out-view--1] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-gray-out-bytearray-None] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-gray-out-bytearray-5] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-gray-out-bytearray--1] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-gray-bytearray-new-None] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-gray-bytearray-new-5] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-gray-bytearray-new--1] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-gray-bytearray-out-None] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-gray-bytearray-out-5] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-gray-bytearray-out--1] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-gray-bytearray-view-None] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-gray-bytearray-view-5] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-gray-bytearray-view--1] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-gray-bytearray-bytearray-None] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-gray-bytearray-bytearray-5] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-gray-bytearray-bytearray--1] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-graya-new-new-None] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-graya-new-new-5] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-graya-new-new--1] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-graya-new-out-None] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-graya-new-out-5] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-graya-new-out--1] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-graya-new-view-None] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-graya-new-view-5] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-graya-new-view--1] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-graya-new-bytearray-None] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-graya-new-bytearray-5] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-graya-new-bytearray--1] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-graya-out-new-None] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-graya-out-new-5] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-graya-out-new--1] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-graya-out-out-None] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-graya-out-out-5] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-graya-out-out--1] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-graya-out-view-None] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-graya-out-view-5] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-graya-out-view--1] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-graya-out-bytearray-None] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-graya-out-bytearray-5] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-graya-out-bytearray--1] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-graya-bytearray-new-None] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-graya-bytearray-new-5] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-graya-bytearray-new--1] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-graya-bytearray-out-None] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-graya-bytearray-out-5] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-graya-bytearray-out--1] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-graya-bytearray-view-None] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-graya-bytearray-view-5] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-graya-bytearray-view--1] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-graya-bytearray-bytearray-None] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-graya-bytearray-bytearray-5] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-graya-bytearray-bytearray--1] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgb-new-new-None] SKIPPED [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgb-new-new-5] SKIPPED [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgb-new-new--1] SKIPPED [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgb-new-out-None] SKIPPED [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgb-new-out-5] SKIPPED [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgb-new-out--1] SKIPPED [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgb-new-view-None] SKIPPED [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgb-new-view-5] SKIPPED [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgb-new-view--1] SKIPPED [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgb-new-bytearray-None] SKIPPED [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgb-new-bytearray-5] SKIPPED [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgb-new-bytearray--1] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgb-out-new-None] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgb-out-new-5] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgb-out-new--1] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgb-out-out-None] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgb-out-out-5] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgb-out-out--1] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgb-out-view-None] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgb-out-view-5] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgb-out-view--1] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgb-out-bytearray-None] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgb-out-bytearray-5] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgb-out-bytearray--1] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgb-bytearray-new-None] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgb-bytearray-new-5] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgb-bytearray-new--1] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgb-bytearray-out-None] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgb-bytearray-out-5] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgb-bytearray-out--1] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgb-bytearray-view-None] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgb-bytearray-view-5] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgb-bytearray-view--1] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgb-bytearray-bytearray-None] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgb-bytearray-bytearray-5] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgb-bytearray-bytearray--1] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgba-new-new-None] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgba-new-new-5] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgba-new-new--1] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgba-new-out-None] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgba-new-out-5] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgba-new-out--1] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgba-new-view-None] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgba-new-view-5] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgba-new-view--1] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgba-new-bytearray-None] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgba-new-bytearray-5] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgba-new-bytearray--1] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgba-out-new-None] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgba-out-new-5] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgba-out-new--1] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgba-out-out-None] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgba-out-out-5] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgba-out-out--1] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgba-out-view-None] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgba-out-view-5] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgba-out-view--1] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgba-out-bytearray-None] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgba-out-bytearray-5] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgba-out-bytearray--1] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgba-bytearray-new-None] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgba-bytearray-new-5] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgba-bytearray-new--1] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgba-bytearray-out-None] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgba-bytearray-out-5] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgba-bytearray-out--1] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgba-bytearray-view-None] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgba-bytearray-view-5] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgba-bytearray-view--1] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgba-bytearray-bytearray-None] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgba-bytearray-bytearray-5] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgba-bytearray-bytearray--1] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-view-new-new-None] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-view-new-new-5] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-view-new-new--1] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-view-new-out-None] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-view-new-out-5] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-view-new-out--1] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-view-new-view-None] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-view-new-view-5] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-view-new-view--1] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-view-new-bytearray-None] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-view-new-bytearray-5] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-view-new-bytearray--1] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-view-out-new-None] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-view-out-new-5] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-view-out-new--1] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-view-out-out-None] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-view-out-out-5] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-view-out-out--1] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-view-out-view-None] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-view-out-view-5] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-view-out-view--1] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-view-out-bytearray-None] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-view-out-bytearray-5] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-view-out-bytearray--1] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-view-bytearray-new-None] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-view-bytearray-new-5] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-view-bytearray-new--1] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-view-bytearray-out-None] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-view-bytearray-out-5] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-view-bytearray-out--1] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-view-bytearray-view-None] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-view-bytearray-view-5] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-view-bytearray-view--1] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-view-bytearray-bytearray-None] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-view-bytearray-bytearray-5] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-view-bytearray-bytearray--1] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-gray-new-new-None] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-gray-new-new-5] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-gray-new-new--1] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-gray-new-out-None] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-gray-new-out-5] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-gray-new-out--1] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-gray-new-view-None] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-gray-new-view-5] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-gray-new-view--1] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-gray-new-bytearray-None] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-gray-new-bytearray-5] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-gray-new-bytearray--1] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-gray-out-new-None] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-gray-out-new-5] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-gray-out-new--1] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-gray-out-out-None] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-gray-out-out-5] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-gray-out-out--1] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-gray-out-view-None] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-gray-out-view-5] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-gray-out-view--1] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-gray-out-bytearray-None] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-gray-out-bytearray-5] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-gray-out-bytearray--1] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-gray-bytearray-new-None] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-gray-bytearray-new-5] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-gray-bytearray-new--1] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-gray-bytearray-out-None] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-gray-bytearray-out-5] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-gray-bytearray-out--1] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-gray-bytearray-view-None] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-gray-bytearray-view-5] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-gray-bytearray-view--1] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-gray-bytearray-bytearray-None] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-gray-bytearray-bytearray-5] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-gray-bytearray-bytearray--1] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-graya-new-new-None] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-graya-new-new-5] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-graya-new-new--1] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-graya-new-out-None] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-graya-new-out-5] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-graya-new-out--1] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-graya-new-view-None] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-graya-new-view-5] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-graya-new-view--1] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-graya-new-bytearray-None] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-graya-new-bytearray-5] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-graya-new-bytearray--1] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-graya-out-new-None] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-graya-out-new-5] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-graya-out-new--1] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-graya-out-out-None] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-graya-out-out-5] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-graya-out-out--1] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-graya-out-view-None] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-graya-out-view-5] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-graya-out-view--1] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-graya-out-bytearray-None] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-graya-out-bytearray-5] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-graya-out-bytearray--1] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-graya-bytearray-new-None] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-graya-bytearray-new-5] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-graya-bytearray-new--1] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-graya-bytearray-out-None] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-graya-bytearray-out-5] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-graya-bytearray-out--1] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-graya-bytearray-view-None] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-graya-bytearray-view-5] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-graya-bytearray-view--1] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-graya-bytearray-bytearray-None] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-graya-bytearray-bytearray-5] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-graya-bytearray-bytearray--1] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgb-new-new-None] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgb-new-new-5] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgb-new-new--1] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgb-new-out-None] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgb-new-out-5] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgb-new-out--1] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgb-new-view-None] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgb-new-view-5] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgb-new-view--1] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgb-new-bytearray-None] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgb-new-bytearray-5] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgb-new-bytearray--1] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgb-out-new-None] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgb-out-new-5] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgb-out-new--1] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgb-out-out-None] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgb-out-out-5] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgb-out-out--1] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgb-out-view-None] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgb-out-view-5] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgb-out-view--1] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgb-out-bytearray-None] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgb-out-bytearray-5] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgb-out-bytearray--1] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgb-bytearray-new-None] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgb-bytearray-new-5] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgb-bytearray-new--1] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgb-bytearray-out-None] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgb-bytearray-out-5] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgb-bytearray-out--1] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgb-bytearray-view-None] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgb-bytearray-view-5] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgb-bytearray-view--1] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgb-bytearray-bytearray-None] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgb-bytearray-bytearray-5] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgb-bytearray-bytearray--1] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgba-new-new-None] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgba-new-new-5] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgba-new-new--1] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgba-new-out-None] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgba-new-out-5] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgba-new-out--1] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgba-new-view-None] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgba-new-view-5] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgba-new-view--1] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgba-new-bytearray-None] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgba-new-bytearray-5] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgba-new-bytearray--1] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgba-out-new-None] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgba-out-new-5] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgba-out-new--1] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgba-out-out-None] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgba-out-out-5] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgba-out-out--1] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgba-out-view-None] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgba-out-view-5] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgba-out-view--1] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgba-out-bytearray-None] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgba-out-bytearray-5] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgba-out-bytearray--1] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgba-bytearray-new-None] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgba-bytearray-new-5] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgba-bytearray-new--1] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgba-bytearray-out-None] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgba-bytearray-out-5] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgba-bytearray-out--1] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgba-bytearray-view-None] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgba-bytearray-view-5] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgba-bytearray-view--1] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgba-bytearray-bytearray-None] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgba-bytearray-bytearray-5] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgba-bytearray-bytearray--1] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-view-new-new-None] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-view-new-new-5] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-view-new-new--1] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-view-new-out-None] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-view-new-out-5] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-view-new-out--1] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-view-new-view-None] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-view-new-view-5] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-view-new-view--1] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-view-new-bytearray-None] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-view-new-bytearray-5] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-view-new-bytearray--1] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-view-out-new-None] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-view-out-new-5] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-view-out-new--1] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-view-out-out-None] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-view-out-out-5] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-view-out-out--1] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-view-out-view-None] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-view-out-view-5] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-view-out-view--1] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-view-out-bytearray-None] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-view-out-bytearray-5] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-view-out-bytearray--1] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-view-bytearray-new-None] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-view-bytearray-new-5] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-view-bytearray-new--1] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-view-bytearray-out-None] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-view-bytearray-out-5] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-view-bytearray-out--1] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-view-bytearray-view-None] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-view-bytearray-view-5] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-view-bytearray-view--1] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-view-bytearray-bytearray-None] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-view-bytearray-bytearray-5] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-view-bytearray-bytearray--1] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-gray-new-new-None] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-gray-new-new-5] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-gray-new-new--1] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-gray-new-out-None] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-gray-new-out-5] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-gray-new-out--1] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-gray-new-view-None] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-gray-new-view-5] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-gray-new-view--1] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-gray-new-bytearray-None] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-gray-new-bytearray-5] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-gray-new-bytearray--1] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-gray-out-new-None] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-gray-out-new-5] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-gray-out-new--1] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-gray-out-out-None] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-gray-out-out-5] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-gray-out-out--1] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-gray-out-view-None] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-gray-out-view-5] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-gray-out-view--1] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-gray-out-bytearray-None] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-gray-out-bytearray-5] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-gray-out-bytearray--1] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-gray-bytearray-new-None] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-gray-bytearray-new-5] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-gray-bytearray-new--1] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-gray-bytearray-out-None] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-gray-bytearray-out-5] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-gray-bytearray-out--1] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-gray-bytearray-view-None] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-gray-bytearray-view-5] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-gray-bytearray-view--1] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-gray-bytearray-bytearray-None] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-gray-bytearray-bytearray-5] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-gray-bytearray-bytearray--1] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-graya-new-new-None] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-graya-new-new-5] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-graya-new-new--1] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-graya-new-out-None] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-graya-new-out-5] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-graya-new-out--1] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-graya-new-view-None] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-graya-new-view-5] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-graya-new-view--1] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-graya-new-bytearray-None] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-graya-new-bytearray-5] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-graya-new-bytearray--1] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-graya-out-new-None] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-graya-out-new-5] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-graya-out-new--1] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-graya-out-out-None] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-graya-out-out-5] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-graya-out-out--1] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-graya-out-view-None] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-graya-out-view-5] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-graya-out-view--1] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-graya-out-bytearray-None] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-graya-out-bytearray-5] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-graya-out-bytearray--1] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-graya-bytearray-new-None] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-graya-bytearray-new-5] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-graya-bytearray-new--1] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-graya-bytearray-out-None] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-graya-bytearray-out-5] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-graya-bytearray-out--1] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-graya-bytearray-view-None] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-graya-bytearray-view-5] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-graya-bytearray-view--1] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-graya-bytearray-bytearray-None] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-graya-bytearray-bytearray-5] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-graya-bytearray-bytearray--1] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-new-view-None] XFAIL [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-new-view-5] XFAIL [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-new-view--1] XFAIL [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-out-view-None] XFAIL [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-out-view-5] XFAIL [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-out-view--1] XFAIL [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-bytearray-view-None] XFAIL [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-bytearray-view-5] XFAIL [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-bytearray-view--1] XFAIL [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-new-view-None] XFAIL [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-new-view-5] XFAIL [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-new-view--1] XFAIL [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-out-view-None] XFAIL [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-out-view-5] XFAIL [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-out-view--1] XFAIL [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-bytearray-view-None] XFAIL [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-bytearray-view-5] XFAIL [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-bytearray-view--1] XFAIL [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-view-new-new-None] XFAIL [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-view-new-new-5] XFAIL [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-view-new-new--1] XFAIL [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-view-new-out-None] XFAIL [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-view-new-out-5] XFAIL [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-view-new-out--1] XFAIL [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-view-new-view-None] XFAIL [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-view-new-view-5] XFAIL [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-view-new-view--1] XFAIL [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-view-new-bytearray-None] XFAIL [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-view-new-bytearray-5] XFAIL [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-view-new-bytearray--1] XFAIL [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-view-out-new-None] XFAIL [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-view-out-new-5] XFAIL [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-view-out-new--1] XFAIL [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-view-out-out-None] XFAIL [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-view-out-out-5] XFAIL [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-view-out-out--1] XFAIL [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-view-out-view-None] XFAIL [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-view-out-view-5] XFAIL [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-view-out-view--1] XFAIL [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-view-out-bytearray-None] XFAIL [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-view-out-bytearray-5] XFAIL [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-view-out-bytearray--1] XFAIL [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-view-bytearray-new-None] XFAIL [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-view-bytearray-new-5] XFAIL [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-view-bytearray-new--1] XFAIL [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-view-bytearray-out-None] XFAIL [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-view-bytearray-out-5] XFAIL [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-view-bytearray-out--1] XFAIL [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-view-bytearray-view-None] XFAIL [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-view-bytearray-view-5] XFAIL [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-view-bytearray-view--1] XFAIL [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-view-bytearray-bytearray-None] XFAIL [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-view-bytearray-bytearray-5] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-view-bytearray-bytearray--1] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-gray-new-new-None] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-gray-new-new-5] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-gray-new-new--1] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-gray-new-out-None] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-gray-new-out-5] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-gray-new-out--1] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-gray-new-view-None] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-gray-new-view-5] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-gray-new-view--1] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-gray-new-bytearray-None] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-gray-new-bytearray-5] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-gray-new-bytearray--1] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-gray-out-new-None] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-gray-out-new-5] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-gray-out-new--1] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-gray-out-out-None] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-gray-out-out-5] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-gray-out-out--1] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-gray-out-view-None] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-gray-out-view-5] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-gray-out-view--1] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-gray-out-bytearray-None] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-gray-out-bytearray-5] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-gray-out-bytearray--1] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-gray-bytearray-new-None] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-gray-bytearray-new-5] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-gray-bytearray-new--1] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-gray-bytearray-out-None] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-gray-bytearray-out-5] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-gray-bytearray-out--1] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-gray-bytearray-view-None] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-gray-bytearray-view-5] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-gray-bytearray-view--1] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-gray-bytearray-bytearray-None] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-gray-bytearray-bytearray-5] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-gray-bytearray-bytearray--1] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-graya-new-new-None] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-graya-new-new-5] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-graya-new-new--1] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-graya-new-out-None] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-graya-new-out-5] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-graya-new-out--1] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-graya-new-view-None] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-graya-new-view-5] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-graya-new-view--1] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-graya-new-bytearray-None] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-graya-new-bytearray-5] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-graya-new-bytearray--1] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-graya-out-new-None] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-graya-out-new-5] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-graya-out-new--1] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-graya-out-out-None] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-graya-out-out-5] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-graya-out-out--1] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-graya-out-view-None] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-graya-out-view-5] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-graya-out-view--1] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-graya-out-bytearray-None] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-graya-out-bytearray-5] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-graya-out-bytearray--1] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-graya-bytearray-new-None] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-graya-bytearray-new-5] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-graya-bytearray-new--1] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-graya-bytearray-out-None] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-graya-bytearray-out-5] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-graya-bytearray-out--1] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-graya-bytearray-view-None] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-graya-bytearray-view-5] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-graya-bytearray-view--1] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-graya-bytearray-bytearray-None] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-graya-bytearray-bytearray-5] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-graya-bytearray-bytearray--1] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgb-new-new-None] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgb-new-new-5] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgb-new-new--1] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgb-new-out-None] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgb-new-out-5] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgb-new-out--1] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgb-new-view-None] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgb-new-view-5] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgb-new-view--1] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgb-new-bytearray-None] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgb-new-bytearray-5] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgb-new-bytearray--1] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgb-out-new-None] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgb-out-new-5] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgb-out-new--1] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgb-out-out-None] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgb-out-out-5] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgb-out-out--1] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgb-out-view-None] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgb-out-view-5] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgb-out-view--1] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgb-out-bytearray-None] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgb-out-bytearray-5] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgb-out-bytearray--1] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgb-bytearray-new-None] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgb-bytearray-new-5] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgb-bytearray-new--1] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgb-bytearray-out-None] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgb-bytearray-out-5] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgb-bytearray-out--1] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgb-bytearray-view-None] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgb-bytearray-view-5] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgb-bytearray-view--1] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgb-bytearray-bytearray-None] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgb-bytearray-bytearray-5] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgb-bytearray-bytearray--1] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgba-new-new-None] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgba-new-new-5] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgba-new-new--1] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgba-new-out-None] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgba-new-out-5] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgba-new-out--1] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgba-new-view-None] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgba-new-view-5] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgba-new-view--1] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgba-new-bytearray-None] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgba-new-bytearray-5] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgba-new-bytearray--1] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgba-out-new-None] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgba-out-new-5] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgba-out-new--1] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgba-out-out-None] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgba-out-out-5] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgba-out-out--1] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgba-out-view-None] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgba-out-view-5] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgba-out-view--1] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgba-out-bytearray-None] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgba-out-bytearray-5] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgba-out-bytearray--1] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgba-bytearray-new-None] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgba-bytearray-new-5] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgba-bytearray-new--1] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgba-bytearray-out-None] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgba-bytearray-out-5] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgba-bytearray-out--1] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgba-bytearray-view-None] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgba-bytearray-view-5] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgba-bytearray-view--1] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgba-bytearray-bytearray-None] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgba-bytearray-bytearray-5] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgba-bytearray-bytearray--1] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-view-new-new-None] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-view-new-new-5] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-view-new-new--1] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-view-new-out-None] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-view-new-out-5] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-view-new-out--1] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-view-new-view-None] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-view-new-view-5] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-view-new-view--1] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-view-new-bytearray-None] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-view-new-bytearray-5] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-view-new-bytearray--1] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-view-out-new-None] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-view-out-new-5] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-view-out-new--1] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-view-out-out-None] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-view-out-out-5] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-view-out-out--1] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-view-out-view-None] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-view-out-view-5] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-view-out-view--1] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-view-out-bytearray-None] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-view-out-bytearray-5] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-view-out-bytearray--1] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-view-bytearray-new-None] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-view-bytearray-new-5] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-view-bytearray-new--1] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-view-bytearray-out-None] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-view-bytearray-out-5] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-view-bytearray-out--1] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-view-bytearray-view-None] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-view-bytearray-view-5] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-view-bytearray-view--1] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-view-bytearray-bytearray-None] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-view-bytearray-bytearray-5] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-view-bytearray-bytearray--1] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-gray-new-new-None] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-gray-new-new-5] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-gray-new-new--1] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-gray-new-out-None] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-gray-new-out-5] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-gray-new-out--1] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-gray-new-view-None] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-gray-new-view-5] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-gray-new-view--1] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-gray-new-bytearray-None] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-gray-new-bytearray-5] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-gray-new-bytearray--1] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-gray-out-new-None] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-gray-out-new-5] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-gray-out-new--1] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-gray-out-out-None] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-gray-out-out-5] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-gray-out-out--1] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-gray-out-view-None] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-gray-out-view-5] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-gray-out-view--1] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-gray-out-bytearray-None] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-gray-out-bytearray-5] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-gray-out-bytearray--1] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-gray-bytearray-new-None] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-gray-bytearray-new-5] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-gray-bytearray-new--1] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-gray-bytearray-out-None] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-gray-bytearray-out-5] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-gray-bytearray-out--1] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-gray-bytearray-view-None] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-gray-bytearray-view-5] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-gray-bytearray-view--1] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-gray-bytearray-bytearray-None] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-gray-bytearray-bytearray-5] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-gray-bytearray-bytearray--1] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-graya-new-new-None] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-graya-new-new-5] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-graya-new-new--1] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-graya-new-out-None] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-graya-new-out-5] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-graya-new-out--1] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-graya-new-view-None] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-graya-new-view-5] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-graya-new-view--1] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-graya-new-bytearray-None] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-graya-new-bytearray-5] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-graya-new-bytearray--1] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-graya-out-new-None] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-graya-out-new-5] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-graya-out-new--1] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-graya-out-out-None] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-graya-out-out-5] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-graya-out-out--1] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-graya-out-view-None] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-graya-out-view-5] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-graya-out-view--1] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-graya-out-bytearray-None] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-graya-out-bytearray-5] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-graya-out-bytearray--1] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-graya-bytearray-new-None] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-graya-bytearray-new-5] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-graya-bytearray-new--1] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-graya-bytearray-out-None] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-graya-bytearray-out-5] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-graya-bytearray-out--1] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-graya-bytearray-view-None] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-graya-bytearray-view-5] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-graya-bytearray-view--1] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-graya-bytearray-bytearray-None] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-graya-bytearray-bytearray-5] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-graya-bytearray-bytearray--1] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgb-new-new-None] SKIPPED [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgb-new-new-5] SKIPPED [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgb-new-new--1] SKIPPED [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgb-new-out-None] SKIPPED [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgb-new-out-5] SKIPPED [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgb-new-out--1] SKIPPED [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgb-new-view-None] SKIPPED [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgb-new-view-5] SKIPPED [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgb-new-view--1] SKIPPED [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgb-new-bytearray-None] SKIPPED [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgb-new-bytearray-5] SKIPPED [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgb-new-bytearray--1] SKIPPED [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgb-out-new-None] SKIPPED [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgb-out-new-5] SKIPPED [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgb-out-new--1] SKIPPED [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgb-out-out-None] SKIPPED [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgb-out-out-5] SKIPPED [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgb-out-out--1] SKIPPED [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgb-out-view-None] SKIPPED [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgb-out-view-5] SKIPPED [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgb-out-view--1] SKIPPED [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgb-out-bytearray-None] SKIPPED [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgb-out-bytearray-5] SKIPPED [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgb-out-bytearray--1] SKIPPED [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgb-bytearray-new-None] SKIPPED [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgb-bytearray-new-5] SKIPPED [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgb-bytearray-new--1] SKIPPED [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgb-bytearray-out-None] SKIPPED [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgb-bytearray-out-5] SKIPPED [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgb-bytearray-out--1] SKIPPED [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgb-bytearray-view-None] SKIPPED [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgb-bytearray-view-5] SKIPPED [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgb-bytearray-view--1] SKIPPED [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgb-bytearray-bytearray-None] SKIPPED [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgb-bytearray-bytearray-5] SKIPPED [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgb-bytearray-bytearray--1] SKIPPED [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgba-new-new-None] SKIPPED [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgba-new-new-5] SKIPPED [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgba-new-new--1] SKIPPED [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgba-new-out-None] SKIPPED [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgba-new-out-5] SKIPPED [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgba-new-out--1] SKIPPED [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgba-new-view-None] SKIPPED [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgba-new-view-5] SKIPPED [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgba-new-view--1] SKIPPED [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgba-new-bytearray-None] SKIPPED [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgba-new-bytearray-5] SKIPPED [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgba-new-bytearray--1] SKIPPED [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgba-out-new-None] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgba-out-new-5] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgba-out-new--1] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgba-out-out-None] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgba-out-out-5] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgba-out-out--1] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgba-out-view-None] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgba-out-view-5] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgba-out-view--1] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgba-out-bytearray-None] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgba-out-bytearray-5] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgba-out-bytearray--1] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgba-bytearray-new-None] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgba-bytearray-new-5] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgba-bytearray-new--1] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgba-bytearray-out-None] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgba-bytearray-out-5] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgba-bytearray-out--1] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgba-bytearray-view-None] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgba-bytearray-view-5] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgba-bytearray-view--1] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgba-bytearray-bytearray-None] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgba-bytearray-bytearray-5] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgba-bytearray-bytearray--1] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-view-new-new-None] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-view-new-new-5] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-view-new-new--1] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-view-new-out-None] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-view-new-out-5] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-view-new-out--1] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-view-new-view-None] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-view-new-view-5] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-view-new-view--1] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-view-new-bytearray-None] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-view-new-bytearray-5] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-view-new-bytearray--1] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-view-out-new-None] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-view-out-new-5] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-view-out-new--1] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-view-out-out-None] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-view-out-out-5] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-view-out-out--1] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-view-out-view-None] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-view-out-view-5] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-view-out-view--1] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-view-out-bytearray-None] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-view-out-bytearray-5] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-view-out-bytearray--1] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-view-bytearray-new-None] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-view-bytearray-new-5] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-view-bytearray-new--1] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-view-bytearray-out-None] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-view-bytearray-out-5] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-view-bytearray-out--1] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-view-bytearray-view-None] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-view-bytearray-view-5] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-view-bytearray-view--1] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-view-bytearray-bytearray-None] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-view-bytearray-bytearray-5] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-view-bytearray-bytearray--1] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-gray-new-new-None] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-gray-new-new-5] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-gray-new-new--1] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-gray-new-out-None] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-gray-new-out-5] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-gray-new-out--1] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-gray-new-view-None] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-gray-new-view-5] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-gray-new-view--1] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-gray-new-bytearray-None] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-gray-new-bytearray-5] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-gray-new-bytearray--1] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-gray-out-new-None] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-gray-out-new-5] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-gray-out-new--1] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-gray-out-out-None] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-gray-out-out-5] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-gray-out-out--1] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-gray-out-view-None] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-gray-out-view-5] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-gray-out-view--1] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-gray-out-bytearray-None] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-gray-out-bytearray-5] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-gray-out-bytearray--1] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-gray-bytearray-new-None] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-gray-bytearray-new-5] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-gray-bytearray-new--1] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-gray-bytearray-out-None] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-gray-bytearray-out-5] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-gray-bytearray-out--1] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-gray-bytearray-view-None] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-gray-bytearray-view-5] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-gray-bytearray-view--1] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-gray-bytearray-bytearray-None] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-gray-bytearray-bytearray-5] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-gray-bytearray-bytearray--1] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-graya-new-new-None] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-graya-new-new-5] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-graya-new-new--1] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-graya-new-out-None] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-graya-new-out-5] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-graya-new-out--1] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-graya-new-view-None] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-graya-new-view-5] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-graya-new-view--1] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-graya-new-bytearray-None] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-graya-new-bytearray-5] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-graya-new-bytearray--1] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-graya-out-new-None] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-graya-out-new-5] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-graya-out-new--1] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-graya-out-out-None] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-graya-out-out-5] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-graya-out-out--1] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-graya-out-view-None] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-graya-out-view-5] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-graya-out-view--1] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-graya-out-bytearray-None] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-graya-out-bytearray-5] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-graya-out-bytearray--1] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-graya-bytearray-new-None] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-graya-bytearray-new-5] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-graya-bytearray-new--1] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-graya-bytearray-out-None] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-graya-bytearray-out-5] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-graya-bytearray-out--1] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-graya-bytearray-view-None] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-graya-bytearray-view-5] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-graya-bytearray-view--1] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-graya-bytearray-bytearray-None] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-graya-bytearray-bytearray-5] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-graya-bytearray-bytearray--1] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgb-new-new-None] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgb-new-new-5] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgb-new-new--1] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgb-new-out-None] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgb-new-out-5] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgb-new-out--1] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgb-new-view-None] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgb-new-view-5] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgb-new-view--1] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgb-new-bytearray-None] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgb-new-bytearray-5] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgb-new-bytearray--1] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgb-out-new-None] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgb-out-new-5] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgb-out-new--1] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgb-out-out-None] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgb-out-out-5] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgb-out-out--1] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgb-out-view-None] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgb-out-view-5] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgb-out-view--1] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgb-out-bytearray-None] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgb-out-bytearray-5] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgb-out-bytearray--1] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgb-bytearray-new-None] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgb-bytearray-new-5] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgb-bytearray-new--1] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgb-bytearray-out-None] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgb-bytearray-out-5] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgb-bytearray-out--1] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgb-bytearray-view-None] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgb-bytearray-view-5] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgb-bytearray-view--1] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgb-bytearray-bytearray-None] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgb-bytearray-bytearray-5] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgb-bytearray-bytearray--1] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgba-new-new-None] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgba-new-new-5] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgba-new-new--1] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgba-new-out-None] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgba-new-out-5] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgba-new-out--1] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgba-new-view-None] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgba-new-view-5] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgba-new-view--1] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgba-new-bytearray-None] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgba-new-bytearray-5] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgba-new-bytearray--1] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgba-out-new-None] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgba-out-new-5] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgba-out-new--1] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgba-out-out-None] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgba-out-out-5] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgba-out-out--1] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgba-out-view-None] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgba-out-view-5] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgba-out-view--1] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgba-out-bytearray-None] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgba-out-bytearray-5] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgba-out-bytearray--1] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgba-bytearray-new-None] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgba-bytearray-new-5] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgba-bytearray-new--1] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgba-bytearray-out-None] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgba-bytearray-out-5] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgba-bytearray-out--1] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgba-bytearray-view-None] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgba-bytearray-view-5] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgba-bytearray-view--1] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgba-bytearray-bytearray-None] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgba-bytearray-bytearray-5] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgba-bytearray-bytearray--1] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-view-new-new-None] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-view-new-new-5] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-view-new-new--1] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-view-new-out-None] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-view-new-out-5] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-view-new-out--1] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-view-new-view-None] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-view-new-view-5] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-view-new-view--1] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-view-new-bytearray-None] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-view-new-bytearray-5] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-view-new-bytearray--1] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-view-out-new-None] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-view-out-new-5] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-view-out-new--1] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-view-out-out-None] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-view-out-out-5] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-view-out-out--1] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-view-out-view-None] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-view-out-view-5] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-view-out-view--1] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-view-out-bytearray-None] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-view-out-bytearray-5] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-view-out-bytearray--1] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-view-bytearray-new-None] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-view-bytearray-new-5] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-view-bytearray-new--1] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-view-bytearray-out-None] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-view-bytearray-out-5] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-view-bytearray-out--1] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-view-bytearray-view-None] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-view-bytearray-view-5] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-view-bytearray-view--1] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-view-bytearray-bytearray-None] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-view-bytearray-bytearray-5] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-view-bytearray-bytearray--1] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-gray-new-new-None] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-gray-new-new-5] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-gray-new-new--1] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-gray-new-out-None] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-gray-new-out-5] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-gray-new-out--1] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-gray-new-view-None] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-gray-new-view-5] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-gray-new-view--1] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-gray-new-bytearray-None] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-gray-new-bytearray-5] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-gray-new-bytearray--1] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-gray-out-new-None] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-gray-out-new-5] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-gray-out-new--1] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-gray-out-out-None] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-gray-out-out-5] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-gray-out-out--1] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-gray-out-view-None] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-gray-out-view-5] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-gray-out-view--1] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-gray-out-bytearray-None] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-gray-out-bytearray-5] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-gray-out-bytearray--1] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-gray-bytearray-new-None] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-gray-bytearray-new-5] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-gray-bytearray-new--1] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-gray-bytearray-out-None] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-gray-bytearray-out-5] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-gray-bytearray-out--1] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-gray-bytearray-view-None] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-gray-bytearray-view-5] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-gray-bytearray-view--1] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-gray-bytearray-bytearray-None] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-gray-bytearray-bytearray-5] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-gray-bytearray-bytearray--1] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-graya-new-new-None] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-graya-new-new-5] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-graya-new-new--1] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-graya-new-out-None] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-graya-new-out-5] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-graya-new-out--1] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-graya-new-view-None] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-graya-new-view-5] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-graya-new-view--1] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-graya-new-bytearray-None] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-graya-new-bytearray-5] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-graya-new-bytearray--1] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-graya-out-new-None] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-graya-out-new-5] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-graya-out-new--1] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-graya-out-out-None] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-graya-out-out-5] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-graya-out-out--1] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-graya-out-view-None] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-graya-out-view-5] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-graya-out-view--1] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-graya-out-bytearray-None] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-graya-out-bytearray-5] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-graya-out-bytearray--1] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-graya-bytearray-new-None] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-graya-bytearray-new-5] SKIPPED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-graya-bytearray-new--1] SKIPPED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-graya-bytearray-out-None] SKIPPED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-graya-bytearray-out-5] SKIPPED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-graya-bytearray-out--1] SKIPPED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-graya-bytearray-view-None] SKIPPED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-graya-bytearray-view-5] SKIPPED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-graya-bytearray-view--1] SKIPPED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-graya-bytearray-bytearray-None] SKIPPED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-graya-bytearray-bytearray-5] SKIPPED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-graya-bytearray-bytearray--1] SKIPPED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgb-new-new-None] PASSED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgb-new-new-5] PASSED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgb-new-new--1] PASSED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgb-new-out-None] PASSED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgb-new-out-5] PASSED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgb-new-out--1] PASSED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgb-new-view-None] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgb-new-view-5] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgb-new-view--1] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgb-new-bytearray-None] PASSED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgb-new-bytearray-5] PASSED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgb-new-bytearray--1] PASSED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgb-out-new-None] PASSED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgb-out-new-5] PASSED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgb-out-new--1] PASSED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgb-out-out-None] PASSED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgb-out-out-5] PASSED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgb-out-out--1] PASSED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgb-out-view-None] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgb-out-view-5] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgb-out-view--1] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgb-out-bytearray-None] PASSED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgb-out-bytearray-5] PASSED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgb-out-bytearray--1] PASSED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgb-bytearray-new-None] PASSED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgb-bytearray-new-5] PASSED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgb-bytearray-new--1] PASSED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgb-bytearray-out-None] PASSED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgb-bytearray-out-5] PASSED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgb-bytearray-out--1] PASSED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgb-bytearray-view-None] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgb-bytearray-view-5] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgb-bytearray-view--1] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgb-bytearray-bytearray-None] PASSED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgb-bytearray-bytearray-5] PASSED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgb-bytearray-bytearray--1] PASSED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgba-new-new-None] PASSED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgba-new-new-5] PASSED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgba-new-new--1] PASSED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgba-new-out-None] PASSED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgba-new-out-5] PASSED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgba-new-out--1] PASSED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgba-new-view-None] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgba-new-view-5] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgba-new-view--1] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgba-new-bytearray-None] PASSED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgba-new-bytearray-5] PASSED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgba-new-bytearray--1] PASSED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgba-out-new-None] PASSED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgba-out-new-5] PASSED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgba-out-new--1] PASSED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgba-out-out-None] PASSED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgba-out-out-5] PASSED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgba-out-out--1] PASSED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgba-out-view-None] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgba-out-view-5] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgba-out-view--1] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgba-out-bytearray-None] PASSED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgba-out-bytearray-5] PASSED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgba-out-bytearray--1] PASSED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgba-bytearray-new-None] PASSED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgba-bytearray-new-5] PASSED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgba-bytearray-new--1] PASSED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgba-bytearray-out-None] PASSED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgba-bytearray-out-5] PASSED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgba-bytearray-out--1] PASSED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgba-bytearray-view-None] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgba-bytearray-view-5] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgba-bytearray-view--1] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgba-bytearray-bytearray-None] PASSED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgba-bytearray-bytearray-5] PASSED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgba-bytearray-bytearray--1] PASSED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-view-new-new-None] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-view-new-new-5] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-view-new-new--1] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-view-new-out-None] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-view-new-out-5] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-view-new-out--1] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-view-new-view-None] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-view-new-view-5] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-view-new-view--1] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-view-new-bytearray-None] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-view-new-bytearray-5] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-view-new-bytearray--1] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-view-out-new-None] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-view-out-new-5] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-view-out-new--1] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-view-out-out-None] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-view-out-out-5] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-view-out-out--1] XFAIL [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-view-out-view-None] XFAIL [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-view-out-view-5] XFAIL [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-view-out-view--1] XFAIL [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-view-out-bytearray-None] XFAIL [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-view-out-bytearray-5] XFAIL [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-view-out-bytearray--1] XFAIL [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-view-bytearray-new-None] XFAIL [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-view-bytearray-new-5] XFAIL [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-view-bytearray-new--1] XFAIL [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-view-bytearray-out-None] XFAIL [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-view-bytearray-out-5] XFAIL [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-view-bytearray-out--1] XFAIL [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-view-bytearray-view-None] XFAIL [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-view-bytearray-view-5] XFAIL [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-view-bytearray-view--1] XFAIL [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-view-bytearray-bytearray-None] XFAIL [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-view-bytearray-bytearray-5] XFAIL [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-view-bytearray-bytearray--1] XFAIL [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-gray-new-new-None] PASSED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-gray-new-new-5] PASSED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-gray-new-new--1] PASSED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-gray-new-out-None] PASSED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-gray-new-out-5] PASSED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-gray-new-out--1] PASSED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-gray-new-view-None] XFAIL [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-gray-new-view-5] XFAIL [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-gray-new-view--1] XFAIL [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-gray-new-bytearray-None] PASSED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-gray-new-bytearray-5] PASSED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-gray-new-bytearray--1] PASSED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-gray-out-new-None] PASSED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-gray-out-new-5] PASSED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-gray-out-new--1] PASSED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-gray-out-out-None] PASSED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-gray-out-out-5] PASSED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-gray-out-out--1] PASSED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-gray-out-view-None] XFAIL [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-gray-out-view-5] XFAIL [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-gray-out-view--1] XFAIL [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-gray-out-bytearray-None] PASSED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-gray-out-bytearray-5] PASSED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-gray-out-bytearray--1] PASSED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-gray-bytearray-new-None] PASSED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-gray-bytearray-new-5] PASSED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-gray-bytearray-new--1] PASSED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-gray-bytearray-out-None] PASSED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-gray-bytearray-out-5] PASSED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-gray-bytearray-out--1] PASSED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-gray-bytearray-view-None] XFAIL [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-gray-bytearray-view-5] XFAIL [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-gray-bytearray-view--1] XFAIL [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-gray-bytearray-bytearray-None] PASSED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-gray-bytearray-bytearray-5] PASSED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-gray-bytearray-bytearray--1] PASSED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-graya-new-new-None] XFAIL [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-graya-new-new-5] XFAIL [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-graya-new-new--1] XFAIL [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-graya-new-out-None] XFAIL [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-graya-new-out-5] XFAIL [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-graya-new-out--1] XFAIL [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-graya-new-view-None] XFAIL [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-graya-new-view-5] XFAIL [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-graya-new-view--1] XFAIL [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-graya-new-bytearray-None] XFAIL [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-graya-new-bytearray-5] XFAIL [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-graya-new-bytearray--1] XFAIL [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-graya-out-new-None] XFAIL [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-graya-out-new-5] XFAIL [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-graya-out-new--1] XFAIL [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-graya-out-out-None] XFAIL [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-graya-out-out-5] XFAIL [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-graya-out-out--1] XFAIL [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-graya-out-view-None] XFAIL [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-graya-out-view-5] XFAIL [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-graya-out-view--1] XFAIL [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-graya-out-bytearray-None] XFAIL [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-graya-out-bytearray-5] XFAIL [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-graya-out-bytearray--1] XFAIL [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-graya-bytearray-new-None] XFAIL [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-graya-bytearray-new-5] XFAIL [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-graya-bytearray-new--1] XFAIL [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-graya-bytearray-out-None] XFAIL [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-graya-bytearray-out-5] XFAIL [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-graya-bytearray-out--1] XFAIL [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-graya-bytearray-view-None] XFAIL [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-graya-bytearray-view-5] XFAIL [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-graya-bytearray-view--1] XFAIL [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-graya-bytearray-bytearray-None] XFAIL [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-graya-bytearray-bytearray-5] XFAIL [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-graya-bytearray-bytearray--1] XFAIL [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgb-new-new-None] XFAIL [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgb-new-new-5] XFAIL [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgb-new-new--1] XFAIL [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgb-new-out-None] XFAIL [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgb-new-out-5] XFAIL [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgb-new-out--1] XFAIL [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgb-new-view-None] XFAIL [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgb-new-view-5] XFAIL [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgb-new-view--1] XFAIL [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgb-new-bytearray-None] XFAIL [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgb-new-bytearray-5] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgb-new-bytearray--1] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgb-out-new-None] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgb-out-new-5] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgb-out-new--1] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgb-out-out-None] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgb-out-out-5] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgb-out-out--1] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgb-out-view-None] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgb-out-view-5] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgb-out-view--1] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgb-out-bytearray-None] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgb-out-bytearray-5] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgb-out-bytearray--1] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgb-bytearray-new-None] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgb-bytearray-new-5] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgb-bytearray-new--1] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgb-bytearray-out-None] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgb-bytearray-out-5] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgb-bytearray-out--1] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgb-bytearray-view-None] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgb-bytearray-view-5] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgb-bytearray-view--1] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgb-bytearray-bytearray-None] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgb-bytearray-bytearray-5] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgb-bytearray-bytearray--1] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgba-new-new-None] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgba-new-new-5] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgba-new-new--1] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgba-new-out-None] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgba-new-out-5] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgba-new-out--1] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgba-new-view-None] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgba-new-view-5] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgba-new-view--1] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgba-new-bytearray-None] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgba-new-bytearray-5] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgba-new-bytearray--1] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgba-out-new-None] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgba-out-new-5] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgba-out-new--1] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgba-out-out-None] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgba-out-out-5] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgba-out-out--1] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgba-out-view-None] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgba-out-view-5] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgba-out-view--1] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgba-out-bytearray-None] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgba-out-bytearray-5] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgba-out-bytearray--1] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgba-bytearray-new-None] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgba-bytearray-new-5] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgba-bytearray-new--1] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgba-bytearray-out-None] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgba-bytearray-out-5] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgba-bytearray-out--1] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgba-bytearray-view-None] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgba-bytearray-view-5] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgba-bytearray-view--1] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgba-bytearray-bytearray-None] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgba-bytearray-bytearray-5] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgba-bytearray-bytearray--1] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-view-new-new-None] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-view-new-new-5] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-view-new-new--1] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-view-new-out-None] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-view-new-out-5] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-view-new-out--1] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-view-new-view-None] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-view-new-view-5] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-view-new-view--1] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-view-new-bytearray-None] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-view-new-bytearray-5] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-view-new-bytearray--1] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-view-out-new-None] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-view-out-new-5] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-view-out-new--1] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-view-out-out-None] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-view-out-out-5] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-view-out-out--1] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-view-out-view-None] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-view-out-view-5] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-view-out-view--1] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-view-out-bytearray-None] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-view-out-bytearray-5] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-view-out-bytearray--1] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-view-bytearray-new-None] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-view-bytearray-new-5] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-view-bytearray-new--1] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-view-bytearray-out-None] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-view-bytearray-out-5] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-view-bytearray-out--1] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-view-bytearray-view-None] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-view-bytearray-view-5] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-view-bytearray-view--1] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-view-bytearray-bytearray-None] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-view-bytearray-bytearray-5] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-view-bytearray-bytearray--1] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-gray-new-new-None] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-gray-new-new-5] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-gray-new-new--1] XFAIL [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-gray-new-out-None] XFAIL [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-gray-new-out-5] XFAIL [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-gray-new-out--1] XFAIL [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-gray-new-view-None] XFAIL [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-gray-new-view-5] XFAIL [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-gray-new-view--1] XFAIL [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-gray-new-bytearray-None] XFAIL [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-gray-new-bytearray-5] XFAIL [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-gray-new-bytearray--1] XFAIL [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-gray-out-new-None] XFAIL [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-gray-out-new-5] XFAIL [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-gray-out-new--1] XFAIL [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-gray-out-out-None] XFAIL [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-gray-out-out-5] XFAIL [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-gray-out-out--1] XFAIL [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-gray-out-view-None] XFAIL [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-gray-out-view-5] XFAIL [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-gray-out-view--1] XFAIL [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-gray-out-bytearray-None] XFAIL [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-gray-out-bytearray-5] XFAIL [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-gray-out-bytearray--1] XFAIL [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-gray-bytearray-new-None] XFAIL [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-gray-bytearray-new-5] XFAIL [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-gray-bytearray-new--1] XFAIL [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-gray-bytearray-out-None] XFAIL [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-gray-bytearray-out-5] XFAIL [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-gray-bytearray-out--1] XFAIL [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-gray-bytearray-view-None] XFAIL [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-gray-bytearray-view-5] XFAIL [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-gray-bytearray-view--1] XFAIL [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-gray-bytearray-bytearray-None] XFAIL [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-gray-bytearray-bytearray-5] XFAIL [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-gray-bytearray-bytearray--1] XFAIL [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-graya-new-new-None] XFAIL [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-graya-new-new-5] XFAIL [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-graya-new-new--1] XFAIL [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-graya-new-out-None] XFAIL [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-graya-new-out-5] XFAIL [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-graya-new-out--1] XFAIL [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-graya-new-view-None] XFAIL [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-graya-new-view-5] XFAIL [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-graya-new-view--1] XFAIL [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-graya-new-bytearray-None] XFAIL [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-graya-new-bytearray-5] XFAIL [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-graya-new-bytearray--1] XFAIL [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-graya-out-new-None] XFAIL [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-graya-out-new-5] XFAIL [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-graya-out-new--1] XFAIL [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-graya-out-out-None] XFAIL [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-graya-out-out-5] XFAIL [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-graya-out-out--1] XFAIL [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-graya-out-view-None] XFAIL [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-graya-out-view-5] XFAIL [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-graya-out-view--1] XFAIL [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-graya-out-bytearray-None] XFAIL [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-graya-out-bytearray-5] XFAIL [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-graya-out-bytearray--1] XFAIL [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-graya-bytearray-new-None] XFAIL [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-graya-bytearray-new-5] XFAIL [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-graya-bytearray-new--1] XFAIL [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-graya-bytearray-out-None] XFAIL [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-graya-bytearray-out-5] XFAIL [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-graya-bytearray-out--1] XFAIL [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-graya-bytearray-view-None] XFAIL [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-graya-bytearray-view-5] XFAIL [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-graya-bytearray-view--1] XFAIL [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-graya-bytearray-bytearray-None] XFAIL [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-graya-bytearray-bytearray-5] XFAIL [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-graya-bytearray-bytearray--1] XFAIL [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-rgb-new-new-None] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-rgb-new-new-5] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-rgb-new-new--1] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-rgb-new-out-None] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-rgb-new-out-5] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-rgb-new-out--1] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-rgb-new-view-None] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-rgb-new-view-5] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-rgb-new-view--1] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-rgb-new-bytearray-None] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-rgb-new-bytearray-5] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-rgb-new-bytearray--1] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-rgb-out-new-None] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-rgb-out-new-5] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-rgb-out-new--1] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-rgb-out-out-None] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-rgb-out-out-5] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-rgb-out-out--1] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-rgb-out-view-None] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-rgb-out-view-5] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-rgb-out-view--1] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-rgb-out-bytearray-None] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-rgb-out-bytearray-5] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-rgb-out-bytearray--1] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-rgb-bytearray-new-None] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-rgb-bytearray-new-5] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-rgb-bytearray-new--1] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-rgb-bytearray-out-None] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-rgb-bytearray-out-5] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-rgb-bytearray-out--1] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-rgb-bytearray-view-None] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-rgb-bytearray-view-5] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-rgb-bytearray-view--1] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-rgb-bytearray-bytearray-None] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-rgb-bytearray-bytearray-5] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-rgb-bytearray-bytearray--1] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-rgba-new-new-None] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-rgba-new-new-5] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-rgba-new-new--1] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-rgba-new-out-None] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-rgba-new-out-5] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-rgba-new-out--1] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-rgba-new-view-None] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-rgba-new-view-5] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-rgba-new-view--1] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-rgba-new-bytearray-None] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-rgba-new-bytearray-5] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-rgba-new-bytearray--1] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-rgba-out-new-None] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-rgba-out-new-5] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-rgba-out-new--1] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-rgba-out-out-None] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-rgba-out-out-5] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-rgba-out-out--1] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-rgba-out-view-None] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-rgba-out-view-5] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-rgba-out-view--1] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-rgba-out-bytearray-None] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-rgba-out-bytearray-5] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-rgba-out-bytearray--1] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-rgba-bytearray-new-None] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-rgba-bytearray-new-5] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-rgba-bytearray-new--1] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-rgba-bytearray-out-None] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-rgba-bytearray-out-5] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-rgba-bytearray-out--1] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-rgba-bytearray-view-None] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-rgba-bytearray-view-5] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-rgba-bytearray-view--1] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-rgba-bytearray-bytearray-None] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-rgba-bytearray-bytearray-5] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-rgba-bytearray-bytearray--1] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-view-new-new-None] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-view-new-new-5] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-view-new-new--1] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-view-new-out-None] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-view-new-out-5] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-view-new-out--1] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-view-new-view-None] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-view-new-view-5] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-view-new-view--1] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-view-new-bytearray-None] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-view-new-bytearray-5] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-view-new-bytearray--1] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-view-out-new-None] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-view-out-new-5] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-view-out-new--1] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-view-out-out-None] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-view-out-out-5] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-view-out-out--1] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-view-out-view-None] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-view-out-view-5] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-view-out-view--1] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-view-out-bytearray-None] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-view-out-bytearray-5] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-view-out-bytearray--1] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-view-bytearray-new-None] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-view-bytearray-new-5] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-view-bytearray-new--1] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-view-bytearray-out-None] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-view-bytearray-out-5] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-view-bytearray-out--1] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-view-bytearray-view-None] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-view-bytearray-view-5] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-view-bytearray-view--1] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-view-bytearray-bytearray-None] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-view-bytearray-bytearray-5] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-view-bytearray-bytearray--1] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-gray-new-new-None] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-gray-new-new-5] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-gray-new-new--1] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-gray-new-out-None] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-gray-new-out-5] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-gray-new-out--1] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-gray-new-view-None] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-gray-new-view-5] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-gray-new-view--1] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-gray-new-bytearray-None] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-gray-new-bytearray-5] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-gray-new-bytearray--1] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-gray-out-new-None] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-gray-out-new-5] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-gray-out-new--1] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-gray-out-out-None] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-gray-out-out-5] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-gray-out-out--1] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-gray-out-view-None] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-gray-out-view-5] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-gray-out-view--1] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-gray-out-bytearray-None] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-gray-out-bytearray-5] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-gray-out-bytearray--1] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-gray-bytearray-new-None] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-gray-bytearray-new-5] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-gray-bytearray-new--1] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-gray-bytearray-out-None] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-gray-bytearray-out-5] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-gray-bytearray-out--1] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-gray-bytearray-view-None] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-gray-bytearray-view-5] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-gray-bytearray-view--1] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-gray-bytearray-bytearray-None] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-gray-bytearray-bytearray-5] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-gray-bytearray-bytearray--1] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-graya-new-new-None] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-graya-new-new-5] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-graya-new-new--1] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-graya-new-out-None] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-graya-new-out-5] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-graya-new-out--1] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-graya-new-view-None] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-graya-new-view-5] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-graya-new-view--1] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-graya-new-bytearray-None] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-graya-new-bytearray-5] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-graya-new-bytearray--1] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-graya-out-new-None] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-graya-out-new-5] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-graya-out-new--1] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-graya-out-out-None] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-graya-out-out-5] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-graya-out-out--1] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-graya-out-view-None] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-graya-out-view-5] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-graya-out-view--1] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-graya-out-bytearray-None] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-graya-out-bytearray-5] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-graya-out-bytearray--1] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-graya-bytearray-new-None] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-graya-bytearray-new-5] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-graya-bytearray-new--1] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-graya-bytearray-out-None] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-graya-bytearray-out-5] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-graya-bytearray-out--1] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-graya-bytearray-view-None] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-graya-bytearray-view-5] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-graya-bytearray-view--1] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-graya-bytearray-bytearray-None] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-graya-bytearray-bytearray-5] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-graya-bytearray-bytearray--1] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-rgb-new-new-None] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-rgb-new-new-5] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-rgb-new-new--1] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-rgb-new-out-None] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-rgb-new-out-5] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-rgb-new-out--1] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-rgb-new-view-None] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-rgb-new-view-5] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-rgb-new-view--1] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-rgb-new-bytearray-None] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-rgb-new-bytearray-5] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-rgb-new-bytearray--1] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-rgb-out-new-None] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-rgb-out-new-5] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-rgb-out-new--1] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-rgb-out-out-None] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-rgb-out-out-5] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-rgb-out-out--1] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-rgb-out-view-None] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-rgb-out-view-5] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-rgb-out-view--1] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-rgb-out-bytearray-None] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-rgb-out-bytearray-5] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-rgb-out-bytearray--1] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-rgb-bytearray-new-None] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-rgb-bytearray-new-5] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-rgb-bytearray-new--1] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-rgb-bytearray-out-None] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-rgb-bytearray-out-5] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-rgb-bytearray-out--1] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-rgb-bytearray-view-None] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-rgb-bytearray-view-5] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-rgb-bytearray-view--1] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-rgb-bytearray-bytearray-None] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-rgb-bytearray-bytearray-5] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-rgb-bytearray-bytearray--1] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-rgba-new-new-None] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-rgba-new-new-5] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-rgba-new-new--1] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-rgba-new-out-None] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-rgba-new-out-5] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-rgba-new-out--1] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-rgba-new-view-None] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-rgba-new-view-5] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-rgba-new-view--1] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-rgba-new-bytearray-None] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-rgba-new-bytearray-5] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-rgba-new-bytearray--1] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-rgba-out-new-None] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-rgba-out-new-5] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-rgba-out-new--1] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-rgba-out-out-None] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-rgba-out-out-5] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-rgba-out-out--1] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-rgba-out-view-None] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-rgba-out-view-5] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-rgba-out-view--1] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-rgba-out-bytearray-None] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-rgba-out-bytearray-5] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-rgba-out-bytearray--1] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-rgba-bytearray-new-None] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-rgba-bytearray-new-5] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-rgba-bytearray-new--1] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-rgba-bytearray-out-None] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-rgba-bytearray-out-5] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-rgba-bytearray-out--1] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-rgba-bytearray-view-None] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-rgba-bytearray-view-5] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-rgba-bytearray-view--1] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-rgba-bytearray-bytearray-None] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-rgba-bytearray-bytearray-5] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-rgba-bytearray-bytearray--1] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-view-new-new-None] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-view-new-new-5] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-view-new-new--1] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-view-new-out-None] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-view-new-out-5] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-view-new-out--1] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-view-new-view-None] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-view-new-view-5] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-view-new-view--1] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-view-new-bytearray-None] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-view-new-bytearray-5] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-view-new-bytearray--1] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-view-out-new-None] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-view-out-new-5] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-view-out-new--1] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-view-out-out-None] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-view-out-out-5] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-view-out-out--1] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-view-out-view-None] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-view-out-view-5] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-view-out-view--1] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-view-out-bytearray-None] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-view-out-bytearray-5] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-view-out-bytearray--1] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-view-bytearray-new-None] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-view-bytearray-new-5] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-view-bytearray-new--1] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-view-bytearray-out-None] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-view-bytearray-out-5] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-view-bytearray-out--1] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-view-bytearray-view-None] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-view-bytearray-view-5] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-view-bytearray-view--1] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-view-bytearray-bytearray-None] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-view-bytearray-bytearray-5] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-view-bytearray-bytearray--1] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-gray-new-new-None] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-gray-new-new-5] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-gray-new-new--1] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-gray-new-out-None] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-gray-new-out-5] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-gray-new-out--1] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-gray-new-view-None] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-gray-new-view-5] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-gray-new-view--1] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-gray-new-bytearray-None] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-gray-new-bytearray-5] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-gray-new-bytearray--1] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-gray-out-new-None] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-gray-out-new-5] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-gray-out-new--1] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-gray-out-out-None] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-gray-out-out-5] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-gray-out-out--1] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-gray-out-view-None] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-gray-out-view-5] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-gray-out-view--1] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-gray-out-bytearray-None] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-gray-out-bytearray-5] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-gray-out-bytearray--1] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-gray-bytearray-new-None] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-gray-bytearray-new-5] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-gray-bytearray-new--1] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-gray-bytearray-out-None] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-gray-bytearray-out-5] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-gray-bytearray-out--1] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-gray-bytearray-view-None] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-gray-bytearray-view-5] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-gray-bytearray-view--1] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-gray-bytearray-bytearray-None] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-gray-bytearray-bytearray-5] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-gray-bytearray-bytearray--1] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-graya-new-new-None] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-graya-new-new-5] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-graya-new-new--1] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-graya-new-out-None] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-graya-new-out-5] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-graya-new-out--1] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-graya-new-view-None] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-graya-new-view-5] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-graya-new-view--1] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-graya-new-bytearray-None] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-graya-new-bytearray-5] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-graya-new-bytearray--1] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-graya-out-new-None] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-graya-out-new-5] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-graya-out-new--1] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-graya-out-out-None] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-graya-out-out-5] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-graya-out-out--1] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-graya-out-view-None] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-graya-out-view-5] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-graya-out-view--1] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-graya-out-bytearray-None] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-graya-out-bytearray-5] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-graya-out-bytearray--1] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-graya-bytearray-new-None] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-graya-bytearray-new-5] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-graya-bytearray-new--1] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-graya-bytearray-out-None] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-graya-bytearray-out-5] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-graya-bytearray-out--1] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-graya-bytearray-view-None] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-graya-bytearray-view-5] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-graya-bytearray-view--1] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-graya-bytearray-bytearray-None] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-graya-bytearray-bytearray-5] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-graya-bytearray-bytearray--1] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgb-new-new-None] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgb-new-new-5] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgb-new-new--1] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgb-new-out-None] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgb-new-out-5] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgb-new-out--1] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgb-new-view-None] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgb-new-view-5] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgb-new-view--1] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgb-new-bytearray-None] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgb-new-bytearray-5] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgb-new-bytearray--1] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgb-out-new-None] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgb-out-new-5] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgb-out-new--1] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgb-out-out-None] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgb-out-out-5] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgb-out-out--1] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgb-out-view-None] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgb-out-view-5] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgb-out-view--1] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgb-out-bytearray-None] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgb-out-bytearray-5] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgb-out-bytearray--1] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgb-bytearray-new-None] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgb-bytearray-new-5] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgb-bytearray-new--1] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgb-bytearray-out-None] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgb-bytearray-out-5] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgb-bytearray-out--1] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgb-bytearray-view-None] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgb-bytearray-view-5] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgb-bytearray-view--1] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgb-bytearray-bytearray-None] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgb-bytearray-bytearray-5] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgb-bytearray-bytearray--1] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgba-new-new-None] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgba-new-new-5] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgba-new-new--1] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgba-new-out-None] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgba-new-out-5] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgba-new-out--1] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgba-new-view-None] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgba-new-view-5] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgba-new-view--1] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgba-new-bytearray-None] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgba-new-bytearray-5] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgba-new-bytearray--1] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgba-out-new-None] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgba-out-new-5] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgba-out-new--1] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgba-out-out-None] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgba-out-out-5] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgba-out-out--1] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgba-out-view-None] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgba-out-view-5] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgba-out-view--1] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgba-out-bytearray-None] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgba-out-bytearray-5] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgba-out-bytearray--1] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgba-bytearray-new-None] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgba-bytearray-new-5] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgba-bytearray-new--1] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgba-bytearray-out-None] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgba-bytearray-out-5] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgba-bytearray-out--1] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgba-bytearray-view-None] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgba-bytearray-view-5] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgba-bytearray-view--1] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgba-bytearray-bytearray-None] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgba-bytearray-bytearray-5] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgba-bytearray-bytearray--1] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-view-new-new-None] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-view-new-new-5] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-view-new-new--1] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-view-new-out-None] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-view-new-out-5] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-view-new-out--1] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-view-new-view-None] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-view-new-view-5] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-view-new-view--1] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-view-new-bytearray-None] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-view-new-bytearray-5] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-view-new-bytearray--1] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-view-out-new-None] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-view-out-new-5] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-view-out-new--1] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-view-out-out-None] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-view-out-out-5] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-view-out-out--1] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-view-out-view-None] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-view-out-view-5] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-view-out-view--1] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-view-out-bytearray-None] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-view-out-bytearray-5] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-view-out-bytearray--1] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-view-bytearray-new-None] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-view-bytearray-new-5] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-view-bytearray-new--1] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-view-bytearray-out-None] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-view-bytearray-out-5] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-view-bytearray-out--1] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-view-bytearray-view-None] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-view-bytearray-view-5] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-view-bytearray-view--1] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-view-bytearray-bytearray-None] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-view-bytearray-bytearray-5] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-view-bytearray-bytearray--1] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-gray-new-new-None] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-gray-new-new-5] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-gray-new-new--1] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-gray-new-out-None] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-gray-new-out-5] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-gray-new-out--1] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-gray-new-view-None] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-gray-new-view-5] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-gray-new-view--1] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-gray-new-bytearray-None] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-gray-new-bytearray-5] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-gray-new-bytearray--1] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-gray-out-new-None] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-gray-out-new-5] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-gray-out-new--1] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-gray-out-out-None] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-gray-out-out-5] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-gray-out-out--1] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-gray-out-view-None] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-gray-out-view-5] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-gray-out-view--1] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-gray-out-bytearray-None] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-gray-out-bytearray-5] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-gray-out-bytearray--1] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-gray-bytearray-new-None] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-gray-bytearray-new-5] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-gray-bytearray-new--1] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-gray-bytearray-out-None] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-gray-bytearray-out-5] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-gray-bytearray-out--1] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-gray-bytearray-view-None] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-gray-bytearray-view-5] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-gray-bytearray-view--1] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-gray-bytearray-bytearray-None] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-gray-bytearray-bytearray-5] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-gray-bytearray-bytearray--1] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-graya-new-new-None] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-graya-new-new-5] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-graya-new-new--1] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-graya-new-out-None] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-graya-new-out-5] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-graya-new-out--1] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-graya-new-view-None] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-graya-new-view-5] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-graya-new-view--1] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-graya-new-bytearray-None] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-graya-new-bytearray-5] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-graya-new-bytearray--1] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-graya-out-new-None] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-graya-out-new-5] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-graya-out-new--1] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-graya-out-out-None] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-graya-out-out-5] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-graya-out-out--1] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-graya-out-view-None] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-graya-out-view-5] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-graya-out-view--1] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-graya-out-bytearray-None] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-graya-out-bytearray-5] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-graya-out-bytearray--1] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-graya-bytearray-new-None] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-graya-bytearray-new-5] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-graya-bytearray-new--1] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-graya-bytearray-out-None] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-graya-bytearray-out-5] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-graya-bytearray-out--1] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-graya-bytearray-view-None] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-graya-bytearray-view-5] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-graya-bytearray-view--1] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-graya-bytearray-bytearray-None] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-graya-bytearray-bytearray-5] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-graya-bytearray-bytearray--1] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-rgb-new-new-None] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-rgb-new-new-5] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-rgb-new-new--1] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-rgb-new-out-None] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-rgb-new-out-5] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-rgb-new-out--1] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-rgb-new-view-None] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-rgb-new-view-5] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-rgb-new-view--1] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-rgb-new-bytearray-None] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-rgb-new-bytearray-5] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-rgb-new-bytearray--1] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-rgb-out-new-None] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-rgb-out-new-5] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-rgb-out-new--1] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-rgb-out-out-None] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-rgb-out-out-5] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-rgb-out-out--1] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-rgb-out-view-None] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-rgb-out-view-5] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-rgb-out-view--1] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-rgb-out-bytearray-None] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-rgb-out-bytearray-5] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-rgb-out-bytearray--1] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-rgb-bytearray-new-None] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-rgb-bytearray-new-5] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-rgb-bytearray-new--1] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-rgb-bytearray-out-None] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-rgb-bytearray-out-5] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-rgb-bytearray-out--1] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-rgb-bytearray-view-None] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-rgb-bytearray-view-5] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-rgb-bytearray-view--1] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-rgb-bytearray-bytearray-None] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-rgb-bytearray-bytearray-5] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-rgb-bytearray-bytearray--1] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-rgba-new-new-None] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-rgba-new-new-5] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-rgba-new-new--1] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-rgba-new-out-None] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-rgba-new-out-5] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-rgba-new-out--1] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-rgba-new-view-None] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-rgba-new-view-5] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-rgba-new-view--1] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-rgba-new-bytearray-None] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-rgba-new-bytearray-5] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-rgba-new-bytearray--1] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-rgba-out-new-None] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-rgba-out-new-5] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-rgba-out-new--1] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-rgba-out-out-None] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-rgba-out-out-5] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-rgba-out-out--1] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-rgba-out-view-None] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-rgba-out-view-5] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-rgba-out-view--1] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-rgba-out-bytearray-None] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-rgba-out-bytearray-5] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-rgba-out-bytearray--1] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-rgba-bytearray-new-None] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-rgba-bytearray-new-5] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-rgba-bytearray-new--1] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-rgba-bytearray-out-None] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-rgba-bytearray-out-5] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-rgba-bytearray-out--1] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-rgba-bytearray-view-None] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-rgba-bytearray-view-5] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-rgba-bytearray-view--1] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-rgba-bytearray-bytearray-None] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-rgba-bytearray-bytearray-5] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-rgba-bytearray-bytearray--1] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-view-new-new-None] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-view-new-new-5] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-view-new-new--1] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-view-new-out-None] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-view-new-out-5] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-view-new-out--1] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-view-new-view-None] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-view-new-view-5] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-view-new-view--1] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-view-new-bytearray-None] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-view-new-bytearray-5] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-view-new-bytearray--1] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-view-out-new-None] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-view-out-new-5] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-view-out-new--1] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-view-out-out-None] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-view-out-out-5] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-view-out-out--1] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-view-out-view-None] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-view-out-view-5] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-view-out-view--1] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-view-out-bytearray-None] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-view-out-bytearray-5] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-view-out-bytearray--1] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-view-bytearray-new-None] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-view-bytearray-new-5] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-view-bytearray-new--1] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-view-bytearray-out-None] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-view-bytearray-out-5] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-view-bytearray-out--1] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-view-bytearray-view-None] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-view-bytearray-view-5] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-view-bytearray-view--1] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-view-bytearray-bytearray-None] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-view-bytearray-bytearray-5] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-view-bytearray-bytearray--1] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-gray-new-new-None] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-gray-new-new-5] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-gray-new-new--1] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-gray-new-out-None] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-gray-new-out-5] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-gray-new-out--1] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-gray-new-view-None] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-gray-new-view-5] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-gray-new-view--1] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-gray-new-bytearray-None] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-gray-new-bytearray-5] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-gray-new-bytearray--1] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-gray-out-new-None] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-gray-out-new-5] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-gray-out-new--1] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-gray-out-out-None] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-gray-out-out-5] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-gray-out-out--1] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-gray-out-view-None] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-gray-out-view-5] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-gray-out-view--1] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-gray-out-bytearray-None] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-gray-out-bytearray-5] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-gray-out-bytearray--1] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-gray-bytearray-new-None] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-gray-bytearray-new-5] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-gray-bytearray-new--1] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-gray-bytearray-out-None] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-gray-bytearray-out-5] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-gray-bytearray-out--1] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-gray-bytearray-view-None] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-gray-bytearray-view-5] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-gray-bytearray-view--1] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-gray-bytearray-bytearray-None] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-gray-bytearray-bytearray-5] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-gray-bytearray-bytearray--1] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-graya-new-new-None] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-graya-new-new-5] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-graya-new-new--1] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-graya-new-out-None] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-graya-new-out-5] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-graya-new-out--1] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-graya-new-view-None] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-graya-new-view-5] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-graya-new-view--1] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-graya-new-bytearray-None] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-graya-new-bytearray-5] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-graya-new-bytearray--1] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-graya-out-new-None] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-graya-out-new-5] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-graya-out-new--1] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-graya-out-out-None] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-graya-out-out-5] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-graya-out-out--1] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-graya-out-view-None] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-graya-out-view-5] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-graya-out-view--1] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-graya-out-bytearray-None] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-graya-out-bytearray-5] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-graya-out-bytearray--1] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-graya-bytearray-new-None] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-graya-bytearray-new-5] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-graya-bytearray-new--1] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-graya-bytearray-out-None] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-graya-bytearray-out-5] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-graya-bytearray-out--1] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-graya-bytearray-view-None] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-graya-bytearray-view-5] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-graya-bytearray-view--1] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-graya-bytearray-bytearray-None] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-graya-bytearray-bytearray-5] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-graya-bytearray-bytearray--1] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgb-new-new-None] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgb-new-new-5] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgb-new-new--1] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgb-new-out-None] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgb-new-out-5] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgb-new-out--1] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgb-new-view-None] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgb-new-view-5] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgb-new-view--1] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgb-new-bytearray-None] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgb-new-bytearray-5] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgb-new-bytearray--1] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgb-out-new-None] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgb-out-new-5] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgb-out-new--1] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgb-out-out-None] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgb-out-out-5] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgb-out-out--1] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgb-out-view-None] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgb-out-view-5] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgb-out-view--1] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgb-out-bytearray-None] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgb-out-bytearray-5] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgb-out-bytearray--1] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgb-bytearray-new-None] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgb-bytearray-new-5] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgb-bytearray-new--1] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgb-bytearray-out-None] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgb-bytearray-out-5] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgb-bytearray-out--1] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgb-bytearray-view-None] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgb-bytearray-view-5] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgb-bytearray-view--1] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgb-bytearray-bytearray-None] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgb-bytearray-bytearray-5] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgb-bytearray-bytearray--1] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgba-new-new-None] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgba-new-new-5] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgba-new-new--1] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgba-new-out-None] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgba-new-out-5] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgba-new-out--1] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgba-new-view-None] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgba-new-view-5] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgba-new-view--1] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgba-new-bytearray-None] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgba-new-bytearray-5] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgba-new-bytearray--1] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgba-out-new-None] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgba-out-new-5] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgba-out-new--1] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgba-out-out-None] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgba-out-out-5] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgba-out-out--1] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgba-out-view-None] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgba-out-view-5] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgba-out-view--1] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgba-out-bytearray-None] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgba-out-bytearray-5] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgba-out-bytearray--1] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgba-bytearray-new-None] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgba-bytearray-new-5] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgba-bytearray-new--1] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgba-bytearray-out-None] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgba-bytearray-out-5] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgba-bytearray-out--1] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgba-bytearray-view-None] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgba-bytearray-view-5] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgba-bytearray-view--1] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgba-bytearray-bytearray-None] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgba-bytearray-bytearray-5] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgba-bytearray-bytearray--1] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-view-new-new-None] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-view-new-new-5] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-view-new-new--1] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-view-new-out-None] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-view-new-out-5] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-view-new-out--1] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-view-new-view-None] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-view-new-view-5] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-view-new-view--1] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-view-new-bytearray-None] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-view-new-bytearray-5] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-view-new-bytearray--1] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-view-out-new-None] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-view-out-new-5] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-view-out-new--1] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-view-out-out-None] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-view-out-out-5] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-view-out-out--1] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-view-out-view-None] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-view-out-view-5] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-view-out-view--1] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-view-out-bytearray-None] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-view-out-bytearray-5] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-view-out-bytearray--1] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-view-bytearray-new-None] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-view-bytearray-new-5] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-view-bytearray-new--1] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-view-bytearray-out-None] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-view-bytearray-out-5] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-view-bytearray-out--1] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-view-bytearray-view-None] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-view-bytearray-view-5] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-view-bytearray-view--1] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-view-bytearray-bytearray-None] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-view-bytearray-bytearray-5] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-view-bytearray-bytearray--1] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-gray-new-new-None] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-gray-new-new-5] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-gray-new-new--1] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-gray-new-out-None] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-gray-new-out-5] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-gray-new-out--1] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-gray-new-view-None] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-gray-new-view-5] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-gray-new-view--1] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-gray-new-bytearray-None] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-gray-new-bytearray-5] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-gray-new-bytearray--1] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-gray-out-new-None] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-gray-out-new-5] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-gray-out-new--1] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-gray-out-out-None] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-gray-out-out-5] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-gray-out-out--1] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-gray-out-view-None] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-gray-out-view-5] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-gray-out-view--1] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-gray-out-bytearray-None] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-gray-out-bytearray-5] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-gray-out-bytearray--1] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-gray-bytearray-new-None] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-gray-bytearray-new-5] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-gray-bytearray-new--1] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-gray-bytearray-out-None] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-gray-bytearray-out-5] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-gray-bytearray-out--1] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-gray-bytearray-view-None] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-gray-bytearray-view-5] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-gray-bytearray-view--1] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-gray-bytearray-bytearray-None] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-gray-bytearray-bytearray-5] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-gray-bytearray-bytearray--1] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-graya-new-new-None] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-graya-new-new-5] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-graya-new-new--1] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-graya-new-out-None] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-graya-new-out-5] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-graya-new-out--1] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-graya-new-view-None] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-graya-new-view-5] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-graya-new-view--1] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-graya-new-bytearray-None] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-graya-new-bytearray-5] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-graya-new-bytearray--1] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-graya-out-new-None] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-graya-out-new-5] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-graya-out-new--1] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-graya-out-out-None] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-graya-out-out-5] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-graya-out-out--1] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-graya-out-view-None] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-graya-out-view-5] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-graya-out-view--1] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-graya-out-bytearray-None] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-graya-out-bytearray-5] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-graya-out-bytearray--1] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-graya-bytearray-new-None] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-graya-bytearray-new-5] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-graya-bytearray-new--1] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-graya-bytearray-out-None] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-graya-bytearray-out-5] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-graya-bytearray-out--1] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-graya-bytearray-view-None] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-graya-bytearray-view-5] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-graya-bytearray-view--1] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-graya-bytearray-bytearray-None] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-graya-bytearray-bytearray-5] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-graya-bytearray-bytearray--1] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgb-new-new-None] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgb-new-new-5] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgb-new-new--1] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgb-new-out-None] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgb-new-out-5] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgb-new-out--1] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgb-new-view-None] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgb-new-view-5] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgb-new-view--1] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgb-new-bytearray-None] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgb-new-bytearray-5] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgb-new-bytearray--1] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgb-out-new-None] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgb-out-new-5] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgb-out-new--1] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgb-out-out-None] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgb-out-out-5] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgb-out-out--1] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgb-out-view-None] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgb-out-view-5] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgb-out-view--1] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgb-out-bytearray-None] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgb-out-bytearray-5] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgb-out-bytearray--1] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgb-bytearray-new-None] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgb-bytearray-new-5] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgb-bytearray-new--1] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgb-bytearray-out-None] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgb-bytearray-out-5] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgb-bytearray-out--1] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgb-bytearray-view-None] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgb-bytearray-view-5] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgb-bytearray-view--1] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgb-bytearray-bytearray-None] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgb-bytearray-bytearray-5] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgb-bytearray-bytearray--1] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgba-new-new-None] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgba-new-new-5] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgba-new-new--1] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgba-new-out-None] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgba-new-out-5] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgba-new-out--1] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgba-new-view-None] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgba-new-view-5] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgba-new-view--1] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgba-new-bytearray-None] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgba-new-bytearray-5] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgba-new-bytearray--1] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgba-out-new-None] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgba-out-new-5] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgba-out-new--1] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgba-out-out-None] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgba-out-out-5] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgba-out-out--1] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgba-out-view-None] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgba-out-view-5] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgba-out-view--1] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgba-out-bytearray-None] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgba-out-bytearray-5] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgba-out-bytearray--1] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgba-bytearray-new-None] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgba-bytearray-new-5] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgba-bytearray-new--1] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgba-bytearray-out-None] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgba-bytearray-out-5] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgba-bytearray-out--1] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgba-bytearray-view-None] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgba-bytearray-view-5] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgba-bytearray-view--1] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgba-bytearray-bytearray-None] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgba-bytearray-bytearray-5] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgba-bytearray-bytearray--1] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-view-new-new-None] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-view-new-new-5] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-view-new-new--1] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-view-new-out-None] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-view-new-out-5] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-view-new-out--1] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-view-new-view-None] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-view-new-view-5] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-view-new-view--1] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-view-new-bytearray-None] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-view-new-bytearray-5] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-view-new-bytearray--1] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-view-out-new-None] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-view-out-new-5] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-view-out-new--1] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-view-out-out-None] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-view-out-out-5] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-view-out-out--1] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-view-out-view-None] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-view-out-view-5] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-view-out-view--1] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-view-out-bytearray-None] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-view-out-bytearray-5] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-view-out-bytearray--1] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-view-bytearray-new-None] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-view-bytearray-new-5] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-view-bytearray-new--1] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-view-bytearray-out-None] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-view-bytearray-out-5] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-view-bytearray-out--1] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-view-bytearray-view-None] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-view-bytearray-view-5] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-view-bytearray-view--1] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-view-bytearray-bytearray-None] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-view-bytearray-bytearray-5] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-view-bytearray-bytearray--1] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-gray-new-new-None] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-gray-new-new-5] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-gray-new-new--1] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-gray-new-out-None] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-gray-new-out-5] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-gray-new-out--1] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-gray-new-view-None] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-gray-new-view-5] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-gray-new-view--1] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-gray-new-bytearray-None] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-gray-new-bytearray-5] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-gray-new-bytearray--1] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-gray-out-new-None] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-gray-out-new-5] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-gray-out-new--1] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-gray-out-out-None] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-gray-out-out-5] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-gray-out-out--1] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-gray-out-view-None] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-gray-out-view-5] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-gray-out-view--1] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-gray-out-bytearray-None] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-gray-out-bytearray-5] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-gray-out-bytearray--1] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-gray-bytearray-new-None] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-gray-bytearray-new-5] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-gray-bytearray-new--1] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-gray-bytearray-out-None] SKIPPED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-gray-bytearray-out-5] SKIPPED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-gray-bytearray-out--1] SKIPPED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-gray-bytearray-view-None] SKIPPED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-gray-bytearray-view-5] SKIPPED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-gray-bytearray-view--1] SKIPPED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-gray-bytearray-bytearray-None] SKIPPED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-gray-bytearray-bytearray-5] SKIPPED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-gray-bytearray-bytearray--1] SKIPPED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-graya-new-new-None] SKIPPED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-graya-new-new-5] SKIPPED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-graya-new-new--1] SKIPPED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-graya-new-out-None] SKIPPED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-graya-new-out-5] SKIPPED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-graya-new-out--1] SKIPPED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-graya-new-view-None] SKIPPED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-graya-new-view-5] SKIPPED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-graya-new-view--1] SKIPPED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-graya-new-bytearray-None] SKIPPED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-graya-new-bytearray-5] SKIPPED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-graya-new-bytearray--1] SKIPPED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-graya-out-new-None] SKIPPED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-graya-out-new-5] SKIPPED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-graya-out-new--1] SKIPPED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-graya-out-out-None] SKIPPED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-graya-out-out-5] SKIPPED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-graya-out-out--1] SKIPPED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-graya-out-view-None] SKIPPED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-graya-out-view-5] SKIPPED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-graya-out-view--1] SKIPPED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-graya-out-bytearray-None] SKIPPED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-graya-out-bytearray-5] SKIPPED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-graya-out-bytearray--1] SKIPPED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-graya-bytearray-new-None] SKIPPED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-graya-bytearray-new-5] SKIPPED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-graya-bytearray-new--1] SKIPPED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-graya-bytearray-out-None] SKIPPED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-graya-bytearray-out-5] SKIPPED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-graya-bytearray-out--1] SKIPPED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-graya-bytearray-view-None] SKIPPED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-graya-bytearray-view-5] SKIPPED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-graya-bytearray-view--1] SKIPPED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-graya-bytearray-bytearray-None] SKIPPED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-graya-bytearray-bytearray-5] SKIPPED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-graya-bytearray-bytearray--1] SKIPPED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgb-new-new-None] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgb-new-new-5] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgb-new-new--1] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgb-new-out-None] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgb-new-out-5] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgb-new-out--1] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgb-new-view-None] XFAIL [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgb-new-view-5] XFAIL [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgb-new-view--1] XFAIL [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgb-new-bytearray-None] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgb-new-bytearray-5] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgb-new-bytearray--1] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgb-out-new-None] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgb-out-new-5] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgb-out-new--1] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgb-out-out-None] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgb-out-out-5] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgb-out-out--1] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgb-out-view-None] XFAIL [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgb-out-view-5] XFAIL [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgb-out-view--1] XFAIL [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgb-out-bytearray-None] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgb-out-bytearray-5] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgb-out-bytearray--1] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgb-bytearray-new-None] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgb-bytearray-new-5] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgb-bytearray-new--1] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgb-bytearray-out-None] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgb-bytearray-out-5] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgb-bytearray-out--1] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgb-bytearray-view-None] XFAIL [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgb-bytearray-view-5] XFAIL [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgb-bytearray-view--1] XFAIL [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgb-bytearray-bytearray-None] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgb-bytearray-bytearray-5] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgb-bytearray-bytearray--1] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgba-new-new-None] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgba-new-new-5] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgba-new-new--1] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgba-new-out-None] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgba-new-out-5] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgba-new-out--1] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgba-new-view-None] XFAIL [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgba-new-view-5] XFAIL [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgba-new-view--1] XFAIL [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgba-new-bytearray-None] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgba-new-bytearray-5] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgba-new-bytearray--1] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgba-out-new-None] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgba-out-new-5] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgba-out-new--1] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgba-out-out-None] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgba-out-out-5] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgba-out-out--1] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgba-out-view-None] XFAIL [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgba-out-view-5] XFAIL [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgba-out-view--1] XFAIL [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgba-out-bytearray-None] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgba-out-bytearray-5] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgba-out-bytearray--1] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgba-bytearray-new-None] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgba-bytearray-new-5] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgba-bytearray-new--1] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgba-bytearray-out-None] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgba-bytearray-out-5] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgba-bytearray-out--1] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgba-bytearray-view-None] XFAIL [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgba-bytearray-view-5] XFAIL [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgba-bytearray-view--1] XFAIL [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgba-bytearray-bytearray-None] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgba-bytearray-bytearray-5] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgba-bytearray-bytearray--1] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-view-new-new-None] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-view-new-new-5] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-view-new-new--1] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-view-new-out-None] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-view-new-out-5] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-view-new-out--1] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-view-new-view-None] XFAIL [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-view-new-view-5] XFAIL [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-view-new-view--1] XFAIL [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-view-new-bytearray-None] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-view-new-bytearray-5] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-view-new-bytearray--1] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-view-out-new-None] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-view-out-new-5] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-view-out-new--1] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-view-out-out-None] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-view-out-out-5] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-view-out-out--1] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-view-out-view-None] XFAIL [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-view-out-view-5] XFAIL [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-view-out-view--1] XFAIL [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-view-out-bytearray-None] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-view-out-bytearray-5] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-view-out-bytearray--1] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-view-bytearray-new-None] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-view-bytearray-new-5] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-view-bytearray-new--1] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-view-bytearray-out-None] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-view-bytearray-out-5] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-view-bytearray-out--1] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-view-bytearray-view-None] XFAIL [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-view-bytearray-view-5] XFAIL [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-view-bytearray-view--1] XFAIL [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-view-bytearray-bytearray-None] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-view-bytearray-bytearray-5] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-view-bytearray-bytearray--1] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-gray-new-new-None] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-gray-new-new-5] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-gray-new-new--1] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-gray-new-out-None] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-gray-new-out-5] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-gray-new-out--1] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-gray-new-view-None] XFAIL [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-gray-new-view-5] XFAIL [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-gray-new-view--1] XFAIL [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-gray-new-bytearray-None] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-gray-new-bytearray-5] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-gray-new-bytearray--1] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-gray-out-new-None] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-gray-out-new-5] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-gray-out-new--1] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-gray-out-out-None] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-gray-out-out-5] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-gray-out-out--1] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-gray-out-view-None] XFAIL [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-gray-out-view-5] XFAIL [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-gray-out-view--1] XFAIL [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-gray-out-bytearray-None] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-gray-out-bytearray-5] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-gray-out-bytearray--1] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-gray-bytearray-new-None] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-gray-bytearray-new-5] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-gray-bytearray-new--1] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-gray-bytearray-out-None] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-gray-bytearray-out-5] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-gray-bytearray-out--1] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-gray-bytearray-view-None] XFAIL [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-gray-bytearray-view-5] XFAIL [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-gray-bytearray-view--1] XFAIL [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-gray-bytearray-bytearray-None] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-gray-bytearray-bytearray-5] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-gray-bytearray-bytearray--1] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-graya-new-new-None] XFAIL [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-graya-new-new-5] XFAIL [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-graya-new-new--1] XFAIL [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-graya-new-out-None] XFAIL [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-graya-new-out-5] XFAIL [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-graya-new-out--1] XFAIL [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-graya-new-view-None] XFAIL [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-graya-new-view-5] XFAIL [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-graya-new-view--1] XFAIL [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-graya-new-bytearray-None] XFAIL [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-graya-new-bytearray-5] XFAIL [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-graya-new-bytearray--1] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-graya-out-new-None] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-graya-out-new-5] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-graya-out-new--1] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-graya-out-out-None] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-graya-out-out-5] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-graya-out-out--1] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-graya-out-view-None] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-graya-out-view-5] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-graya-out-view--1] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-graya-out-bytearray-None] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-graya-out-bytearray-5] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-graya-out-bytearray--1] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-graya-bytearray-new-None] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-graya-bytearray-new-5] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-graya-bytearray-new--1] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-graya-bytearray-out-None] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-graya-bytearray-out-5] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-graya-bytearray-out--1] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-graya-bytearray-view-None] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-graya-bytearray-view-5] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-graya-bytearray-view--1] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-graya-bytearray-bytearray-None] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-graya-bytearray-bytearray-5] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-graya-bytearray-bytearray--1] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgb-new-new-None] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgb-new-new-5] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgb-new-new--1] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgb-new-out-None] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgb-new-out-5] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgb-new-out--1] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgb-new-view-None] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgb-new-view-5] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgb-new-view--1] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgb-new-bytearray-None] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgb-new-bytearray-5] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgb-new-bytearray--1] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgb-out-new-None] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgb-out-new-5] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgb-out-new--1] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgb-out-out-None] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgb-out-out-5] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgb-out-out--1] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgb-out-view-None] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgb-out-view-5] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgb-out-view--1] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgb-out-bytearray-None] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgb-out-bytearray-5] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgb-out-bytearray--1] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgb-bytearray-new-None] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgb-bytearray-new-5] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgb-bytearray-new--1] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgb-bytearray-out-None] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgb-bytearray-out-5] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgb-bytearray-out--1] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgb-bytearray-view-None] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgb-bytearray-view-5] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgb-bytearray-view--1] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgb-bytearray-bytearray-None] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgb-bytearray-bytearray-5] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgb-bytearray-bytearray--1] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgba-new-new-None] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgba-new-new-5] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgba-new-new--1] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgba-new-out-None] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgba-new-out-5] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgba-new-out--1] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgba-new-view-None] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgba-new-view-5] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgba-new-view--1] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgba-new-bytearray-None] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgba-new-bytearray-5] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgba-new-bytearray--1] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgba-out-new-None] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgba-out-new-5] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgba-out-new--1] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgba-out-out-None] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgba-out-out-5] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgba-out-out--1] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgba-out-view-None] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgba-out-view-5] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgba-out-view--1] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgba-out-bytearray-None] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgba-out-bytearray-5] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgba-out-bytearray--1] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgba-bytearray-new-None] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgba-bytearray-new-5] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgba-bytearray-new--1] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgba-bytearray-out-None] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgba-bytearray-out-5] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgba-bytearray-out--1] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgba-bytearray-view-None] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgba-bytearray-view-5] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgba-bytearray-view--1] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgba-bytearray-bytearray-None] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgba-bytearray-bytearray-5] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgba-bytearray-bytearray--1] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-view-new-new-None] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-view-new-new-5] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-view-new-new--1] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-view-new-out-None] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-view-new-out-5] PASSED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-view-new-out--1] PASSED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-view-new-view-None] XFAIL [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-view-new-view-5] XFAIL [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-view-new-view--1] XFAIL [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-view-new-bytearray-None] PASSED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-view-new-bytearray-5] PASSED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-view-new-bytearray--1] PASSED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-view-out-new-None] PASSED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-view-out-new-5] PASSED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-view-out-new--1] PASSED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-view-out-out-None] PASSED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-view-out-out-5] PASSED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-view-out-out--1] PASSED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-view-out-view-None] XFAIL [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-view-out-view-5] XFAIL [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-view-out-view--1] XFAIL [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-view-out-bytearray-None] PASSED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-view-out-bytearray-5] PASSED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-view-out-bytearray--1] PASSED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-view-bytearray-new-None] PASSED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-view-bytearray-new-5] PASSED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-view-bytearray-new--1] PASSED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-view-bytearray-out-None] PASSED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-view-bytearray-out-5] PASSED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-view-bytearray-out--1] PASSED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-view-bytearray-view-None] XFAIL [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-view-bytearray-view-5] XFAIL [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-view-bytearray-view--1] XFAIL [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-view-bytearray-bytearray-None] PASSED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-view-bytearray-bytearray-5] PASSED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-view-bytearray-bytearray--1] PASSED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-gray-new-new-None] PASSED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-gray-new-new-5] PASSED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-gray-new-new--1] PASSED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-gray-new-out-None] PASSED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-gray-new-out-5] PASSED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-gray-new-out--1] PASSED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-gray-new-view-None] XFAIL [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-gray-new-view-5] XFAIL [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-gray-new-view--1] XFAIL [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-gray-new-bytearray-None] PASSED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-gray-new-bytearray-5] PASSED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-gray-new-bytearray--1] PASSED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-gray-out-new-None] PASSED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-gray-out-new-5] PASSED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-gray-out-new--1] PASSED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-gray-out-out-None] PASSED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-gray-out-out-5] PASSED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-gray-out-out--1] PASSED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-gray-out-view-None] XFAIL [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-gray-out-view-5] XFAIL [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-gray-out-view--1] XFAIL [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-gray-out-bytearray-None] PASSED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-gray-out-bytearray-5] PASSED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-gray-out-bytearray--1] PASSED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-gray-bytearray-new-None] PASSED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-gray-bytearray-new-5] PASSED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-gray-bytearray-new--1] PASSED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-gray-bytearray-out-None] PASSED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-gray-bytearray-out-5] PASSED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-gray-bytearray-out--1] PASSED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-gray-bytearray-view-None] XFAIL [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-gray-bytearray-view-5] XFAIL [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-gray-bytearray-view--1] XFAIL [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-gray-bytearray-bytearray-None] PASSED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-gray-bytearray-bytearray-5] PASSED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-gray-bytearray-bytearray--1] PASSED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-graya-new-new-None] XFAIL [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-graya-new-new-5] XFAIL [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-graya-new-new--1] XFAIL [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-graya-new-out-None] XFAIL [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-graya-new-out-5] XFAIL [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-graya-new-out--1] XFAIL [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-graya-new-view-None] XFAIL [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-graya-new-view-5] XFAIL [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-graya-new-view--1] XFAIL [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-graya-new-bytearray-None] XFAIL [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-graya-new-bytearray-5] XFAIL [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-graya-new-bytearray--1] XFAIL [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-graya-out-new-None] XFAIL [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-graya-out-new-5] XFAIL [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-graya-out-new--1] XFAIL [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-graya-out-out-None] XFAIL [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-graya-out-out-5] XFAIL [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-graya-out-out--1] XFAIL [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-graya-out-view-None] XFAIL [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-graya-out-view-5] XFAIL [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-graya-out-view--1] XFAIL [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-graya-out-bytearray-None] XFAIL [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-graya-out-bytearray-5] XFAIL [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-graya-out-bytearray--1] XFAIL [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-graya-bytearray-new-None] XFAIL [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-graya-bytearray-new-5] XFAIL [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-graya-bytearray-new--1] XFAIL [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-graya-bytearray-out-None] XFAIL [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-graya-bytearray-out-5] XFAIL [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-graya-bytearray-out--1] XFAIL [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-graya-bytearray-view-None] XFAIL [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-graya-bytearray-view-5] XFAIL [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-graya-bytearray-view--1] XFAIL [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-graya-bytearray-bytearray-None] XFAIL [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-graya-bytearray-bytearray-5] XFAIL [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-graya-bytearray-bytearray--1] XFAIL [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgb-new-new-None] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgb-new-new-5] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgb-new-new--1] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgb-new-out-None] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgb-new-out-5] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgb-new-out--1] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgb-new-view-None] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgb-new-view-5] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgb-new-view--1] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgb-new-bytearray-None] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgb-new-bytearray-5] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgb-new-bytearray--1] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgb-out-new-None] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgb-out-new-5] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgb-out-new--1] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgb-out-out-None] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgb-out-out-5] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgb-out-out--1] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgb-out-view-None] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgb-out-view-5] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgb-out-view--1] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgb-out-bytearray-None] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgb-out-bytearray-5] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgb-out-bytearray--1] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgb-bytearray-new-None] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgb-bytearray-new-5] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgb-bytearray-new--1] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgb-bytearray-out-None] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgb-bytearray-out-5] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgb-bytearray-out--1] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgb-bytearray-view-None] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgb-bytearray-view-5] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgb-bytearray-view--1] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgb-bytearray-bytearray-None] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgb-bytearray-bytearray-5] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgb-bytearray-bytearray--1] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgba-new-new-None] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgba-new-new-5] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgba-new-new--1] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgba-new-out-None] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgba-new-out-5] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgba-new-out--1] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgba-new-view-None] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgba-new-view-5] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgba-new-view--1] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgba-new-bytearray-None] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgba-new-bytearray-5] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgba-new-bytearray--1] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgba-out-new-None] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgba-out-new-5] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgba-out-new--1] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgba-out-out-None] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgba-out-out-5] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgba-out-out--1] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgba-out-view-None] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgba-out-view-5] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgba-out-view--1] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgba-out-bytearray-None] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgba-out-bytearray-5] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgba-out-bytearray--1] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgba-bytearray-new-None] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgba-bytearray-new-5] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgba-bytearray-new--1] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgba-bytearray-out-None] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgba-bytearray-out-5] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgba-bytearray-out--1] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgba-bytearray-view-None] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgba-bytearray-view-5] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgba-bytearray-view--1] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgba-bytearray-bytearray-None] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgba-bytearray-bytearray-5] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgba-bytearray-bytearray--1] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-view-new-new-None] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-view-new-new-5] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-view-new-new--1] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-view-new-out-None] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-view-new-out-5] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-view-new-out--1] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-view-new-view-None] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-view-new-view-5] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-view-new-view--1] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-view-new-bytearray-None] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-view-new-bytearray-5] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-view-new-bytearray--1] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-view-out-new-None] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-view-out-new-5] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-view-out-new--1] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-view-out-out-None] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-view-out-out-5] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-view-out-out--1] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-view-out-view-None] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-view-out-view-5] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-view-out-view--1] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-view-out-bytearray-None] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-view-out-bytearray-5] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-view-out-bytearray--1] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-view-bytearray-new-None] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-view-bytearray-new-5] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-view-bytearray-new--1] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-view-bytearray-out-None] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-view-bytearray-out-5] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-view-bytearray-out--1] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-view-bytearray-view-None] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-view-bytearray-view-5] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-view-bytearray-view--1] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-view-bytearray-bytearray-None] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-view-bytearray-bytearray-5] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-view-bytearray-bytearray--1] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-gray-new-new-None] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-gray-new-new-5] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-gray-new-new--1] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-gray-new-out-None] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-gray-new-out-5] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-gray-new-out--1] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-gray-new-view-None] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-gray-new-view-5] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-gray-new-view--1] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-gray-new-bytearray-None] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-gray-new-bytearray-5] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-gray-new-bytearray--1] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-gray-out-new-None] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-gray-out-new-5] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-gray-out-new--1] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-gray-out-out-None] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-gray-out-out-5] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-gray-out-out--1] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-gray-out-view-None] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-gray-out-view-5] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-gray-out-view--1] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-gray-out-bytearray-None] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-gray-out-bytearray-5] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-gray-out-bytearray--1] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-gray-bytearray-new-None] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-gray-bytearray-new-5] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-gray-bytearray-new--1] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-gray-bytearray-out-None] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-gray-bytearray-out-5] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-gray-bytearray-out--1] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-gray-bytearray-view-None] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-gray-bytearray-view-5] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-gray-bytearray-view--1] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-gray-bytearray-bytearray-None] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-gray-bytearray-bytearray-5] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-gray-bytearray-bytearray--1] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-graya-new-new-None] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-graya-new-new-5] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-graya-new-new--1] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-graya-new-out-None] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-graya-new-out-5] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-graya-new-out--1] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-graya-new-view-None] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-graya-new-view-5] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-graya-new-view--1] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-graya-new-bytearray-None] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-graya-new-bytearray-5] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-graya-new-bytearray--1] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-graya-out-new-None] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-graya-out-new-5] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-graya-out-new--1] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-graya-out-out-None] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-graya-out-out-5] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-graya-out-out--1] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-graya-out-view-None] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-graya-out-view-5] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-graya-out-view--1] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-graya-out-bytearray-None] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-graya-out-bytearray-5] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-graya-out-bytearray--1] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-graya-bytearray-new-None] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-graya-bytearray-new-5] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-graya-bytearray-new--1] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-graya-bytearray-out-None] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-graya-bytearray-out-5] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-graya-bytearray-out--1] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-graya-bytearray-view-None] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-graya-bytearray-view-5] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-graya-bytearray-view--1] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-graya-bytearray-bytearray-None] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-graya-bytearray-bytearray-5] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-graya-bytearray-bytearray--1] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgb-new-new-None] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgb-new-new-5] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgb-new-new--1] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgb-new-out-None] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgb-new-out-5] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgb-new-out--1] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgb-new-view-None] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgb-new-view-5] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgb-new-view--1] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgb-new-bytearray-None] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgb-new-bytearray-5] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgb-new-bytearray--1] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgb-out-new-None] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgb-out-new-5] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgb-out-new--1] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgb-out-out-None] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgb-out-out-5] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgb-out-out--1] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgb-out-view-None] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgb-out-view-5] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgb-out-view--1] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgb-out-bytearray-None] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgb-out-bytearray-5] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgb-out-bytearray--1] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgb-bytearray-new-None] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgb-bytearray-new-5] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgb-bytearray-new--1] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgb-bytearray-out-None] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgb-bytearray-out-5] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgb-bytearray-out--1] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgb-bytearray-view-None] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgb-bytearray-view-5] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgb-bytearray-view--1] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgb-bytearray-bytearray-None] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgb-bytearray-bytearray-5] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgb-bytearray-bytearray--1] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgba-new-new-None] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgba-new-new-5] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgba-new-new--1] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgba-new-out-None] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgba-new-out-5] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgba-new-out--1] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgba-new-view-None] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgba-new-view-5] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgba-new-view--1] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgba-new-bytearray-None] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgba-new-bytearray-5] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgba-new-bytearray--1] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgba-out-new-None] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgba-out-new-5] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgba-out-new--1] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgba-out-out-None] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgba-out-out-5] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgba-out-out--1] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgba-out-view-None] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgba-out-view-5] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgba-out-view--1] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgba-out-bytearray-None] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgba-out-bytearray-5] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgba-out-bytearray--1] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgba-bytearray-new-None] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgba-bytearray-new-5] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgba-bytearray-new--1] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgba-bytearray-out-None] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgba-bytearray-out-5] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgba-bytearray-out--1] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgba-bytearray-view-None] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgba-bytearray-view-5] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgba-bytearray-view--1] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgba-bytearray-bytearray-None] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgba-bytearray-bytearray-5] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgba-bytearray-bytearray--1] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-view-new-new-None] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-view-new-new-5] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-view-new-new--1] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-view-new-out-None] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-view-new-out-5] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-view-new-out--1] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-view-new-view-None] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-view-new-view-5] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-view-new-view--1] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-view-new-bytearray-None] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-view-new-bytearray-5] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-view-new-bytearray--1] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-view-out-new-None] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-view-out-new-5] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-view-out-new--1] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-view-out-out-None] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-view-out-out-5] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-view-out-out--1] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-view-out-view-None] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-view-out-view-5] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-view-out-view--1] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-view-out-bytearray-None] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-view-out-bytearray-5] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-view-out-bytearray--1] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-view-bytearray-new-None] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-view-bytearray-new-5] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-view-bytearray-new--1] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-view-bytearray-out-None] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-view-bytearray-out-5] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-view-bytearray-out--1] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-view-bytearray-view-None] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-view-bytearray-view-5] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-view-bytearray-view--1] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-view-bytearray-bytearray-None] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-view-bytearray-bytearray-5] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-view-bytearray-bytearray--1] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-gray-new-new-None] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-gray-new-new-5] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-gray-new-new--1] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-gray-new-out-None] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-gray-new-out-5] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-gray-new-out--1] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-gray-new-view-None] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-gray-new-view-5] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-gray-new-view--1] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-gray-new-bytearray-None] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-gray-new-bytearray-5] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-gray-new-bytearray--1] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-gray-out-new-None] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-gray-out-new-5] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-gray-out-new--1] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-gray-out-out-None] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-gray-out-out-5] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-gray-out-out--1] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-gray-out-view-None] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-gray-out-view-5] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-gray-out-view--1] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-gray-out-bytearray-None] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-gray-out-bytearray-5] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-gray-out-bytearray--1] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-gray-bytearray-new-None] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-gray-bytearray-new-5] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-gray-bytearray-new--1] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-gray-bytearray-out-None] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-gray-bytearray-out-5] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-gray-bytearray-out--1] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-gray-bytearray-view-None] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-gray-bytearray-view-5] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-gray-bytearray-view--1] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-gray-bytearray-bytearray-None] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-gray-bytearray-bytearray-5] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-gray-bytearray-bytearray--1] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-graya-new-new-None] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-graya-new-new-5] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-graya-new-new--1] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-graya-new-out-None] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-graya-new-out-5] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-graya-new-out--1] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-graya-new-view-None] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-graya-new-view-5] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-graya-new-view--1] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-graya-new-bytearray-None] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-graya-new-bytearray-5] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-graya-new-bytearray--1] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-graya-out-new-None] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-graya-out-new-5] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-graya-out-new--1] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-graya-out-out-None] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-graya-out-out-5] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-graya-out-out--1] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-graya-out-view-None] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-graya-out-view-5] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-graya-out-view--1] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-graya-out-bytearray-None] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-graya-out-bytearray-5] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-graya-out-bytearray--1] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-graya-bytearray-new-None] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-graya-bytearray-new-5] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-graya-bytearray-new--1] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-graya-bytearray-out-None] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-graya-bytearray-out-5] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-graya-bytearray-out--1] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-graya-bytearray-view-None] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-graya-bytearray-view-5] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-graya-bytearray-view--1] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-graya-bytearray-bytearray-None] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-graya-bytearray-bytearray-5] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-graya-bytearray-bytearray--1] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgb-new-new-None] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgb-new-new-5] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgb-new-new--1] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgb-new-out-None] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgb-new-out-5] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgb-new-out--1] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgb-new-view-None] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgb-new-view-5] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgb-new-view--1] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgb-new-bytearray-None] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgb-new-bytearray-5] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgb-new-bytearray--1] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgb-out-new-None] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgb-out-new-5] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgb-out-new--1] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgb-out-out-None] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgb-out-out-5] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgb-out-out--1] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgb-out-view-None] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgb-out-view-5] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgb-out-view--1] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgb-out-bytearray-None] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgb-out-bytearray-5] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgb-out-bytearray--1] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgb-bytearray-new-None] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgb-bytearray-new-5] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgb-bytearray-new--1] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgb-bytearray-out-None] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgb-bytearray-out-5] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgb-bytearray-out--1] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgb-bytearray-view-None] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgb-bytearray-view-5] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgb-bytearray-view--1] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgb-bytearray-bytearray-None] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgb-bytearray-bytearray-5] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgb-bytearray-bytearray--1] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgba-new-new-None] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgba-new-new-5] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgba-new-new--1] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgba-new-out-None] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgba-new-out-5] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgba-new-out--1] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgba-new-view-None] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgba-new-view-5] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgba-new-view--1] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgba-new-bytearray-None] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgba-new-bytearray-5] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgba-new-bytearray--1] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgba-out-new-None] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgba-out-new-5] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgba-out-new--1] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgba-out-out-None] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgba-out-out-5] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgba-out-out--1] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgba-out-view-None] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgba-out-view-5] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgba-out-view--1] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgba-out-bytearray-None] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgba-out-bytearray-5] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgba-out-bytearray--1] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgba-bytearray-new-None] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgba-bytearray-new-5] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgba-bytearray-new--1] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgba-bytearray-out-None] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgba-bytearray-out-5] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgba-bytearray-out--1] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgba-bytearray-view-None] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgba-bytearray-view-5] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgba-bytearray-view--1] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgba-bytearray-bytearray-None] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgba-bytearray-bytearray-5] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgba-bytearray-bytearray--1] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-view-new-new-None] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-view-new-new-5] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-view-new-new--1] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-view-new-out-None] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-view-new-out-5] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-view-new-out--1] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-view-new-view-None] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-view-new-view-5] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-view-new-view--1] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-view-new-bytearray-None] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-view-new-bytearray-5] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-view-new-bytearray--1] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-view-out-new-None] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-view-out-new-5] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-view-out-new--1] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-view-out-out-None] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-view-out-out-5] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-view-out-out--1] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-view-out-view-None] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-view-out-view-5] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-view-out-view--1] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-view-out-bytearray-None] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-view-out-bytearray-5] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-view-out-bytearray--1] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-view-bytearray-new-None] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-view-bytearray-new-5] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-view-bytearray-new--1] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-view-bytearray-out-None] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-view-bytearray-out-5] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-view-bytearray-out--1] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-view-bytearray-view-None] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-view-bytearray-view-5] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-view-bytearray-view--1] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-view-bytearray-bytearray-None] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-view-bytearray-bytearray-5] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-view-bytearray-bytearray--1] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-gray-new-new-None] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-gray-new-new-5] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-gray-new-new--1] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-gray-new-out-None] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-gray-new-out-5] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-gray-new-out--1] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-gray-new-view-None] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-gray-new-view-5] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-gray-new-view--1] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-gray-new-bytearray-None] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-gray-new-bytearray-5] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-gray-new-bytearray--1] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-gray-out-new-None] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-gray-out-new-5] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-gray-out-new--1] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-gray-out-out-None] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-gray-out-out-5] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-gray-out-out--1] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-gray-out-view-None] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-gray-out-view-5] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-gray-out-view--1] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-gray-out-bytearray-None] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-gray-out-bytearray-5] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-gray-out-bytearray--1] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-gray-bytearray-new-None] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-gray-bytearray-new-5] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-gray-bytearray-new--1] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-gray-bytearray-out-None] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-gray-bytearray-out-5] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-gray-bytearray-out--1] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-gray-bytearray-view-None] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-gray-bytearray-view-5] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-gray-bytearray-view--1] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-gray-bytearray-bytearray-None] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-gray-bytearray-bytearray-5] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-gray-bytearray-bytearray--1] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-graya-new-new-None] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-graya-new-new-5] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-graya-new-new--1] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-graya-new-out-None] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-graya-new-out-5] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-graya-new-out--1] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-graya-new-view-None] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-graya-new-view-5] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-graya-new-view--1] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-graya-new-bytearray-None] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-graya-new-bytearray-5] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-graya-new-bytearray--1] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-graya-out-new-None] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-graya-out-new-5] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-graya-out-new--1] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-graya-out-out-None] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-graya-out-out-5] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-graya-out-out--1] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-graya-out-view-None] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-graya-out-view-5] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-graya-out-view--1] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-graya-out-bytearray-None] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-graya-out-bytearray-5] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-graya-out-bytearray--1] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-graya-bytearray-new-None] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-graya-bytearray-new-5] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-graya-bytearray-new--1] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-graya-bytearray-out-None] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-graya-bytearray-out-5] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-graya-bytearray-out--1] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-graya-bytearray-view-None] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-graya-bytearray-view-5] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-graya-bytearray-view--1] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-graya-bytearray-bytearray-None] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-graya-bytearray-bytearray-5] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-graya-bytearray-bytearray--1] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgb-new-new-None] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgb-new-new-5] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgb-new-new--1] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgb-new-out-None] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgb-new-out-5] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgb-new-out--1] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgb-new-view-None] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgb-new-view-5] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgb-new-view--1] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgb-new-bytearray-None] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgb-new-bytearray-5] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgb-new-bytearray--1] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgb-out-new-None] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgb-out-new-5] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgb-out-new--1] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgb-out-out-None] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgb-out-out-5] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgb-out-out--1] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgb-out-view-None] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgb-out-view-5] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgb-out-view--1] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgb-out-bytearray-None] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgb-out-bytearray-5] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgb-out-bytearray--1] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgb-bytearray-new-None] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgb-bytearray-new-5] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgb-bytearray-new--1] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgb-bytearray-out-None] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgb-bytearray-out-5] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgb-bytearray-out--1] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgb-bytearray-view-None] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgb-bytearray-view-5] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgb-bytearray-view--1] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgb-bytearray-bytearray-None] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgb-bytearray-bytearray-5] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgb-bytearray-bytearray--1] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgba-new-new-None] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgba-new-new-5] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgba-new-new--1] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgba-new-out-None] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgba-new-out-5] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgba-new-out--1] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgba-new-view-None] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgba-new-view-5] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgba-new-view--1] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgba-new-bytearray-None] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgba-new-bytearray-5] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgba-new-bytearray--1] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgba-out-new-None] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgba-out-new-5] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgba-out-new--1] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgba-out-out-None] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgba-out-out-5] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgba-out-out--1] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgba-out-view-None] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgba-out-view-5] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgba-out-view--1] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgba-out-bytearray-None] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgba-out-bytearray-5] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgba-out-bytearray--1] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgba-bytearray-new-None] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgba-bytearray-new-5] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgba-bytearray-new--1] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgba-bytearray-out-None] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgba-bytearray-out-5] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgba-bytearray-out--1] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgba-bytearray-view-None] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgba-bytearray-view-5] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgba-bytearray-view--1] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgba-bytearray-bytearray-None] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgba-bytearray-bytearray-5] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgba-bytearray-bytearray--1] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-view-new-new-None] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-view-new-new-5] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-view-new-new--1] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-view-new-out-None] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-view-new-out-5] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-view-new-out--1] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-view-new-view-None] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-view-new-view-5] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-view-new-view--1] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-view-new-bytearray-None] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-view-new-bytearray-5] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-view-new-bytearray--1] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-view-out-new-None] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-view-out-new-5] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-view-out-new--1] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-view-out-out-None] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-view-out-out-5] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-view-out-out--1] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-view-out-view-None] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-view-out-view-5] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-view-out-view--1] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-view-out-bytearray-None] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-view-out-bytearray-5] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-view-out-bytearray--1] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-view-bytearray-new-None] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-view-bytearray-new-5] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-view-bytearray-new--1] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-view-bytearray-out-None] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-view-bytearray-out-5] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-view-bytearray-out--1] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-view-bytearray-view-None] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-view-bytearray-view-5] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-view-bytearray-view--1] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-view-bytearray-bytearray-None] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-view-bytearray-bytearray-5] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-view-bytearray-bytearray--1] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-gray-new-new-None] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-gray-new-new-5] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-gray-new-new--1] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-gray-new-out-None] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-gray-new-out-5] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-gray-new-out--1] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-gray-new-view-None] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-gray-new-view-5] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-gray-new-view--1] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-gray-new-bytearray-None] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-gray-new-bytearray-5] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-gray-new-bytearray--1] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-gray-out-new-None] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-gray-out-new-5] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-gray-out-new--1] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-gray-out-out-None] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-gray-out-out-5] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-gray-out-out--1] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-gray-out-view-None] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-gray-out-view-5] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-gray-out-view--1] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-gray-out-bytearray-None] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-gray-out-bytearray-5] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-gray-out-bytearray--1] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-gray-bytearray-new-None] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-gray-bytearray-new-5] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-gray-bytearray-new--1] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-gray-bytearray-out-None] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-gray-bytearray-out-5] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-gray-bytearray-out--1] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-gray-bytearray-view-None] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-gray-bytearray-view-5] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-gray-bytearray-view--1] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-gray-bytearray-bytearray-None] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-gray-bytearray-bytearray-5] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-gray-bytearray-bytearray--1] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-graya-new-new-None] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-graya-new-new-5] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-graya-new-new--1] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-graya-new-out-None] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-graya-new-out-5] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-graya-new-out--1] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-graya-new-view-None] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-graya-new-view-5] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-graya-new-view--1] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-graya-new-bytearray-None] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-graya-new-bytearray-5] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-graya-new-bytearray--1] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-graya-out-new-None] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-graya-out-new-5] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-graya-out-new--1] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-graya-out-out-None] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-graya-out-out-5] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-graya-out-out--1] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-graya-out-view-None] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-graya-out-view-5] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-graya-out-view--1] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-graya-out-bytearray-None] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-graya-out-bytearray-5] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-graya-out-bytearray--1] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-graya-bytearray-new-None] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-graya-bytearray-new-5] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-graya-bytearray-new--1] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-graya-bytearray-out-None] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-graya-bytearray-out-5] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-graya-bytearray-out--1] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-graya-bytearray-view-None] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-graya-bytearray-view-5] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-graya-bytearray-view--1] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-graya-bytearray-bytearray-None] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-graya-bytearray-bytearray-5] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-graya-bytearray-bytearray--1] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgb-new-new-None] PASSED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgb-new-new-5] PASSED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgb-new-new--1] PASSED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgb-new-out-None] PASSED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgb-new-out-5] PASSED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgb-new-out--1] PASSED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgb-new-view-None] PASSED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgb-new-view-5] PASSED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgb-new-view--1] PASSED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgb-new-bytearray-None] PASSED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgb-new-bytearray-5] PASSED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgb-new-bytearray--1] PASSED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgb-out-new-None] PASSED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgb-out-new-5] PASSED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgb-out-new--1] PASSED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgb-out-out-None] PASSED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgb-out-out-5] PASSED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgb-out-out--1] PASSED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgb-out-view-None] PASSED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgb-out-view-5] PASSED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgb-out-view--1] PASSED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgb-out-bytearray-None] PASSED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgb-out-bytearray-5] PASSED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgb-out-bytearray--1] PASSED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgb-bytearray-new-None] PASSED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgb-bytearray-new-5] PASSED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgb-bytearray-new--1] PASSED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgb-bytearray-out-None] PASSED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgb-bytearray-out-5] PASSED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgb-bytearray-out--1] PASSED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgb-bytearray-view-None] PASSED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgb-bytearray-view-5] PASSED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgb-bytearray-view--1] PASSED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgb-bytearray-bytearray-None] PASSED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgb-bytearray-bytearray-5] PASSED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgb-bytearray-bytearray--1] PASSED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgba-new-new-None] PASSED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgba-new-new-5] PASSED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgba-new-new--1] PASSED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgba-new-out-None] PASSED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgba-new-out-5] PASSED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgba-new-out--1] PASSED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgba-new-view-None] PASSED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgba-new-view-5] PASSED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgba-new-view--1] PASSED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgba-new-bytearray-None] PASSED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgba-new-bytearray-5] PASSED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgba-new-bytearray--1] PASSED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgba-out-new-None] PASSED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgba-out-new-5] PASSED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgba-out-new--1] PASSED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgba-out-out-None] PASSED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgba-out-out-5] PASSED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgba-out-out--1] PASSED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgba-out-view-None] PASSED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgba-out-view-5] PASSED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgba-out-view--1] PASSED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgba-out-bytearray-None] PASSED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgba-out-bytearray-5] PASSED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgba-out-bytearray--1] PASSED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgba-bytearray-new-None] PASSED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgba-bytearray-new-5] PASSED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgba-bytearray-new--1] PASSED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgba-bytearray-out-None] PASSED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgba-bytearray-out-5] PASSED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgba-bytearray-out--1] PASSED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgba-bytearray-view-None] PASSED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgba-bytearray-view-5] PASSED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgba-bytearray-view--1] PASSED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgba-bytearray-bytearray-None] PASSED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgba-bytearray-bytearray-5] PASSED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgba-bytearray-bytearray--1] PASSED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-view-new-new-None] PASSED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-view-new-new-5] PASSED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-view-new-new--1] PASSED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-view-new-out-None] PASSED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-view-new-out-5] PASSED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-view-new-out--1] PASSED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-view-new-view-None] PASSED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-view-new-view-5] PASSED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-view-new-view--1] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-view-new-bytearray-None] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-view-new-bytearray-5] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-view-new-bytearray--1] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-view-out-new-None] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-view-out-new-5] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-view-out-new--1] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-view-out-out-None] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-view-out-out-5] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-view-out-out--1] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-view-out-view-None] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-view-out-view-5] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-view-out-view--1] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-view-out-bytearray-None] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-view-out-bytearray-5] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-view-out-bytearray--1] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-view-bytearray-new-None] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-view-bytearray-new-5] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-view-bytearray-new--1] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-view-bytearray-out-None] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-view-bytearray-out-5] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-view-bytearray-out--1] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-view-bytearray-view-None] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-view-bytearray-view-5] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-view-bytearray-view--1] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-view-bytearray-bytearray-None] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-view-bytearray-bytearray-5] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-view-bytearray-bytearray--1] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-gray-new-new-None] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-gray-new-new-5] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-gray-new-new--1] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-gray-new-out-None] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-gray-new-out-5] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-gray-new-out--1] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-gray-new-view-None] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-gray-new-view-5] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-gray-new-view--1] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-gray-new-bytearray-None] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-gray-new-bytearray-5] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-gray-new-bytearray--1] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-gray-out-new-None] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-gray-out-new-5] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-gray-out-new--1] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-gray-out-out-None] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-gray-out-out-5] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-gray-out-out--1] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-gray-out-view-None] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-gray-out-view-5] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-gray-out-view--1] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-gray-out-bytearray-None] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-gray-out-bytearray-5] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-gray-out-bytearray--1] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-gray-bytearray-new-None] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-gray-bytearray-new-5] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-gray-bytearray-new--1] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-gray-bytearray-out-None] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-gray-bytearray-out-5] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-gray-bytearray-out--1] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-gray-bytearray-view-None] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-gray-bytearray-view-5] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-gray-bytearray-view--1] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-gray-bytearray-bytearray-None] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-gray-bytearray-bytearray-5] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-gray-bytearray-bytearray--1] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-graya-new-new-None] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-graya-new-new-5] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-graya-new-new--1] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-graya-new-out-None] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-graya-new-out-5] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-graya-new-out--1] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-graya-new-view-None] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-graya-new-view-5] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-graya-new-view--1] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-graya-new-bytearray-None] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-graya-new-bytearray-5] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-graya-new-bytearray--1] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-graya-out-new-None] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-graya-out-new-5] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-graya-out-new--1] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-graya-out-out-None] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-graya-out-out-5] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-graya-out-out--1] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-graya-out-view-None] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-graya-out-view-5] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-graya-out-view--1] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-graya-out-bytearray-None] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-graya-out-bytearray-5] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-graya-out-bytearray--1] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-graya-bytearray-new-None] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-graya-bytearray-new-5] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-graya-bytearray-new--1] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-graya-bytearray-out-None] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-graya-bytearray-out-5] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-graya-bytearray-out--1] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-graya-bytearray-view-None] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-graya-bytearray-view-5] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-graya-bytearray-view--1] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-graya-bytearray-bytearray-None] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-graya-bytearray-bytearray-5] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-graya-bytearray-bytearray--1] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgb-new-new-None] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgb-new-new-5] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgb-new-new--1] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgb-new-out-None] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgb-new-out-5] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgb-new-out--1] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgb-new-view-None] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgb-new-view-5] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgb-new-view--1] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgb-new-bytearray-None] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgb-new-bytearray-5] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgb-new-bytearray--1] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgb-out-new-None] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgb-out-new-5] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgb-out-new--1] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgb-out-out-None] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgb-out-out-5] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgb-out-out--1] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgb-out-view-None] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgb-out-view-5] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgb-out-view--1] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgb-out-bytearray-None] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgb-out-bytearray-5] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgb-out-bytearray--1] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgb-bytearray-new-None] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgb-bytearray-new-5] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgb-bytearray-new--1] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgb-bytearray-out-None] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgb-bytearray-out-5] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgb-bytearray-out--1] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgb-bytearray-view-None] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgb-bytearray-view-5] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgb-bytearray-view--1] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgb-bytearray-bytearray-None] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgb-bytearray-bytearray-5] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgb-bytearray-bytearray--1] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgba-new-new-None] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgba-new-new-5] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgba-new-new--1] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgba-new-out-None] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgba-new-out-5] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgba-new-out--1] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgba-new-view-None] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgba-new-view-5] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgba-new-view--1] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgba-new-bytearray-None] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgba-new-bytearray-5] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgba-new-bytearray--1] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgba-out-new-None] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgba-out-new-5] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgba-out-new--1] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgba-out-out-None] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgba-out-out-5] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgba-out-out--1] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgba-out-view-None] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgba-out-view-5] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgba-out-view--1] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgba-out-bytearray-None] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgba-out-bytearray-5] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgba-out-bytearray--1] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgba-bytearray-new-None] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgba-bytearray-new-5] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgba-bytearray-new--1] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgba-bytearray-out-None] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgba-bytearray-out-5] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgba-bytearray-out--1] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgba-bytearray-view-None] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgba-bytearray-view-5] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgba-bytearray-view--1] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgba-bytearray-bytearray-None] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgba-bytearray-bytearray-5] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgba-bytearray-bytearray--1] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-view-new-new-None] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-view-new-new-5] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-view-new-new--1] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-view-new-out-None] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-view-new-out-5] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-view-new-out--1] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-view-new-view-None] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-view-new-view-5] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-view-new-view--1] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-view-new-bytearray-None] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-view-new-bytearray-5] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-view-new-bytearray--1] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-view-out-new-None] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-view-out-new-5] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-view-out-new--1] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-view-out-out-None] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-view-out-out-5] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-view-out-out--1] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-view-out-view-None] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-view-out-view-5] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-view-out-view--1] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-view-out-bytearray-None] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-view-out-bytearray-5] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-view-out-bytearray--1] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-view-bytearray-new-None] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-view-bytearray-new-5] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-view-bytearray-new--1] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-view-bytearray-out-None] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-view-bytearray-out-5] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-view-bytearray-out--1] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-view-bytearray-view-None] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-view-bytearray-view-5] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-view-bytearray-view--1] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-view-bytearray-bytearray-None] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-view-bytearray-bytearray-5] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-view-bytearray-bytearray--1] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-gray-new-new-None] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-gray-new-new-5] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-gray-new-new--1] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-gray-new-out-None] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-gray-new-out-5] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-gray-new-out--1] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-gray-new-view-None] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-gray-new-view-5] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-gray-new-view--1] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-gray-new-bytearray-None] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-gray-new-bytearray-5] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-gray-new-bytearray--1] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-gray-out-new-None] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-gray-out-new-5] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-gray-out-new--1] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-gray-out-out-None] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-gray-out-out-5] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-gray-out-out--1] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-gray-out-view-None] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-gray-out-view-5] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-gray-out-view--1] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-gray-out-bytearray-None] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-gray-out-bytearray-5] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-gray-out-bytearray--1] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-gray-bytearray-new-None] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-gray-bytearray-new-5] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-gray-bytearray-new--1] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-gray-bytearray-out-None] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-gray-bytearray-out-5] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-gray-bytearray-out--1] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-gray-bytearray-view-None] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-gray-bytearray-view-5] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-gray-bytearray-view--1] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-gray-bytearray-bytearray-None] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-gray-bytearray-bytearray-5] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-gray-bytearray-bytearray--1] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-graya-new-new-None] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-graya-new-new-5] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-graya-new-new--1] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-graya-new-out-None] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-graya-new-out-5] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-graya-new-out--1] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-graya-new-view-None] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-graya-new-view-5] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-graya-new-view--1] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-graya-new-bytearray-None] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-graya-new-bytearray-5] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-graya-new-bytearray--1] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-graya-out-new-None] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-graya-out-new-5] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-graya-out-new--1] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-graya-out-out-None] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-graya-out-out-5] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-graya-out-out--1] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-graya-out-view-None] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-graya-out-view-5] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-graya-out-view--1] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-graya-out-bytearray-None] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-graya-out-bytearray-5] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-graya-out-bytearray--1] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-graya-bytearray-new-None] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-graya-bytearray-new-5] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-graya-bytearray-new--1] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-graya-bytearray-out-None] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-graya-bytearray-out-5] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-graya-bytearray-out--1] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-graya-bytearray-view-None] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-graya-bytearray-view-5] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-graya-bytearray-view--1] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-graya-bytearray-bytearray-None] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-graya-bytearray-bytearray-5] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-graya-bytearray-bytearray--1] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgb-new-new-None] SKIPPED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgb-new-new-5] SKIPPED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgb-new-new--1] SKIPPED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgb-new-out-None] SKIPPED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgb-new-out-5] SKIPPED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgb-new-out--1] SKIPPED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgb-new-view-None] SKIPPED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgb-new-view-5] SKIPPED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgb-new-view--1] SKIPPED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgb-new-bytearray-None] SKIPPED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgb-new-bytearray-5] SKIPPED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgb-new-bytearray--1] SKIPPED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgb-out-new-None] SKIPPED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgb-out-new-5] SKIPPED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgb-out-new--1] SKIPPED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgb-out-out-None] SKIPPED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgb-out-out-5] SKIPPED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgb-out-out--1] SKIPPED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgb-out-view-None] SKIPPED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgb-out-view-5] SKIPPED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgb-out-view--1] SKIPPED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgb-out-bytearray-None] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgb-out-bytearray-5] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgb-out-bytearray--1] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgb-bytearray-new-None] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgb-bytearray-new-5] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgb-bytearray-new--1] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgb-bytearray-out-None] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgb-bytearray-out-5] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgb-bytearray-out--1] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgb-bytearray-view-None] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgb-bytearray-view-5] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgb-bytearray-view--1] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgb-bytearray-bytearray-None] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgb-bytearray-bytearray-5] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgb-bytearray-bytearray--1] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgba-new-new-None] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgba-new-new-5] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgba-new-new--1] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgba-new-out-None] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgba-new-out-5] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgba-new-out--1] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgba-new-view-None] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgba-new-view-5] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgba-new-view--1] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgba-new-bytearray-None] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgba-new-bytearray-5] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgba-new-bytearray--1] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgba-out-new-None] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgba-out-new-5] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgba-out-new--1] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgba-out-out-None] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgba-out-out-5] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgba-out-out--1] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgba-out-view-None] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgba-out-view-5] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgba-out-view--1] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgba-out-bytearray-None] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgba-out-bytearray-5] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgba-out-bytearray--1] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgba-bytearray-new-None] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgba-bytearray-new-5] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgba-bytearray-new--1] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgba-bytearray-out-None] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgba-bytearray-out-5] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgba-bytearray-out--1] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgba-bytearray-view-None] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgba-bytearray-view-5] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgba-bytearray-view--1] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgba-bytearray-bytearray-None] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgba-bytearray-bytearray-5] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgba-bytearray-bytearray--1] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-view-new-new-None] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-view-new-new-5] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-view-new-new--1] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-view-new-out-None] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-view-new-out-5] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-view-new-out--1] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-view-new-view-None] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-view-new-view-5] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-view-new-view--1] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-view-new-bytearray-None] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-view-new-bytearray-5] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-view-new-bytearray--1] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-view-out-new-None] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-view-out-new-5] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-view-out-new--1] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-view-out-out-None] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-view-out-out-5] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-view-out-out--1] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-view-out-view-None] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-view-out-view-5] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-view-out-view--1] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-view-out-bytearray-None] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-view-out-bytearray-5] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-view-out-bytearray--1] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-view-bytearray-new-None] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-view-bytearray-new-5] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-view-bytearray-new--1] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-view-bytearray-out-None] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-view-bytearray-out-5] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-view-bytearray-out--1] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-view-bytearray-view-None] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-view-bytearray-view-5] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-view-bytearray-view--1] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-view-bytearray-bytearray-None] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-view-bytearray-bytearray-5] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-view-bytearray-bytearray--1] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-gray-new-new-None] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-gray-new-new-5] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-gray-new-new--1] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-gray-new-out-None] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-gray-new-out-5] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-gray-new-out--1] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-gray-new-view-None] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-gray-new-view-5] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-gray-new-view--1] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-gray-new-bytearray-None] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-gray-new-bytearray-5] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-gray-new-bytearray--1] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-gray-out-new-None] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-gray-out-new-5] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-gray-out-new--1] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-gray-out-out-None] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-gray-out-out-5] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-gray-out-out--1] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-gray-out-view-None] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-gray-out-view-5] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-gray-out-view--1] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-gray-out-bytearray-None] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-gray-out-bytearray-5] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-gray-out-bytearray--1] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-gray-bytearray-new-None] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-gray-bytearray-new-5] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-gray-bytearray-new--1] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-gray-bytearray-out-None] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-gray-bytearray-out-5] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-gray-bytearray-out--1] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-gray-bytearray-view-None] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-gray-bytearray-view-5] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-gray-bytearray-view--1] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-gray-bytearray-bytearray-None] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-gray-bytearray-bytearray-5] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-gray-bytearray-bytearray--1] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-graya-new-new-None] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-graya-new-new-5] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-graya-new-new--1] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-graya-new-out-None] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-graya-new-out-5] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-graya-new-out--1] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-graya-new-view-None] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-graya-new-view-5] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-graya-new-view--1] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-graya-new-bytearray-None] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-graya-new-bytearray-5] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-graya-new-bytearray--1] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-graya-out-new-None] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-graya-out-new-5] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-graya-out-new--1] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-graya-out-out-None] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-graya-out-out-5] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-graya-out-out--1] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-graya-out-view-None] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-graya-out-view-5] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-graya-out-view--1] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-graya-out-bytearray-None] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-graya-out-bytearray-5] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-graya-out-bytearray--1] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-graya-bytearray-new-None] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-graya-bytearray-new-5] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-graya-bytearray-new--1] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-graya-bytearray-out-None] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-graya-bytearray-out-5] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-graya-bytearray-out--1] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-graya-bytearray-view-None] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-graya-bytearray-view-5] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-graya-bytearray-view--1] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-graya-bytearray-bytearray-None] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-graya-bytearray-bytearray-5] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-graya-bytearray-bytearray--1] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgb-new-new-None] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgb-new-new-5] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgb-new-new--1] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgb-new-out-None] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgb-new-out-5] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgb-new-out--1] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgb-new-view-None] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgb-new-view-5] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgb-new-view--1] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgb-new-bytearray-None] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgb-new-bytearray-5] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgb-new-bytearray--1] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgb-out-new-None] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgb-out-new-5] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgb-out-new--1] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgb-out-out-None] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgb-out-out-5] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgb-out-out--1] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgb-out-view-None] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgb-out-view-5] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgb-out-view--1] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgb-out-bytearray-None] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgb-out-bytearray-5] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgb-out-bytearray--1] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgb-bytearray-new-None] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgb-bytearray-new-5] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgb-bytearray-new--1] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgb-bytearray-out-None] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgb-bytearray-out-5] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgb-bytearray-out--1] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgb-bytearray-view-None] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgb-bytearray-view-5] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgb-bytearray-view--1] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgb-bytearray-bytearray-None] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgb-bytearray-bytearray-5] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgb-bytearray-bytearray--1] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgba-new-new-None] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgba-new-new-5] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgba-new-new--1] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgba-new-out-None] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgba-new-out-5] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgba-new-out--1] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgba-new-view-None] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgba-new-view-5] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgba-new-view--1] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgba-new-bytearray-None] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgba-new-bytearray-5] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgba-new-bytearray--1] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgba-out-new-None] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgba-out-new-5] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgba-out-new--1] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgba-out-out-None] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgba-out-out-5] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgba-out-out--1] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgba-out-view-None] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgba-out-view-5] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgba-out-view--1] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgba-out-bytearray-None] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgba-out-bytearray-5] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgba-out-bytearray--1] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgba-bytearray-new-None] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgba-bytearray-new-5] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgba-bytearray-new--1] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgba-bytearray-out-None] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgba-bytearray-out-5] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgba-bytearray-out--1] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgba-bytearray-view-None] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgba-bytearray-view-5] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgba-bytearray-view--1] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgba-bytearray-bytearray-None] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgba-bytearray-bytearray-5] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgba-bytearray-bytearray--1] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-view-new-new-None] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-view-new-new-5] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-view-new-new--1] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-view-new-out-None] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-view-new-out-5] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-view-new-out--1] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-view-new-view-None] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-view-new-view-5] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-view-new-view--1] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-view-new-bytearray-None] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-view-new-bytearray-5] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-view-new-bytearray--1] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-view-out-new-None] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-view-out-new-5] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-view-out-new--1] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-view-out-out-None] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-view-out-out-5] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-view-out-out--1] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-view-out-view-None] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-view-out-view-5] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-view-out-view--1] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-view-out-bytearray-None] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-view-out-bytearray-5] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-view-out-bytearray--1] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-view-bytearray-new-None] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-view-bytearray-new-5] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-view-bytearray-new--1] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-view-bytearray-out-None] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-view-bytearray-out-5] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-view-bytearray-out--1] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-view-bytearray-view-None] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-view-bytearray-view-5] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-view-bytearray-view--1] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-view-bytearray-bytearray-None] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-view-bytearray-bytearray-5] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-view-bytearray-bytearray--1] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-gray-new-new-None] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-gray-new-new-5] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-gray-new-new--1] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-gray-new-out-None] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-gray-new-out-5] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-gray-new-out--1] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-gray-new-view-None] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-gray-new-view-5] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-gray-new-view--1] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-gray-new-bytearray-None] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-gray-new-bytearray-5] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-gray-new-bytearray--1] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-gray-out-new-None] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-gray-out-new-5] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-gray-out-new--1] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-gray-out-out-None] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-gray-out-out-5] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-gray-out-out--1] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-gray-out-view-None] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-gray-out-view-5] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-gray-out-view--1] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-gray-out-bytearray-None] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-gray-out-bytearray-5] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-gray-out-bytearray--1] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-gray-bytearray-new-None] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-gray-bytearray-new-5] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-gray-bytearray-new--1] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-gray-bytearray-out-None] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-gray-bytearray-out-5] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-gray-bytearray-out--1] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-gray-bytearray-view-None] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-gray-bytearray-view-5] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-gray-bytearray-view--1] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-gray-bytearray-bytearray-None] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-gray-bytearray-bytearray-5] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-gray-bytearray-bytearray--1] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-graya-new-new-None] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-graya-new-new-5] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-graya-new-new--1] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-graya-new-out-None] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-graya-new-out-5] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-graya-new-out--1] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-graya-new-view-None] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-graya-new-view-5] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-graya-new-view--1] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-graya-new-bytearray-None] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-graya-new-bytearray-5] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-graya-new-bytearray--1] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-graya-out-new-None] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-graya-out-new-5] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-graya-out-new--1] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-graya-out-out-None] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-graya-out-out-5] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-graya-out-out--1] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-graya-out-view-None] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-graya-out-view-5] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-graya-out-view--1] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-graya-out-bytearray-None] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-graya-out-bytearray-5] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-graya-out-bytearray--1] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-graya-bytearray-new-None] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-graya-bytearray-new-5] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-graya-bytearray-new--1] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-graya-bytearray-out-None] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-graya-bytearray-out-5] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-graya-bytearray-out--1] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-graya-bytearray-view-None] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-graya-bytearray-view-5] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-graya-bytearray-view--1] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-graya-bytearray-bytearray-None] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-graya-bytearray-bytearray-5] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-graya-bytearray-bytearray--1] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgb-new-new-None] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgb-new-new-5] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgb-new-new--1] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgb-new-out-None] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgb-new-out-5] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgb-new-out--1] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgb-new-view-None] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgb-new-view-5] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgb-new-view--1] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgb-new-bytearray-None] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgb-new-bytearray-5] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgb-new-bytearray--1] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgb-out-new-None] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgb-out-new-5] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgb-out-new--1] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgb-out-out-None] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgb-out-out-5] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgb-out-out--1] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgb-out-view-None] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgb-out-view-5] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgb-out-view--1] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgb-out-bytearray-None] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgb-out-bytearray-5] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgb-out-bytearray--1] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgb-bytearray-new-None] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgb-bytearray-new-5] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgb-bytearray-new--1] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgb-bytearray-out-None] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgb-bytearray-out-5] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgb-bytearray-out--1] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgb-bytearray-view-None] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgb-bytearray-view-5] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgb-bytearray-view--1] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgb-bytearray-bytearray-None] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgb-bytearray-bytearray-5] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgb-bytearray-bytearray--1] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgba-new-new-None] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgba-new-new-5] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgba-new-new--1] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgba-new-out-None] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgba-new-out-5] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgba-new-out--1] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgba-new-view-None] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgba-new-view-5] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgba-new-view--1] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgba-new-bytearray-None] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgba-new-bytearray-5] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgba-new-bytearray--1] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgba-out-new-None] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgba-out-new-5] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgba-out-new--1] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgba-out-out-None] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgba-out-out-5] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgba-out-out--1] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgba-out-view-None] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgba-out-view-5] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgba-out-view--1] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgba-out-bytearray-None] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgba-out-bytearray-5] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgba-out-bytearray--1] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgba-bytearray-new-None] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgba-bytearray-new-5] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgba-bytearray-new--1] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgba-bytearray-out-None] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgba-bytearray-out-5] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgba-bytearray-out--1] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgba-bytearray-view-None] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgba-bytearray-view-5] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgba-bytearray-view--1] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgba-bytearray-bytearray-None] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgba-bytearray-bytearray-5] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgba-bytearray-bytearray--1] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-view-new-new-None] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-view-new-new-5] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-view-new-new--1] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-view-new-out-None] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-view-new-out-5] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-view-new-out--1] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-view-new-view-None] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-view-new-view-5] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-view-new-view--1] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-view-new-bytearray-None] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-view-new-bytearray-5] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-view-new-bytearray--1] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-view-out-new-None] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-view-out-new-5] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-view-out-new--1] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-view-out-out-None] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-view-out-out-5] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-view-out-out--1] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-view-out-view-None] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-view-out-view-5] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-view-out-view--1] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-view-out-bytearray-None] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-view-out-bytearray-5] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-view-out-bytearray--1] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-view-bytearray-new-None] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-view-bytearray-new-5] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-view-bytearray-new--1] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-view-bytearray-out-None] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-view-bytearray-out-5] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-view-bytearray-out--1] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-view-bytearray-view-None] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-view-bytearray-view-5] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-view-bytearray-view--1] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-view-bytearray-bytearray-None] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-view-bytearray-bytearray-5] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-view-bytearray-bytearray--1] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-gray-new-new-None] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-gray-new-new-5] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-gray-new-new--1] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-gray-new-out-None] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-gray-new-out-5] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-gray-new-out--1] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-gray-new-view-None] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-gray-new-view-5] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-gray-new-view--1] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-gray-new-bytearray-None] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-gray-new-bytearray-5] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-gray-new-bytearray--1] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-gray-out-new-None] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-gray-out-new-5] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-gray-out-new--1] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-gray-out-out-None] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-gray-out-out-5] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-gray-out-out--1] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-gray-out-view-None] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-gray-out-view-5] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-gray-out-view--1] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-gray-out-bytearray-None] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-gray-out-bytearray-5] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-gray-out-bytearray--1] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-gray-bytearray-new-None] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-gray-bytearray-new-5] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-gray-bytearray-new--1] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-gray-bytearray-out-None] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-gray-bytearray-out-5] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-gray-bytearray-out--1] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-gray-bytearray-view-None] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-gray-bytearray-view-5] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-gray-bytearray-view--1] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-gray-bytearray-bytearray-None] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-gray-bytearray-bytearray-5] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-gray-bytearray-bytearray--1] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-graya-new-new-None] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-graya-new-new-5] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-graya-new-new--1] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-graya-new-out-None] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-graya-new-out-5] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-graya-new-out--1] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-graya-new-view-None] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-graya-new-view-5] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-graya-new-view--1] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-graya-new-bytearray-None] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-graya-new-bytearray-5] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-graya-new-bytearray--1] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-graya-out-new-None] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-graya-out-new-5] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-graya-out-new--1] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-graya-out-out-None] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-graya-out-out-5] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-graya-out-out--1] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-graya-out-view-None] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-graya-out-view-5] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-graya-out-view--1] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-graya-out-bytearray-None] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-graya-out-bytearray-5] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-graya-out-bytearray--1] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-graya-bytearray-new-None] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-graya-bytearray-new-5] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-graya-bytearray-new--1] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-graya-bytearray-out-None] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-graya-bytearray-out-5] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-graya-bytearray-out--1] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-graya-bytearray-view-None] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-graya-bytearray-view-5] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-graya-bytearray-view--1] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-graya-bytearray-bytearray-None] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-graya-bytearray-bytearray-5] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-graya-bytearray-bytearray--1] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgb-new-new-None] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgb-new-new-5] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgb-new-new--1] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgb-new-out-None] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgb-new-out-5] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgb-new-out--1] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgb-new-view-None] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgb-new-view-5] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgb-new-view--1] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgb-new-bytearray-None] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgb-new-bytearray-5] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgb-new-bytearray--1] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgb-out-new-None] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgb-out-new-5] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgb-out-new--1] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgb-out-out-None] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgb-out-out-5] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgb-out-out--1] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgb-out-view-None] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgb-out-view-5] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgb-out-view--1] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgb-out-bytearray-None] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgb-out-bytearray-5] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgb-out-bytearray--1] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgb-bytearray-new-None] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgb-bytearray-new-5] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgb-bytearray-new--1] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgb-bytearray-out-None] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgb-bytearray-out-5] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgb-bytearray-out--1] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgb-bytearray-view-None] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgb-bytearray-view-5] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgb-bytearray-view--1] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgb-bytearray-bytearray-None] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgb-bytearray-bytearray-5] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgb-bytearray-bytearray--1] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgba-new-new-None] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgba-new-new-5] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgba-new-new--1] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgba-new-out-None] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgba-new-out-5] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgba-new-out--1] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgba-new-view-None] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgba-new-view-5] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgba-new-view--1] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgba-new-bytearray-None] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgba-new-bytearray-5] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgba-new-bytearray--1] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgba-out-new-None] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgba-out-new-5] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgba-out-new--1] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgba-out-out-None] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgba-out-out-5] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgba-out-out--1] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgba-out-view-None] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgba-out-view-5] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgba-out-view--1] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgba-out-bytearray-None] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgba-out-bytearray-5] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgba-out-bytearray--1] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgba-bytearray-new-None] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgba-bytearray-new-5] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgba-bytearray-new--1] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgba-bytearray-out-None] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgba-bytearray-out-5] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgba-bytearray-out--1] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgba-bytearray-view-None] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgba-bytearray-view-5] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgba-bytearray-view--1] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgba-bytearray-bytearray-None] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgba-bytearray-bytearray-5] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgba-bytearray-bytearray--1] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-view-new-new-None] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-view-new-new-5] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-view-new-new--1] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-view-new-out-None] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-view-new-out-5] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-view-new-out--1] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-view-new-view-None] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-view-new-view-5] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-view-new-view--1] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-view-new-bytearray-None] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-view-new-bytearray-5] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-view-new-bytearray--1] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-view-out-new-None] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-view-out-new-5] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-view-out-new--1] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-view-out-out-None] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-view-out-out-5] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-view-out-out--1] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-view-out-view-None] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-view-out-view-5] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-view-out-view--1] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-view-out-bytearray-None] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-view-out-bytearray-5] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-view-out-bytearray--1] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-view-bytearray-new-None] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-view-bytearray-new-5] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-view-bytearray-new--1] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-view-bytearray-out-None] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-view-bytearray-out-5] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-view-bytearray-out--1] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-view-bytearray-view-None] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-view-bytearray-view-5] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-view-bytearray-view--1] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-view-bytearray-bytearray-None] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-view-bytearray-bytearray-5] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-view-bytearray-bytearray--1] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-gray-new-new-None] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-gray-new-new-5] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-gray-new-new--1] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-gray-new-out-None] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-gray-new-out-5] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-gray-new-out--1] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-gray-new-view-None] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-gray-new-view-5] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-gray-new-view--1] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-gray-new-bytearray-None] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-gray-new-bytearray-5] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-gray-new-bytearray--1] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-gray-out-new-None] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-gray-out-new-5] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-gray-out-new--1] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-gray-out-out-None] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-gray-out-out-5] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-gray-out-out--1] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-gray-out-view-None] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-gray-out-view-5] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-gray-out-view--1] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-gray-out-bytearray-None] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-gray-out-bytearray-5] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-gray-out-bytearray--1] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-gray-bytearray-new-None] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-gray-bytearray-new-5] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-gray-bytearray-new--1] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-gray-bytearray-out-None] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-gray-bytearray-out-5] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-gray-bytearray-out--1] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-gray-bytearray-view-None] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-gray-bytearray-view-5] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-gray-bytearray-view--1] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-gray-bytearray-bytearray-None] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-gray-bytearray-bytearray-5] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-gray-bytearray-bytearray--1] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-graya-new-new-None] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-graya-new-new-5] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-graya-new-new--1] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-graya-new-out-None] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-graya-new-out-5] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-graya-new-out--1] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-graya-new-view-None] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-graya-new-view-5] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-graya-new-view--1] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-graya-new-bytearray-None] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-graya-new-bytearray-5] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-graya-new-bytearray--1] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-graya-out-new-None] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-graya-out-new-5] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-graya-out-new--1] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-graya-out-out-None] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-graya-out-out-5] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-graya-out-out--1] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-graya-out-view-None] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-graya-out-view-5] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-graya-out-view--1] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-graya-out-bytearray-None] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-graya-out-bytearray-5] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-graya-out-bytearray--1] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-graya-bytearray-new-None] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-graya-bytearray-new-5] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-graya-bytearray-new--1] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-graya-bytearray-out-None] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-graya-bytearray-out-5] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-graya-bytearray-out--1] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-graya-bytearray-view-None] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-graya-bytearray-view-5] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-graya-bytearray-view--1] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-graya-bytearray-bytearray-None] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-graya-bytearray-bytearray-5] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-graya-bytearray-bytearray--1] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgb-new-new-None] PASSED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgb-new-new-5] PASSED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgb-new-new--1] PASSED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgb-new-out-None] PASSED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgb-new-out-5] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgb-new-out--1] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgb-new-view-None] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgb-new-view-5] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgb-new-view--1] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgb-new-bytearray-None] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgb-new-bytearray-5] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgb-new-bytearray--1] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgb-out-new-None] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgb-out-new-5] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgb-out-new--1] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgb-out-out-None] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgb-out-out-5] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgb-out-out--1] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgb-out-view-None] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgb-out-view-5] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgb-out-view--1] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgb-out-bytearray-None] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgb-out-bytearray-5] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgb-out-bytearray--1] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgb-bytearray-new-None] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgb-bytearray-new-5] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgb-bytearray-new--1] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgb-bytearray-out-None] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgb-bytearray-out-5] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgb-bytearray-out--1] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgb-bytearray-view-None] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgb-bytearray-view-5] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgb-bytearray-view--1] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgb-bytearray-bytearray-None] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgb-bytearray-bytearray-5] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgb-bytearray-bytearray--1] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgba-new-new-None] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgba-new-new-5] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgba-new-new--1] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgba-new-out-None] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgba-new-out-5] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgba-new-out--1] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgba-new-view-None] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgba-new-view-5] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgba-new-view--1] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgba-new-bytearray-None] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgba-new-bytearray-5] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgba-new-bytearray--1] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgba-out-new-None] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgba-out-new-5] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgba-out-new--1] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgba-out-out-None] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgba-out-out-5] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgba-out-out--1] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgba-out-view-None] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgba-out-view-5] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgba-out-view--1] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgba-out-bytearray-None] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgba-out-bytearray-5] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgba-out-bytearray--1] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgba-bytearray-new-None] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgba-bytearray-new-5] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgba-bytearray-new--1] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgba-bytearray-out-None] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgba-bytearray-out-5] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgba-bytearray-out--1] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgba-bytearray-view-None] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgba-bytearray-view-5] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgba-bytearray-view--1] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgba-bytearray-bytearray-None] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgba-bytearray-bytearray-5] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgba-bytearray-bytearray--1] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-view-new-new-None] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-view-new-new-5] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-view-new-new--1] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-view-new-out-None] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-view-new-out-5] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-view-new-out--1] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-view-new-view-None] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-view-new-view-5] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-view-new-view--1] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-view-new-bytearray-None] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-view-new-bytearray-5] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-view-new-bytearray--1] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-view-out-new-None] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-view-out-new-5] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-view-out-new--1] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-view-out-out-None] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-view-out-out-5] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-view-out-out--1] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-view-out-view-None] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-view-out-view-5] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-view-out-view--1] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-view-out-bytearray-None] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-view-out-bytearray-5] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-view-out-bytearray--1] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-view-bytearray-new-None] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-view-bytearray-new-5] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-view-bytearray-new--1] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-view-bytearray-out-None] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-view-bytearray-out-5] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-view-bytearray-out--1] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-view-bytearray-view-None] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-view-bytearray-view-5] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-view-bytearray-view--1] PASSED [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-view-bytearray-bytearray-None] PASSED [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-view-bytearray-bytearray-5] PASSED [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-view-bytearray-bytearray--1] PASSED [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-gray-new-new-None] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-gray-new-new-5] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-gray-new-new--1] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-gray-new-out-None] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-gray-new-out-5] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-gray-new-out--1] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-gray-new-view-None] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-gray-new-view-5] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-gray-new-view--1] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-gray-new-bytearray-None] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-gray-new-bytearray-5] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-gray-new-bytearray--1] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-gray-out-new-None] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-gray-out-new-5] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-gray-out-new--1] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-gray-out-out-None] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-gray-out-out-5] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-gray-out-out--1] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-gray-out-view-None] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-gray-out-view-5] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-gray-out-view--1] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-gray-out-bytearray-None] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-gray-out-bytearray-5] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-gray-out-bytearray--1] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-gray-bytearray-new-None] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-gray-bytearray-new-5] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-gray-bytearray-new--1] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-gray-bytearray-out-None] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-gray-bytearray-out-5] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-gray-bytearray-out--1] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-gray-bytearray-view-None] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-gray-bytearray-view-5] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-gray-bytearray-view--1] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-gray-bytearray-bytearray-None] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-gray-bytearray-bytearray-5] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-gray-bytearray-bytearray--1] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-graya-new-new-None] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-graya-new-new-5] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-graya-new-new--1] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-graya-new-out-None] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-graya-new-out-5] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-graya-new-out--1] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-graya-new-view-None] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-graya-new-view-5] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-graya-new-view--1] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-graya-new-bytearray-None] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-graya-new-bytearray-5] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-graya-new-bytearray--1] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-graya-out-new-None] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-graya-out-new-5] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-graya-out-new--1] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-graya-out-out-None] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-graya-out-out-5] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-graya-out-out--1] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-graya-out-view-None] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-graya-out-view-5] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-graya-out-view--1] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-graya-out-bytearray-None] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-graya-out-bytearray-5] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-graya-out-bytearray--1] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-graya-bytearray-new-None] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-graya-bytearray-new-5] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-graya-bytearray-new--1] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-graya-bytearray-out-None] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-graya-bytearray-out-5] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-graya-bytearray-out--1] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-graya-bytearray-view-None] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-graya-bytearray-view-5] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-graya-bytearray-view--1] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-graya-bytearray-bytearray-None] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-graya-bytearray-bytearray-5] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-graya-bytearray-bytearray--1] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-rgb-new-new-None] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-rgb-new-new-5] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-rgb-new-new--1] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-rgb-new-out-None] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-rgb-new-out-5] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-rgb-new-out--1] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-rgb-new-view-None] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-rgb-new-view-5] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-rgb-new-view--1] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-rgb-new-bytearray-None] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-rgb-new-bytearray-5] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-rgb-new-bytearray--1] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-rgb-out-new-None] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-rgb-out-new-5] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-rgb-out-new--1] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-rgb-out-out-None] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-rgb-out-out-5] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-rgb-out-out--1] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-rgb-out-view-None] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-rgb-out-view-5] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-rgb-out-view--1] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-rgb-out-bytearray-None] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-rgb-out-bytearray-5] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-rgb-out-bytearray--1] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-rgb-bytearray-new-None] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-rgb-bytearray-new-5] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-rgb-bytearray-new--1] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-rgb-bytearray-out-None] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-rgb-bytearray-out-5] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-rgb-bytearray-out--1] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-rgb-bytearray-view-None] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-rgb-bytearray-view-5] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-rgb-bytearray-view--1] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-rgb-bytearray-bytearray-None] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-rgb-bytearray-bytearray-5] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-rgb-bytearray-bytearray--1] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-rgba-new-new-None] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-rgba-new-new-5] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-rgba-new-new--1] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-rgba-new-out-None] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-rgba-new-out-5] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-rgba-new-out--1] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-rgba-new-view-None] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-rgba-new-view-5] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-rgba-new-view--1] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-rgba-new-bytearray-None] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-rgba-new-bytearray-5] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-rgba-new-bytearray--1] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-rgba-out-new-None] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-rgba-out-new-5] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-rgba-out-new--1] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-rgba-out-out-None] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-rgba-out-out-5] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-rgba-out-out--1] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-rgba-out-view-None] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-rgba-out-view-5] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-rgba-out-view--1] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-rgba-out-bytearray-None] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-rgba-out-bytearray-5] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-rgba-out-bytearray--1] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-rgba-bytearray-new-None] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-rgba-bytearray-new-5] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-rgba-bytearray-new--1] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-rgba-bytearray-out-None] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-rgba-bytearray-out-5] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-rgba-bytearray-out--1] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-rgba-bytearray-view-None] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-rgba-bytearray-view-5] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-rgba-bytearray-view--1] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-rgba-bytearray-bytearray-None] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-rgba-bytearray-bytearray-5] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-rgba-bytearray-bytearray--1] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-view-new-new-None] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-view-new-new-5] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-view-new-new--1] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-view-new-out-None] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-view-new-out-5] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-view-new-out--1] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-view-new-view-None] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-view-new-view-5] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-view-new-view--1] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-view-new-bytearray-None] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-view-new-bytearray-5] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-view-new-bytearray--1] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-view-out-new-None] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-view-out-new-5] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-view-out-new--1] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-view-out-out-None] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-view-out-out-5] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-view-out-out--1] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-view-out-view-None] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-view-out-view-5] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-view-out-view--1] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-view-out-bytearray-None] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-view-out-bytearray-5] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-view-out-bytearray--1] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-view-bytearray-new-None] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-view-bytearray-new-5] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-view-bytearray-new--1] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-view-bytearray-out-None] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-view-bytearray-out-5] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-view-bytearray-out--1] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-view-bytearray-view-None] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-view-bytearray-view-5] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-view-bytearray-view--1] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-view-bytearray-bytearray-None] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-view-bytearray-bytearray-5] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-view-bytearray-bytearray--1] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-gray-new-new-None] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-gray-new-new-5] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-gray-new-new--1] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-gray-new-out-None] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-gray-new-out-5] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-gray-new-out--1] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-gray-new-view-None] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-gray-new-view-5] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-gray-new-view--1] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-gray-new-bytearray-None] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-gray-new-bytearray-5] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-gray-new-bytearray--1] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-gray-out-new-None] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-gray-out-new-5] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-gray-out-new--1] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-gray-out-out-None] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-gray-out-out-5] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-gray-out-out--1] XFAIL [ 96%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-gray-out-view-None] XFAIL [ 96%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-gray-out-view-5] XFAIL [ 96%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-gray-out-view--1] XFAIL [ 96%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-gray-out-bytearray-None] XFAIL [ 96%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-gray-out-bytearray-5] XFAIL [ 96%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-gray-out-bytearray--1] XFAIL [ 96%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-gray-bytearray-new-None] XFAIL [ 96%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-gray-bytearray-new-5] XFAIL [ 96%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-gray-bytearray-new--1] XFAIL [ 96%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-gray-bytearray-out-None] XFAIL [ 96%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-gray-bytearray-out-5] XFAIL [ 96%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-gray-bytearray-out--1] XFAIL [ 96%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-gray-bytearray-view-None] XFAIL [ 96%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-gray-bytearray-view-5] XFAIL [ 96%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-gray-bytearray-view--1] XFAIL [ 96%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-gray-bytearray-bytearray-None] XFAIL [ 96%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-gray-bytearray-bytearray-5] XFAIL [ 96%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-gray-bytearray-bytearray--1] XFAIL [ 96%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-graya-new-new-None] XFAIL [ 96%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-graya-new-new-5] XFAIL [ 96%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-graya-new-new--1] XFAIL [ 96%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-graya-new-out-None] XFAIL [ 96%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-graya-new-out-5] XFAIL [ 96%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-graya-new-out--1] XFAIL [ 96%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-graya-new-view-None] XFAIL [ 96%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-graya-new-view-5] XFAIL [ 96%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-graya-new-view--1] XFAIL [ 96%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-graya-new-bytearray-None] XFAIL [ 96%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-graya-new-bytearray-5] XFAIL [ 96%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-graya-new-bytearray--1] XFAIL [ 96%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-graya-out-new-None] XFAIL [ 96%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-graya-out-new-5] XFAIL [ 96%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-graya-out-new--1] XFAIL [ 96%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-graya-out-out-None] XFAIL [ 96%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-graya-out-out-5] XFAIL [ 96%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-graya-out-out--1] XFAIL [ 96%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-graya-out-view-None] XFAIL [ 96%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-graya-out-view-5] XFAIL [ 96%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-graya-out-view--1] XFAIL [ 96%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-graya-out-bytearray-None] XFAIL [ 96%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-graya-out-bytearray-5] XFAIL [ 96%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-graya-out-bytearray--1] XFAIL [ 96%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-graya-bytearray-new-None] XFAIL [ 96%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-graya-bytearray-new-5] XFAIL [ 96%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-graya-bytearray-new--1] XFAIL [ 96%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-graya-bytearray-out-None] XFAIL [ 96%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-graya-bytearray-out-5] XFAIL [ 96%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-graya-bytearray-out--1] XFAIL [ 96%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-graya-bytearray-view-None] XFAIL [ 96%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-graya-bytearray-view-5] XFAIL [ 96%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-graya-bytearray-view--1] XFAIL [ 96%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-graya-bytearray-bytearray-None] XFAIL [ 96%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-graya-bytearray-bytearray-5] XFAIL [ 96%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-graya-bytearray-bytearray--1] XFAIL [ 96%] tests/test_imagecodecs.py::test_gif_roundtrips[None-False-new-new] PASSED [ 96%] tests/test_imagecodecs.py::test_gif_roundtrips[None-False-new-out] PASSED [ 96%] tests/test_imagecodecs.py::test_gif_roundtrips[None-False-new-bytearray] PASSED [ 96%] tests/test_imagecodecs.py::test_gif_roundtrips[None-False-out-new] PASSED [ 96%] tests/test_imagecodecs.py::test_gif_roundtrips[None-False-out-out] PASSED [ 96%] tests/test_imagecodecs.py::test_gif_roundtrips[None-False-out-bytearray] PASSED [ 96%] tests/test_imagecodecs.py::test_gif_roundtrips[None-False-bytearray-new] PASSED [ 96%] tests/test_imagecodecs.py::test_gif_roundtrips[None-False-bytearray-out] PASSED [ 96%] tests/test_imagecodecs.py::test_gif_roundtrips[None-False-bytearray-bytearray] PASSED [ 96%] tests/test_imagecodecs.py::test_gif_roundtrips[None-True-new-new] PASSED [ 96%] tests/test_imagecodecs.py::test_gif_roundtrips[None-True-new-out] PASSED [ 96%] tests/test_imagecodecs.py::test_gif_roundtrips[None-True-new-bytearray] PASSED [ 96%] tests/test_imagecodecs.py::test_gif_roundtrips[None-True-out-new] PASSED [ 96%] tests/test_imagecodecs.py::test_gif_roundtrips[None-True-out-out] PASSED [ 96%] tests/test_imagecodecs.py::test_gif_roundtrips[None-True-out-bytearray] PASSED [ 96%] tests/test_imagecodecs.py::test_gif_roundtrips[None-True-bytearray-new] PASSED [ 96%] tests/test_imagecodecs.py::test_gif_roundtrips[None-True-bytearray-out] PASSED [ 96%] tests/test_imagecodecs.py::test_gif_roundtrips[None-True-bytearray-bytearray] PASSED [ 96%] tests/test_imagecodecs.py::test_gif_roundtrips[0-False-new-new] PASSED [ 96%] tests/test_imagecodecs.py::test_gif_roundtrips[0-False-new-out] PASSED [ 96%] tests/test_imagecodecs.py::test_gif_roundtrips[0-False-new-bytearray] PASSED [ 96%] tests/test_imagecodecs.py::test_gif_roundtrips[0-False-out-new] PASSED [ 96%] tests/test_imagecodecs.py::test_gif_roundtrips[0-False-out-out] PASSED [ 96%] tests/test_imagecodecs.py::test_gif_roundtrips[0-False-out-bytearray] PASSED [ 96%] tests/test_imagecodecs.py::test_gif_roundtrips[0-False-bytearray-new] PASSED [ 96%] tests/test_imagecodecs.py::test_gif_roundtrips[0-False-bytearray-out] PASSED [ 96%] tests/test_imagecodecs.py::test_gif_roundtrips[0-False-bytearray-bytearray] PASSED [ 96%] tests/test_imagecodecs.py::test_gif_roundtrips[0-True-new-new] PASSED [ 96%] tests/test_imagecodecs.py::test_gif_roundtrips[0-True-new-out] PASSED [ 96%] tests/test_imagecodecs.py::test_gif_roundtrips[0-True-new-bytearray] PASSED [ 96%] tests/test_imagecodecs.py::test_gif_roundtrips[0-True-out-new] PASSED [ 96%] tests/test_imagecodecs.py::test_gif_roundtrips[0-True-out-out] PASSED [ 96%] tests/test_imagecodecs.py::test_gif_roundtrips[0-True-out-bytearray] PASSED [ 96%] tests/test_imagecodecs.py::test_gif_roundtrips[0-True-bytearray-new] PASSED [ 96%] tests/test_imagecodecs.py::test_gif_roundtrips[0-True-bytearray-out] PASSED [ 96%] tests/test_imagecodecs.py::test_gif_roundtrips[0-True-bytearray-bytearray] PASSED [ 96%] tests/test_imagecodecs.py::test_png_rgba_palette PASSED [ 96%] tests/test_imagecodecs.py::test_tiff_files[gray.b1-False] XFAIL (not...) [ 96%] tests/test_imagecodecs.py::test_tiff_files[gray.b1-True] PASSED [ 96%] tests/test_imagecodecs.py::test_tiff_files[gray.bigendian.u2-True] PASSED [ 96%] tests/test_imagecodecs.py::test_tiff_files[gray.bigtiff.u1-True] PASSED [ 96%] tests/test_imagecodecs.py::test_tiff_files[gray.c16-True] PASSED [ 96%] tests/test_imagecodecs.py::test_tiff_files[gray.c8-True] PASSED [ 96%] tests/test_imagecodecs.py::test_tiff_files[gray.contig.u1-True] PASSED [ 96%] tests/test_imagecodecs.py::test_tiff_files[gray.depth.deflate.u1-False] XFAIL [ 96%] tests/test_imagecodecs.py::test_tiff_files[gray.depth.deflate.u1-True] XFAIL [ 97%] tests/test_imagecodecs.py::test_tiff_files[gray.depth.u1-False] XFAIL [ 97%] tests/test_imagecodecs.py::test_tiff_files[gray.depth.u1-True] XFAIL [ 97%] tests/test_imagecodecs.py::test_tiff_files[gray.f2-True] PASSED [ 97%] tests/test_imagecodecs.py::test_tiff_files[gray.f4-True] PASSED [ 97%] tests/test_imagecodecs.py::test_tiff_files[gray.f8-True] PASSED [ 97%] tests/test_imagecodecs.py::test_tiff_files[gray.i1-True] PASSED [ 97%] tests/test_imagecodecs.py::test_tiff_files[gray.i2-True] PASSED [ 97%] tests/test_imagecodecs.py::test_tiff_files[gray.i4-True] PASSED [ 97%] tests/test_imagecodecs.py::test_tiff_files[gray.i8-True] PASSED [ 97%] tests/test_imagecodecs.py::test_tiff_files[gray.lzma.u1-False] XFAIL [ 97%] tests/test_imagecodecs.py::test_tiff_files[gray.lzma.u1-True] XFAIL [ 97%] tests/test_imagecodecs.py::test_tiff_files[gray.lzma.u2-False] XFAIL [ 97%] tests/test_imagecodecs.py::test_tiff_files[gray.lzma.u2-True] XFAIL [ 97%] tests/test_imagecodecs.py::test_tiff_files[gray.none.u1-False] PASSED [ 97%] tests/test_imagecodecs.py::test_tiff_files[gray.none.u1-True] PASSED [ 97%] tests/test_imagecodecs.py::test_tiff_files[gray.one.b1-False] XFAIL [ 97%] tests/test_imagecodecs.py::test_tiff_files[gray.one.b1-True] PASSED [ 97%] tests/test_imagecodecs.py::test_tiff_files[gray.one.f2-True] PASSED [ 97%] tests/test_imagecodecs.py::test_tiff_files[gray.one.f4-True] PASSED [ 97%] tests/test_imagecodecs.py::test_tiff_files[gray.one.f8-True] PASSED [ 97%] tests/test_imagecodecs.py::test_tiff_files[gray.one.i1-False] PASSED [ 97%] tests/test_imagecodecs.py::test_tiff_files[gray.one.i1-True] PASSED [ 97%] tests/test_imagecodecs.py::test_tiff_files[gray.one.i2-False] PASSED [ 97%] tests/test_imagecodecs.py::test_tiff_files[gray.one.i2-True] PASSED [ 97%] tests/test_imagecodecs.py::test_tiff_files[gray.one.i4-False] PASSED [ 97%] tests/test_imagecodecs.py::test_tiff_files[gray.one.i4-True] PASSED [ 97%] tests/test_imagecodecs.py::test_tiff_files[gray.one.i8-False] PASSED [ 97%] tests/test_imagecodecs.py::test_tiff_files[gray.one.i8-True] PASSED [ 97%] tests/test_imagecodecs.py::test_tiff_files[gray.one.u1-False] PASSED [ 97%] tests/test_imagecodecs.py::test_tiff_files[gray.one.u1-True] PASSED [ 97%] tests/test_imagecodecs.py::test_tiff_files[gray.one.u2-False] PASSED [ 97%] tests/test_imagecodecs.py::test_tiff_files[gray.one.u2-True] PASSED [ 97%] tests/test_imagecodecs.py::test_tiff_files[gray.one.u4-False] PASSED [ 97%] tests/test_imagecodecs.py::test_tiff_files[gray.one.u4-True] PASSED [ 97%] tests/test_imagecodecs.py::test_tiff_files[gray.one.u8-False] PASSED [ 97%] tests/test_imagecodecs.py::test_tiff_files[gray.one.u8-True] PASSED [ 97%] tests/test_imagecodecs.py::test_tiff_files[gray.packbits.u1-False] PASSED [ 97%] tests/test_imagecodecs.py::test_tiff_files[gray.packbits.u1-True] PASSED [ 97%] tests/test_imagecodecs.py::test_tiff_files[gray.packbits.u2-False] PASSED [ 97%] tests/test_imagecodecs.py::test_tiff_files[gray.packbits.u2-True] PASSED [ 97%] tests/test_imagecodecs.py::test_tiff_files[gray.separate.u1-True] PASSED [ 97%] tests/test_imagecodecs.py::test_tiff_files[gray.series.u1-True] PASSED [ 97%] tests/test_imagecodecs.py::test_tiff_files[gray.stack.u1-True] PASSED [ 97%] tests/test_imagecodecs.py::test_tiff_files[gray.tiled.f4-True] PASSED [ 97%] tests/test_imagecodecs.py::test_tiff_files[gray.tiled.none.u1-False] PASSED [ 97%] tests/test_imagecodecs.py::test_tiff_files[gray.tiled.none.u1-True] PASSED [ 97%] tests/test_imagecodecs.py::test_tiff_files[gray.tiled.u1-True] PASSED [ 97%] tests/test_imagecodecs.py::test_tiff_files[gray.tiled.u2-True] PASSED [ 97%] tests/test_imagecodecs.py::test_tiff_files[gray.u1-True] PASSED [ 97%] tests/test_imagecodecs.py::test_tiff_files[gray.u2-True] PASSED [ 97%] tests/test_imagecodecs.py::test_tiff_files[gray.u4-True] PASSED [ 97%] tests/test_imagecodecs.py::test_tiff_files[gray.u8-True] PASSED [ 97%] tests/test_imagecodecs.py::test_tiff_files[gray.zstd.u1-False] XFAIL [ 97%] tests/test_imagecodecs.py::test_tiff_files[gray.zstd.u1-True] XFAIL [ 97%] tests/test_imagecodecs.py::test_tiff_files[gray.zstd.u2-False] XFAIL [ 97%] tests/test_imagecodecs.py::test_tiff_files[gray.zstd.u2-True] XFAIL [ 97%] tests/test_imagecodecs.py::test_tiff_files[rgb.predict.u1-True] PASSED [ 97%] tests/test_imagecodecs.py::test_tiff_files[rgb.separate.tiled.u1-True] PASSED [ 97%] tests/test_imagecodecs.py::test_tiff_files[rgb.separate.u1-True] PASSED [ 97%] tests/test_imagecodecs.py::test_tiff_files[rgb.tiled.jpeg.u1-False] FAILED [ 97%] tests/test_imagecodecs.py::test_tiff_files[rgb.tiled.jpeg.u1-True] PASSED [ 97%] tests/test_imagecodecs.py::test_tiff_files[rgb.tiled.jpeg.u2-False] XFAIL [ 97%] tests/test_imagecodecs.py::test_tiff_files[rgb.tiled.jpeg.u2-True] XFAIL [ 97%] tests/test_imagecodecs.py::test_tiff_files[rgb.tiled.lzma.u1-False] XFAIL [ 97%] tests/test_imagecodecs.py::test_tiff_files[rgb.tiled.lzma.u1-True] XFAIL [ 97%] tests/test_imagecodecs.py::test_tiff_files[rgb.tiled.packbits.u1-False] PASSED [ 97%] tests/test_imagecodecs.py::test_tiff_files[rgb.tiled.packbits.u1-True] PASSED [ 97%] tests/test_imagecodecs.py::test_tiff_files[rgb.tiled.u1-True] PASSED [ 97%] tests/test_imagecodecs.py::test_tiff_files[rgb.tiled.webp.u1-False] XFAIL [ 97%] tests/test_imagecodecs.py::test_tiff_files[rgb.tiled.webp.u1-True] XFAIL [ 97%] tests/test_imagecodecs.py::test_tiff_files[rgb.tiled.zstd.u1-False] XFAIL [ 97%] tests/test_imagecodecs.py::test_tiff_files[rgb.tiled.zstd.u1-True] XFAIL [ 97%] tests/test_imagecodecs.py::test_tiff_files[rgb.u1-True] PASSED [ 97%] tests/test_imagecodecs.py::test_tiff_files[rgba.separate.tiled.u1-True] PASSED [ 97%] tests/test_imagecodecs.py::test_tiff_files[rgba.separate.u1-True] PASSED [ 97%] tests/test_imagecodecs.py::test_tiff_files[rgba.tiled.u1-True] PASSED [ 97%] tests/test_imagecodecs.py::test_tiff_files[rgba.u1-True] PASSED [ 97%] tests/test_imagecodecs.py::test_tiff_index[10] PASSED [ 97%] tests/test_imagecodecs.py::test_tiff_index[1048576] PASSED [ 97%] tests/test_imagecodecs.py::test_tifffile[lzw-False-u1-<] PASSED [ 97%] tests/test_imagecodecs.py::test_tifffile[lzw-False-u1->] FAILED [ 97%] tests/test_imagecodecs.py::test_tifffile[lzw-False-u2-<] PASSED [ 97%] tests/test_imagecodecs.py::test_tifffile[lzw-False-u2->] FAILED [ 97%] tests/test_imagecodecs.py::test_tifffile[lzw-False-f2-<] PASSED [ 97%] tests/test_imagecodecs.py::test_tifffile[lzw-False-f2->] FAILED [ 97%] tests/test_imagecodecs.py::test_tifffile[lzw-False-f4-<] PASSED [ 97%] tests/test_imagecodecs.py::test_tifffile[lzw-False-f4->] FAILED [ 97%] tests/test_imagecodecs.py::test_tifffile[lzw-True-u1-<] PASSED [ 97%] tests/test_imagecodecs.py::test_tifffile[lzw-True-u1->] FAILED [ 97%] tests/test_imagecodecs.py::test_tifffile[lzw-True-u2-<] FAILED [ 97%] tests/test_imagecodecs.py::test_tifffile[lzw-True-u2->] FAILED [ 97%] tests/test_imagecodecs.py::test_tifffile[lzw-True-f2-<] FAILED [ 97%] tests/test_imagecodecs.py::test_tifffile[lzw-True-f2->] FAILED [ 97%] tests/test_imagecodecs.py::test_tifffile[lzw-True-f4-<] FAILED [ 97%] tests/test_imagecodecs.py::test_tifffile[lzw-True-f4->] FAILED [ 97%] tests/test_imagecodecs.py::test_tifffile[zstd-False-u1-<] PASSED [ 97%] tests/test_imagecodecs.py::test_tifffile[zstd-False-u1->] FAILED [ 97%] tests/test_imagecodecs.py::test_tifffile[zstd-False-u2-<] PASSED [ 97%] tests/test_imagecodecs.py::test_tifffile[zstd-False-u2->] FAILED [ 97%] tests/test_imagecodecs.py::test_tifffile[zstd-False-f2-<] PASSED [ 97%] tests/test_imagecodecs.py::test_tifffile[zstd-False-f2->] FAILED [ 98%] tests/test_imagecodecs.py::test_tifffile[zstd-False-f4-<] PASSED [ 98%] tests/test_imagecodecs.py::test_tifffile[zstd-False-f4->] FAILED [ 98%] tests/test_imagecodecs.py::test_tifffile[zstd-True-u1-<] PASSED [ 98%] tests/test_imagecodecs.py::test_tifffile[zstd-True-u1->] FAILED [ 98%] tests/test_imagecodecs.py::test_tifffile[zstd-True-u2-<] FAILED [ 98%] tests/test_imagecodecs.py::test_tifffile[zstd-True-u2->] FAILED [ 98%] tests/test_imagecodecs.py::test_tifffile[zstd-True-f2-<] FAILED [ 98%] tests/test_imagecodecs.py::test_tifffile[zstd-True-f2->] FAILED [ 98%] tests/test_imagecodecs.py::test_tifffile[zstd-True-f4-<] FAILED [ 98%] tests/test_imagecodecs.py::test_tifffile[zstd-True-f4->] FAILED [ 98%] tests/test_imagecodecs.py::test_tifffile[packbits-False-u1-<] PASSED [ 98%] tests/test_imagecodecs.py::test_tifffile[packbits-False-u1->] FAILED [ 98%] tests/test_imagecodecs.py::test_tifffile[packbits-False-u2-<] PASSED [ 98%] tests/test_imagecodecs.py::test_tifffile[packbits-False-u2->] FAILED [ 98%] tests/test_imagecodecs.py::test_tifffile[packbits-False-f2-<] PASSED [ 98%] tests/test_imagecodecs.py::test_tifffile[packbits-False-f2->] FAILED [ 98%] tests/test_imagecodecs.py::test_tifffile[packbits-False-f4-<] PASSED [ 98%] tests/test_imagecodecs.py::test_tifffile[packbits-False-f4->] FAILED [ 98%] tests/test_imagecodecs.py::test_tifffile[packbits-True-u1-<] PASSED [ 98%] tests/test_imagecodecs.py::test_tifffile[packbits-True-u1->] FAILED [ 98%] tests/test_imagecodecs.py::test_tifffile[packbits-True-u2-<] FAILED [ 98%] tests/test_imagecodecs.py::test_tifffile[packbits-True-u2->] FAILED [ 98%] tests/test_imagecodecs.py::test_tifffile[packbits-True-f2-<] FAILED [ 98%] tests/test_imagecodecs.py::test_tifffile[packbits-True-f2->] FAILED [ 98%] tests/test_imagecodecs.py::test_tifffile[packbits-True-f4-<] FAILED [ 98%] tests/test_imagecodecs.py::test_tifffile[packbits-True-f4->] FAILED [ 98%] tests/test_imagecodecs.py::test_tifffile[webp-False-u1-<] PASSED [ 98%] tests/test_imagecodecs.py::test_tifffile[webp-False-u1->] FAILED [ 98%] tests/test_imagecodecs.py::test_tifffile[webp-False-u2-<] XFAIL (dty...) [ 98%] tests/test_imagecodecs.py::test_tifffile[webp-False-u2->] XFAIL (dty...) [ 98%] tests/test_imagecodecs.py::test_tifffile[webp-False-f2-<] XFAIL (dty...) [ 98%] tests/test_imagecodecs.py::test_tifffile[webp-False-f2->] XFAIL (dty...) [ 98%] tests/test_imagecodecs.py::test_tifffile[webp-False-f4-<] XFAIL (dty...) [ 98%] tests/test_imagecodecs.py::test_tifffile[webp-False-f4->] XFAIL (dty...) [ 98%] tests/test_imagecodecs.py::test_tifffile[webp-True-u1-<] XFAIL (webp...) [ 98%] tests/test_imagecodecs.py::test_tifffile[webp-True-u1->] XFAIL (webp...) [ 98%] tests/test_imagecodecs.py::test_tifffile[webp-True-u2-<] XFAIL (dtyp...) [ 98%] tests/test_imagecodecs.py::test_tifffile[webp-True-u2->] XFAIL (dtyp...) [ 98%] tests/test_imagecodecs.py::test_tifffile[webp-True-f2-<] XFAIL (dtyp...) [ 98%] tests/test_imagecodecs.py::test_tifffile[webp-True-f2->] XFAIL (dtyp...) [ 98%] tests/test_imagecodecs.py::test_tifffile[webp-True-f4-<] XFAIL (dtyp...) [ 98%] tests/test_imagecodecs.py::test_tifffile[webp-True-f4->] XFAIL (dtyp...) [ 98%] tests/test_imagecodecs.py::test_tifffile[jpeg-False-u1-<] FAILED [ 98%] tests/test_imagecodecs.py::test_tifffile[jpeg-False-u1->] FAILED [ 98%] tests/test_imagecodecs.py::test_tifffile[jpeg-False-u2-<] XFAIL (tif...) [ 98%] tests/test_imagecodecs.py::test_tifffile[jpeg-False-u2->] XFAIL (tif...) [ 98%] tests/test_imagecodecs.py::test_tifffile[jpeg-False-f2-<] XFAIL (tif...) [ 98%] tests/test_imagecodecs.py::test_tifffile[jpeg-False-f2->] XFAIL (tif...) [ 98%] tests/test_imagecodecs.py::test_tifffile[jpeg-False-f4-<] XFAIL (tif...) [ 98%] tests/test_imagecodecs.py::test_tifffile[jpeg-False-f4->] XFAIL (tif...) [ 98%] tests/test_imagecodecs.py::test_tifffile[jpeg-True-u1-<] XFAIL (tiff...) [ 98%] tests/test_imagecodecs.py::test_tifffile[jpeg-True-u1->] XFAIL (tiff...) [ 98%] tests/test_imagecodecs.py::test_tifffile[jpeg-True-u2-<] XFAIL (tiff...) [ 98%] tests/test_imagecodecs.py::test_tifffile[jpeg-True-u2->] XFAIL (tiff...) [ 98%] tests/test_imagecodecs.py::test_tifffile[jpeg-True-f2-<] XFAIL (tiff...) [ 98%] tests/test_imagecodecs.py::test_tifffile[jpeg-True-f2->] XFAIL (tiff...) [ 98%] tests/test_imagecodecs.py::test_tifffile[jpeg-True-f4-<] XFAIL (tiff...) [ 98%] tests/test_imagecodecs.py::test_tifffile[jpeg-True-f4->] XFAIL (tiff...) [ 98%] tests/test_imagecodecs.py::test_tifffile[lerc-False-u1-<] FAILED [ 98%] tests/test_imagecodecs.py::test_tifffile[lerc-False-u1->] XFAIL (dty...) [ 98%] tests/test_imagecodecs.py::test_tifffile[lerc-False-u2-<] FAILED [ 98%] tests/test_imagecodecs.py::test_tifffile[lerc-False-u2->] XFAIL (dty...) [ 98%] tests/test_imagecodecs.py::test_tifffile[lerc-False-f2-<] XFAIL (dty...) [ 98%] tests/test_imagecodecs.py::test_tifffile[lerc-False-f2->] XFAIL (dty...) [ 98%] tests/test_imagecodecs.py::test_tifffile[lerc-False-f4-<] FAILED [ 98%] tests/test_imagecodecs.py::test_tifffile[lerc-False-f4->] XFAIL (dty...) [ 98%] tests/test_imagecodecs.py::test_tifffile[lerc-True-u1-<] FAILED [ 98%] tests/test_imagecodecs.py::test_tifffile[lerc-True-u1->] XFAIL (dtyp...) [ 98%] tests/test_imagecodecs.py::test_tifffile[lerc-True-u2-<] FAILED [ 98%] tests/test_imagecodecs.py::test_tifffile[lerc-True-u2->] XFAIL (dtyp...) [ 98%] tests/test_imagecodecs.py::test_tifffile[lerc-True-f2-<] XFAIL (dtyp...) [ 98%] tests/test_imagecodecs.py::test_tifffile[lerc-True-f2->] XFAIL (dtyp...) [ 98%] tests/test_imagecodecs.py::test_tifffile[lerc-True-f4-<] XFAIL (lerc...) [ 98%] tests/test_imagecodecs.py::test_tifffile[lerc-True-f4->] XFAIL (dtyp...) [ 98%] tests/test_imagecodecs.py::test_tifffile[lerc_zstd-False-u1-<] FAILED [ 98%] tests/test_imagecodecs.py::test_tifffile[lerc_zstd-False-u1->] XFAIL [ 98%] tests/test_imagecodecs.py::test_tifffile[lerc_zstd-False-u2-<] FAILED [ 98%] tests/test_imagecodecs.py::test_tifffile[lerc_zstd-False-u2->] XFAIL [ 98%] tests/test_imagecodecs.py::test_tifffile[lerc_zstd-False-f2-<] XFAIL [ 98%] tests/test_imagecodecs.py::test_tifffile[lerc_zstd-False-f2->] XFAIL [ 98%] tests/test_imagecodecs.py::test_tifffile[lerc_zstd-False-f4-<] FAILED [ 98%] tests/test_imagecodecs.py::test_tifffile[lerc_zstd-False-f4->] XFAIL [ 98%] tests/test_imagecodecs.py::test_tifffile[lerc_zstd-True-u1-<] FAILED [ 98%] tests/test_imagecodecs.py::test_tifffile[lerc_zstd-True-u1->] XFAIL [ 98%] tests/test_imagecodecs.py::test_tifffile[lerc_zstd-True-u2-<] FAILED [ 98%] tests/test_imagecodecs.py::test_tifffile[lerc_zstd-True-u2->] XFAIL [ 98%] tests/test_imagecodecs.py::test_tifffile[lerc_zstd-True-f2-<] XFAIL [ 98%] tests/test_imagecodecs.py::test_tifffile[lerc_zstd-True-f2->] XFAIL [ 98%] tests/test_imagecodecs.py::test_tifffile[lerc_zstd-True-f4-<] XFAIL [ 98%] tests/test_imagecodecs.py::test_tifffile[lerc_zstd-True-f4->] XFAIL [ 98%] tests/test_imagecodecs.py::test_tifffile[lerc_deflate-False-u1-<] FAILED [ 98%] tests/test_imagecodecs.py::test_tifffile[lerc_deflate-False-u1->] XFAIL [ 98%] tests/test_imagecodecs.py::test_tifffile[lerc_deflate-False-u2-<] FAILED [ 98%] tests/test_imagecodecs.py::test_tifffile[lerc_deflate-False-u2->] XFAIL [ 98%] tests/test_imagecodecs.py::test_tifffile[lerc_deflate-False-f2-<] XFAIL [ 98%] tests/test_imagecodecs.py::test_tifffile[lerc_deflate-False-f2->] XFAIL [ 98%] tests/test_imagecodecs.py::test_tifffile[lerc_deflate-False-f4-<] FAILED [ 98%] tests/test_imagecodecs.py::test_tifffile[lerc_deflate-False-f4->] XFAIL [ 98%] tests/test_imagecodecs.py::test_tifffile[lerc_deflate-True-u1-<] FAILED [ 98%] tests/test_imagecodecs.py::test_tifffile[lerc_deflate-True-u1->] XFAIL [ 99%] tests/test_imagecodecs.py::test_tifffile[lerc_deflate-True-u2-<] FAILED [ 99%] tests/test_imagecodecs.py::test_tifffile[lerc_deflate-True-u2->] XFAIL [ 99%] tests/test_imagecodecs.py::test_tifffile[lerc_deflate-True-f2-<] XFAIL [ 99%] tests/test_imagecodecs.py::test_tifffile[lerc_deflate-True-f2->] XFAIL [ 99%] tests/test_imagecodecs.py::test_tifffile[lerc_deflate-True-f4-<] XFAIL [ 99%] tests/test_imagecodecs.py::test_tifffile[lerc_deflate-True-f4->] XFAIL [ 99%] tests/test_imagecodecs.py::test_tifffile_ljpeg[u1] SKIPPED (tifffile...) [ 99%] tests/test_imagecodecs.py::test_czifile SKIPPED (czifile missing) [ 99%] tests/test_imagecodecs.py::test_numcodecs_register PASSED [ 99%] tests/test_imagecodecs.py::test_numcodecs[aec-gray] PASSED [ 99%] tests/test_imagecodecs.py::test_numcodecs[aec-rgb] PASSED [ 99%] tests/test_imagecodecs.py::test_numcodecs[apng-gray] SKIPPED (apng n...) [ 99%] tests/test_imagecodecs.py::test_numcodecs[apng-rgb] SKIPPED (apng no...) [ 99%] tests/test_imagecodecs.py::test_numcodecs[avif-gray] XFAIL (AVIF doe...) [ 99%] tests/test_imagecodecs.py::test_numcodecs[avif-rgb] PASSED [ 99%] tests/test_imagecodecs.py::test_numcodecs[bitorder-gray] PASSED [ 99%] tests/test_imagecodecs.py::test_numcodecs[bitorder-rgb] PASSED [ 99%] tests/test_imagecodecs.py::test_numcodecs[bitshuffle-gray] SKIPPED (...) [ 99%] tests/test_imagecodecs.py::test_numcodecs[bitshuffle-rgb] SKIPPED (b...) [ 99%] tests/test_imagecodecs.py::test_numcodecs[blosc-gray] PASSED [ 99%] tests/test_imagecodecs.py::test_numcodecs[blosc-rgb] PASSED [ 99%] tests/test_imagecodecs.py::test_numcodecs[blosc2-gray] PASSED [ 99%] tests/test_imagecodecs.py::test_numcodecs[blosc2-rgb] PASSED [ 99%] tests/test_imagecodecs.py::test_numcodecs[byteshuffle-gray] PASSED [ 99%] tests/test_imagecodecs.py::test_numcodecs[byteshuffle-rgb] PASSED [ 99%] tests/test_imagecodecs.py::test_numcodecs[bz2-gray] PASSED [ 99%] tests/test_imagecodecs.py::test_numcodecs[bz2-rgb] PASSED [ 99%] tests/test_imagecodecs.py::test_numcodecs[deflate-gray] PASSED [ 99%] tests/test_imagecodecs.py::test_numcodecs[deflate-rgb] PASSED [ 99%] tests/test_imagecodecs.py::test_numcodecs[delta-gray] PASSED [ 99%] tests/test_imagecodecs.py::test_numcodecs[delta-rgb] PASSED [ 99%] tests/test_imagecodecs.py::test_numcodecs[float24-gray] FAILED [ 99%] tests/test_imagecodecs.py::test_numcodecs[float24-rgb] FAILED [ 99%] tests/test_imagecodecs.py::test_numcodecs[floatpred-gray] PASSED [ 99%] tests/test_imagecodecs.py::test_numcodecs[floatpred-rgb] PASSED [ 99%] tests/test_imagecodecs.py::test_numcodecs[gif-gray] PASSED [ 99%] tests/test_imagecodecs.py::test_numcodecs[gif-rgb] PASSED [ 99%] tests/test_imagecodecs.py::test_numcodecs[jpeg-gray] PASSED [ 99%] tests/test_imagecodecs.py::test_numcodecs[jpeg-rgb] PASSED [ 99%] tests/test_imagecodecs.py::test_numcodecs[jpeg12-gray] SKIPPED (jpeg...) [ 99%] tests/test_imagecodecs.py::test_numcodecs[jpeg12-rgb] SKIPPED (jpeg1...) [ 99%] tests/test_imagecodecs.py::test_numcodecs[jpeg2k-gray] SKIPPED (jpeg...) [ 99%] tests/test_imagecodecs.py::test_numcodecs[jpeg2k-rgb] SKIPPED (jpeg2...) [ 99%] tests/test_imagecodecs.py::test_numcodecs[jpegls-gray] SKIPPED (jpeg...) [ 99%] tests/test_imagecodecs.py::test_numcodecs[jpegls-rgb] SKIPPED (jpegl...) [ 99%] tests/test_imagecodecs.py::test_numcodecs[jpegxl-gray] SKIPPED (jpeg...) [ 99%] tests/test_imagecodecs.py::test_numcodecs[jpegxl-rgb] SKIPPED (jpegx...) [ 99%] tests/test_imagecodecs.py::test_numcodecs[jpegxr-gray] PASSED [ 99%] tests/test_imagecodecs.py::test_numcodecs[jpegxr-rgb] PASSED [ 99%] tests/test_imagecodecs.py::test_numcodecs[lerc-gray] FAILED [ 99%] tests/test_imagecodecs.py::test_numcodecs[lerc-rgb] FAILED [ 99%] tests/test_imagecodecs.py::test_numcodecs[ljpeg-gray] SKIPPED (ljpeg...) [ 99%] tests/test_imagecodecs.py::test_numcodecs[ljpeg-rgb] SKIPPED (ljpeg ...) [ 99%] tests/test_imagecodecs.py::test_numcodecs[lz4-gray] PASSED [ 99%] tests/test_imagecodecs.py::test_numcodecs[lz4-rgb] PASSED [ 99%] tests/test_imagecodecs.py::test_numcodecs[lz4f-gray] SKIPPED (lz4f n...) [ 99%] tests/test_imagecodecs.py::test_numcodecs[lz4f-rgb] SKIPPED (lz4f no...) [ 99%] tests/test_imagecodecs.py::test_numcodecs[lzf-gray] SKIPPED (lzf not...) [ 99%] tests/test_imagecodecs.py::test_numcodecs[lzf-rgb] SKIPPED (lzf not ...) [ 99%] tests/test_imagecodecs.py::test_numcodecs[lzfse-gray] SKIPPED (lzfse...) [ 99%] tests/test_imagecodecs.py::test_numcodecs[lzfse-rgb] SKIPPED (lzfse ...) [ 99%] tests/test_imagecodecs.py::test_numcodecs[lzham-gray] SKIPPED (lzham...) [ 99%] tests/test_imagecodecs.py::test_numcodecs[lzham-rgb] SKIPPED (lzham ...) [ 99%] tests/test_imagecodecs.py::test_numcodecs[lzma-gray] PASSED [ 99%] tests/test_imagecodecs.py::test_numcodecs[lzma-rgb] PASSED [ 99%] tests/test_imagecodecs.py::test_numcodecs[lzw-gray] PASSED [ 99%] tests/test_imagecodecs.py::test_numcodecs[lzw-rgb] PASSED [ 99%] tests/test_imagecodecs.py::test_numcodecs[packbits-gray] PASSED [ 99%] tests/test_imagecodecs.py::test_numcodecs[packbits-rgb] PASSED [ 99%] tests/test_imagecodecs.py::test_numcodecs[pglz-gray] SKIPPED (pglz n...) [ 99%] tests/test_imagecodecs.py::test_numcodecs[pglz-rgb] SKIPPED (pglz no...) [ 99%] tests/test_imagecodecs.py::test_numcodecs[png-gray] PASSED [ 99%] tests/test_imagecodecs.py::test_numcodecs[png-rgb] PASSED [ 99%] tests/test_imagecodecs.py::test_numcodecs[qoi-gray] SKIPPED (qoi not...) [ 99%] tests/test_imagecodecs.py::test_numcodecs[qoi-rgb] SKIPPED (qoi not ...) [ 99%] tests/test_imagecodecs.py::test_numcodecs[rgbe-gray] SKIPPED (rgbe n...) [ 99%] tests/test_imagecodecs.py::test_numcodecs[rgbe-rgb] SKIPPED (rgbe no...) [ 99%] tests/test_imagecodecs.py::test_numcodecs[rcomp-gray] PASSED [ 99%] tests/test_imagecodecs.py::test_numcodecs[rcomp-rgb] PASSED [ 99%] tests/test_imagecodecs.py::test_numcodecs[snappy-gray] PASSED [ 99%] tests/test_imagecodecs.py::test_numcodecs[snappy-rgb] PASSED [ 99%] tests/test_imagecodecs.py::test_numcodecs[spng-gray] SKIPPED (spng n...) [ 99%] tests/test_imagecodecs.py::test_numcodecs[spng-rgb] SKIPPED (spng no...) [ 99%] tests/test_imagecodecs.py::test_numcodecs[tiff-gray] XFAIL (TIFF enc...) [ 99%] tests/test_imagecodecs.py::test_numcodecs[tiff-rgb] XFAIL (TIFF enco...) [ 99%] tests/test_imagecodecs.py::test_numcodecs[webp-gray] XFAIL (WebP doe...) [ 99%] tests/test_imagecodecs.py::test_numcodecs[webp-rgb] PASSED [ 99%] tests/test_imagecodecs.py::test_numcodecs[xor-gray] PASSED [ 99%] tests/test_imagecodecs.py::test_numcodecs[xor-rgb] PASSED [ 99%] tests/test_imagecodecs.py::test_numcodecs[zfp-gray] PASSED [ 99%] tests/test_imagecodecs.py::test_numcodecs[zfp-rgb] PASSED [ 99%] tests/test_imagecodecs.py::test_numcodecs[zlib-gray] PASSED [ 99%] tests/test_imagecodecs.py::test_numcodecs[zlib-rgb] PASSED [ 99%] tests/test_imagecodecs.py::test_numcodecs[zlibng-gray] PASSED [ 99%] tests/test_imagecodecs.py::test_numcodecs[zlibng-rgb] PASSED [ 99%] tests/test_imagecodecs.py::test_numcodecs[zopfli-gray] PASSED [ 99%] tests/test_imagecodecs.py::test_numcodecs[zopfli-rgb] PASSED [ 99%] tests/test_imagecodecs.py::test_numcodecs[zstd-gray] PASSED [ 99%] tests/test_imagecodecs.py::test_numcodecs[zstd-rgb] PASSED [ 99%] tests/test_imagecodecs.py::test_jpeg8_large SKIPPED (large file not ...) [100%] =================================== FAILURES =================================== _____________________________ test_packints_decode _____________________________ @pytest.mark.skipif(not imagecodecs.PACKINTS, reason='Packints missing') def test_packints_decode(): """Test PackInts decoder.""" decode = imagecodecs.packints_decode decoded = decode(b'', 'B', 1) assert len(decoded) == 0 decoded = decode(b'a', 'B', 1) assert tuple(decoded) == (0, 1, 1, 0, 0, 0, 0, 1) decoded = decode(b'ab', 'B', 2) assert tuple(decoded) == (1, 2, 0, 1, 1, 2, 0, 2) decoded = decode(b'abcd', 'B', 3) > assert tuple(decoded) == (3, 0, 2, 6, 1, 1, 4, 3, 3, 1) E AssertionError: assert (np.uint8(0),...uint8(0), ...) == (3, 0, 2, 6, 1, 1, ...) E E At index 0 diff: np.uint8(0) != 3 E E Full diff: E ( E - 3, E - 0,... E E ...Full output truncated (19 lines hidden), use '-vv' to show tests/test_imagecodecs.py:371: AssertionError ______________________ test_delta[delta-<-u2-encode-new] _______________________ output = 'new', byteorder = '<', kind = 'u2', codec = 'encode', func = 'delta' @pytest.mark.filterwarnings('ignore:invalid value encountered') @pytest.mark.parametrize('output', ['new', 'out', 'inplace']) @pytest.mark.parametrize('codec', ['encode', 'decode']) @pytest.mark.parametrize( 'kind', ['u1', 'u2', 'u4', 'u8', 'i1', 'i2', 'i4', 'i8', 'f4', 'f8', 'B', 'b'], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('func', ['delta', 'xor']) def test_delta(output, byteorder, kind, codec, func): """Test Delta codec.""" # if byteorder == '>' and numpy.dtype(kind).itemsize == 1: # pytest.skip('duplicate test') if func == 'delta': if not imagecodecs.DELTA: pytest.skip('Delta missing') encode = imagecodecs.delta_encode decode = imagecodecs.delta_decode encode_py = _imagecodecs.delta_encode # decode_py = _imagecodecs.delta_decode elif func == 'xor': if not imagecodecs.XOR: pytest.skip('Xor missing') encode = imagecodecs.xor_encode decode = imagecodecs.xor_decode encode_py = _imagecodecs.xor_encode # decode_py = _imagecodecs.xor_decode bytetype = bytearray if kind == 'b': bytetype = bytes kind = 'B' axis = -2 # do not change if kind[0] in 'iuB': low = numpy.iinfo(kind).min high = numpy.iinfo(kind).max data = numpy.random.randint( low, high, size=33 * 31 * 3, dtype=kind ).reshape(33, 31, 3) else: # floating point low, high = -1e5, 1e5 data = numpy.random.randint( low, high, size=33 * 31 * 3, dtype='i4' ).reshape(33, 31, 3) data = data.astype(byteorder + kind) data[16, 14] = [0, 0, 0] data[16, 15] = [low, high, low] data[16, 16] = [high, low, high] data[16, 17] = [low, high, low] data[16, 18] = [high, low, high] data[16, 19] = [0, 0, 0] if kind == 'B': # data = data.reshape(-1) data = data.tobytes() diff = encode_py(data, axis=0) if output == 'new': if codec == 'encode': encoded = encode(data, out=bytetype) assert encoded == diff elif codec == 'decode': decoded = decode(diff, out=bytetype) assert decoded == data elif output == 'out': if codec == 'encode': encoded = bytetype(len(data)) if bytetype == bytes: with pytest.raises(TypeError): encode(data, out=encoded) else: encode(data, out=encoded) assert encoded == diff elif codec == 'decode': decoded = bytetype(len(data)) if bytetype == bytes: with pytest.raises(TypeError): decode(diff, out=decoded) else: decode(diff, out=decoded) assert decoded == data elif output == 'inplace': if codec == 'encode': encoded = bytetype(data) if bytetype == bytes: with pytest.raises(TypeError): encode(encoded, out=encoded) else: encode(encoded, out=encoded) assert encoded == diff elif codec == 'decode': decoded = bytetype(diff) if bytetype == bytes: with pytest.raises(TypeError): decode(decoded, out=decoded) else: decode(decoded, out=decoded) assert decoded == data else: # if func == 'xor' and kind in ('f4', 'f8'): # with pytest.raises(ValueError): # encode(data, axis=axis) # pytest.xfail("XOR codec not implemented for float data") > diff = encode_py(data, axis=-2) tests/test_imagecodecs.py:598: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ data = array([[[57699, 25794, 59237], [59673, 64690, 40891], [19044, 29315, 8170], ..., [467... [45710, 44393, 4441], [62789, 62702, 63188], [11068, 3928, 35443]]], shape=(33, 31, 3), dtype='>> delta_encode(b'0123456789') b'0\x01\x01\x01\x01\x01\x01\x01\x01\x01' """ if dist != 1: raise NotImplementedError(f'dist {dist} not implemented') if isinstance(data, (bytes, bytearray)): data = numpy.frombuffer(data, dtype='u1') diff = numpy.diff(data, axis=0) return numpy.insert(diff, 0, data[0]).tobytes() dtype = data.dtype if dtype.kind == 'f': data = data.view(f'{dtype.byteorder}u{dtype.itemsize}') # diff = numpy.diff(data, axis=axis) key = [slice(None)] * data.ndim key[axis] = 0 diff = numpy.insert(diff, 0, data[tuple(key)], axis=axis) > diff = diff if data.dtype.isnative else diff.byteswap(True).newbyteorder() E AttributeError: `newbyteorder` was removed from the ndarray class in NumPy 2.0. Use `arr.view(arr.dtype.newbyteorder(order))` instead. ../BUILDROOT/usr/lib64/python3.13/site-packages/imagecodecs/_imagecodecs.py:271: AttributeError ______________________ test_delta[delta-<-u2-encode-out] _______________________ output = 'out', byteorder = '<', kind = 'u2', codec = 'encode', func = 'delta' @pytest.mark.filterwarnings('ignore:invalid value encountered') @pytest.mark.parametrize('output', ['new', 'out', 'inplace']) @pytest.mark.parametrize('codec', ['encode', 'decode']) @pytest.mark.parametrize( 'kind', ['u1', 'u2', 'u4', 'u8', 'i1', 'i2', 'i4', 'i8', 'f4', 'f8', 'B', 'b'], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('func', ['delta', 'xor']) def test_delta(output, byteorder, kind, codec, func): """Test Delta codec.""" # if byteorder == '>' and numpy.dtype(kind).itemsize == 1: # pytest.skip('duplicate test') if func == 'delta': if not imagecodecs.DELTA: pytest.skip('Delta missing') encode = imagecodecs.delta_encode decode = imagecodecs.delta_decode encode_py = _imagecodecs.delta_encode # decode_py = _imagecodecs.delta_decode elif func == 'xor': if not imagecodecs.XOR: pytest.skip('Xor missing') encode = imagecodecs.xor_encode decode = imagecodecs.xor_decode encode_py = _imagecodecs.xor_encode # decode_py = _imagecodecs.xor_decode bytetype = bytearray if kind == 'b': bytetype = bytes kind = 'B' axis = -2 # do not change if kind[0] in 'iuB': low = numpy.iinfo(kind).min high = numpy.iinfo(kind).max data = numpy.random.randint( low, high, size=33 * 31 * 3, dtype=kind ).reshape(33, 31, 3) else: # floating point low, high = -1e5, 1e5 data = numpy.random.randint( low, high, size=33 * 31 * 3, dtype='i4' ).reshape(33, 31, 3) data = data.astype(byteorder + kind) data[16, 14] = [0, 0, 0] data[16, 15] = [low, high, low] data[16, 16] = [high, low, high] data[16, 17] = [low, high, low] data[16, 18] = [high, low, high] data[16, 19] = [0, 0, 0] if kind == 'B': # data = data.reshape(-1) data = data.tobytes() diff = encode_py(data, axis=0) if output == 'new': if codec == 'encode': encoded = encode(data, out=bytetype) assert encoded == diff elif codec == 'decode': decoded = decode(diff, out=bytetype) assert decoded == data elif output == 'out': if codec == 'encode': encoded = bytetype(len(data)) if bytetype == bytes: with pytest.raises(TypeError): encode(data, out=encoded) else: encode(data, out=encoded) assert encoded == diff elif codec == 'decode': decoded = bytetype(len(data)) if bytetype == bytes: with pytest.raises(TypeError): decode(diff, out=decoded) else: decode(diff, out=decoded) assert decoded == data elif output == 'inplace': if codec == 'encode': encoded = bytetype(data) if bytetype == bytes: with pytest.raises(TypeError): encode(encoded, out=encoded) else: encode(encoded, out=encoded) assert encoded == diff elif codec == 'decode': decoded = bytetype(diff) if bytetype == bytes: with pytest.raises(TypeError): decode(decoded, out=decoded) else: decode(decoded, out=decoded) assert decoded == data else: # if func == 'xor' and kind in ('f4', 'f8'): # with pytest.raises(ValueError): # encode(data, axis=axis) # pytest.xfail("XOR codec not implemented for float data") > diff = encode_py(data, axis=-2) tests/test_imagecodecs.py:598: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ data = array([[[55194, 62513, 16816], [61217, 42484, 58129], [47331, 39031, 42064], ..., [409... [63252, 32943, 52665], [31643, 37366, 30036], [ 6280, 61133, 29152]]], shape=(33, 31, 3), dtype='>> delta_encode(b'0123456789') b'0\x01\x01\x01\x01\x01\x01\x01\x01\x01' """ if dist != 1: raise NotImplementedError(f'dist {dist} not implemented') if isinstance(data, (bytes, bytearray)): data = numpy.frombuffer(data, dtype='u1') diff = numpy.diff(data, axis=0) return numpy.insert(diff, 0, data[0]).tobytes() dtype = data.dtype if dtype.kind == 'f': data = data.view(f'{dtype.byteorder}u{dtype.itemsize}') # diff = numpy.diff(data, axis=axis) key = [slice(None)] * data.ndim key[axis] = 0 diff = numpy.insert(diff, 0, data[tuple(key)], axis=axis) > diff = diff if data.dtype.isnative else diff.byteswap(True).newbyteorder() E AttributeError: `newbyteorder` was removed from the ndarray class in NumPy 2.0. Use `arr.view(arr.dtype.newbyteorder(order))` instead. ../BUILDROOT/usr/lib64/python3.13/site-packages/imagecodecs/_imagecodecs.py:271: AttributeError ____________________ test_delta[delta-<-u2-encode-inplace] _____________________ output = 'inplace', byteorder = '<', kind = 'u2', codec = 'encode' func = 'delta' @pytest.mark.filterwarnings('ignore:invalid value encountered') @pytest.mark.parametrize('output', ['new', 'out', 'inplace']) @pytest.mark.parametrize('codec', ['encode', 'decode']) @pytest.mark.parametrize( 'kind', ['u1', 'u2', 'u4', 'u8', 'i1', 'i2', 'i4', 'i8', 'f4', 'f8', 'B', 'b'], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('func', ['delta', 'xor']) def test_delta(output, byteorder, kind, codec, func): """Test Delta codec.""" # if byteorder == '>' and numpy.dtype(kind).itemsize == 1: # pytest.skip('duplicate test') if func == 'delta': if not imagecodecs.DELTA: pytest.skip('Delta missing') encode = imagecodecs.delta_encode decode = imagecodecs.delta_decode encode_py = _imagecodecs.delta_encode # decode_py = _imagecodecs.delta_decode elif func == 'xor': if not imagecodecs.XOR: pytest.skip('Xor missing') encode = imagecodecs.xor_encode decode = imagecodecs.xor_decode encode_py = _imagecodecs.xor_encode # decode_py = _imagecodecs.xor_decode bytetype = bytearray if kind == 'b': bytetype = bytes kind = 'B' axis = -2 # do not change if kind[0] in 'iuB': low = numpy.iinfo(kind).min high = numpy.iinfo(kind).max data = numpy.random.randint( low, high, size=33 * 31 * 3, dtype=kind ).reshape(33, 31, 3) else: # floating point low, high = -1e5, 1e5 data = numpy.random.randint( low, high, size=33 * 31 * 3, dtype='i4' ).reshape(33, 31, 3) data = data.astype(byteorder + kind) data[16, 14] = [0, 0, 0] data[16, 15] = [low, high, low] data[16, 16] = [high, low, high] data[16, 17] = [low, high, low] data[16, 18] = [high, low, high] data[16, 19] = [0, 0, 0] if kind == 'B': # data = data.reshape(-1) data = data.tobytes() diff = encode_py(data, axis=0) if output == 'new': if codec == 'encode': encoded = encode(data, out=bytetype) assert encoded == diff elif codec == 'decode': decoded = decode(diff, out=bytetype) assert decoded == data elif output == 'out': if codec == 'encode': encoded = bytetype(len(data)) if bytetype == bytes: with pytest.raises(TypeError): encode(data, out=encoded) else: encode(data, out=encoded) assert encoded == diff elif codec == 'decode': decoded = bytetype(len(data)) if bytetype == bytes: with pytest.raises(TypeError): decode(diff, out=decoded) else: decode(diff, out=decoded) assert decoded == data elif output == 'inplace': if codec == 'encode': encoded = bytetype(data) if bytetype == bytes: with pytest.raises(TypeError): encode(encoded, out=encoded) else: encode(encoded, out=encoded) assert encoded == diff elif codec == 'decode': decoded = bytetype(diff) if bytetype == bytes: with pytest.raises(TypeError): decode(decoded, out=decoded) else: decode(decoded, out=decoded) assert decoded == data else: # if func == 'xor' and kind in ('f4', 'f8'): # with pytest.raises(ValueError): # encode(data, axis=axis) # pytest.xfail("XOR codec not implemented for float data") > diff = encode_py(data, axis=-2) tests/test_imagecodecs.py:598: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ data = array([[[45287, 63746, 40561], [44511, 64062, 12866], [11619, 15489, 14178], ..., [364... [26814, 60367, 52470], [ 1195, 38786, 33230], [60189, 36437, 9354]]], shape=(33, 31, 3), dtype='>> delta_encode(b'0123456789') b'0\x01\x01\x01\x01\x01\x01\x01\x01\x01' """ if dist != 1: raise NotImplementedError(f'dist {dist} not implemented') if isinstance(data, (bytes, bytearray)): data = numpy.frombuffer(data, dtype='u1') diff = numpy.diff(data, axis=0) return numpy.insert(diff, 0, data[0]).tobytes() dtype = data.dtype if dtype.kind == 'f': data = data.view(f'{dtype.byteorder}u{dtype.itemsize}') # diff = numpy.diff(data, axis=axis) key = [slice(None)] * data.ndim key[axis] = 0 diff = numpy.insert(diff, 0, data[tuple(key)], axis=axis) > diff = diff if data.dtype.isnative else diff.byteswap(True).newbyteorder() E AttributeError: `newbyteorder` was removed from the ndarray class in NumPy 2.0. Use `arr.view(arr.dtype.newbyteorder(order))` instead. ../BUILDROOT/usr/lib64/python3.13/site-packages/imagecodecs/_imagecodecs.py:271: AttributeError ______________________ test_delta[delta-<-u2-decode-new] _______________________ output = 'new', byteorder = '<', kind = 'u2', codec = 'decode', func = 'delta' @pytest.mark.filterwarnings('ignore:invalid value encountered') @pytest.mark.parametrize('output', ['new', 'out', 'inplace']) @pytest.mark.parametrize('codec', ['encode', 'decode']) @pytest.mark.parametrize( 'kind', ['u1', 'u2', 'u4', 'u8', 'i1', 'i2', 'i4', 'i8', 'f4', 'f8', 'B', 'b'], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('func', ['delta', 'xor']) def test_delta(output, byteorder, kind, codec, func): """Test Delta codec.""" # if byteorder == '>' and numpy.dtype(kind).itemsize == 1: # pytest.skip('duplicate test') if func == 'delta': if not imagecodecs.DELTA: pytest.skip('Delta missing') encode = imagecodecs.delta_encode decode = imagecodecs.delta_decode encode_py = _imagecodecs.delta_encode # decode_py = _imagecodecs.delta_decode elif func == 'xor': if not imagecodecs.XOR: pytest.skip('Xor missing') encode = imagecodecs.xor_encode decode = imagecodecs.xor_decode encode_py = _imagecodecs.xor_encode # decode_py = _imagecodecs.xor_decode bytetype = bytearray if kind == 'b': bytetype = bytes kind = 'B' axis = -2 # do not change if kind[0] in 'iuB': low = numpy.iinfo(kind).min high = numpy.iinfo(kind).max data = numpy.random.randint( low, high, size=33 * 31 * 3, dtype=kind ).reshape(33, 31, 3) else: # floating point low, high = -1e5, 1e5 data = numpy.random.randint( low, high, size=33 * 31 * 3, dtype='i4' ).reshape(33, 31, 3) data = data.astype(byteorder + kind) data[16, 14] = [0, 0, 0] data[16, 15] = [low, high, low] data[16, 16] = [high, low, high] data[16, 17] = [low, high, low] data[16, 18] = [high, low, high] data[16, 19] = [0, 0, 0] if kind == 'B': # data = data.reshape(-1) data = data.tobytes() diff = encode_py(data, axis=0) if output == 'new': if codec == 'encode': encoded = encode(data, out=bytetype) assert encoded == diff elif codec == 'decode': decoded = decode(diff, out=bytetype) assert decoded == data elif output == 'out': if codec == 'encode': encoded = bytetype(len(data)) if bytetype == bytes: with pytest.raises(TypeError): encode(data, out=encoded) else: encode(data, out=encoded) assert encoded == diff elif codec == 'decode': decoded = bytetype(len(data)) if bytetype == bytes: with pytest.raises(TypeError): decode(diff, out=decoded) else: decode(diff, out=decoded) assert decoded == data elif output == 'inplace': if codec == 'encode': encoded = bytetype(data) if bytetype == bytes: with pytest.raises(TypeError): encode(encoded, out=encoded) else: encode(encoded, out=encoded) assert encoded == diff elif codec == 'decode': decoded = bytetype(diff) if bytetype == bytes: with pytest.raises(TypeError): decode(decoded, out=decoded) else: decode(decoded, out=decoded) assert decoded == data else: # if func == 'xor' and kind in ('f4', 'f8'): # with pytest.raises(ValueError): # encode(data, axis=axis) # pytest.xfail("XOR codec not implemented for float data") > diff = encode_py(data, axis=-2) tests/test_imagecodecs.py:598: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ data = array([[[58498, 61735, 38924], [36963, 19309, 63701], [15289, 26977, 36500], ..., [388... [10487, 2341, 19285], [20051, 61840, 19252], [62976, 34326, 47288]]], shape=(33, 31, 3), dtype='>> delta_encode(b'0123456789') b'0\x01\x01\x01\x01\x01\x01\x01\x01\x01' """ if dist != 1: raise NotImplementedError(f'dist {dist} not implemented') if isinstance(data, (bytes, bytearray)): data = numpy.frombuffer(data, dtype='u1') diff = numpy.diff(data, axis=0) return numpy.insert(diff, 0, data[0]).tobytes() dtype = data.dtype if dtype.kind == 'f': data = data.view(f'{dtype.byteorder}u{dtype.itemsize}') # diff = numpy.diff(data, axis=axis) key = [slice(None)] * data.ndim key[axis] = 0 diff = numpy.insert(diff, 0, data[tuple(key)], axis=axis) > diff = diff if data.dtype.isnative else diff.byteswap(True).newbyteorder() E AttributeError: `newbyteorder` was removed from the ndarray class in NumPy 2.0. Use `arr.view(arr.dtype.newbyteorder(order))` instead. ../BUILDROOT/usr/lib64/python3.13/site-packages/imagecodecs/_imagecodecs.py:271: AttributeError ______________________ test_delta[delta-<-u2-decode-out] _______________________ output = 'out', byteorder = '<', kind = 'u2', codec = 'decode', func = 'delta' @pytest.mark.filterwarnings('ignore:invalid value encountered') @pytest.mark.parametrize('output', ['new', 'out', 'inplace']) @pytest.mark.parametrize('codec', ['encode', 'decode']) @pytest.mark.parametrize( 'kind', ['u1', 'u2', 'u4', 'u8', 'i1', 'i2', 'i4', 'i8', 'f4', 'f8', 'B', 'b'], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('func', ['delta', 'xor']) def test_delta(output, byteorder, kind, codec, func): """Test Delta codec.""" # if byteorder == '>' and numpy.dtype(kind).itemsize == 1: # pytest.skip('duplicate test') if func == 'delta': if not imagecodecs.DELTA: pytest.skip('Delta missing') encode = imagecodecs.delta_encode decode = imagecodecs.delta_decode encode_py = _imagecodecs.delta_encode # decode_py = _imagecodecs.delta_decode elif func == 'xor': if not imagecodecs.XOR: pytest.skip('Xor missing') encode = imagecodecs.xor_encode decode = imagecodecs.xor_decode encode_py = _imagecodecs.xor_encode # decode_py = _imagecodecs.xor_decode bytetype = bytearray if kind == 'b': bytetype = bytes kind = 'B' axis = -2 # do not change if kind[0] in 'iuB': low = numpy.iinfo(kind).min high = numpy.iinfo(kind).max data = numpy.random.randint( low, high, size=33 * 31 * 3, dtype=kind ).reshape(33, 31, 3) else: # floating point low, high = -1e5, 1e5 data = numpy.random.randint( low, high, size=33 * 31 * 3, dtype='i4' ).reshape(33, 31, 3) data = data.astype(byteorder + kind) data[16, 14] = [0, 0, 0] data[16, 15] = [low, high, low] data[16, 16] = [high, low, high] data[16, 17] = [low, high, low] data[16, 18] = [high, low, high] data[16, 19] = [0, 0, 0] if kind == 'B': # data = data.reshape(-1) data = data.tobytes() diff = encode_py(data, axis=0) if output == 'new': if codec == 'encode': encoded = encode(data, out=bytetype) assert encoded == diff elif codec == 'decode': decoded = decode(diff, out=bytetype) assert decoded == data elif output == 'out': if codec == 'encode': encoded = bytetype(len(data)) if bytetype == bytes: with pytest.raises(TypeError): encode(data, out=encoded) else: encode(data, out=encoded) assert encoded == diff elif codec == 'decode': decoded = bytetype(len(data)) if bytetype == bytes: with pytest.raises(TypeError): decode(diff, out=decoded) else: decode(diff, out=decoded) assert decoded == data elif output == 'inplace': if codec == 'encode': encoded = bytetype(data) if bytetype == bytes: with pytest.raises(TypeError): encode(encoded, out=encoded) else: encode(encoded, out=encoded) assert encoded == diff elif codec == 'decode': decoded = bytetype(diff) if bytetype == bytes: with pytest.raises(TypeError): decode(decoded, out=decoded) else: decode(decoded, out=decoded) assert decoded == data else: # if func == 'xor' and kind in ('f4', 'f8'): # with pytest.raises(ValueError): # encode(data, axis=axis) # pytest.xfail("XOR codec not implemented for float data") > diff = encode_py(data, axis=-2) tests/test_imagecodecs.py:598: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ data = array([[[ 5357, 15134, 12151], [52723, 18753, 35804], [39961, 9395, 64731], ..., [293... [52858, 19872, 4218], [46317, 29372, 54543], [45469, 47814, 60799]]], shape=(33, 31, 3), dtype='>> delta_encode(b'0123456789') b'0\x01\x01\x01\x01\x01\x01\x01\x01\x01' """ if dist != 1: raise NotImplementedError(f'dist {dist} not implemented') if isinstance(data, (bytes, bytearray)): data = numpy.frombuffer(data, dtype='u1') diff = numpy.diff(data, axis=0) return numpy.insert(diff, 0, data[0]).tobytes() dtype = data.dtype if dtype.kind == 'f': data = data.view(f'{dtype.byteorder}u{dtype.itemsize}') # diff = numpy.diff(data, axis=axis) key = [slice(None)] * data.ndim key[axis] = 0 diff = numpy.insert(diff, 0, data[tuple(key)], axis=axis) > diff = diff if data.dtype.isnative else diff.byteswap(True).newbyteorder() E AttributeError: `newbyteorder` was removed from the ndarray class in NumPy 2.0. Use `arr.view(arr.dtype.newbyteorder(order))` instead. ../BUILDROOT/usr/lib64/python3.13/site-packages/imagecodecs/_imagecodecs.py:271: AttributeError ____________________ test_delta[delta-<-u2-decode-inplace] _____________________ output = 'inplace', byteorder = '<', kind = 'u2', codec = 'decode' func = 'delta' @pytest.mark.filterwarnings('ignore:invalid value encountered') @pytest.mark.parametrize('output', ['new', 'out', 'inplace']) @pytest.mark.parametrize('codec', ['encode', 'decode']) @pytest.mark.parametrize( 'kind', ['u1', 'u2', 'u4', 'u8', 'i1', 'i2', 'i4', 'i8', 'f4', 'f8', 'B', 'b'], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('func', ['delta', 'xor']) def test_delta(output, byteorder, kind, codec, func): """Test Delta codec.""" # if byteorder == '>' and numpy.dtype(kind).itemsize == 1: # pytest.skip('duplicate test') if func == 'delta': if not imagecodecs.DELTA: pytest.skip('Delta missing') encode = imagecodecs.delta_encode decode = imagecodecs.delta_decode encode_py = _imagecodecs.delta_encode # decode_py = _imagecodecs.delta_decode elif func == 'xor': if not imagecodecs.XOR: pytest.skip('Xor missing') encode = imagecodecs.xor_encode decode = imagecodecs.xor_decode encode_py = _imagecodecs.xor_encode # decode_py = _imagecodecs.xor_decode bytetype = bytearray if kind == 'b': bytetype = bytes kind = 'B' axis = -2 # do not change if kind[0] in 'iuB': low = numpy.iinfo(kind).min high = numpy.iinfo(kind).max data = numpy.random.randint( low, high, size=33 * 31 * 3, dtype=kind ).reshape(33, 31, 3) else: # floating point low, high = -1e5, 1e5 data = numpy.random.randint( low, high, size=33 * 31 * 3, dtype='i4' ).reshape(33, 31, 3) data = data.astype(byteorder + kind) data[16, 14] = [0, 0, 0] data[16, 15] = [low, high, low] data[16, 16] = [high, low, high] data[16, 17] = [low, high, low] data[16, 18] = [high, low, high] data[16, 19] = [0, 0, 0] if kind == 'B': # data = data.reshape(-1) data = data.tobytes() diff = encode_py(data, axis=0) if output == 'new': if codec == 'encode': encoded = encode(data, out=bytetype) assert encoded == diff elif codec == 'decode': decoded = decode(diff, out=bytetype) assert decoded == data elif output == 'out': if codec == 'encode': encoded = bytetype(len(data)) if bytetype == bytes: with pytest.raises(TypeError): encode(data, out=encoded) else: encode(data, out=encoded) assert encoded == diff elif codec == 'decode': decoded = bytetype(len(data)) if bytetype == bytes: with pytest.raises(TypeError): decode(diff, out=decoded) else: decode(diff, out=decoded) assert decoded == data elif output == 'inplace': if codec == 'encode': encoded = bytetype(data) if bytetype == bytes: with pytest.raises(TypeError): encode(encoded, out=encoded) else: encode(encoded, out=encoded) assert encoded == diff elif codec == 'decode': decoded = bytetype(diff) if bytetype == bytes: with pytest.raises(TypeError): decode(decoded, out=decoded) else: decode(decoded, out=decoded) assert decoded == data else: # if func == 'xor' and kind in ('f4', 'f8'): # with pytest.raises(ValueError): # encode(data, axis=axis) # pytest.xfail("XOR codec not implemented for float data") > diff = encode_py(data, axis=-2) tests/test_imagecodecs.py:598: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ data = array([[[ 9289, 44164, 5557], [52258, 19929, 50892], [50174, 8248, 43545], ..., [367... [27085, 58636, 19926], [ 4657, 84, 51559], [34550, 42881, 35672]]], shape=(33, 31, 3), dtype='>> delta_encode(b'0123456789') b'0\x01\x01\x01\x01\x01\x01\x01\x01\x01' """ if dist != 1: raise NotImplementedError(f'dist {dist} not implemented') if isinstance(data, (bytes, bytearray)): data = numpy.frombuffer(data, dtype='u1') diff = numpy.diff(data, axis=0) return numpy.insert(diff, 0, data[0]).tobytes() dtype = data.dtype if dtype.kind == 'f': data = data.view(f'{dtype.byteorder}u{dtype.itemsize}') # diff = numpy.diff(data, axis=axis) key = [slice(None)] * data.ndim key[axis] = 0 diff = numpy.insert(diff, 0, data[tuple(key)], axis=axis) > diff = diff if data.dtype.isnative else diff.byteswap(True).newbyteorder() E AttributeError: `newbyteorder` was removed from the ndarray class in NumPy 2.0. Use `arr.view(arr.dtype.newbyteorder(order))` instead. ../BUILDROOT/usr/lib64/python3.13/site-packages/imagecodecs/_imagecodecs.py:271: AttributeError ______________________ test_delta[delta-<-u4-encode-new] _______________________ output = 'new', byteorder = '<', kind = 'u4', codec = 'encode', func = 'delta' @pytest.mark.filterwarnings('ignore:invalid value encountered') @pytest.mark.parametrize('output', ['new', 'out', 'inplace']) @pytest.mark.parametrize('codec', ['encode', 'decode']) @pytest.mark.parametrize( 'kind', ['u1', 'u2', 'u4', 'u8', 'i1', 'i2', 'i4', 'i8', 'f4', 'f8', 'B', 'b'], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('func', ['delta', 'xor']) def test_delta(output, byteorder, kind, codec, func): """Test Delta codec.""" # if byteorder == '>' and numpy.dtype(kind).itemsize == 1: # pytest.skip('duplicate test') if func == 'delta': if not imagecodecs.DELTA: pytest.skip('Delta missing') encode = imagecodecs.delta_encode decode = imagecodecs.delta_decode encode_py = _imagecodecs.delta_encode # decode_py = _imagecodecs.delta_decode elif func == 'xor': if not imagecodecs.XOR: pytest.skip('Xor missing') encode = imagecodecs.xor_encode decode = imagecodecs.xor_decode encode_py = _imagecodecs.xor_encode # decode_py = _imagecodecs.xor_decode bytetype = bytearray if kind == 'b': bytetype = bytes kind = 'B' axis = -2 # do not change if kind[0] in 'iuB': low = numpy.iinfo(kind).min high = numpy.iinfo(kind).max data = numpy.random.randint( low, high, size=33 * 31 * 3, dtype=kind ).reshape(33, 31, 3) else: # floating point low, high = -1e5, 1e5 data = numpy.random.randint( low, high, size=33 * 31 * 3, dtype='i4' ).reshape(33, 31, 3) data = data.astype(byteorder + kind) data[16, 14] = [0, 0, 0] data[16, 15] = [low, high, low] data[16, 16] = [high, low, high] data[16, 17] = [low, high, low] data[16, 18] = [high, low, high] data[16, 19] = [0, 0, 0] if kind == 'B': # data = data.reshape(-1) data = data.tobytes() diff = encode_py(data, axis=0) if output == 'new': if codec == 'encode': encoded = encode(data, out=bytetype) assert encoded == diff elif codec == 'decode': decoded = decode(diff, out=bytetype) assert decoded == data elif output == 'out': if codec == 'encode': encoded = bytetype(len(data)) if bytetype == bytes: with pytest.raises(TypeError): encode(data, out=encoded) else: encode(data, out=encoded) assert encoded == diff elif codec == 'decode': decoded = bytetype(len(data)) if bytetype == bytes: with pytest.raises(TypeError): decode(diff, out=decoded) else: decode(diff, out=decoded) assert decoded == data elif output == 'inplace': if codec == 'encode': encoded = bytetype(data) if bytetype == bytes: with pytest.raises(TypeError): encode(encoded, out=encoded) else: encode(encoded, out=encoded) assert encoded == diff elif codec == 'decode': decoded = bytetype(diff) if bytetype == bytes: with pytest.raises(TypeError): decode(decoded, out=decoded) else: decode(decoded, out=decoded) assert decoded == data else: # if func == 'xor' and kind in ('f4', 'f8'): # with pytest.raises(ValueError): # encode(data, axis=axis) # pytest.xfail("XOR codec not implemented for float data") > diff = encode_py(data, axis=-2) tests/test_imagecodecs.py:598: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ data = array([[[ 808940088, 179185082, 2793770490], [3955220513, 1934167731, 4003373136], [ 880331432, 27609...6124842, 1642896613, 2259223716], [4224112919, 2130474100, 3302371518]]], shape=(33, 31, 3), dtype='>> delta_encode(b'0123456789') b'0\x01\x01\x01\x01\x01\x01\x01\x01\x01' """ if dist != 1: raise NotImplementedError(f'dist {dist} not implemented') if isinstance(data, (bytes, bytearray)): data = numpy.frombuffer(data, dtype='u1') diff = numpy.diff(data, axis=0) return numpy.insert(diff, 0, data[0]).tobytes() dtype = data.dtype if dtype.kind == 'f': data = data.view(f'{dtype.byteorder}u{dtype.itemsize}') # diff = numpy.diff(data, axis=axis) key = [slice(None)] * data.ndim key[axis] = 0 diff = numpy.insert(diff, 0, data[tuple(key)], axis=axis) > diff = diff if data.dtype.isnative else diff.byteswap(True).newbyteorder() E AttributeError: `newbyteorder` was removed from the ndarray class in NumPy 2.0. Use `arr.view(arr.dtype.newbyteorder(order))` instead. ../BUILDROOT/usr/lib64/python3.13/site-packages/imagecodecs/_imagecodecs.py:271: AttributeError ______________________ test_delta[delta-<-u4-encode-out] _______________________ output = 'out', byteorder = '<', kind = 'u4', codec = 'encode', func = 'delta' @pytest.mark.filterwarnings('ignore:invalid value encountered') @pytest.mark.parametrize('output', ['new', 'out', 'inplace']) @pytest.mark.parametrize('codec', ['encode', 'decode']) @pytest.mark.parametrize( 'kind', ['u1', 'u2', 'u4', 'u8', 'i1', 'i2', 'i4', 'i8', 'f4', 'f8', 'B', 'b'], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('func', ['delta', 'xor']) def test_delta(output, byteorder, kind, codec, func): """Test Delta codec.""" # if byteorder == '>' and numpy.dtype(kind).itemsize == 1: # pytest.skip('duplicate test') if func == 'delta': if not imagecodecs.DELTA: pytest.skip('Delta missing') encode = imagecodecs.delta_encode decode = imagecodecs.delta_decode encode_py = _imagecodecs.delta_encode # decode_py = _imagecodecs.delta_decode elif func == 'xor': if not imagecodecs.XOR: pytest.skip('Xor missing') encode = imagecodecs.xor_encode decode = imagecodecs.xor_decode encode_py = _imagecodecs.xor_encode # decode_py = _imagecodecs.xor_decode bytetype = bytearray if kind == 'b': bytetype = bytes kind = 'B' axis = -2 # do not change if kind[0] in 'iuB': low = numpy.iinfo(kind).min high = numpy.iinfo(kind).max data = numpy.random.randint( low, high, size=33 * 31 * 3, dtype=kind ).reshape(33, 31, 3) else: # floating point low, high = -1e5, 1e5 data = numpy.random.randint( low, high, size=33 * 31 * 3, dtype='i4' ).reshape(33, 31, 3) data = data.astype(byteorder + kind) data[16, 14] = [0, 0, 0] data[16, 15] = [low, high, low] data[16, 16] = [high, low, high] data[16, 17] = [low, high, low] data[16, 18] = [high, low, high] data[16, 19] = [0, 0, 0] if kind == 'B': # data = data.reshape(-1) data = data.tobytes() diff = encode_py(data, axis=0) if output == 'new': if codec == 'encode': encoded = encode(data, out=bytetype) assert encoded == diff elif codec == 'decode': decoded = decode(diff, out=bytetype) assert decoded == data elif output == 'out': if codec == 'encode': encoded = bytetype(len(data)) if bytetype == bytes: with pytest.raises(TypeError): encode(data, out=encoded) else: encode(data, out=encoded) assert encoded == diff elif codec == 'decode': decoded = bytetype(len(data)) if bytetype == bytes: with pytest.raises(TypeError): decode(diff, out=decoded) else: decode(diff, out=decoded) assert decoded == data elif output == 'inplace': if codec == 'encode': encoded = bytetype(data) if bytetype == bytes: with pytest.raises(TypeError): encode(encoded, out=encoded) else: encode(encoded, out=encoded) assert encoded == diff elif codec == 'decode': decoded = bytetype(diff) if bytetype == bytes: with pytest.raises(TypeError): decode(decoded, out=decoded) else: decode(decoded, out=decoded) assert decoded == data else: # if func == 'xor' and kind in ('f4', 'f8'): # with pytest.raises(ValueError): # encode(data, axis=axis) # pytest.xfail("XOR codec not implemented for float data") > diff = encode_py(data, axis=-2) tests/test_imagecodecs.py:598: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ data = array([[[3138611591, 1925093975, 1660886674], [1580425227, 2065716806, 3158062221], [4232733252, 28096...6191382, 2821275554, 2923357421], [1429769172, 450332657, 1389314388]]], shape=(33, 31, 3), dtype='>> delta_encode(b'0123456789') b'0\x01\x01\x01\x01\x01\x01\x01\x01\x01' """ if dist != 1: raise NotImplementedError(f'dist {dist} not implemented') if isinstance(data, (bytes, bytearray)): data = numpy.frombuffer(data, dtype='u1') diff = numpy.diff(data, axis=0) return numpy.insert(diff, 0, data[0]).tobytes() dtype = data.dtype if dtype.kind == 'f': data = data.view(f'{dtype.byteorder}u{dtype.itemsize}') # diff = numpy.diff(data, axis=axis) key = [slice(None)] * data.ndim key[axis] = 0 diff = numpy.insert(diff, 0, data[tuple(key)], axis=axis) > diff = diff if data.dtype.isnative else diff.byteswap(True).newbyteorder() E AttributeError: `newbyteorder` was removed from the ndarray class in NumPy 2.0. Use `arr.view(arr.dtype.newbyteorder(order))` instead. ../BUILDROOT/usr/lib64/python3.13/site-packages/imagecodecs/_imagecodecs.py:271: AttributeError ____________________ test_delta[delta-<-u4-encode-inplace] _____________________ output = 'inplace', byteorder = '<', kind = 'u4', codec = 'encode' func = 'delta' @pytest.mark.filterwarnings('ignore:invalid value encountered') @pytest.mark.parametrize('output', ['new', 'out', 'inplace']) @pytest.mark.parametrize('codec', ['encode', 'decode']) @pytest.mark.parametrize( 'kind', ['u1', 'u2', 'u4', 'u8', 'i1', 'i2', 'i4', 'i8', 'f4', 'f8', 'B', 'b'], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('func', ['delta', 'xor']) def test_delta(output, byteorder, kind, codec, func): """Test Delta codec.""" # if byteorder == '>' and numpy.dtype(kind).itemsize == 1: # pytest.skip('duplicate test') if func == 'delta': if not imagecodecs.DELTA: pytest.skip('Delta missing') encode = imagecodecs.delta_encode decode = imagecodecs.delta_decode encode_py = _imagecodecs.delta_encode # decode_py = _imagecodecs.delta_decode elif func == 'xor': if not imagecodecs.XOR: pytest.skip('Xor missing') encode = imagecodecs.xor_encode decode = imagecodecs.xor_decode encode_py = _imagecodecs.xor_encode # decode_py = _imagecodecs.xor_decode bytetype = bytearray if kind == 'b': bytetype = bytes kind = 'B' axis = -2 # do not change if kind[0] in 'iuB': low = numpy.iinfo(kind).min high = numpy.iinfo(kind).max data = numpy.random.randint( low, high, size=33 * 31 * 3, dtype=kind ).reshape(33, 31, 3) else: # floating point low, high = -1e5, 1e5 data = numpy.random.randint( low, high, size=33 * 31 * 3, dtype='i4' ).reshape(33, 31, 3) data = data.astype(byteorder + kind) data[16, 14] = [0, 0, 0] data[16, 15] = [low, high, low] data[16, 16] = [high, low, high] data[16, 17] = [low, high, low] data[16, 18] = [high, low, high] data[16, 19] = [0, 0, 0] if kind == 'B': # data = data.reshape(-1) data = data.tobytes() diff = encode_py(data, axis=0) if output == 'new': if codec == 'encode': encoded = encode(data, out=bytetype) assert encoded == diff elif codec == 'decode': decoded = decode(diff, out=bytetype) assert decoded == data elif output == 'out': if codec == 'encode': encoded = bytetype(len(data)) if bytetype == bytes: with pytest.raises(TypeError): encode(data, out=encoded) else: encode(data, out=encoded) assert encoded == diff elif codec == 'decode': decoded = bytetype(len(data)) if bytetype == bytes: with pytest.raises(TypeError): decode(diff, out=decoded) else: decode(diff, out=decoded) assert decoded == data elif output == 'inplace': if codec == 'encode': encoded = bytetype(data) if bytetype == bytes: with pytest.raises(TypeError): encode(encoded, out=encoded) else: encode(encoded, out=encoded) assert encoded == diff elif codec == 'decode': decoded = bytetype(diff) if bytetype == bytes: with pytest.raises(TypeError): decode(decoded, out=decoded) else: decode(decoded, out=decoded) assert decoded == data else: # if func == 'xor' and kind in ('f4', 'f8'): # with pytest.raises(ValueError): # encode(data, axis=axis) # pytest.xfail("XOR codec not implemented for float data") > diff = encode_py(data, axis=-2) tests/test_imagecodecs.py:598: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ data = array([[[1540254511, 1984867695, 1287247662], [ 613530235, 1489210625, 1289026405], [1973904963, 1347...2700855, 404549765, 3121540161], [2553686284, 602529171, 2457360976]]], shape=(33, 31, 3), dtype='>> delta_encode(b'0123456789') b'0\x01\x01\x01\x01\x01\x01\x01\x01\x01' """ if dist != 1: raise NotImplementedError(f'dist {dist} not implemented') if isinstance(data, (bytes, bytearray)): data = numpy.frombuffer(data, dtype='u1') diff = numpy.diff(data, axis=0) return numpy.insert(diff, 0, data[0]).tobytes() dtype = data.dtype if dtype.kind == 'f': data = data.view(f'{dtype.byteorder}u{dtype.itemsize}') # diff = numpy.diff(data, axis=axis) key = [slice(None)] * data.ndim key[axis] = 0 diff = numpy.insert(diff, 0, data[tuple(key)], axis=axis) > diff = diff if data.dtype.isnative else diff.byteswap(True).newbyteorder() E AttributeError: `newbyteorder` was removed from the ndarray class in NumPy 2.0. Use `arr.view(arr.dtype.newbyteorder(order))` instead. ../BUILDROOT/usr/lib64/python3.13/site-packages/imagecodecs/_imagecodecs.py:271: AttributeError ______________________ test_delta[delta-<-u4-decode-new] _______________________ output = 'new', byteorder = '<', kind = 'u4', codec = 'decode', func = 'delta' @pytest.mark.filterwarnings('ignore:invalid value encountered') @pytest.mark.parametrize('output', ['new', 'out', 'inplace']) @pytest.mark.parametrize('codec', ['encode', 'decode']) @pytest.mark.parametrize( 'kind', ['u1', 'u2', 'u4', 'u8', 'i1', 'i2', 'i4', 'i8', 'f4', 'f8', 'B', 'b'], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('func', ['delta', 'xor']) def test_delta(output, byteorder, kind, codec, func): """Test Delta codec.""" # if byteorder == '>' and numpy.dtype(kind).itemsize == 1: # pytest.skip('duplicate test') if func == 'delta': if not imagecodecs.DELTA: pytest.skip('Delta missing') encode = imagecodecs.delta_encode decode = imagecodecs.delta_decode encode_py = _imagecodecs.delta_encode # decode_py = _imagecodecs.delta_decode elif func == 'xor': if not imagecodecs.XOR: pytest.skip('Xor missing') encode = imagecodecs.xor_encode decode = imagecodecs.xor_decode encode_py = _imagecodecs.xor_encode # decode_py = _imagecodecs.xor_decode bytetype = bytearray if kind == 'b': bytetype = bytes kind = 'B' axis = -2 # do not change if kind[0] in 'iuB': low = numpy.iinfo(kind).min high = numpy.iinfo(kind).max data = numpy.random.randint( low, high, size=33 * 31 * 3, dtype=kind ).reshape(33, 31, 3) else: # floating point low, high = -1e5, 1e5 data = numpy.random.randint( low, high, size=33 * 31 * 3, dtype='i4' ).reshape(33, 31, 3) data = data.astype(byteorder + kind) data[16, 14] = [0, 0, 0] data[16, 15] = [low, high, low] data[16, 16] = [high, low, high] data[16, 17] = [low, high, low] data[16, 18] = [high, low, high] data[16, 19] = [0, 0, 0] if kind == 'B': # data = data.reshape(-1) data = data.tobytes() diff = encode_py(data, axis=0) if output == 'new': if codec == 'encode': encoded = encode(data, out=bytetype) assert encoded == diff elif codec == 'decode': decoded = decode(diff, out=bytetype) assert decoded == data elif output == 'out': if codec == 'encode': encoded = bytetype(len(data)) if bytetype == bytes: with pytest.raises(TypeError): encode(data, out=encoded) else: encode(data, out=encoded) assert encoded == diff elif codec == 'decode': decoded = bytetype(len(data)) if bytetype == bytes: with pytest.raises(TypeError): decode(diff, out=decoded) else: decode(diff, out=decoded) assert decoded == data elif output == 'inplace': if codec == 'encode': encoded = bytetype(data) if bytetype == bytes: with pytest.raises(TypeError): encode(encoded, out=encoded) else: encode(encoded, out=encoded) assert encoded == diff elif codec == 'decode': decoded = bytetype(diff) if bytetype == bytes: with pytest.raises(TypeError): decode(decoded, out=decoded) else: decode(decoded, out=decoded) assert decoded == data else: # if func == 'xor' and kind in ('f4', 'f8'): # with pytest.raises(ValueError): # encode(data, axis=axis) # pytest.xfail("XOR codec not implemented for float data") > diff = encode_py(data, axis=-2) tests/test_imagecodecs.py:598: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ data = array([[[ 26909990, 1185659008, 3437110410], [3045159195, 1281071490, 2793046619], [3996251421, 34748...2633645, 3545619159, 2204602097], [2205499361, 1555163519, 1970354108]]], shape=(33, 31, 3), dtype='>> delta_encode(b'0123456789') b'0\x01\x01\x01\x01\x01\x01\x01\x01\x01' """ if dist != 1: raise NotImplementedError(f'dist {dist} not implemented') if isinstance(data, (bytes, bytearray)): data = numpy.frombuffer(data, dtype='u1') diff = numpy.diff(data, axis=0) return numpy.insert(diff, 0, data[0]).tobytes() dtype = data.dtype if dtype.kind == 'f': data = data.view(f'{dtype.byteorder}u{dtype.itemsize}') # diff = numpy.diff(data, axis=axis) key = [slice(None)] * data.ndim key[axis] = 0 diff = numpy.insert(diff, 0, data[tuple(key)], axis=axis) > diff = diff if data.dtype.isnative else diff.byteswap(True).newbyteorder() E AttributeError: `newbyteorder` was removed from the ndarray class in NumPy 2.0. Use `arr.view(arr.dtype.newbyteorder(order))` instead. ../BUILDROOT/usr/lib64/python3.13/site-packages/imagecodecs/_imagecodecs.py:271: AttributeError ______________________ test_delta[delta-<-u4-decode-out] _______________________ output = 'out', byteorder = '<', kind = 'u4', codec = 'decode', func = 'delta' @pytest.mark.filterwarnings('ignore:invalid value encountered') @pytest.mark.parametrize('output', ['new', 'out', 'inplace']) @pytest.mark.parametrize('codec', ['encode', 'decode']) @pytest.mark.parametrize( 'kind', ['u1', 'u2', 'u4', 'u8', 'i1', 'i2', 'i4', 'i8', 'f4', 'f8', 'B', 'b'], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('func', ['delta', 'xor']) def test_delta(output, byteorder, kind, codec, func): """Test Delta codec.""" # if byteorder == '>' and numpy.dtype(kind).itemsize == 1: # pytest.skip('duplicate test') if func == 'delta': if not imagecodecs.DELTA: pytest.skip('Delta missing') encode = imagecodecs.delta_encode decode = imagecodecs.delta_decode encode_py = _imagecodecs.delta_encode # decode_py = _imagecodecs.delta_decode elif func == 'xor': if not imagecodecs.XOR: pytest.skip('Xor missing') encode = imagecodecs.xor_encode decode = imagecodecs.xor_decode encode_py = _imagecodecs.xor_encode # decode_py = _imagecodecs.xor_decode bytetype = bytearray if kind == 'b': bytetype = bytes kind = 'B' axis = -2 # do not change if kind[0] in 'iuB': low = numpy.iinfo(kind).min high = numpy.iinfo(kind).max data = numpy.random.randint( low, high, size=33 * 31 * 3, dtype=kind ).reshape(33, 31, 3) else: # floating point low, high = -1e5, 1e5 data = numpy.random.randint( low, high, size=33 * 31 * 3, dtype='i4' ).reshape(33, 31, 3) data = data.astype(byteorder + kind) data[16, 14] = [0, 0, 0] data[16, 15] = [low, high, low] data[16, 16] = [high, low, high] data[16, 17] = [low, high, low] data[16, 18] = [high, low, high] data[16, 19] = [0, 0, 0] if kind == 'B': # data = data.reshape(-1) data = data.tobytes() diff = encode_py(data, axis=0) if output == 'new': if codec == 'encode': encoded = encode(data, out=bytetype) assert encoded == diff elif codec == 'decode': decoded = decode(diff, out=bytetype) assert decoded == data elif output == 'out': if codec == 'encode': encoded = bytetype(len(data)) if bytetype == bytes: with pytest.raises(TypeError): encode(data, out=encoded) else: encode(data, out=encoded) assert encoded == diff elif codec == 'decode': decoded = bytetype(len(data)) if bytetype == bytes: with pytest.raises(TypeError): decode(diff, out=decoded) else: decode(diff, out=decoded) assert decoded == data elif output == 'inplace': if codec == 'encode': encoded = bytetype(data) if bytetype == bytes: with pytest.raises(TypeError): encode(encoded, out=encoded) else: encode(encoded, out=encoded) assert encoded == diff elif codec == 'decode': decoded = bytetype(diff) if bytetype == bytes: with pytest.raises(TypeError): decode(decoded, out=decoded) else: decode(decoded, out=decoded) assert decoded == data else: # if func == 'xor' and kind in ('f4', 'f8'): # with pytest.raises(ValueError): # encode(data, axis=axis) # pytest.xfail("XOR codec not implemented for float data") > diff = encode_py(data, axis=-2) tests/test_imagecodecs.py:598: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ data = array([[[4004691694, 4131801862, 713439562], [1766749507, 2094076348, 2808711029], [1720896770, 17039...4496999, 3489822801, 834357217], [ 139481757, 3015987580, 1845560960]]], shape=(33, 31, 3), dtype='>> delta_encode(b'0123456789') b'0\x01\x01\x01\x01\x01\x01\x01\x01\x01' """ if dist != 1: raise NotImplementedError(f'dist {dist} not implemented') if isinstance(data, (bytes, bytearray)): data = numpy.frombuffer(data, dtype='u1') diff = numpy.diff(data, axis=0) return numpy.insert(diff, 0, data[0]).tobytes() dtype = data.dtype if dtype.kind == 'f': data = data.view(f'{dtype.byteorder}u{dtype.itemsize}') # diff = numpy.diff(data, axis=axis) key = [slice(None)] * data.ndim key[axis] = 0 diff = numpy.insert(diff, 0, data[tuple(key)], axis=axis) > diff = diff if data.dtype.isnative else diff.byteswap(True).newbyteorder() E AttributeError: `newbyteorder` was removed from the ndarray class in NumPy 2.0. Use `arr.view(arr.dtype.newbyteorder(order))` instead. ../BUILDROOT/usr/lib64/python3.13/site-packages/imagecodecs/_imagecodecs.py:271: AttributeError ____________________ test_delta[delta-<-u4-decode-inplace] _____________________ output = 'inplace', byteorder = '<', kind = 'u4', codec = 'decode' func = 'delta' @pytest.mark.filterwarnings('ignore:invalid value encountered') @pytest.mark.parametrize('output', ['new', 'out', 'inplace']) @pytest.mark.parametrize('codec', ['encode', 'decode']) @pytest.mark.parametrize( 'kind', ['u1', 'u2', 'u4', 'u8', 'i1', 'i2', 'i4', 'i8', 'f4', 'f8', 'B', 'b'], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('func', ['delta', 'xor']) def test_delta(output, byteorder, kind, codec, func): """Test Delta codec.""" # if byteorder == '>' and numpy.dtype(kind).itemsize == 1: # pytest.skip('duplicate test') if func == 'delta': if not imagecodecs.DELTA: pytest.skip('Delta missing') encode = imagecodecs.delta_encode decode = imagecodecs.delta_decode encode_py = _imagecodecs.delta_encode # decode_py = _imagecodecs.delta_decode elif func == 'xor': if not imagecodecs.XOR: pytest.skip('Xor missing') encode = imagecodecs.xor_encode decode = imagecodecs.xor_decode encode_py = _imagecodecs.xor_encode # decode_py = _imagecodecs.xor_decode bytetype = bytearray if kind == 'b': bytetype = bytes kind = 'B' axis = -2 # do not change if kind[0] in 'iuB': low = numpy.iinfo(kind).min high = numpy.iinfo(kind).max data = numpy.random.randint( low, high, size=33 * 31 * 3, dtype=kind ).reshape(33, 31, 3) else: # floating point low, high = -1e5, 1e5 data = numpy.random.randint( low, high, size=33 * 31 * 3, dtype='i4' ).reshape(33, 31, 3) data = data.astype(byteorder + kind) data[16, 14] = [0, 0, 0] data[16, 15] = [low, high, low] data[16, 16] = [high, low, high] data[16, 17] = [low, high, low] data[16, 18] = [high, low, high] data[16, 19] = [0, 0, 0] if kind == 'B': # data = data.reshape(-1) data = data.tobytes() diff = encode_py(data, axis=0) if output == 'new': if codec == 'encode': encoded = encode(data, out=bytetype) assert encoded == diff elif codec == 'decode': decoded = decode(diff, out=bytetype) assert decoded == data elif output == 'out': if codec == 'encode': encoded = bytetype(len(data)) if bytetype == bytes: with pytest.raises(TypeError): encode(data, out=encoded) else: encode(data, out=encoded) assert encoded == diff elif codec == 'decode': decoded = bytetype(len(data)) if bytetype == bytes: with pytest.raises(TypeError): decode(diff, out=decoded) else: decode(diff, out=decoded) assert decoded == data elif output == 'inplace': if codec == 'encode': encoded = bytetype(data) if bytetype == bytes: with pytest.raises(TypeError): encode(encoded, out=encoded) else: encode(encoded, out=encoded) assert encoded == diff elif codec == 'decode': decoded = bytetype(diff) if bytetype == bytes: with pytest.raises(TypeError): decode(decoded, out=decoded) else: decode(decoded, out=decoded) assert decoded == data else: # if func == 'xor' and kind in ('f4', 'f8'): # with pytest.raises(ValueError): # encode(data, axis=axis) # pytest.xfail("XOR codec not implemented for float data") > diff = encode_py(data, axis=-2) tests/test_imagecodecs.py:598: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ data = array([[[ 135375219, 28479082, 3980652671], [1063112143, 1469902241, 3699636260], [ 271181333, 15691...7908455, 2463626542, 3617062009], [1848380912, 3337398968, 1948007162]]], shape=(33, 31, 3), dtype='>> delta_encode(b'0123456789') b'0\x01\x01\x01\x01\x01\x01\x01\x01\x01' """ if dist != 1: raise NotImplementedError(f'dist {dist} not implemented') if isinstance(data, (bytes, bytearray)): data = numpy.frombuffer(data, dtype='u1') diff = numpy.diff(data, axis=0) return numpy.insert(diff, 0, data[0]).tobytes() dtype = data.dtype if dtype.kind == 'f': data = data.view(f'{dtype.byteorder}u{dtype.itemsize}') # diff = numpy.diff(data, axis=axis) key = [slice(None)] * data.ndim key[axis] = 0 diff = numpy.insert(diff, 0, data[tuple(key)], axis=axis) > diff = diff if data.dtype.isnative else diff.byteswap(True).newbyteorder() E AttributeError: `newbyteorder` was removed from the ndarray class in NumPy 2.0. Use `arr.view(arr.dtype.newbyteorder(order))` instead. ../BUILDROOT/usr/lib64/python3.13/site-packages/imagecodecs/_imagecodecs.py:271: AttributeError ______________________ test_delta[delta-<-u8-encode-new] _______________________ output = 'new', byteorder = '<', kind = 'u8', codec = 'encode', func = 'delta' @pytest.mark.filterwarnings('ignore:invalid value encountered') @pytest.mark.parametrize('output', ['new', 'out', 'inplace']) @pytest.mark.parametrize('codec', ['encode', 'decode']) @pytest.mark.parametrize( 'kind', ['u1', 'u2', 'u4', 'u8', 'i1', 'i2', 'i4', 'i8', 'f4', 'f8', 'B', 'b'], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('func', ['delta', 'xor']) def test_delta(output, byteorder, kind, codec, func): """Test Delta codec.""" # if byteorder == '>' and numpy.dtype(kind).itemsize == 1: # pytest.skip('duplicate test') if func == 'delta': if not imagecodecs.DELTA: pytest.skip('Delta missing') encode = imagecodecs.delta_encode decode = imagecodecs.delta_decode encode_py = _imagecodecs.delta_encode # decode_py = _imagecodecs.delta_decode elif func == 'xor': if not imagecodecs.XOR: pytest.skip('Xor missing') encode = imagecodecs.xor_encode decode = imagecodecs.xor_decode encode_py = _imagecodecs.xor_encode # decode_py = _imagecodecs.xor_decode bytetype = bytearray if kind == 'b': bytetype = bytes kind = 'B' axis = -2 # do not change if kind[0] in 'iuB': low = numpy.iinfo(kind).min high = numpy.iinfo(kind).max data = numpy.random.randint( low, high, size=33 * 31 * 3, dtype=kind ).reshape(33, 31, 3) else: # floating point low, high = -1e5, 1e5 data = numpy.random.randint( low, high, size=33 * 31 * 3, dtype='i4' ).reshape(33, 31, 3) data = data.astype(byteorder + kind) data[16, 14] = [0, 0, 0] data[16, 15] = [low, high, low] data[16, 16] = [high, low, high] data[16, 17] = [low, high, low] data[16, 18] = [high, low, high] data[16, 19] = [0, 0, 0] if kind == 'B': # data = data.reshape(-1) data = data.tobytes() diff = encode_py(data, axis=0) if output == 'new': if codec == 'encode': encoded = encode(data, out=bytetype) assert encoded == diff elif codec == 'decode': decoded = decode(diff, out=bytetype) assert decoded == data elif output == 'out': if codec == 'encode': encoded = bytetype(len(data)) if bytetype == bytes: with pytest.raises(TypeError): encode(data, out=encoded) else: encode(data, out=encoded) assert encoded == diff elif codec == 'decode': decoded = bytetype(len(data)) if bytetype == bytes: with pytest.raises(TypeError): decode(diff, out=decoded) else: decode(diff, out=decoded) assert decoded == data elif output == 'inplace': if codec == 'encode': encoded = bytetype(data) if bytetype == bytes: with pytest.raises(TypeError): encode(encoded, out=encoded) else: encode(encoded, out=encoded) assert encoded == diff elif codec == 'decode': decoded = bytetype(diff) if bytetype == bytes: with pytest.raises(TypeError): decode(decoded, out=decoded) else: decode(decoded, out=decoded) assert decoded == data else: # if func == 'xor' and kind in ('f4', 'f8'): # with pytest.raises(ValueError): # encode(data, axis=axis) # pytest.xfail("XOR codec not implemented for float data") > diff = encode_py(data, axis=-2) tests/test_imagecodecs.py:598: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ data = array([[[12640236789974446530, 9400027762536572420, 3860977531208306067], [ 1135327915557932678, ... [12964866814679980415, 4458855713594848231, 11211486834608830686]]], shape=(33, 31, 3), dtype='>> delta_encode(b'0123456789') b'0\x01\x01\x01\x01\x01\x01\x01\x01\x01' """ if dist != 1: raise NotImplementedError(f'dist {dist} not implemented') if isinstance(data, (bytes, bytearray)): data = numpy.frombuffer(data, dtype='u1') diff = numpy.diff(data, axis=0) return numpy.insert(diff, 0, data[0]).tobytes() dtype = data.dtype if dtype.kind == 'f': data = data.view(f'{dtype.byteorder}u{dtype.itemsize}') # diff = numpy.diff(data, axis=axis) key = [slice(None)] * data.ndim key[axis] = 0 diff = numpy.insert(diff, 0, data[tuple(key)], axis=axis) > diff = diff if data.dtype.isnative else diff.byteswap(True).newbyteorder() E AttributeError: `newbyteorder` was removed from the ndarray class in NumPy 2.0. Use `arr.view(arr.dtype.newbyteorder(order))` instead. ../BUILDROOT/usr/lib64/python3.13/site-packages/imagecodecs/_imagecodecs.py:271: AttributeError ______________________ test_delta[delta-<-u8-encode-out] _______________________ output = 'out', byteorder = '<', kind = 'u8', codec = 'encode', func = 'delta' @pytest.mark.filterwarnings('ignore:invalid value encountered') @pytest.mark.parametrize('output', ['new', 'out', 'inplace']) @pytest.mark.parametrize('codec', ['encode', 'decode']) @pytest.mark.parametrize( 'kind', ['u1', 'u2', 'u4', 'u8', 'i1', 'i2', 'i4', 'i8', 'f4', 'f8', 'B', 'b'], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('func', ['delta', 'xor']) def test_delta(output, byteorder, kind, codec, func): """Test Delta codec.""" # if byteorder == '>' and numpy.dtype(kind).itemsize == 1: # pytest.skip('duplicate test') if func == 'delta': if not imagecodecs.DELTA: pytest.skip('Delta missing') encode = imagecodecs.delta_encode decode = imagecodecs.delta_decode encode_py = _imagecodecs.delta_encode # decode_py = _imagecodecs.delta_decode elif func == 'xor': if not imagecodecs.XOR: pytest.skip('Xor missing') encode = imagecodecs.xor_encode decode = imagecodecs.xor_decode encode_py = _imagecodecs.xor_encode # decode_py = _imagecodecs.xor_decode bytetype = bytearray if kind == 'b': bytetype = bytes kind = 'B' axis = -2 # do not change if kind[0] in 'iuB': low = numpy.iinfo(kind).min high = numpy.iinfo(kind).max data = numpy.random.randint( low, high, size=33 * 31 * 3, dtype=kind ).reshape(33, 31, 3) else: # floating point low, high = -1e5, 1e5 data = numpy.random.randint( low, high, size=33 * 31 * 3, dtype='i4' ).reshape(33, 31, 3) data = data.astype(byteorder + kind) data[16, 14] = [0, 0, 0] data[16, 15] = [low, high, low] data[16, 16] = [high, low, high] data[16, 17] = [low, high, low] data[16, 18] = [high, low, high] data[16, 19] = [0, 0, 0] if kind == 'B': # data = data.reshape(-1) data = data.tobytes() diff = encode_py(data, axis=0) if output == 'new': if codec == 'encode': encoded = encode(data, out=bytetype) assert encoded == diff elif codec == 'decode': decoded = decode(diff, out=bytetype) assert decoded == data elif output == 'out': if codec == 'encode': encoded = bytetype(len(data)) if bytetype == bytes: with pytest.raises(TypeError): encode(data, out=encoded) else: encode(data, out=encoded) assert encoded == diff elif codec == 'decode': decoded = bytetype(len(data)) if bytetype == bytes: with pytest.raises(TypeError): decode(diff, out=decoded) else: decode(diff, out=decoded) assert decoded == data elif output == 'inplace': if codec == 'encode': encoded = bytetype(data) if bytetype == bytes: with pytest.raises(TypeError): encode(encoded, out=encoded) else: encode(encoded, out=encoded) assert encoded == diff elif codec == 'decode': decoded = bytetype(diff) if bytetype == bytes: with pytest.raises(TypeError): decode(decoded, out=decoded) else: decode(decoded, out=decoded) assert decoded == data else: # if func == 'xor' and kind in ('f4', 'f8'): # with pytest.raises(ValueError): # encode(data, axis=axis) # pytest.xfail("XOR codec not implemented for float data") > diff = encode_py(data, axis=-2) tests/test_imagecodecs.py:598: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ data = array([[[ 1830161927617177116, 16189509515145806621, 3228859579790596317], [17400597710621662995, 6... [ 6638506215538286494, 18092928644017292119, 10526494160391497993]]], shape=(33, 31, 3), dtype='>> delta_encode(b'0123456789') b'0\x01\x01\x01\x01\x01\x01\x01\x01\x01' """ if dist != 1: raise NotImplementedError(f'dist {dist} not implemented') if isinstance(data, (bytes, bytearray)): data = numpy.frombuffer(data, dtype='u1') diff = numpy.diff(data, axis=0) return numpy.insert(diff, 0, data[0]).tobytes() dtype = data.dtype if dtype.kind == 'f': data = data.view(f'{dtype.byteorder}u{dtype.itemsize}') # diff = numpy.diff(data, axis=axis) key = [slice(None)] * data.ndim key[axis] = 0 diff = numpy.insert(diff, 0, data[tuple(key)], axis=axis) > diff = diff if data.dtype.isnative else diff.byteswap(True).newbyteorder() E AttributeError: `newbyteorder` was removed from the ndarray class in NumPy 2.0. Use `arr.view(arr.dtype.newbyteorder(order))` instead. ../BUILDROOT/usr/lib64/python3.13/site-packages/imagecodecs/_imagecodecs.py:271: AttributeError ____________________ test_delta[delta-<-u8-encode-inplace] _____________________ output = 'inplace', byteorder = '<', kind = 'u8', codec = 'encode' func = 'delta' @pytest.mark.filterwarnings('ignore:invalid value encountered') @pytest.mark.parametrize('output', ['new', 'out', 'inplace']) @pytest.mark.parametrize('codec', ['encode', 'decode']) @pytest.mark.parametrize( 'kind', ['u1', 'u2', 'u4', 'u8', 'i1', 'i2', 'i4', 'i8', 'f4', 'f8', 'B', 'b'], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('func', ['delta', 'xor']) def test_delta(output, byteorder, kind, codec, func): """Test Delta codec.""" # if byteorder == '>' and numpy.dtype(kind).itemsize == 1: # pytest.skip('duplicate test') if func == 'delta': if not imagecodecs.DELTA: pytest.skip('Delta missing') encode = imagecodecs.delta_encode decode = imagecodecs.delta_decode encode_py = _imagecodecs.delta_encode # decode_py = _imagecodecs.delta_decode elif func == 'xor': if not imagecodecs.XOR: pytest.skip('Xor missing') encode = imagecodecs.xor_encode decode = imagecodecs.xor_decode encode_py = _imagecodecs.xor_encode # decode_py = _imagecodecs.xor_decode bytetype = bytearray if kind == 'b': bytetype = bytes kind = 'B' axis = -2 # do not change if kind[0] in 'iuB': low = numpy.iinfo(kind).min high = numpy.iinfo(kind).max data = numpy.random.randint( low, high, size=33 * 31 * 3, dtype=kind ).reshape(33, 31, 3) else: # floating point low, high = -1e5, 1e5 data = numpy.random.randint( low, high, size=33 * 31 * 3, dtype='i4' ).reshape(33, 31, 3) data = data.astype(byteorder + kind) data[16, 14] = [0, 0, 0] data[16, 15] = [low, high, low] data[16, 16] = [high, low, high] data[16, 17] = [low, high, low] data[16, 18] = [high, low, high] data[16, 19] = [0, 0, 0] if kind == 'B': # data = data.reshape(-1) data = data.tobytes() diff = encode_py(data, axis=0) if output == 'new': if codec == 'encode': encoded = encode(data, out=bytetype) assert encoded == diff elif codec == 'decode': decoded = decode(diff, out=bytetype) assert decoded == data elif output == 'out': if codec == 'encode': encoded = bytetype(len(data)) if bytetype == bytes: with pytest.raises(TypeError): encode(data, out=encoded) else: encode(data, out=encoded) assert encoded == diff elif codec == 'decode': decoded = bytetype(len(data)) if bytetype == bytes: with pytest.raises(TypeError): decode(diff, out=decoded) else: decode(diff, out=decoded) assert decoded == data elif output == 'inplace': if codec == 'encode': encoded = bytetype(data) if bytetype == bytes: with pytest.raises(TypeError): encode(encoded, out=encoded) else: encode(encoded, out=encoded) assert encoded == diff elif codec == 'decode': decoded = bytetype(diff) if bytetype == bytes: with pytest.raises(TypeError): decode(decoded, out=decoded) else: decode(decoded, out=decoded) assert decoded == data else: # if func == 'xor' and kind in ('f4', 'f8'): # with pytest.raises(ValueError): # encode(data, axis=axis) # pytest.xfail("XOR codec not implemented for float data") > diff = encode_py(data, axis=-2) tests/test_imagecodecs.py:598: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ data = array([[[ 379653096371679347, 9659650743665192842, 6014921623194957068], [ 9574154554067539944, ... [ 4981770594770152499, 7267439978837179220, 9873342120296011597]]], shape=(33, 31, 3), dtype='>> delta_encode(b'0123456789') b'0\x01\x01\x01\x01\x01\x01\x01\x01\x01' """ if dist != 1: raise NotImplementedError(f'dist {dist} not implemented') if isinstance(data, (bytes, bytearray)): data = numpy.frombuffer(data, dtype='u1') diff = numpy.diff(data, axis=0) return numpy.insert(diff, 0, data[0]).tobytes() dtype = data.dtype if dtype.kind == 'f': data = data.view(f'{dtype.byteorder}u{dtype.itemsize}') # diff = numpy.diff(data, axis=axis) key = [slice(None)] * data.ndim key[axis] = 0 diff = numpy.insert(diff, 0, data[tuple(key)], axis=axis) > diff = diff if data.dtype.isnative else diff.byteswap(True).newbyteorder() E AttributeError: `newbyteorder` was removed from the ndarray class in NumPy 2.0. Use `arr.view(arr.dtype.newbyteorder(order))` instead. ../BUILDROOT/usr/lib64/python3.13/site-packages/imagecodecs/_imagecodecs.py:271: AttributeError ______________________ test_delta[delta-<-u8-decode-new] _______________________ output = 'new', byteorder = '<', kind = 'u8', codec = 'decode', func = 'delta' @pytest.mark.filterwarnings('ignore:invalid value encountered') @pytest.mark.parametrize('output', ['new', 'out', 'inplace']) @pytest.mark.parametrize('codec', ['encode', 'decode']) @pytest.mark.parametrize( 'kind', ['u1', 'u2', 'u4', 'u8', 'i1', 'i2', 'i4', 'i8', 'f4', 'f8', 'B', 'b'], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('func', ['delta', 'xor']) def test_delta(output, byteorder, kind, codec, func): """Test Delta codec.""" # if byteorder == '>' and numpy.dtype(kind).itemsize == 1: # pytest.skip('duplicate test') if func == 'delta': if not imagecodecs.DELTA: pytest.skip('Delta missing') encode = imagecodecs.delta_encode decode = imagecodecs.delta_decode encode_py = _imagecodecs.delta_encode # decode_py = _imagecodecs.delta_decode elif func == 'xor': if not imagecodecs.XOR: pytest.skip('Xor missing') encode = imagecodecs.xor_encode decode = imagecodecs.xor_decode encode_py = _imagecodecs.xor_encode # decode_py = _imagecodecs.xor_decode bytetype = bytearray if kind == 'b': bytetype = bytes kind = 'B' axis = -2 # do not change if kind[0] in 'iuB': low = numpy.iinfo(kind).min high = numpy.iinfo(kind).max data = numpy.random.randint( low, high, size=33 * 31 * 3, dtype=kind ).reshape(33, 31, 3) else: # floating point low, high = -1e5, 1e5 data = numpy.random.randint( low, high, size=33 * 31 * 3, dtype='i4' ).reshape(33, 31, 3) data = data.astype(byteorder + kind) data[16, 14] = [0, 0, 0] data[16, 15] = [low, high, low] data[16, 16] = [high, low, high] data[16, 17] = [low, high, low] data[16, 18] = [high, low, high] data[16, 19] = [0, 0, 0] if kind == 'B': # data = data.reshape(-1) data = data.tobytes() diff = encode_py(data, axis=0) if output == 'new': if codec == 'encode': encoded = encode(data, out=bytetype) assert encoded == diff elif codec == 'decode': decoded = decode(diff, out=bytetype) assert decoded == data elif output == 'out': if codec == 'encode': encoded = bytetype(len(data)) if bytetype == bytes: with pytest.raises(TypeError): encode(data, out=encoded) else: encode(data, out=encoded) assert encoded == diff elif codec == 'decode': decoded = bytetype(len(data)) if bytetype == bytes: with pytest.raises(TypeError): decode(diff, out=decoded) else: decode(diff, out=decoded) assert decoded == data elif output == 'inplace': if codec == 'encode': encoded = bytetype(data) if bytetype == bytes: with pytest.raises(TypeError): encode(encoded, out=encoded) else: encode(encoded, out=encoded) assert encoded == diff elif codec == 'decode': decoded = bytetype(diff) if bytetype == bytes: with pytest.raises(TypeError): decode(decoded, out=decoded) else: decode(decoded, out=decoded) assert decoded == data else: # if func == 'xor' and kind in ('f4', 'f8'): # with pytest.raises(ValueError): # encode(data, axis=axis) # pytest.xfail("XOR codec not implemented for float data") > diff = encode_py(data, axis=-2) tests/test_imagecodecs.py:598: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ data = array([[[ 2000988894648903211, 11497392102113033078, 720349083197793567], [14027938781070521126, 6... [ 3619450838727898223, 3761875918399291665, 8016728784326405571]]], shape=(33, 31, 3), dtype='>> delta_encode(b'0123456789') b'0\x01\x01\x01\x01\x01\x01\x01\x01\x01' """ if dist != 1: raise NotImplementedError(f'dist {dist} not implemented') if isinstance(data, (bytes, bytearray)): data = numpy.frombuffer(data, dtype='u1') diff = numpy.diff(data, axis=0) return numpy.insert(diff, 0, data[0]).tobytes() dtype = data.dtype if dtype.kind == 'f': data = data.view(f'{dtype.byteorder}u{dtype.itemsize}') # diff = numpy.diff(data, axis=axis) key = [slice(None)] * data.ndim key[axis] = 0 diff = numpy.insert(diff, 0, data[tuple(key)], axis=axis) > diff = diff if data.dtype.isnative else diff.byteswap(True).newbyteorder() E AttributeError: `newbyteorder` was removed from the ndarray class in NumPy 2.0. Use `arr.view(arr.dtype.newbyteorder(order))` instead. ../BUILDROOT/usr/lib64/python3.13/site-packages/imagecodecs/_imagecodecs.py:271: AttributeError ______________________ test_delta[delta-<-u8-decode-out] _______________________ output = 'out', byteorder = '<', kind = 'u8', codec = 'decode', func = 'delta' @pytest.mark.filterwarnings('ignore:invalid value encountered') @pytest.mark.parametrize('output', ['new', 'out', 'inplace']) @pytest.mark.parametrize('codec', ['encode', 'decode']) @pytest.mark.parametrize( 'kind', ['u1', 'u2', 'u4', 'u8', 'i1', 'i2', 'i4', 'i8', 'f4', 'f8', 'B', 'b'], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('func', ['delta', 'xor']) def test_delta(output, byteorder, kind, codec, func): """Test Delta codec.""" # if byteorder == '>' and numpy.dtype(kind).itemsize == 1: # pytest.skip('duplicate test') if func == 'delta': if not imagecodecs.DELTA: pytest.skip('Delta missing') encode = imagecodecs.delta_encode decode = imagecodecs.delta_decode encode_py = _imagecodecs.delta_encode # decode_py = _imagecodecs.delta_decode elif func == 'xor': if not imagecodecs.XOR: pytest.skip('Xor missing') encode = imagecodecs.xor_encode decode = imagecodecs.xor_decode encode_py = _imagecodecs.xor_encode # decode_py = _imagecodecs.xor_decode bytetype = bytearray if kind == 'b': bytetype = bytes kind = 'B' axis = -2 # do not change if kind[0] in 'iuB': low = numpy.iinfo(kind).min high = numpy.iinfo(kind).max data = numpy.random.randint( low, high, size=33 * 31 * 3, dtype=kind ).reshape(33, 31, 3) else: # floating point low, high = -1e5, 1e5 data = numpy.random.randint( low, high, size=33 * 31 * 3, dtype='i4' ).reshape(33, 31, 3) data = data.astype(byteorder + kind) data[16, 14] = [0, 0, 0] data[16, 15] = [low, high, low] data[16, 16] = [high, low, high] data[16, 17] = [low, high, low] data[16, 18] = [high, low, high] data[16, 19] = [0, 0, 0] if kind == 'B': # data = data.reshape(-1) data = data.tobytes() diff = encode_py(data, axis=0) if output == 'new': if codec == 'encode': encoded = encode(data, out=bytetype) assert encoded == diff elif codec == 'decode': decoded = decode(diff, out=bytetype) assert decoded == data elif output == 'out': if codec == 'encode': encoded = bytetype(len(data)) if bytetype == bytes: with pytest.raises(TypeError): encode(data, out=encoded) else: encode(data, out=encoded) assert encoded == diff elif codec == 'decode': decoded = bytetype(len(data)) if bytetype == bytes: with pytest.raises(TypeError): decode(diff, out=decoded) else: decode(diff, out=decoded) assert decoded == data elif output == 'inplace': if codec == 'encode': encoded = bytetype(data) if bytetype == bytes: with pytest.raises(TypeError): encode(encoded, out=encoded) else: encode(encoded, out=encoded) assert encoded == diff elif codec == 'decode': decoded = bytetype(diff) if bytetype == bytes: with pytest.raises(TypeError): decode(decoded, out=decoded) else: decode(decoded, out=decoded) assert decoded == data else: # if func == 'xor' and kind in ('f4', 'f8'): # with pytest.raises(ValueError): # encode(data, axis=axis) # pytest.xfail("XOR codec not implemented for float data") > diff = encode_py(data, axis=-2) tests/test_imagecodecs.py:598: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ data = array([[[17388863721734504182, 17788609788550555647, 6801879187476875623], [ 2280020083272078244, 6... [16473562573560781745, 17197241433135559614, 12588501467502324018]]], shape=(33, 31, 3), dtype='>> delta_encode(b'0123456789') b'0\x01\x01\x01\x01\x01\x01\x01\x01\x01' """ if dist != 1: raise NotImplementedError(f'dist {dist} not implemented') if isinstance(data, (bytes, bytearray)): data = numpy.frombuffer(data, dtype='u1') diff = numpy.diff(data, axis=0) return numpy.insert(diff, 0, data[0]).tobytes() dtype = data.dtype if dtype.kind == 'f': data = data.view(f'{dtype.byteorder}u{dtype.itemsize}') # diff = numpy.diff(data, axis=axis) key = [slice(None)] * data.ndim key[axis] = 0 diff = numpy.insert(diff, 0, data[tuple(key)], axis=axis) > diff = diff if data.dtype.isnative else diff.byteswap(True).newbyteorder() E AttributeError: `newbyteorder` was removed from the ndarray class in NumPy 2.0. Use `arr.view(arr.dtype.newbyteorder(order))` instead. ../BUILDROOT/usr/lib64/python3.13/site-packages/imagecodecs/_imagecodecs.py:271: AttributeError ____________________ test_delta[delta-<-u8-decode-inplace] _____________________ output = 'inplace', byteorder = '<', kind = 'u8', codec = 'decode' func = 'delta' @pytest.mark.filterwarnings('ignore:invalid value encountered') @pytest.mark.parametrize('output', ['new', 'out', 'inplace']) @pytest.mark.parametrize('codec', ['encode', 'decode']) @pytest.mark.parametrize( 'kind', ['u1', 'u2', 'u4', 'u8', 'i1', 'i2', 'i4', 'i8', 'f4', 'f8', 'B', 'b'], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('func', ['delta', 'xor']) def test_delta(output, byteorder, kind, codec, func): """Test Delta codec.""" # if byteorder == '>' and numpy.dtype(kind).itemsize == 1: # pytest.skip('duplicate test') if func == 'delta': if not imagecodecs.DELTA: pytest.skip('Delta missing') encode = imagecodecs.delta_encode decode = imagecodecs.delta_decode encode_py = _imagecodecs.delta_encode # decode_py = _imagecodecs.delta_decode elif func == 'xor': if not imagecodecs.XOR: pytest.skip('Xor missing') encode = imagecodecs.xor_encode decode = imagecodecs.xor_decode encode_py = _imagecodecs.xor_encode # decode_py = _imagecodecs.xor_decode bytetype = bytearray if kind == 'b': bytetype = bytes kind = 'B' axis = -2 # do not change if kind[0] in 'iuB': low = numpy.iinfo(kind).min high = numpy.iinfo(kind).max data = numpy.random.randint( low, high, size=33 * 31 * 3, dtype=kind ).reshape(33, 31, 3) else: # floating point low, high = -1e5, 1e5 data = numpy.random.randint( low, high, size=33 * 31 * 3, dtype='i4' ).reshape(33, 31, 3) data = data.astype(byteorder + kind) data[16, 14] = [0, 0, 0] data[16, 15] = [low, high, low] data[16, 16] = [high, low, high] data[16, 17] = [low, high, low] data[16, 18] = [high, low, high] data[16, 19] = [0, 0, 0] if kind == 'B': # data = data.reshape(-1) data = data.tobytes() diff = encode_py(data, axis=0) if output == 'new': if codec == 'encode': encoded = encode(data, out=bytetype) assert encoded == diff elif codec == 'decode': decoded = decode(diff, out=bytetype) assert decoded == data elif output == 'out': if codec == 'encode': encoded = bytetype(len(data)) if bytetype == bytes: with pytest.raises(TypeError): encode(data, out=encoded) else: encode(data, out=encoded) assert encoded == diff elif codec == 'decode': decoded = bytetype(len(data)) if bytetype == bytes: with pytest.raises(TypeError): decode(diff, out=decoded) else: decode(diff, out=decoded) assert decoded == data elif output == 'inplace': if codec == 'encode': encoded = bytetype(data) if bytetype == bytes: with pytest.raises(TypeError): encode(encoded, out=encoded) else: encode(encoded, out=encoded) assert encoded == diff elif codec == 'decode': decoded = bytetype(diff) if bytetype == bytes: with pytest.raises(TypeError): decode(decoded, out=decoded) else: decode(decoded, out=decoded) assert decoded == data else: # if func == 'xor' and kind in ('f4', 'f8'): # with pytest.raises(ValueError): # encode(data, axis=axis) # pytest.xfail("XOR codec not implemented for float data") > diff = encode_py(data, axis=-2) tests/test_imagecodecs.py:598: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ data = array([[[ 2637740333037074104, 411799703700561715, 11730756233136817566], [ 3789812863593400036, 3... [10700579528665674128, 12480270586854245071, 6286070137976281759]]], shape=(33, 31, 3), dtype='>> delta_encode(b'0123456789') b'0\x01\x01\x01\x01\x01\x01\x01\x01\x01' """ if dist != 1: raise NotImplementedError(f'dist {dist} not implemented') if isinstance(data, (bytes, bytearray)): data = numpy.frombuffer(data, dtype='u1') diff = numpy.diff(data, axis=0) return numpy.insert(diff, 0, data[0]).tobytes() dtype = data.dtype if dtype.kind == 'f': data = data.view(f'{dtype.byteorder}u{dtype.itemsize}') # diff = numpy.diff(data, axis=axis) key = [slice(None)] * data.ndim key[axis] = 0 diff = numpy.insert(diff, 0, data[tuple(key)], axis=axis) > diff = diff if data.dtype.isnative else diff.byteswap(True).newbyteorder() E AttributeError: `newbyteorder` was removed from the ndarray class in NumPy 2.0. Use `arr.view(arr.dtype.newbyteorder(order))` instead. ../BUILDROOT/usr/lib64/python3.13/site-packages/imagecodecs/_imagecodecs.py:271: AttributeError ______________________ test_delta[delta-<-i2-encode-new] _______________________ output = 'new', byteorder = '<', kind = 'i2', codec = 'encode', func = 'delta' @pytest.mark.filterwarnings('ignore:invalid value encountered') @pytest.mark.parametrize('output', ['new', 'out', 'inplace']) @pytest.mark.parametrize('codec', ['encode', 'decode']) @pytest.mark.parametrize( 'kind', ['u1', 'u2', 'u4', 'u8', 'i1', 'i2', 'i4', 'i8', 'f4', 'f8', 'B', 'b'], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('func', ['delta', 'xor']) def test_delta(output, byteorder, kind, codec, func): """Test Delta codec.""" # if byteorder == '>' and numpy.dtype(kind).itemsize == 1: # pytest.skip('duplicate test') if func == 'delta': if not imagecodecs.DELTA: pytest.skip('Delta missing') encode = imagecodecs.delta_encode decode = imagecodecs.delta_decode encode_py = _imagecodecs.delta_encode # decode_py = _imagecodecs.delta_decode elif func == 'xor': if not imagecodecs.XOR: pytest.skip('Xor missing') encode = imagecodecs.xor_encode decode = imagecodecs.xor_decode encode_py = _imagecodecs.xor_encode # decode_py = _imagecodecs.xor_decode bytetype = bytearray if kind == 'b': bytetype = bytes kind = 'B' axis = -2 # do not change if kind[0] in 'iuB': low = numpy.iinfo(kind).min high = numpy.iinfo(kind).max data = numpy.random.randint( low, high, size=33 * 31 * 3, dtype=kind ).reshape(33, 31, 3) else: # floating point low, high = -1e5, 1e5 data = numpy.random.randint( low, high, size=33 * 31 * 3, dtype='i4' ).reshape(33, 31, 3) data = data.astype(byteorder + kind) data[16, 14] = [0, 0, 0] data[16, 15] = [low, high, low] data[16, 16] = [high, low, high] data[16, 17] = [low, high, low] data[16, 18] = [high, low, high] data[16, 19] = [0, 0, 0] if kind == 'B': # data = data.reshape(-1) data = data.tobytes() diff = encode_py(data, axis=0) if output == 'new': if codec == 'encode': encoded = encode(data, out=bytetype) assert encoded == diff elif codec == 'decode': decoded = decode(diff, out=bytetype) assert decoded == data elif output == 'out': if codec == 'encode': encoded = bytetype(len(data)) if bytetype == bytes: with pytest.raises(TypeError): encode(data, out=encoded) else: encode(data, out=encoded) assert encoded == diff elif codec == 'decode': decoded = bytetype(len(data)) if bytetype == bytes: with pytest.raises(TypeError): decode(diff, out=decoded) else: decode(diff, out=decoded) assert decoded == data elif output == 'inplace': if codec == 'encode': encoded = bytetype(data) if bytetype == bytes: with pytest.raises(TypeError): encode(encoded, out=encoded) else: encode(encoded, out=encoded) assert encoded == diff elif codec == 'decode': decoded = bytetype(diff) if bytetype == bytes: with pytest.raises(TypeError): decode(decoded, out=decoded) else: decode(decoded, out=decoded) assert decoded == data else: # if func == 'xor' and kind in ('f4', 'f8'): # with pytest.raises(ValueError): # encode(data, axis=axis) # pytest.xfail("XOR codec not implemented for float data") > diff = encode_py(data, axis=-2) tests/test_imagecodecs.py:598: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ data = array([[[ 7078, -2562, -4867], [-18361, -10503, -21461], [-23805, 6041, -6572], ..., ... -13932, 10970], [-23078, -14135, 5021], [ -1820, -23547, 24837]]], shape=(33, 31, 3), dtype='>> delta_encode(b'0123456789') b'0\x01\x01\x01\x01\x01\x01\x01\x01\x01' """ if dist != 1: raise NotImplementedError(f'dist {dist} not implemented') if isinstance(data, (bytes, bytearray)): data = numpy.frombuffer(data, dtype='u1') diff = numpy.diff(data, axis=0) return numpy.insert(diff, 0, data[0]).tobytes() dtype = data.dtype if dtype.kind == 'f': data = data.view(f'{dtype.byteorder}u{dtype.itemsize}') # diff = numpy.diff(data, axis=axis) key = [slice(None)] * data.ndim key[axis] = 0 diff = numpy.insert(diff, 0, data[tuple(key)], axis=axis) > diff = diff if data.dtype.isnative else diff.byteswap(True).newbyteorder() E AttributeError: `newbyteorder` was removed from the ndarray class in NumPy 2.0. Use `arr.view(arr.dtype.newbyteorder(order))` instead. ../BUILDROOT/usr/lib64/python3.13/site-packages/imagecodecs/_imagecodecs.py:271: AttributeError ______________________ test_delta[delta-<-i2-encode-out] _______________________ output = 'out', byteorder = '<', kind = 'i2', codec = 'encode', func = 'delta' @pytest.mark.filterwarnings('ignore:invalid value encountered') @pytest.mark.parametrize('output', ['new', 'out', 'inplace']) @pytest.mark.parametrize('codec', ['encode', 'decode']) @pytest.mark.parametrize( 'kind', ['u1', 'u2', 'u4', 'u8', 'i1', 'i2', 'i4', 'i8', 'f4', 'f8', 'B', 'b'], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('func', ['delta', 'xor']) def test_delta(output, byteorder, kind, codec, func): """Test Delta codec.""" # if byteorder == '>' and numpy.dtype(kind).itemsize == 1: # pytest.skip('duplicate test') if func == 'delta': if not imagecodecs.DELTA: pytest.skip('Delta missing') encode = imagecodecs.delta_encode decode = imagecodecs.delta_decode encode_py = _imagecodecs.delta_encode # decode_py = _imagecodecs.delta_decode elif func == 'xor': if not imagecodecs.XOR: pytest.skip('Xor missing') encode = imagecodecs.xor_encode decode = imagecodecs.xor_decode encode_py = _imagecodecs.xor_encode # decode_py = _imagecodecs.xor_decode bytetype = bytearray if kind == 'b': bytetype = bytes kind = 'B' axis = -2 # do not change if kind[0] in 'iuB': low = numpy.iinfo(kind).min high = numpy.iinfo(kind).max data = numpy.random.randint( low, high, size=33 * 31 * 3, dtype=kind ).reshape(33, 31, 3) else: # floating point low, high = -1e5, 1e5 data = numpy.random.randint( low, high, size=33 * 31 * 3, dtype='i4' ).reshape(33, 31, 3) data = data.astype(byteorder + kind) data[16, 14] = [0, 0, 0] data[16, 15] = [low, high, low] data[16, 16] = [high, low, high] data[16, 17] = [low, high, low] data[16, 18] = [high, low, high] data[16, 19] = [0, 0, 0] if kind == 'B': # data = data.reshape(-1) data = data.tobytes() diff = encode_py(data, axis=0) if output == 'new': if codec == 'encode': encoded = encode(data, out=bytetype) assert encoded == diff elif codec == 'decode': decoded = decode(diff, out=bytetype) assert decoded == data elif output == 'out': if codec == 'encode': encoded = bytetype(len(data)) if bytetype == bytes: with pytest.raises(TypeError): encode(data, out=encoded) else: encode(data, out=encoded) assert encoded == diff elif codec == 'decode': decoded = bytetype(len(data)) if bytetype == bytes: with pytest.raises(TypeError): decode(diff, out=decoded) else: decode(diff, out=decoded) assert decoded == data elif output == 'inplace': if codec == 'encode': encoded = bytetype(data) if bytetype == bytes: with pytest.raises(TypeError): encode(encoded, out=encoded) else: encode(encoded, out=encoded) assert encoded == diff elif codec == 'decode': decoded = bytetype(diff) if bytetype == bytes: with pytest.raises(TypeError): decode(decoded, out=decoded) else: decode(decoded, out=decoded) assert decoded == data else: # if func == 'xor' and kind in ('f4', 'f8'): # with pytest.raises(ValueError): # encode(data, axis=axis) # pytest.xfail("XOR codec not implemented for float data") > diff = encode_py(data, axis=-2) tests/test_imagecodecs.py:598: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ data = array([[[-19466, -7205, 21470], [ 31228, -9874, -4091], [ 2271, 17359, -17540], ..., ... -25056, -15748], [ 26632, 16633, -31241], [ 28507, 25882, 22293]]], shape=(33, 31, 3), dtype='>> delta_encode(b'0123456789') b'0\x01\x01\x01\x01\x01\x01\x01\x01\x01' """ if dist != 1: raise NotImplementedError(f'dist {dist} not implemented') if isinstance(data, (bytes, bytearray)): data = numpy.frombuffer(data, dtype='u1') diff = numpy.diff(data, axis=0) return numpy.insert(diff, 0, data[0]).tobytes() dtype = data.dtype if dtype.kind == 'f': data = data.view(f'{dtype.byteorder}u{dtype.itemsize}') # diff = numpy.diff(data, axis=axis) key = [slice(None)] * data.ndim key[axis] = 0 diff = numpy.insert(diff, 0, data[tuple(key)], axis=axis) > diff = diff if data.dtype.isnative else diff.byteswap(True).newbyteorder() E AttributeError: `newbyteorder` was removed from the ndarray class in NumPy 2.0. Use `arr.view(arr.dtype.newbyteorder(order))` instead. ../BUILDROOT/usr/lib64/python3.13/site-packages/imagecodecs/_imagecodecs.py:271: AttributeError ____________________ test_delta[delta-<-i2-encode-inplace] _____________________ output = 'inplace', byteorder = '<', kind = 'i2', codec = 'encode' func = 'delta' @pytest.mark.filterwarnings('ignore:invalid value encountered') @pytest.mark.parametrize('output', ['new', 'out', 'inplace']) @pytest.mark.parametrize('codec', ['encode', 'decode']) @pytest.mark.parametrize( 'kind', ['u1', 'u2', 'u4', 'u8', 'i1', 'i2', 'i4', 'i8', 'f4', 'f8', 'B', 'b'], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('func', ['delta', 'xor']) def test_delta(output, byteorder, kind, codec, func): """Test Delta codec.""" # if byteorder == '>' and numpy.dtype(kind).itemsize == 1: # pytest.skip('duplicate test') if func == 'delta': if not imagecodecs.DELTA: pytest.skip('Delta missing') encode = imagecodecs.delta_encode decode = imagecodecs.delta_decode encode_py = _imagecodecs.delta_encode # decode_py = _imagecodecs.delta_decode elif func == 'xor': if not imagecodecs.XOR: pytest.skip('Xor missing') encode = imagecodecs.xor_encode decode = imagecodecs.xor_decode encode_py = _imagecodecs.xor_encode # decode_py = _imagecodecs.xor_decode bytetype = bytearray if kind == 'b': bytetype = bytes kind = 'B' axis = -2 # do not change if kind[0] in 'iuB': low = numpy.iinfo(kind).min high = numpy.iinfo(kind).max data = numpy.random.randint( low, high, size=33 * 31 * 3, dtype=kind ).reshape(33, 31, 3) else: # floating point low, high = -1e5, 1e5 data = numpy.random.randint( low, high, size=33 * 31 * 3, dtype='i4' ).reshape(33, 31, 3) data = data.astype(byteorder + kind) data[16, 14] = [0, 0, 0] data[16, 15] = [low, high, low] data[16, 16] = [high, low, high] data[16, 17] = [low, high, low] data[16, 18] = [high, low, high] data[16, 19] = [0, 0, 0] if kind == 'B': # data = data.reshape(-1) data = data.tobytes() diff = encode_py(data, axis=0) if output == 'new': if codec == 'encode': encoded = encode(data, out=bytetype) assert encoded == diff elif codec == 'decode': decoded = decode(diff, out=bytetype) assert decoded == data elif output == 'out': if codec == 'encode': encoded = bytetype(len(data)) if bytetype == bytes: with pytest.raises(TypeError): encode(data, out=encoded) else: encode(data, out=encoded) assert encoded == diff elif codec == 'decode': decoded = bytetype(len(data)) if bytetype == bytes: with pytest.raises(TypeError): decode(diff, out=decoded) else: decode(diff, out=decoded) assert decoded == data elif output == 'inplace': if codec == 'encode': encoded = bytetype(data) if bytetype == bytes: with pytest.raises(TypeError): encode(encoded, out=encoded) else: encode(encoded, out=encoded) assert encoded == diff elif codec == 'decode': decoded = bytetype(diff) if bytetype == bytes: with pytest.raises(TypeError): decode(decoded, out=decoded) else: decode(decoded, out=decoded) assert decoded == data else: # if func == 'xor' and kind in ('f4', 'f8'): # with pytest.raises(ValueError): # encode(data, axis=axis) # pytest.xfail("XOR codec not implemented for float data") > diff = encode_py(data, axis=-2) tests/test_imagecodecs.py:598: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ data = array([[[ 5487, 3575, -25880], [ -6835, 23063, 2336], [-24180, 30031, 13975], ..., ... 6371, 17801], [ 9858, 30328, -21769], [-18543, 7210, 23262]]], shape=(33, 31, 3), dtype='>> delta_encode(b'0123456789') b'0\x01\x01\x01\x01\x01\x01\x01\x01\x01' """ if dist != 1: raise NotImplementedError(f'dist {dist} not implemented') if isinstance(data, (bytes, bytearray)): data = numpy.frombuffer(data, dtype='u1') diff = numpy.diff(data, axis=0) return numpy.insert(diff, 0, data[0]).tobytes() dtype = data.dtype if dtype.kind == 'f': data = data.view(f'{dtype.byteorder}u{dtype.itemsize}') # diff = numpy.diff(data, axis=axis) key = [slice(None)] * data.ndim key[axis] = 0 diff = numpy.insert(diff, 0, data[tuple(key)], axis=axis) > diff = diff if data.dtype.isnative else diff.byteswap(True).newbyteorder() E AttributeError: `newbyteorder` was removed from the ndarray class in NumPy 2.0. Use `arr.view(arr.dtype.newbyteorder(order))` instead. ../BUILDROOT/usr/lib64/python3.13/site-packages/imagecodecs/_imagecodecs.py:271: AttributeError ______________________ test_delta[delta-<-i2-decode-new] _______________________ output = 'new', byteorder = '<', kind = 'i2', codec = 'decode', func = 'delta' @pytest.mark.filterwarnings('ignore:invalid value encountered') @pytest.mark.parametrize('output', ['new', 'out', 'inplace']) @pytest.mark.parametrize('codec', ['encode', 'decode']) @pytest.mark.parametrize( 'kind', ['u1', 'u2', 'u4', 'u8', 'i1', 'i2', 'i4', 'i8', 'f4', 'f8', 'B', 'b'], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('func', ['delta', 'xor']) def test_delta(output, byteorder, kind, codec, func): """Test Delta codec.""" # if byteorder == '>' and numpy.dtype(kind).itemsize == 1: # pytest.skip('duplicate test') if func == 'delta': if not imagecodecs.DELTA: pytest.skip('Delta missing') encode = imagecodecs.delta_encode decode = imagecodecs.delta_decode encode_py = _imagecodecs.delta_encode # decode_py = _imagecodecs.delta_decode elif func == 'xor': if not imagecodecs.XOR: pytest.skip('Xor missing') encode = imagecodecs.xor_encode decode = imagecodecs.xor_decode encode_py = _imagecodecs.xor_encode # decode_py = _imagecodecs.xor_decode bytetype = bytearray if kind == 'b': bytetype = bytes kind = 'B' axis = -2 # do not change if kind[0] in 'iuB': low = numpy.iinfo(kind).min high = numpy.iinfo(kind).max data = numpy.random.randint( low, high, size=33 * 31 * 3, dtype=kind ).reshape(33, 31, 3) else: # floating point low, high = -1e5, 1e5 data = numpy.random.randint( low, high, size=33 * 31 * 3, dtype='i4' ).reshape(33, 31, 3) data = data.astype(byteorder + kind) data[16, 14] = [0, 0, 0] data[16, 15] = [low, high, low] data[16, 16] = [high, low, high] data[16, 17] = [low, high, low] data[16, 18] = [high, low, high] data[16, 19] = [0, 0, 0] if kind == 'B': # data = data.reshape(-1) data = data.tobytes() diff = encode_py(data, axis=0) if output == 'new': if codec == 'encode': encoded = encode(data, out=bytetype) assert encoded == diff elif codec == 'decode': decoded = decode(diff, out=bytetype) assert decoded == data elif output == 'out': if codec == 'encode': encoded = bytetype(len(data)) if bytetype == bytes: with pytest.raises(TypeError): encode(data, out=encoded) else: encode(data, out=encoded) assert encoded == diff elif codec == 'decode': decoded = bytetype(len(data)) if bytetype == bytes: with pytest.raises(TypeError): decode(diff, out=decoded) else: decode(diff, out=decoded) assert decoded == data elif output == 'inplace': if codec == 'encode': encoded = bytetype(data) if bytetype == bytes: with pytest.raises(TypeError): encode(encoded, out=encoded) else: encode(encoded, out=encoded) assert encoded == diff elif codec == 'decode': decoded = bytetype(diff) if bytetype == bytes: with pytest.raises(TypeError): decode(decoded, out=decoded) else: decode(decoded, out=decoded) assert decoded == data else: # if func == 'xor' and kind in ('f4', 'f8'): # with pytest.raises(ValueError): # encode(data, axis=axis) # pytest.xfail("XOR codec not implemented for float data") > diff = encode_py(data, axis=-2) tests/test_imagecodecs.py:598: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ data = array([[[ -9244, -197, 9080], [ -6864, 5682, -29595], [ 7054, -32231, -18392], ..., ... 8490, 1949], [-29305, -8820, -32124], [ -59, 14421, -31002]]], shape=(33, 31, 3), dtype='>> delta_encode(b'0123456789') b'0\x01\x01\x01\x01\x01\x01\x01\x01\x01' """ if dist != 1: raise NotImplementedError(f'dist {dist} not implemented') if isinstance(data, (bytes, bytearray)): data = numpy.frombuffer(data, dtype='u1') diff = numpy.diff(data, axis=0) return numpy.insert(diff, 0, data[0]).tobytes() dtype = data.dtype if dtype.kind == 'f': data = data.view(f'{dtype.byteorder}u{dtype.itemsize}') # diff = numpy.diff(data, axis=axis) key = [slice(None)] * data.ndim key[axis] = 0 diff = numpy.insert(diff, 0, data[tuple(key)], axis=axis) > diff = diff if data.dtype.isnative else diff.byteswap(True).newbyteorder() E AttributeError: `newbyteorder` was removed from the ndarray class in NumPy 2.0. Use `arr.view(arr.dtype.newbyteorder(order))` instead. ../BUILDROOT/usr/lib64/python3.13/site-packages/imagecodecs/_imagecodecs.py:271: AttributeError ______________________ test_delta[delta-<-i2-decode-out] _______________________ output = 'out', byteorder = '<', kind = 'i2', codec = 'decode', func = 'delta' @pytest.mark.filterwarnings('ignore:invalid value encountered') @pytest.mark.parametrize('output', ['new', 'out', 'inplace']) @pytest.mark.parametrize('codec', ['encode', 'decode']) @pytest.mark.parametrize( 'kind', ['u1', 'u2', 'u4', 'u8', 'i1', 'i2', 'i4', 'i8', 'f4', 'f8', 'B', 'b'], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('func', ['delta', 'xor']) def test_delta(output, byteorder, kind, codec, func): """Test Delta codec.""" # if byteorder == '>' and numpy.dtype(kind).itemsize == 1: # pytest.skip('duplicate test') if func == 'delta': if not imagecodecs.DELTA: pytest.skip('Delta missing') encode = imagecodecs.delta_encode decode = imagecodecs.delta_decode encode_py = _imagecodecs.delta_encode # decode_py = _imagecodecs.delta_decode elif func == 'xor': if not imagecodecs.XOR: pytest.skip('Xor missing') encode = imagecodecs.xor_encode decode = imagecodecs.xor_decode encode_py = _imagecodecs.xor_encode # decode_py = _imagecodecs.xor_decode bytetype = bytearray if kind == 'b': bytetype = bytes kind = 'B' axis = -2 # do not change if kind[0] in 'iuB': low = numpy.iinfo(kind).min high = numpy.iinfo(kind).max data = numpy.random.randint( low, high, size=33 * 31 * 3, dtype=kind ).reshape(33, 31, 3) else: # floating point low, high = -1e5, 1e5 data = numpy.random.randint( low, high, size=33 * 31 * 3, dtype='i4' ).reshape(33, 31, 3) data = data.astype(byteorder + kind) data[16, 14] = [0, 0, 0] data[16, 15] = [low, high, low] data[16, 16] = [high, low, high] data[16, 17] = [low, high, low] data[16, 18] = [high, low, high] data[16, 19] = [0, 0, 0] if kind == 'B': # data = data.reshape(-1) data = data.tobytes() diff = encode_py(data, axis=0) if output == 'new': if codec == 'encode': encoded = encode(data, out=bytetype) assert encoded == diff elif codec == 'decode': decoded = decode(diff, out=bytetype) assert decoded == data elif output == 'out': if codec == 'encode': encoded = bytetype(len(data)) if bytetype == bytes: with pytest.raises(TypeError): encode(data, out=encoded) else: encode(data, out=encoded) assert encoded == diff elif codec == 'decode': decoded = bytetype(len(data)) if bytetype == bytes: with pytest.raises(TypeError): decode(diff, out=decoded) else: decode(diff, out=decoded) assert decoded == data elif output == 'inplace': if codec == 'encode': encoded = bytetype(data) if bytetype == bytes: with pytest.raises(TypeError): encode(encoded, out=encoded) else: encode(encoded, out=encoded) assert encoded == diff elif codec == 'decode': decoded = bytetype(diff) if bytetype == bytes: with pytest.raises(TypeError): decode(decoded, out=decoded) else: decode(decoded, out=decoded) assert decoded == data else: # if func == 'xor' and kind in ('f4', 'f8'): # with pytest.raises(ValueError): # encode(data, axis=axis) # pytest.xfail("XOR codec not implemented for float data") > diff = encode_py(data, axis=-2) tests/test_imagecodecs.py:598: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ data = array([[[ 4138, -18203, 17959], [ 11847, 2425, -21784], [ 13994, -2365, 18342], ..., ... 16070, -25080], [ -7789, 4581, -4524], [ -147, -7891, 11699]]], shape=(33, 31, 3), dtype='>> delta_encode(b'0123456789') b'0\x01\x01\x01\x01\x01\x01\x01\x01\x01' """ if dist != 1: raise NotImplementedError(f'dist {dist} not implemented') if isinstance(data, (bytes, bytearray)): data = numpy.frombuffer(data, dtype='u1') diff = numpy.diff(data, axis=0) return numpy.insert(diff, 0, data[0]).tobytes() dtype = data.dtype if dtype.kind == 'f': data = data.view(f'{dtype.byteorder}u{dtype.itemsize}') # diff = numpy.diff(data, axis=axis) key = [slice(None)] * data.ndim key[axis] = 0 diff = numpy.insert(diff, 0, data[tuple(key)], axis=axis) > diff = diff if data.dtype.isnative else diff.byteswap(True).newbyteorder() E AttributeError: `newbyteorder` was removed from the ndarray class in NumPy 2.0. Use `arr.view(arr.dtype.newbyteorder(order))` instead. ../BUILDROOT/usr/lib64/python3.13/site-packages/imagecodecs/_imagecodecs.py:271: AttributeError ____________________ test_delta[delta-<-i2-decode-inplace] _____________________ output = 'inplace', byteorder = '<', kind = 'i2', codec = 'decode' func = 'delta' @pytest.mark.filterwarnings('ignore:invalid value encountered') @pytest.mark.parametrize('output', ['new', 'out', 'inplace']) @pytest.mark.parametrize('codec', ['encode', 'decode']) @pytest.mark.parametrize( 'kind', ['u1', 'u2', 'u4', 'u8', 'i1', 'i2', 'i4', 'i8', 'f4', 'f8', 'B', 'b'], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('func', ['delta', 'xor']) def test_delta(output, byteorder, kind, codec, func): """Test Delta codec.""" # if byteorder == '>' and numpy.dtype(kind).itemsize == 1: # pytest.skip('duplicate test') if func == 'delta': if not imagecodecs.DELTA: pytest.skip('Delta missing') encode = imagecodecs.delta_encode decode = imagecodecs.delta_decode encode_py = _imagecodecs.delta_encode # decode_py = _imagecodecs.delta_decode elif func == 'xor': if not imagecodecs.XOR: pytest.skip('Xor missing') encode = imagecodecs.xor_encode decode = imagecodecs.xor_decode encode_py = _imagecodecs.xor_encode # decode_py = _imagecodecs.xor_decode bytetype = bytearray if kind == 'b': bytetype = bytes kind = 'B' axis = -2 # do not change if kind[0] in 'iuB': low = numpy.iinfo(kind).min high = numpy.iinfo(kind).max data = numpy.random.randint( low, high, size=33 * 31 * 3, dtype=kind ).reshape(33, 31, 3) else: # floating point low, high = -1e5, 1e5 data = numpy.random.randint( low, high, size=33 * 31 * 3, dtype='i4' ).reshape(33, 31, 3) data = data.astype(byteorder + kind) data[16, 14] = [0, 0, 0] data[16, 15] = [low, high, low] data[16, 16] = [high, low, high] data[16, 17] = [low, high, low] data[16, 18] = [high, low, high] data[16, 19] = [0, 0, 0] if kind == 'B': # data = data.reshape(-1) data = data.tobytes() diff = encode_py(data, axis=0) if output == 'new': if codec == 'encode': encoded = encode(data, out=bytetype) assert encoded == diff elif codec == 'decode': decoded = decode(diff, out=bytetype) assert decoded == data elif output == 'out': if codec == 'encode': encoded = bytetype(len(data)) if bytetype == bytes: with pytest.raises(TypeError): encode(data, out=encoded) else: encode(data, out=encoded) assert encoded == diff elif codec == 'decode': decoded = bytetype(len(data)) if bytetype == bytes: with pytest.raises(TypeError): decode(diff, out=decoded) else: decode(diff, out=decoded) assert decoded == data elif output == 'inplace': if codec == 'encode': encoded = bytetype(data) if bytetype == bytes: with pytest.raises(TypeError): encode(encoded, out=encoded) else: encode(encoded, out=encoded) assert encoded == diff elif codec == 'decode': decoded = bytetype(diff) if bytetype == bytes: with pytest.raises(TypeError): decode(decoded, out=decoded) else: decode(decoded, out=decoded) assert decoded == data else: # if func == 'xor' and kind in ('f4', 'f8'): # with pytest.raises(ValueError): # encode(data, axis=axis) # pytest.xfail("XOR codec not implemented for float data") > diff = encode_py(data, axis=-2) tests/test_imagecodecs.py:598: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ data = array([[[ 9900, -16260, 22885], [-29078, 18093, 5123], [ 18416, 7176, 2389], ..., ... 2148, 9913], [ 21244, 32644, -25367], [ 7495, 13511, 27168]]], shape=(33, 31, 3), dtype='>> delta_encode(b'0123456789') b'0\x01\x01\x01\x01\x01\x01\x01\x01\x01' """ if dist != 1: raise NotImplementedError(f'dist {dist} not implemented') if isinstance(data, (bytes, bytearray)): data = numpy.frombuffer(data, dtype='u1') diff = numpy.diff(data, axis=0) return numpy.insert(diff, 0, data[0]).tobytes() dtype = data.dtype if dtype.kind == 'f': data = data.view(f'{dtype.byteorder}u{dtype.itemsize}') # diff = numpy.diff(data, axis=axis) key = [slice(None)] * data.ndim key[axis] = 0 diff = numpy.insert(diff, 0, data[tuple(key)], axis=axis) > diff = diff if data.dtype.isnative else diff.byteswap(True).newbyteorder() E AttributeError: `newbyteorder` was removed from the ndarray class in NumPy 2.0. Use `arr.view(arr.dtype.newbyteorder(order))` instead. ../BUILDROOT/usr/lib64/python3.13/site-packages/imagecodecs/_imagecodecs.py:271: AttributeError ______________________ test_delta[delta-<-i4-encode-new] _______________________ output = 'new', byteorder = '<', kind = 'i4', codec = 'encode', func = 'delta' @pytest.mark.filterwarnings('ignore:invalid value encountered') @pytest.mark.parametrize('output', ['new', 'out', 'inplace']) @pytest.mark.parametrize('codec', ['encode', 'decode']) @pytest.mark.parametrize( 'kind', ['u1', 'u2', 'u4', 'u8', 'i1', 'i2', 'i4', 'i8', 'f4', 'f8', 'B', 'b'], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('func', ['delta', 'xor']) def test_delta(output, byteorder, kind, codec, func): """Test Delta codec.""" # if byteorder == '>' and numpy.dtype(kind).itemsize == 1: # pytest.skip('duplicate test') if func == 'delta': if not imagecodecs.DELTA: pytest.skip('Delta missing') encode = imagecodecs.delta_encode decode = imagecodecs.delta_decode encode_py = _imagecodecs.delta_encode # decode_py = _imagecodecs.delta_decode elif func == 'xor': if not imagecodecs.XOR: pytest.skip('Xor missing') encode = imagecodecs.xor_encode decode = imagecodecs.xor_decode encode_py = _imagecodecs.xor_encode # decode_py = _imagecodecs.xor_decode bytetype = bytearray if kind == 'b': bytetype = bytes kind = 'B' axis = -2 # do not change if kind[0] in 'iuB': low = numpy.iinfo(kind).min high = numpy.iinfo(kind).max data = numpy.random.randint( low, high, size=33 * 31 * 3, dtype=kind ).reshape(33, 31, 3) else: # floating point low, high = -1e5, 1e5 data = numpy.random.randint( low, high, size=33 * 31 * 3, dtype='i4' ).reshape(33, 31, 3) data = data.astype(byteorder + kind) data[16, 14] = [0, 0, 0] data[16, 15] = [low, high, low] data[16, 16] = [high, low, high] data[16, 17] = [low, high, low] data[16, 18] = [high, low, high] data[16, 19] = [0, 0, 0] if kind == 'B': # data = data.reshape(-1) data = data.tobytes() diff = encode_py(data, axis=0) if output == 'new': if codec == 'encode': encoded = encode(data, out=bytetype) assert encoded == diff elif codec == 'decode': decoded = decode(diff, out=bytetype) assert decoded == data elif output == 'out': if codec == 'encode': encoded = bytetype(len(data)) if bytetype == bytes: with pytest.raises(TypeError): encode(data, out=encoded) else: encode(data, out=encoded) assert encoded == diff elif codec == 'decode': decoded = bytetype(len(data)) if bytetype == bytes: with pytest.raises(TypeError): decode(diff, out=decoded) else: decode(diff, out=decoded) assert decoded == data elif output == 'inplace': if codec == 'encode': encoded = bytetype(data) if bytetype == bytes: with pytest.raises(TypeError): encode(encoded, out=encoded) else: encode(encoded, out=encoded) assert encoded == diff elif codec == 'decode': decoded = bytetype(diff) if bytetype == bytes: with pytest.raises(TypeError): decode(decoded, out=decoded) else: decode(decoded, out=decoded) assert decoded == data else: # if func == 'xor' and kind in ('f4', 'f8'): # with pytest.raises(ValueError): # encode(data, axis=axis) # pytest.xfail("XOR codec not implemented for float data") > diff = encode_py(data, axis=-2) tests/test_imagecodecs.py:598: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ data = array([[[-1632271393, -593134338, 1262996520], [ -777876773, 710244144, 1211415287], [-1237169088...23, 330271932, -1774760162], [ 201611085, 818089604, 632933376]]], shape=(33, 31, 3), dtype='>> delta_encode(b'0123456789') b'0\x01\x01\x01\x01\x01\x01\x01\x01\x01' """ if dist != 1: raise NotImplementedError(f'dist {dist} not implemented') if isinstance(data, (bytes, bytearray)): data = numpy.frombuffer(data, dtype='u1') diff = numpy.diff(data, axis=0) return numpy.insert(diff, 0, data[0]).tobytes() dtype = data.dtype if dtype.kind == 'f': data = data.view(f'{dtype.byteorder}u{dtype.itemsize}') # diff = numpy.diff(data, axis=axis) key = [slice(None)] * data.ndim key[axis] = 0 diff = numpy.insert(diff, 0, data[tuple(key)], axis=axis) > diff = diff if data.dtype.isnative else diff.byteswap(True).newbyteorder() E AttributeError: `newbyteorder` was removed from the ndarray class in NumPy 2.0. Use `arr.view(arr.dtype.newbyteorder(order))` instead. ../BUILDROOT/usr/lib64/python3.13/site-packages/imagecodecs/_imagecodecs.py:271: AttributeError ______________________ test_delta[delta-<-i4-encode-out] _______________________ output = 'out', byteorder = '<', kind = 'i4', codec = 'encode', func = 'delta' @pytest.mark.filterwarnings('ignore:invalid value encountered') @pytest.mark.parametrize('output', ['new', 'out', 'inplace']) @pytest.mark.parametrize('codec', ['encode', 'decode']) @pytest.mark.parametrize( 'kind', ['u1', 'u2', 'u4', 'u8', 'i1', 'i2', 'i4', 'i8', 'f4', 'f8', 'B', 'b'], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('func', ['delta', 'xor']) def test_delta(output, byteorder, kind, codec, func): """Test Delta codec.""" # if byteorder == '>' and numpy.dtype(kind).itemsize == 1: # pytest.skip('duplicate test') if func == 'delta': if not imagecodecs.DELTA: pytest.skip('Delta missing') encode = imagecodecs.delta_encode decode = imagecodecs.delta_decode encode_py = _imagecodecs.delta_encode # decode_py = _imagecodecs.delta_decode elif func == 'xor': if not imagecodecs.XOR: pytest.skip('Xor missing') encode = imagecodecs.xor_encode decode = imagecodecs.xor_decode encode_py = _imagecodecs.xor_encode # decode_py = _imagecodecs.xor_decode bytetype = bytearray if kind == 'b': bytetype = bytes kind = 'B' axis = -2 # do not change if kind[0] in 'iuB': low = numpy.iinfo(kind).min high = numpy.iinfo(kind).max data = numpy.random.randint( low, high, size=33 * 31 * 3, dtype=kind ).reshape(33, 31, 3) else: # floating point low, high = -1e5, 1e5 data = numpy.random.randint( low, high, size=33 * 31 * 3, dtype='i4' ).reshape(33, 31, 3) data = data.astype(byteorder + kind) data[16, 14] = [0, 0, 0] data[16, 15] = [low, high, low] data[16, 16] = [high, low, high] data[16, 17] = [low, high, low] data[16, 18] = [high, low, high] data[16, 19] = [0, 0, 0] if kind == 'B': # data = data.reshape(-1) data = data.tobytes() diff = encode_py(data, axis=0) if output == 'new': if codec == 'encode': encoded = encode(data, out=bytetype) assert encoded == diff elif codec == 'decode': decoded = decode(diff, out=bytetype) assert decoded == data elif output == 'out': if codec == 'encode': encoded = bytetype(len(data)) if bytetype == bytes: with pytest.raises(TypeError): encode(data, out=encoded) else: encode(data, out=encoded) assert encoded == diff elif codec == 'decode': decoded = bytetype(len(data)) if bytetype == bytes: with pytest.raises(TypeError): decode(diff, out=decoded) else: decode(diff, out=decoded) assert decoded == data elif output == 'inplace': if codec == 'encode': encoded = bytetype(data) if bytetype == bytes: with pytest.raises(TypeError): encode(encoded, out=encoded) else: encode(encoded, out=encoded) assert encoded == diff elif codec == 'decode': decoded = bytetype(diff) if bytetype == bytes: with pytest.raises(TypeError): decode(decoded, out=decoded) else: decode(decoded, out=decoded) assert decoded == data else: # if func == 'xor' and kind in ('f4', 'f8'): # with pytest.raises(ValueError): # encode(data, axis=axis) # pytest.xfail("XOR codec not implemented for float data") > diff = encode_py(data, axis=-2) tests/test_imagecodecs.py:598: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ data = array([[[ 950251836, 818240700, -87427950], [ -878041269, -1468239688, -1705138107], [ 607401078...06, -1394262948, 1968444201], [ 1632918882, 1590854025, -1312916225]]], shape=(33, 31, 3), dtype='>> delta_encode(b'0123456789') b'0\x01\x01\x01\x01\x01\x01\x01\x01\x01' """ if dist != 1: raise NotImplementedError(f'dist {dist} not implemented') if isinstance(data, (bytes, bytearray)): data = numpy.frombuffer(data, dtype='u1') diff = numpy.diff(data, axis=0) return numpy.insert(diff, 0, data[0]).tobytes() dtype = data.dtype if dtype.kind == 'f': data = data.view(f'{dtype.byteorder}u{dtype.itemsize}') # diff = numpy.diff(data, axis=axis) key = [slice(None)] * data.ndim key[axis] = 0 diff = numpy.insert(diff, 0, data[tuple(key)], axis=axis) > diff = diff if data.dtype.isnative else diff.byteswap(True).newbyteorder() E AttributeError: `newbyteorder` was removed from the ndarray class in NumPy 2.0. Use `arr.view(arr.dtype.newbyteorder(order))` instead. ../BUILDROOT/usr/lib64/python3.13/site-packages/imagecodecs/_imagecodecs.py:271: AttributeError ____________________ test_delta[delta-<-i4-encode-inplace] _____________________ output = 'inplace', byteorder = '<', kind = 'i4', codec = 'encode' func = 'delta' @pytest.mark.filterwarnings('ignore:invalid value encountered') @pytest.mark.parametrize('output', ['new', 'out', 'inplace']) @pytest.mark.parametrize('codec', ['encode', 'decode']) @pytest.mark.parametrize( 'kind', ['u1', 'u2', 'u4', 'u8', 'i1', 'i2', 'i4', 'i8', 'f4', 'f8', 'B', 'b'], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('func', ['delta', 'xor']) def test_delta(output, byteorder, kind, codec, func): """Test Delta codec.""" # if byteorder == '>' and numpy.dtype(kind).itemsize == 1: # pytest.skip('duplicate test') if func == 'delta': if not imagecodecs.DELTA: pytest.skip('Delta missing') encode = imagecodecs.delta_encode decode = imagecodecs.delta_decode encode_py = _imagecodecs.delta_encode # decode_py = _imagecodecs.delta_decode elif func == 'xor': if not imagecodecs.XOR: pytest.skip('Xor missing') encode = imagecodecs.xor_encode decode = imagecodecs.xor_decode encode_py = _imagecodecs.xor_encode # decode_py = _imagecodecs.xor_decode bytetype = bytearray if kind == 'b': bytetype = bytes kind = 'B' axis = -2 # do not change if kind[0] in 'iuB': low = numpy.iinfo(kind).min high = numpy.iinfo(kind).max data = numpy.random.randint( low, high, size=33 * 31 * 3, dtype=kind ).reshape(33, 31, 3) else: # floating point low, high = -1e5, 1e5 data = numpy.random.randint( low, high, size=33 * 31 * 3, dtype='i4' ).reshape(33, 31, 3) data = data.astype(byteorder + kind) data[16, 14] = [0, 0, 0] data[16, 15] = [low, high, low] data[16, 16] = [high, low, high] data[16, 17] = [low, high, low] data[16, 18] = [high, low, high] data[16, 19] = [0, 0, 0] if kind == 'B': # data = data.reshape(-1) data = data.tobytes() diff = encode_py(data, axis=0) if output == 'new': if codec == 'encode': encoded = encode(data, out=bytetype) assert encoded == diff elif codec == 'decode': decoded = decode(diff, out=bytetype) assert decoded == data elif output == 'out': if codec == 'encode': encoded = bytetype(len(data)) if bytetype == bytes: with pytest.raises(TypeError): encode(data, out=encoded) else: encode(data, out=encoded) assert encoded == diff elif codec == 'decode': decoded = bytetype(len(data)) if bytetype == bytes: with pytest.raises(TypeError): decode(diff, out=decoded) else: decode(diff, out=decoded) assert decoded == data elif output == 'inplace': if codec == 'encode': encoded = bytetype(data) if bytetype == bytes: with pytest.raises(TypeError): encode(encoded, out=encoded) else: encode(encoded, out=encoded) assert encoded == diff elif codec == 'decode': decoded = bytetype(diff) if bytetype == bytes: with pytest.raises(TypeError): decode(decoded, out=decoded) else: decode(decoded, out=decoded) assert decoded == data else: # if func == 'xor' and kind in ('f4', 'f8'): # with pytest.raises(ValueError): # encode(data, axis=axis) # pytest.xfail("XOR codec not implemented for float data") > diff = encode_py(data, axis=-2) tests/test_imagecodecs.py:598: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ data = array([[[ 1656384915, 413997565, -1650385084], [ -767007153, 1242718666, -1871413937], [-1358199880...40, -1909669466, 223541223], [-1044912671, -1648776128, -452035934]]], shape=(33, 31, 3), dtype='>> delta_encode(b'0123456789') b'0\x01\x01\x01\x01\x01\x01\x01\x01\x01' """ if dist != 1: raise NotImplementedError(f'dist {dist} not implemented') if isinstance(data, (bytes, bytearray)): data = numpy.frombuffer(data, dtype='u1') diff = numpy.diff(data, axis=0) return numpy.insert(diff, 0, data[0]).tobytes() dtype = data.dtype if dtype.kind == 'f': data = data.view(f'{dtype.byteorder}u{dtype.itemsize}') # diff = numpy.diff(data, axis=axis) key = [slice(None)] * data.ndim key[axis] = 0 diff = numpy.insert(diff, 0, data[tuple(key)], axis=axis) > diff = diff if data.dtype.isnative else diff.byteswap(True).newbyteorder() E AttributeError: `newbyteorder` was removed from the ndarray class in NumPy 2.0. Use `arr.view(arr.dtype.newbyteorder(order))` instead. ../BUILDROOT/usr/lib64/python3.13/site-packages/imagecodecs/_imagecodecs.py:271: AttributeError ______________________ test_delta[delta-<-i4-decode-new] _______________________ output = 'new', byteorder = '<', kind = 'i4', codec = 'decode', func = 'delta' @pytest.mark.filterwarnings('ignore:invalid value encountered') @pytest.mark.parametrize('output', ['new', 'out', 'inplace']) @pytest.mark.parametrize('codec', ['encode', 'decode']) @pytest.mark.parametrize( 'kind', ['u1', 'u2', 'u4', 'u8', 'i1', 'i2', 'i4', 'i8', 'f4', 'f8', 'B', 'b'], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('func', ['delta', 'xor']) def test_delta(output, byteorder, kind, codec, func): """Test Delta codec.""" # if byteorder == '>' and numpy.dtype(kind).itemsize == 1: # pytest.skip('duplicate test') if func == 'delta': if not imagecodecs.DELTA: pytest.skip('Delta missing') encode = imagecodecs.delta_encode decode = imagecodecs.delta_decode encode_py = _imagecodecs.delta_encode # decode_py = _imagecodecs.delta_decode elif func == 'xor': if not imagecodecs.XOR: pytest.skip('Xor missing') encode = imagecodecs.xor_encode decode = imagecodecs.xor_decode encode_py = _imagecodecs.xor_encode # decode_py = _imagecodecs.xor_decode bytetype = bytearray if kind == 'b': bytetype = bytes kind = 'B' axis = -2 # do not change if kind[0] in 'iuB': low = numpy.iinfo(kind).min high = numpy.iinfo(kind).max data = numpy.random.randint( low, high, size=33 * 31 * 3, dtype=kind ).reshape(33, 31, 3) else: # floating point low, high = -1e5, 1e5 data = numpy.random.randint( low, high, size=33 * 31 * 3, dtype='i4' ).reshape(33, 31, 3) data = data.astype(byteorder + kind) data[16, 14] = [0, 0, 0] data[16, 15] = [low, high, low] data[16, 16] = [high, low, high] data[16, 17] = [low, high, low] data[16, 18] = [high, low, high] data[16, 19] = [0, 0, 0] if kind == 'B': # data = data.reshape(-1) data = data.tobytes() diff = encode_py(data, axis=0) if output == 'new': if codec == 'encode': encoded = encode(data, out=bytetype) assert encoded == diff elif codec == 'decode': decoded = decode(diff, out=bytetype) assert decoded == data elif output == 'out': if codec == 'encode': encoded = bytetype(len(data)) if bytetype == bytes: with pytest.raises(TypeError): encode(data, out=encoded) else: encode(data, out=encoded) assert encoded == diff elif codec == 'decode': decoded = bytetype(len(data)) if bytetype == bytes: with pytest.raises(TypeError): decode(diff, out=decoded) else: decode(diff, out=decoded) assert decoded == data elif output == 'inplace': if codec == 'encode': encoded = bytetype(data) if bytetype == bytes: with pytest.raises(TypeError): encode(encoded, out=encoded) else: encode(encoded, out=encoded) assert encoded == diff elif codec == 'decode': decoded = bytetype(diff) if bytetype == bytes: with pytest.raises(TypeError): decode(decoded, out=decoded) else: decode(decoded, out=decoded) assert decoded == data else: # if func == 'xor' and kind in ('f4', 'f8'): # with pytest.raises(ValueError): # encode(data, axis=axis) # pytest.xfail("XOR codec not implemented for float data") > diff = encode_py(data, axis=-2) tests/test_imagecodecs.py:598: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ data = array([[[ -877286880, -1609578718, -1539574485], [ 1648729594, -216086704, 978533364], [ 2046046694...25, -1204326166, -1110827974], [ 145857683, 980752879, -1907880769]]], shape=(33, 31, 3), dtype='>> delta_encode(b'0123456789') b'0\x01\x01\x01\x01\x01\x01\x01\x01\x01' """ if dist != 1: raise NotImplementedError(f'dist {dist} not implemented') if isinstance(data, (bytes, bytearray)): data = numpy.frombuffer(data, dtype='u1') diff = numpy.diff(data, axis=0) return numpy.insert(diff, 0, data[0]).tobytes() dtype = data.dtype if dtype.kind == 'f': data = data.view(f'{dtype.byteorder}u{dtype.itemsize}') # diff = numpy.diff(data, axis=axis) key = [slice(None)] * data.ndim key[axis] = 0 diff = numpy.insert(diff, 0, data[tuple(key)], axis=axis) > diff = diff if data.dtype.isnative else diff.byteswap(True).newbyteorder() E AttributeError: `newbyteorder` was removed from the ndarray class in NumPy 2.0. Use `arr.view(arr.dtype.newbyteorder(order))` instead. ../BUILDROOT/usr/lib64/python3.13/site-packages/imagecodecs/_imagecodecs.py:271: AttributeError ______________________ test_delta[delta-<-i4-decode-out] _______________________ output = 'out', byteorder = '<', kind = 'i4', codec = 'decode', func = 'delta' @pytest.mark.filterwarnings('ignore:invalid value encountered') @pytest.mark.parametrize('output', ['new', 'out', 'inplace']) @pytest.mark.parametrize('codec', ['encode', 'decode']) @pytest.mark.parametrize( 'kind', ['u1', 'u2', 'u4', 'u8', 'i1', 'i2', 'i4', 'i8', 'f4', 'f8', 'B', 'b'], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('func', ['delta', 'xor']) def test_delta(output, byteorder, kind, codec, func): """Test Delta codec.""" # if byteorder == '>' and numpy.dtype(kind).itemsize == 1: # pytest.skip('duplicate test') if func == 'delta': if not imagecodecs.DELTA: pytest.skip('Delta missing') encode = imagecodecs.delta_encode decode = imagecodecs.delta_decode encode_py = _imagecodecs.delta_encode # decode_py = _imagecodecs.delta_decode elif func == 'xor': if not imagecodecs.XOR: pytest.skip('Xor missing') encode = imagecodecs.xor_encode decode = imagecodecs.xor_decode encode_py = _imagecodecs.xor_encode # decode_py = _imagecodecs.xor_decode bytetype = bytearray if kind == 'b': bytetype = bytes kind = 'B' axis = -2 # do not change if kind[0] in 'iuB': low = numpy.iinfo(kind).min high = numpy.iinfo(kind).max data = numpy.random.randint( low, high, size=33 * 31 * 3, dtype=kind ).reshape(33, 31, 3) else: # floating point low, high = -1e5, 1e5 data = numpy.random.randint( low, high, size=33 * 31 * 3, dtype='i4' ).reshape(33, 31, 3) data = data.astype(byteorder + kind) data[16, 14] = [0, 0, 0] data[16, 15] = [low, high, low] data[16, 16] = [high, low, high] data[16, 17] = [low, high, low] data[16, 18] = [high, low, high] data[16, 19] = [0, 0, 0] if kind == 'B': # data = data.reshape(-1) data = data.tobytes() diff = encode_py(data, axis=0) if output == 'new': if codec == 'encode': encoded = encode(data, out=bytetype) assert encoded == diff elif codec == 'decode': decoded = decode(diff, out=bytetype) assert decoded == data elif output == 'out': if codec == 'encode': encoded = bytetype(len(data)) if bytetype == bytes: with pytest.raises(TypeError): encode(data, out=encoded) else: encode(data, out=encoded) assert encoded == diff elif codec == 'decode': decoded = bytetype(len(data)) if bytetype == bytes: with pytest.raises(TypeError): decode(diff, out=decoded) else: decode(diff, out=decoded) assert decoded == data elif output == 'inplace': if codec == 'encode': encoded = bytetype(data) if bytetype == bytes: with pytest.raises(TypeError): encode(encoded, out=encoded) else: encode(encoded, out=encoded) assert encoded == diff elif codec == 'decode': decoded = bytetype(diff) if bytetype == bytes: with pytest.raises(TypeError): decode(decoded, out=decoded) else: decode(decoded, out=decoded) assert decoded == data else: # if func == 'xor' and kind in ('f4', 'f8'): # with pytest.raises(ValueError): # encode(data, axis=axis) # pytest.xfail("XOR codec not implemented for float data") > diff = encode_py(data, axis=-2) tests/test_imagecodecs.py:598: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ data = array([[[ -433603330, -705767277, -76338072], [ 576005056, -985786036, 433901867], [ 22263641...91, -1263341844, -258183974], [ 390122549, -344677473, -1476905057]]], shape=(33, 31, 3), dtype='>> delta_encode(b'0123456789') b'0\x01\x01\x01\x01\x01\x01\x01\x01\x01' """ if dist != 1: raise NotImplementedError(f'dist {dist} not implemented') if isinstance(data, (bytes, bytearray)): data = numpy.frombuffer(data, dtype='u1') diff = numpy.diff(data, axis=0) return numpy.insert(diff, 0, data[0]).tobytes() dtype = data.dtype if dtype.kind == 'f': data = data.view(f'{dtype.byteorder}u{dtype.itemsize}') # diff = numpy.diff(data, axis=axis) key = [slice(None)] * data.ndim key[axis] = 0 diff = numpy.insert(diff, 0, data[tuple(key)], axis=axis) > diff = diff if data.dtype.isnative else diff.byteswap(True).newbyteorder() E AttributeError: `newbyteorder` was removed from the ndarray class in NumPy 2.0. Use `arr.view(arr.dtype.newbyteorder(order))` instead. ../BUILDROOT/usr/lib64/python3.13/site-packages/imagecodecs/_imagecodecs.py:271: AttributeError ____________________ test_delta[delta-<-i4-decode-inplace] _____________________ output = 'inplace', byteorder = '<', kind = 'i4', codec = 'decode' func = 'delta' @pytest.mark.filterwarnings('ignore:invalid value encountered') @pytest.mark.parametrize('output', ['new', 'out', 'inplace']) @pytest.mark.parametrize('codec', ['encode', 'decode']) @pytest.mark.parametrize( 'kind', ['u1', 'u2', 'u4', 'u8', 'i1', 'i2', 'i4', 'i8', 'f4', 'f8', 'B', 'b'], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('func', ['delta', 'xor']) def test_delta(output, byteorder, kind, codec, func): """Test Delta codec.""" # if byteorder == '>' and numpy.dtype(kind).itemsize == 1: # pytest.skip('duplicate test') if func == 'delta': if not imagecodecs.DELTA: pytest.skip('Delta missing') encode = imagecodecs.delta_encode decode = imagecodecs.delta_decode encode_py = _imagecodecs.delta_encode # decode_py = _imagecodecs.delta_decode elif func == 'xor': if not imagecodecs.XOR: pytest.skip('Xor missing') encode = imagecodecs.xor_encode decode = imagecodecs.xor_decode encode_py = _imagecodecs.xor_encode # decode_py = _imagecodecs.xor_decode bytetype = bytearray if kind == 'b': bytetype = bytes kind = 'B' axis = -2 # do not change if kind[0] in 'iuB': low = numpy.iinfo(kind).min high = numpy.iinfo(kind).max data = numpy.random.randint( low, high, size=33 * 31 * 3, dtype=kind ).reshape(33, 31, 3) else: # floating point low, high = -1e5, 1e5 data = numpy.random.randint( low, high, size=33 * 31 * 3, dtype='i4' ).reshape(33, 31, 3) data = data.astype(byteorder + kind) data[16, 14] = [0, 0, 0] data[16, 15] = [low, high, low] data[16, 16] = [high, low, high] data[16, 17] = [low, high, low] data[16, 18] = [high, low, high] data[16, 19] = [0, 0, 0] if kind == 'B': # data = data.reshape(-1) data = data.tobytes() diff = encode_py(data, axis=0) if output == 'new': if codec == 'encode': encoded = encode(data, out=bytetype) assert encoded == diff elif codec == 'decode': decoded = decode(diff, out=bytetype) assert decoded == data elif output == 'out': if codec == 'encode': encoded = bytetype(len(data)) if bytetype == bytes: with pytest.raises(TypeError): encode(data, out=encoded) else: encode(data, out=encoded) assert encoded == diff elif codec == 'decode': decoded = bytetype(len(data)) if bytetype == bytes: with pytest.raises(TypeError): decode(diff, out=decoded) else: decode(diff, out=decoded) assert decoded == data elif output == 'inplace': if codec == 'encode': encoded = bytetype(data) if bytetype == bytes: with pytest.raises(TypeError): encode(encoded, out=encoded) else: encode(encoded, out=encoded) assert encoded == diff elif codec == 'decode': decoded = bytetype(diff) if bytetype == bytes: with pytest.raises(TypeError): decode(decoded, out=decoded) else: decode(decoded, out=decoded) assert decoded == data else: # if func == 'xor' and kind in ('f4', 'f8'): # with pytest.raises(ValueError): # encode(data, axis=axis) # pytest.xfail("XOR codec not implemented for float data") > diff = encode_py(data, axis=-2) tests/test_imagecodecs.py:598: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ data = array([[[-1319121648, 1509298808, -1118919910], [ 735897567, -1533913883, 1435209682], [-1978867616...51, 1034440835, -1518101222], [ 391783569, 1661849593, -30918813]]], shape=(33, 31, 3), dtype='>> delta_encode(b'0123456789') b'0\x01\x01\x01\x01\x01\x01\x01\x01\x01' """ if dist != 1: raise NotImplementedError(f'dist {dist} not implemented') if isinstance(data, (bytes, bytearray)): data = numpy.frombuffer(data, dtype='u1') diff = numpy.diff(data, axis=0) return numpy.insert(diff, 0, data[0]).tobytes() dtype = data.dtype if dtype.kind == 'f': data = data.view(f'{dtype.byteorder}u{dtype.itemsize}') # diff = numpy.diff(data, axis=axis) key = [slice(None)] * data.ndim key[axis] = 0 diff = numpy.insert(diff, 0, data[tuple(key)], axis=axis) > diff = diff if data.dtype.isnative else diff.byteswap(True).newbyteorder() E AttributeError: `newbyteorder` was removed from the ndarray class in NumPy 2.0. Use `arr.view(arr.dtype.newbyteorder(order))` instead. ../BUILDROOT/usr/lib64/python3.13/site-packages/imagecodecs/_imagecodecs.py:271: AttributeError ______________________ test_delta[delta-<-i8-encode-new] _______________________ output = 'new', byteorder = '<', kind = 'i8', codec = 'encode', func = 'delta' @pytest.mark.filterwarnings('ignore:invalid value encountered') @pytest.mark.parametrize('output', ['new', 'out', 'inplace']) @pytest.mark.parametrize('codec', ['encode', 'decode']) @pytest.mark.parametrize( 'kind', ['u1', 'u2', 'u4', 'u8', 'i1', 'i2', 'i4', 'i8', 'f4', 'f8', 'B', 'b'], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('func', ['delta', 'xor']) def test_delta(output, byteorder, kind, codec, func): """Test Delta codec.""" # if byteorder == '>' and numpy.dtype(kind).itemsize == 1: # pytest.skip('duplicate test') if func == 'delta': if not imagecodecs.DELTA: pytest.skip('Delta missing') encode = imagecodecs.delta_encode decode = imagecodecs.delta_decode encode_py = _imagecodecs.delta_encode # decode_py = _imagecodecs.delta_decode elif func == 'xor': if not imagecodecs.XOR: pytest.skip('Xor missing') encode = imagecodecs.xor_encode decode = imagecodecs.xor_decode encode_py = _imagecodecs.xor_encode # decode_py = _imagecodecs.xor_decode bytetype = bytearray if kind == 'b': bytetype = bytes kind = 'B' axis = -2 # do not change if kind[0] in 'iuB': low = numpy.iinfo(kind).min high = numpy.iinfo(kind).max data = numpy.random.randint( low, high, size=33 * 31 * 3, dtype=kind ).reshape(33, 31, 3) else: # floating point low, high = -1e5, 1e5 data = numpy.random.randint( low, high, size=33 * 31 * 3, dtype='i4' ).reshape(33, 31, 3) data = data.astype(byteorder + kind) data[16, 14] = [0, 0, 0] data[16, 15] = [low, high, low] data[16, 16] = [high, low, high] data[16, 17] = [low, high, low] data[16, 18] = [high, low, high] data[16, 19] = [0, 0, 0] if kind == 'B': # data = data.reshape(-1) data = data.tobytes() diff = encode_py(data, axis=0) if output == 'new': if codec == 'encode': encoded = encode(data, out=bytetype) assert encoded == diff elif codec == 'decode': decoded = decode(diff, out=bytetype) assert decoded == data elif output == 'out': if codec == 'encode': encoded = bytetype(len(data)) if bytetype == bytes: with pytest.raises(TypeError): encode(data, out=encoded) else: encode(data, out=encoded) assert encoded == diff elif codec == 'decode': decoded = bytetype(len(data)) if bytetype == bytes: with pytest.raises(TypeError): decode(diff, out=decoded) else: decode(diff, out=decoded) assert decoded == data elif output == 'inplace': if codec == 'encode': encoded = bytetype(data) if bytetype == bytes: with pytest.raises(TypeError): encode(encoded, out=encoded) else: encode(encoded, out=encoded) assert encoded == diff elif codec == 'decode': decoded = bytetype(diff) if bytetype == bytes: with pytest.raises(TypeError): decode(decoded, out=decoded) else: decode(decoded, out=decoded) assert decoded == data else: # if func == 'xor' and kind in ('f4', 'f8'): # with pytest.raises(ValueError): # encode(data, axis=axis) # pytest.xfail("XOR codec not implemented for float data") > diff = encode_py(data, axis=-2) tests/test_imagecodecs.py:598: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ data = array([[[ 7738401008482193537, -1422210676618825460, 5076568180495916987], [ 934820727527036103, -1... [ 6041083779260525890, -6727049525714263887, 2427753617854473998]]], shape=(33, 31, 3), dtype='>> delta_encode(b'0123456789') b'0\x01\x01\x01\x01\x01\x01\x01\x01\x01' """ if dist != 1: raise NotImplementedError(f'dist {dist} not implemented') if isinstance(data, (bytes, bytearray)): data = numpy.frombuffer(data, dtype='u1') diff = numpy.diff(data, axis=0) return numpy.insert(diff, 0, data[0]).tobytes() dtype = data.dtype if dtype.kind == 'f': data = data.view(f'{dtype.byteorder}u{dtype.itemsize}') # diff = numpy.diff(data, axis=axis) key = [slice(None)] * data.ndim key[axis] = 0 diff = numpy.insert(diff, 0, data[tuple(key)], axis=axis) > diff = diff if data.dtype.isnative else diff.byteswap(True).newbyteorder() E AttributeError: `newbyteorder` was removed from the ndarray class in NumPy 2.0. Use `arr.view(arr.dtype.newbyteorder(order))` instead. ../BUILDROOT/usr/lib64/python3.13/site-packages/imagecodecs/_imagecodecs.py:271: AttributeError ______________________ test_delta[delta-<-i8-encode-out] _______________________ output = 'out', byteorder = '<', kind = 'i8', codec = 'encode', func = 'delta' @pytest.mark.filterwarnings('ignore:invalid value encountered') @pytest.mark.parametrize('output', ['new', 'out', 'inplace']) @pytest.mark.parametrize('codec', ['encode', 'decode']) @pytest.mark.parametrize( 'kind', ['u1', 'u2', 'u4', 'u8', 'i1', 'i2', 'i4', 'i8', 'f4', 'f8', 'B', 'b'], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('func', ['delta', 'xor']) def test_delta(output, byteorder, kind, codec, func): """Test Delta codec.""" # if byteorder == '>' and numpy.dtype(kind).itemsize == 1: # pytest.skip('duplicate test') if func == 'delta': if not imagecodecs.DELTA: pytest.skip('Delta missing') encode = imagecodecs.delta_encode decode = imagecodecs.delta_decode encode_py = _imagecodecs.delta_encode # decode_py = _imagecodecs.delta_decode elif func == 'xor': if not imagecodecs.XOR: pytest.skip('Xor missing') encode = imagecodecs.xor_encode decode = imagecodecs.xor_decode encode_py = _imagecodecs.xor_encode # decode_py = _imagecodecs.xor_decode bytetype = bytearray if kind == 'b': bytetype = bytes kind = 'B' axis = -2 # do not change if kind[0] in 'iuB': low = numpy.iinfo(kind).min high = numpy.iinfo(kind).max data = numpy.random.randint( low, high, size=33 * 31 * 3, dtype=kind ).reshape(33, 31, 3) else: # floating point low, high = -1e5, 1e5 data = numpy.random.randint( low, high, size=33 * 31 * 3, dtype='i4' ).reshape(33, 31, 3) data = data.astype(byteorder + kind) data[16, 14] = [0, 0, 0] data[16, 15] = [low, high, low] data[16, 16] = [high, low, high] data[16, 17] = [low, high, low] data[16, 18] = [high, low, high] data[16, 19] = [0, 0, 0] if kind == 'B': # data = data.reshape(-1) data = data.tobytes() diff = encode_py(data, axis=0) if output == 'new': if codec == 'encode': encoded = encode(data, out=bytetype) assert encoded == diff elif codec == 'decode': decoded = decode(diff, out=bytetype) assert decoded == data elif output == 'out': if codec == 'encode': encoded = bytetype(len(data)) if bytetype == bytes: with pytest.raises(TypeError): encode(data, out=encoded) else: encode(data, out=encoded) assert encoded == diff elif codec == 'decode': decoded = bytetype(len(data)) if bytetype == bytes: with pytest.raises(TypeError): decode(diff, out=decoded) else: decode(diff, out=decoded) assert decoded == data elif output == 'inplace': if codec == 'encode': encoded = bytetype(data) if bytetype == bytes: with pytest.raises(TypeError): encode(encoded, out=encoded) else: encode(encoded, out=encoded) assert encoded == diff elif codec == 'decode': decoded = bytetype(diff) if bytetype == bytes: with pytest.raises(TypeError): decode(decoded, out=decoded) else: decode(decoded, out=decoded) assert decoded == data else: # if func == 'xor' and kind in ('f4', 'f8'): # with pytest.raises(ValueError): # encode(data, axis=axis) # pytest.xfail("XOR codec not implemented for float data") > diff = encode_py(data, axis=-2) tests/test_imagecodecs.py:598: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ data = array([[[-6604082368917174792, -3947606287299894073, 3879166211949943165], [-5328948195267024415, -5... [ 1656666858947590670, -5599574972460587473, -3030794887899505917]]], shape=(33, 31, 3), dtype='>> delta_encode(b'0123456789') b'0\x01\x01\x01\x01\x01\x01\x01\x01\x01' """ if dist != 1: raise NotImplementedError(f'dist {dist} not implemented') if isinstance(data, (bytes, bytearray)): data = numpy.frombuffer(data, dtype='u1') diff = numpy.diff(data, axis=0) return numpy.insert(diff, 0, data[0]).tobytes() dtype = data.dtype if dtype.kind == 'f': data = data.view(f'{dtype.byteorder}u{dtype.itemsize}') # diff = numpy.diff(data, axis=axis) key = [slice(None)] * data.ndim key[axis] = 0 diff = numpy.insert(diff, 0, data[tuple(key)], axis=axis) > diff = diff if data.dtype.isnative else diff.byteswap(True).newbyteorder() E AttributeError: `newbyteorder` was removed from the ndarray class in NumPy 2.0. Use `arr.view(arr.dtype.newbyteorder(order))` instead. ../BUILDROOT/usr/lib64/python3.13/site-packages/imagecodecs/_imagecodecs.py:271: AttributeError ____________________ test_delta[delta-<-i8-encode-inplace] _____________________ output = 'inplace', byteorder = '<', kind = 'i8', codec = 'encode' func = 'delta' @pytest.mark.filterwarnings('ignore:invalid value encountered') @pytest.mark.parametrize('output', ['new', 'out', 'inplace']) @pytest.mark.parametrize('codec', ['encode', 'decode']) @pytest.mark.parametrize( 'kind', ['u1', 'u2', 'u4', 'u8', 'i1', 'i2', 'i4', 'i8', 'f4', 'f8', 'B', 'b'], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('func', ['delta', 'xor']) def test_delta(output, byteorder, kind, codec, func): """Test Delta codec.""" # if byteorder == '>' and numpy.dtype(kind).itemsize == 1: # pytest.skip('duplicate test') if func == 'delta': if not imagecodecs.DELTA: pytest.skip('Delta missing') encode = imagecodecs.delta_encode decode = imagecodecs.delta_decode encode_py = _imagecodecs.delta_encode # decode_py = _imagecodecs.delta_decode elif func == 'xor': if not imagecodecs.XOR: pytest.skip('Xor missing') encode = imagecodecs.xor_encode decode = imagecodecs.xor_decode encode_py = _imagecodecs.xor_encode # decode_py = _imagecodecs.xor_decode bytetype = bytearray if kind == 'b': bytetype = bytes kind = 'B' axis = -2 # do not change if kind[0] in 'iuB': low = numpy.iinfo(kind).min high = numpy.iinfo(kind).max data = numpy.random.randint( low, high, size=33 * 31 * 3, dtype=kind ).reshape(33, 31, 3) else: # floating point low, high = -1e5, 1e5 data = numpy.random.randint( low, high, size=33 * 31 * 3, dtype='i4' ).reshape(33, 31, 3) data = data.astype(byteorder + kind) data[16, 14] = [0, 0, 0] data[16, 15] = [low, high, low] data[16, 16] = [high, low, high] data[16, 17] = [low, high, low] data[16, 18] = [high, low, high] data[16, 19] = [0, 0, 0] if kind == 'B': # data = data.reshape(-1) data = data.tobytes() diff = encode_py(data, axis=0) if output == 'new': if codec == 'encode': encoded = encode(data, out=bytetype) assert encoded == diff elif codec == 'decode': decoded = decode(diff, out=bytetype) assert decoded == data elif output == 'out': if codec == 'encode': encoded = bytetype(len(data)) if bytetype == bytes: with pytest.raises(TypeError): encode(data, out=encoded) else: encode(data, out=encoded) assert encoded == diff elif codec == 'decode': decoded = bytetype(len(data)) if bytetype == bytes: with pytest.raises(TypeError): decode(diff, out=decoded) else: decode(diff, out=decoded) assert decoded == data elif output == 'inplace': if codec == 'encode': encoded = bytetype(data) if bytetype == bytes: with pytest.raises(TypeError): encode(encoded, out=encoded) else: encode(encoded, out=encoded) assert encoded == diff elif codec == 'decode': decoded = bytetype(diff) if bytetype == bytes: with pytest.raises(TypeError): decode(decoded, out=decoded) else: decode(decoded, out=decoded) assert decoded == data else: # if func == 'xor' and kind in ('f4', 'f8'): # with pytest.raises(ValueError): # encode(data, axis=axis) # pytest.xfail("XOR codec not implemented for float data") > diff = encode_py(data, axis=-2) tests/test_imagecodecs.py:598: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ data = array([[[ 3423022801988775638, 7248415109670304360, 4222928815891489188], [-1698404694871708573, 4... [ 5953169750507373291, 7852700265676362657, 3723686252514774391]]], shape=(33, 31, 3), dtype='>> delta_encode(b'0123456789') b'0\x01\x01\x01\x01\x01\x01\x01\x01\x01' """ if dist != 1: raise NotImplementedError(f'dist {dist} not implemented') if isinstance(data, (bytes, bytearray)): data = numpy.frombuffer(data, dtype='u1') diff = numpy.diff(data, axis=0) return numpy.insert(diff, 0, data[0]).tobytes() dtype = data.dtype if dtype.kind == 'f': data = data.view(f'{dtype.byteorder}u{dtype.itemsize}') # diff = numpy.diff(data, axis=axis) key = [slice(None)] * data.ndim key[axis] = 0 diff = numpy.insert(diff, 0, data[tuple(key)], axis=axis) > diff = diff if data.dtype.isnative else diff.byteswap(True).newbyteorder() E AttributeError: `newbyteorder` was removed from the ndarray class in NumPy 2.0. Use `arr.view(arr.dtype.newbyteorder(order))` instead. ../BUILDROOT/usr/lib64/python3.13/site-packages/imagecodecs/_imagecodecs.py:271: AttributeError ______________________ test_delta[delta-<-i8-decode-new] _______________________ output = 'new', byteorder = '<', kind = 'i8', codec = 'decode', func = 'delta' @pytest.mark.filterwarnings('ignore:invalid value encountered') @pytest.mark.parametrize('output', ['new', 'out', 'inplace']) @pytest.mark.parametrize('codec', ['encode', 'decode']) @pytest.mark.parametrize( 'kind', ['u1', 'u2', 'u4', 'u8', 'i1', 'i2', 'i4', 'i8', 'f4', 'f8', 'B', 'b'], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('func', ['delta', 'xor']) def test_delta(output, byteorder, kind, codec, func): """Test Delta codec.""" # if byteorder == '>' and numpy.dtype(kind).itemsize == 1: # pytest.skip('duplicate test') if func == 'delta': if not imagecodecs.DELTA: pytest.skip('Delta missing') encode = imagecodecs.delta_encode decode = imagecodecs.delta_decode encode_py = _imagecodecs.delta_encode # decode_py = _imagecodecs.delta_decode elif func == 'xor': if not imagecodecs.XOR: pytest.skip('Xor missing') encode = imagecodecs.xor_encode decode = imagecodecs.xor_decode encode_py = _imagecodecs.xor_encode # decode_py = _imagecodecs.xor_decode bytetype = bytearray if kind == 'b': bytetype = bytes kind = 'B' axis = -2 # do not change if kind[0] in 'iuB': low = numpy.iinfo(kind).min high = numpy.iinfo(kind).max data = numpy.random.randint( low, high, size=33 * 31 * 3, dtype=kind ).reshape(33, 31, 3) else: # floating point low, high = -1e5, 1e5 data = numpy.random.randint( low, high, size=33 * 31 * 3, dtype='i4' ).reshape(33, 31, 3) data = data.astype(byteorder + kind) data[16, 14] = [0, 0, 0] data[16, 15] = [low, high, low] data[16, 16] = [high, low, high] data[16, 17] = [low, high, low] data[16, 18] = [high, low, high] data[16, 19] = [0, 0, 0] if kind == 'B': # data = data.reshape(-1) data = data.tobytes() diff = encode_py(data, axis=0) if output == 'new': if codec == 'encode': encoded = encode(data, out=bytetype) assert encoded == diff elif codec == 'decode': decoded = decode(diff, out=bytetype) assert decoded == data elif output == 'out': if codec == 'encode': encoded = bytetype(len(data)) if bytetype == bytes: with pytest.raises(TypeError): encode(data, out=encoded) else: encode(data, out=encoded) assert encoded == diff elif codec == 'decode': decoded = bytetype(len(data)) if bytetype == bytes: with pytest.raises(TypeError): decode(diff, out=decoded) else: decode(diff, out=decoded) assert decoded == data elif output == 'inplace': if codec == 'encode': encoded = bytetype(data) if bytetype == bytes: with pytest.raises(TypeError): encode(encoded, out=encoded) else: encode(encoded, out=encoded) assert encoded == diff elif codec == 'decode': decoded = bytetype(diff) if bytetype == bytes: with pytest.raises(TypeError): decode(decoded, out=decoded) else: decode(decoded, out=decoded) assert decoded == data else: # if func == 'xor' and kind in ('f4', 'f8'): # with pytest.raises(ValueError): # encode(data, axis=axis) # pytest.xfail("XOR codec not implemented for float data") > diff = encode_py(data, axis=-2) tests/test_imagecodecs.py:598: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ data = array([[[-4283217967012826871, -6402526500242942226, -5020909998378680895], [-9007244572699635231, ... [ 4882687894163285196, 8713525576809232683, -2367662370777713138]]], shape=(33, 31, 3), dtype='>> delta_encode(b'0123456789') b'0\x01\x01\x01\x01\x01\x01\x01\x01\x01' """ if dist != 1: raise NotImplementedError(f'dist {dist} not implemented') if isinstance(data, (bytes, bytearray)): data = numpy.frombuffer(data, dtype='u1') diff = numpy.diff(data, axis=0) return numpy.insert(diff, 0, data[0]).tobytes() dtype = data.dtype if dtype.kind == 'f': data = data.view(f'{dtype.byteorder}u{dtype.itemsize}') # diff = numpy.diff(data, axis=axis) key = [slice(None)] * data.ndim key[axis] = 0 diff = numpy.insert(diff, 0, data[tuple(key)], axis=axis) > diff = diff if data.dtype.isnative else diff.byteswap(True).newbyteorder() E AttributeError: `newbyteorder` was removed from the ndarray class in NumPy 2.0. Use `arr.view(arr.dtype.newbyteorder(order))` instead. ../BUILDROOT/usr/lib64/python3.13/site-packages/imagecodecs/_imagecodecs.py:271: AttributeError ______________________ test_delta[delta-<-i8-decode-out] _______________________ output = 'out', byteorder = '<', kind = 'i8', codec = 'decode', func = 'delta' @pytest.mark.filterwarnings('ignore:invalid value encountered') @pytest.mark.parametrize('output', ['new', 'out', 'inplace']) @pytest.mark.parametrize('codec', ['encode', 'decode']) @pytest.mark.parametrize( 'kind', ['u1', 'u2', 'u4', 'u8', 'i1', 'i2', 'i4', 'i8', 'f4', 'f8', 'B', 'b'], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('func', ['delta', 'xor']) def test_delta(output, byteorder, kind, codec, func): """Test Delta codec.""" # if byteorder == '>' and numpy.dtype(kind).itemsize == 1: # pytest.skip('duplicate test') if func == 'delta': if not imagecodecs.DELTA: pytest.skip('Delta missing') encode = imagecodecs.delta_encode decode = imagecodecs.delta_decode encode_py = _imagecodecs.delta_encode # decode_py = _imagecodecs.delta_decode elif func == 'xor': if not imagecodecs.XOR: pytest.skip('Xor missing') encode = imagecodecs.xor_encode decode = imagecodecs.xor_decode encode_py = _imagecodecs.xor_encode # decode_py = _imagecodecs.xor_decode bytetype = bytearray if kind == 'b': bytetype = bytes kind = 'B' axis = -2 # do not change if kind[0] in 'iuB': low = numpy.iinfo(kind).min high = numpy.iinfo(kind).max data = numpy.random.randint( low, high, size=33 * 31 * 3, dtype=kind ).reshape(33, 31, 3) else: # floating point low, high = -1e5, 1e5 data = numpy.random.randint( low, high, size=33 * 31 * 3, dtype='i4' ).reshape(33, 31, 3) data = data.astype(byteorder + kind) data[16, 14] = [0, 0, 0] data[16, 15] = [low, high, low] data[16, 16] = [high, low, high] data[16, 17] = [low, high, low] data[16, 18] = [high, low, high] data[16, 19] = [0, 0, 0] if kind == 'B': # data = data.reshape(-1) data = data.tobytes() diff = encode_py(data, axis=0) if output == 'new': if codec == 'encode': encoded = encode(data, out=bytetype) assert encoded == diff elif codec == 'decode': decoded = decode(diff, out=bytetype) assert decoded == data elif output == 'out': if codec == 'encode': encoded = bytetype(len(data)) if bytetype == bytes: with pytest.raises(TypeError): encode(data, out=encoded) else: encode(data, out=encoded) assert encoded == diff elif codec == 'decode': decoded = bytetype(len(data)) if bytetype == bytes: with pytest.raises(TypeError): decode(diff, out=decoded) else: decode(diff, out=decoded) assert decoded == data elif output == 'inplace': if codec == 'encode': encoded = bytetype(data) if bytetype == bytes: with pytest.raises(TypeError): encode(encoded, out=encoded) else: encode(encoded, out=encoded) assert encoded == diff elif codec == 'decode': decoded = bytetype(diff) if bytetype == bytes: with pytest.raises(TypeError): decode(decoded, out=decoded) else: decode(decoded, out=decoded) assert decoded == data else: # if func == 'xor' and kind in ('f4', 'f8'): # with pytest.raises(ValueError): # encode(data, axis=axis) # pytest.xfail("XOR codec not implemented for float data") > diff = encode_py(data, axis=-2) tests/test_imagecodecs.py:598: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ data = array([[[-4286838909992028935, -1517266792328471050, -6202814847774135535], [ 3243551676548324069, -3... [-7697302552702826532, -3594426804013420613, 4631236987661260931]]], shape=(33, 31, 3), dtype='>> delta_encode(b'0123456789') b'0\x01\x01\x01\x01\x01\x01\x01\x01\x01' """ if dist != 1: raise NotImplementedError(f'dist {dist} not implemented') if isinstance(data, (bytes, bytearray)): data = numpy.frombuffer(data, dtype='u1') diff = numpy.diff(data, axis=0) return numpy.insert(diff, 0, data[0]).tobytes() dtype = data.dtype if dtype.kind == 'f': data = data.view(f'{dtype.byteorder}u{dtype.itemsize}') # diff = numpy.diff(data, axis=axis) key = [slice(None)] * data.ndim key[axis] = 0 diff = numpy.insert(diff, 0, data[tuple(key)], axis=axis) > diff = diff if data.dtype.isnative else diff.byteswap(True).newbyteorder() E AttributeError: `newbyteorder` was removed from the ndarray class in NumPy 2.0. Use `arr.view(arr.dtype.newbyteorder(order))` instead. ../BUILDROOT/usr/lib64/python3.13/site-packages/imagecodecs/_imagecodecs.py:271: AttributeError ____________________ test_delta[delta-<-i8-decode-inplace] _____________________ output = 'inplace', byteorder = '<', kind = 'i8', codec = 'decode' func = 'delta' @pytest.mark.filterwarnings('ignore:invalid value encountered') @pytest.mark.parametrize('output', ['new', 'out', 'inplace']) @pytest.mark.parametrize('codec', ['encode', 'decode']) @pytest.mark.parametrize( 'kind', ['u1', 'u2', 'u4', 'u8', 'i1', 'i2', 'i4', 'i8', 'f4', 'f8', 'B', 'b'], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('func', ['delta', 'xor']) def test_delta(output, byteorder, kind, codec, func): """Test Delta codec.""" # if byteorder == '>' and numpy.dtype(kind).itemsize == 1: # pytest.skip('duplicate test') if func == 'delta': if not imagecodecs.DELTA: pytest.skip('Delta missing') encode = imagecodecs.delta_encode decode = imagecodecs.delta_decode encode_py = _imagecodecs.delta_encode # decode_py = _imagecodecs.delta_decode elif func == 'xor': if not imagecodecs.XOR: pytest.skip('Xor missing') encode = imagecodecs.xor_encode decode = imagecodecs.xor_decode encode_py = _imagecodecs.xor_encode # decode_py = _imagecodecs.xor_decode bytetype = bytearray if kind == 'b': bytetype = bytes kind = 'B' axis = -2 # do not change if kind[0] in 'iuB': low = numpy.iinfo(kind).min high = numpy.iinfo(kind).max data = numpy.random.randint( low, high, size=33 * 31 * 3, dtype=kind ).reshape(33, 31, 3) else: # floating point low, high = -1e5, 1e5 data = numpy.random.randint( low, high, size=33 * 31 * 3, dtype='i4' ).reshape(33, 31, 3) data = data.astype(byteorder + kind) data[16, 14] = [0, 0, 0] data[16, 15] = [low, high, low] data[16, 16] = [high, low, high] data[16, 17] = [low, high, low] data[16, 18] = [high, low, high] data[16, 19] = [0, 0, 0] if kind == 'B': # data = data.reshape(-1) data = data.tobytes() diff = encode_py(data, axis=0) if output == 'new': if codec == 'encode': encoded = encode(data, out=bytetype) assert encoded == diff elif codec == 'decode': decoded = decode(diff, out=bytetype) assert decoded == data elif output == 'out': if codec == 'encode': encoded = bytetype(len(data)) if bytetype == bytes: with pytest.raises(TypeError): encode(data, out=encoded) else: encode(data, out=encoded) assert encoded == diff elif codec == 'decode': decoded = bytetype(len(data)) if bytetype == bytes: with pytest.raises(TypeError): decode(diff, out=decoded) else: decode(diff, out=decoded) assert decoded == data elif output == 'inplace': if codec == 'encode': encoded = bytetype(data) if bytetype == bytes: with pytest.raises(TypeError): encode(encoded, out=encoded) else: encode(encoded, out=encoded) assert encoded == diff elif codec == 'decode': decoded = bytetype(diff) if bytetype == bytes: with pytest.raises(TypeError): decode(decoded, out=decoded) else: decode(decoded, out=decoded) assert decoded == data else: # if func == 'xor' and kind in ('f4', 'f8'): # with pytest.raises(ValueError): # encode(data, axis=axis) # pytest.xfail("XOR codec not implemented for float data") > diff = encode_py(data, axis=-2) tests/test_imagecodecs.py:598: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ data = array([[[-8413633160807809984, 6389112673188959470, -8125567344117236430], [ 5947538171295628638, 5... [ 2752651549120401168, -3474631581271727569, 1624470123633420270]]], shape=(33, 31, 3), dtype='>> delta_encode(b'0123456789') b'0\x01\x01\x01\x01\x01\x01\x01\x01\x01' """ if dist != 1: raise NotImplementedError(f'dist {dist} not implemented') if isinstance(data, (bytes, bytearray)): data = numpy.frombuffer(data, dtype='u1') diff = numpy.diff(data, axis=0) return numpy.insert(diff, 0, data[0]).tobytes() dtype = data.dtype if dtype.kind == 'f': data = data.view(f'{dtype.byteorder}u{dtype.itemsize}') # diff = numpy.diff(data, axis=axis) key = [slice(None)] * data.ndim key[axis] = 0 diff = numpy.insert(diff, 0, data[tuple(key)], axis=axis) > diff = diff if data.dtype.isnative else diff.byteswap(True).newbyteorder() E AttributeError: `newbyteorder` was removed from the ndarray class in NumPy 2.0. Use `arr.view(arr.dtype.newbyteorder(order))` instead. ../BUILDROOT/usr/lib64/python3.13/site-packages/imagecodecs/_imagecodecs.py:271: AttributeError ______________________ test_delta[delta-<-f4-encode-new] _______________________ output = 'new', byteorder = '<', kind = 'f4', codec = 'encode', func = 'delta' @pytest.mark.filterwarnings('ignore:invalid value encountered') @pytest.mark.parametrize('output', ['new', 'out', 'inplace']) @pytest.mark.parametrize('codec', ['encode', 'decode']) @pytest.mark.parametrize( 'kind', ['u1', 'u2', 'u4', 'u8', 'i1', 'i2', 'i4', 'i8', 'f4', 'f8', 'B', 'b'], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('func', ['delta', 'xor']) def test_delta(output, byteorder, kind, codec, func): """Test Delta codec.""" # if byteorder == '>' and numpy.dtype(kind).itemsize == 1: # pytest.skip('duplicate test') if func == 'delta': if not imagecodecs.DELTA: pytest.skip('Delta missing') encode = imagecodecs.delta_encode decode = imagecodecs.delta_decode encode_py = _imagecodecs.delta_encode # decode_py = _imagecodecs.delta_decode elif func == 'xor': if not imagecodecs.XOR: pytest.skip('Xor missing') encode = imagecodecs.xor_encode decode = imagecodecs.xor_decode encode_py = _imagecodecs.xor_encode # decode_py = _imagecodecs.xor_decode bytetype = bytearray if kind == 'b': bytetype = bytes kind = 'B' axis = -2 # do not change if kind[0] in 'iuB': low = numpy.iinfo(kind).min high = numpy.iinfo(kind).max data = numpy.random.randint( low, high, size=33 * 31 * 3, dtype=kind ).reshape(33, 31, 3) else: # floating point low, high = -1e5, 1e5 data = numpy.random.randint( low, high, size=33 * 31 * 3, dtype='i4' ).reshape(33, 31, 3) data = data.astype(byteorder + kind) data[16, 14] = [0, 0, 0] data[16, 15] = [low, high, low] data[16, 16] = [high, low, high] data[16, 17] = [low, high, low] data[16, 18] = [high, low, high] data[16, 19] = [0, 0, 0] if kind == 'B': # data = data.reshape(-1) data = data.tobytes() diff = encode_py(data, axis=0) if output == 'new': if codec == 'encode': encoded = encode(data, out=bytetype) assert encoded == diff elif codec == 'decode': decoded = decode(diff, out=bytetype) assert decoded == data elif output == 'out': if codec == 'encode': encoded = bytetype(len(data)) if bytetype == bytes: with pytest.raises(TypeError): encode(data, out=encoded) else: encode(data, out=encoded) assert encoded == diff elif codec == 'decode': decoded = bytetype(len(data)) if bytetype == bytes: with pytest.raises(TypeError): decode(diff, out=decoded) else: decode(diff, out=decoded) assert decoded == data elif output == 'inplace': if codec == 'encode': encoded = bytetype(data) if bytetype == bytes: with pytest.raises(TypeError): encode(encoded, out=encoded) else: encode(encoded, out=encoded) assert encoded == diff elif codec == 'decode': decoded = bytetype(diff) if bytetype == bytes: with pytest.raises(TypeError): decode(decoded, out=decoded) else: decode(decoded, out=decoded) assert decoded == data else: # if func == 'xor' and kind in ('f4', 'f8'): # with pytest.raises(ValueError): # encode(data, axis=axis) # pytest.xfail("XOR codec not implemented for float data") > diff = encode_py(data, axis=-2) tests/test_imagecodecs.py:598: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ data = array([[[3325958144, 1197404416, 1177933824], [3350596096, 3345812224, 1158152192], [1186472448, 12006...6042112, 1190475264, 1201898368], [3347365248, 1198171904, 1189087744]]], shape=(33, 31, 3), dtype='>> delta_encode(b'0123456789') b'0\x01\x01\x01\x01\x01\x01\x01\x01\x01' """ if dist != 1: raise NotImplementedError(f'dist {dist} not implemented') if isinstance(data, (bytes, bytearray)): data = numpy.frombuffer(data, dtype='u1') diff = numpy.diff(data, axis=0) return numpy.insert(diff, 0, data[0]).tobytes() dtype = data.dtype if dtype.kind == 'f': data = data.view(f'{dtype.byteorder}u{dtype.itemsize}') # diff = numpy.diff(data, axis=axis) key = [slice(None)] * data.ndim key[axis] = 0 diff = numpy.insert(diff, 0, data[tuple(key)], axis=axis) > diff = diff if data.dtype.isnative else diff.byteswap(True).newbyteorder() E AttributeError: `newbyteorder` was removed from the ndarray class in NumPy 2.0. Use `arr.view(arr.dtype.newbyteorder(order))` instead. ../BUILDROOT/usr/lib64/python3.13/site-packages/imagecodecs/_imagecodecs.py:271: AttributeError ______________________ test_delta[delta-<-f4-encode-out] _______________________ output = 'out', byteorder = '<', kind = 'f4', codec = 'encode', func = 'delta' @pytest.mark.filterwarnings('ignore:invalid value encountered') @pytest.mark.parametrize('output', ['new', 'out', 'inplace']) @pytest.mark.parametrize('codec', ['encode', 'decode']) @pytest.mark.parametrize( 'kind', ['u1', 'u2', 'u4', 'u8', 'i1', 'i2', 'i4', 'i8', 'f4', 'f8', 'B', 'b'], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('func', ['delta', 'xor']) def test_delta(output, byteorder, kind, codec, func): """Test Delta codec.""" # if byteorder == '>' and numpy.dtype(kind).itemsize == 1: # pytest.skip('duplicate test') if func == 'delta': if not imagecodecs.DELTA: pytest.skip('Delta missing') encode = imagecodecs.delta_encode decode = imagecodecs.delta_decode encode_py = _imagecodecs.delta_encode # decode_py = _imagecodecs.delta_decode elif func == 'xor': if not imagecodecs.XOR: pytest.skip('Xor missing') encode = imagecodecs.xor_encode decode = imagecodecs.xor_decode encode_py = _imagecodecs.xor_encode # decode_py = _imagecodecs.xor_decode bytetype = bytearray if kind == 'b': bytetype = bytes kind = 'B' axis = -2 # do not change if kind[0] in 'iuB': low = numpy.iinfo(kind).min high = numpy.iinfo(kind).max data = numpy.random.randint( low, high, size=33 * 31 * 3, dtype=kind ).reshape(33, 31, 3) else: # floating point low, high = -1e5, 1e5 data = numpy.random.randint( low, high, size=33 * 31 * 3, dtype='i4' ).reshape(33, 31, 3) data = data.astype(byteorder + kind) data[16, 14] = [0, 0, 0] data[16, 15] = [low, high, low] data[16, 16] = [high, low, high] data[16, 17] = [low, high, low] data[16, 18] = [high, low, high] data[16, 19] = [0, 0, 0] if kind == 'B': # data = data.reshape(-1) data = data.tobytes() diff = encode_py(data, axis=0) if output == 'new': if codec == 'encode': encoded = encode(data, out=bytetype) assert encoded == diff elif codec == 'decode': decoded = decode(diff, out=bytetype) assert decoded == data elif output == 'out': if codec == 'encode': encoded = bytetype(len(data)) if bytetype == bytes: with pytest.raises(TypeError): encode(data, out=encoded) else: encode(data, out=encoded) assert encoded == diff elif codec == 'decode': decoded = bytetype(len(data)) if bytetype == bytes: with pytest.raises(TypeError): decode(diff, out=decoded) else: decode(diff, out=decoded) assert decoded == data elif output == 'inplace': if codec == 'encode': encoded = bytetype(data) if bytetype == bytes: with pytest.raises(TypeError): encode(encoded, out=encoded) else: encode(encoded, out=encoded) assert encoded == diff elif codec == 'decode': decoded = bytetype(diff) if bytetype == bytes: with pytest.raises(TypeError): decode(decoded, out=decoded) else: decode(decoded, out=decoded) assert decoded == data else: # if func == 'xor' and kind in ('f4', 'f8'): # with pytest.raises(ValueError): # encode(data, axis=axis) # pytest.xfail("XOR codec not implemented for float data") > diff = encode_py(data, axis=-2) tests/test_imagecodecs.py:598: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ data = array([[[1201871104, 1199183104, 1178255360], [3339974400, 1196726272, 1191302656], [3330664448, 12033...1302784, 1185257472, 3341239808], [1201879296, 1197710336, 3351330304]]], shape=(33, 31, 3), dtype='>> delta_encode(b'0123456789') b'0\x01\x01\x01\x01\x01\x01\x01\x01\x01' """ if dist != 1: raise NotImplementedError(f'dist {dist} not implemented') if isinstance(data, (bytes, bytearray)): data = numpy.frombuffer(data, dtype='u1') diff = numpy.diff(data, axis=0) return numpy.insert(diff, 0, data[0]).tobytes() dtype = data.dtype if dtype.kind == 'f': data = data.view(f'{dtype.byteorder}u{dtype.itemsize}') # diff = numpy.diff(data, axis=axis) key = [slice(None)] * data.ndim key[axis] = 0 diff = numpy.insert(diff, 0, data[tuple(key)], axis=axis) > diff = diff if data.dtype.isnative else diff.byteswap(True).newbyteorder() E AttributeError: `newbyteorder` was removed from the ndarray class in NumPy 2.0. Use `arr.view(arr.dtype.newbyteorder(order))` instead. ../BUILDROOT/usr/lib64/python3.13/site-packages/imagecodecs/_imagecodecs.py:271: AttributeError ____________________ test_delta[delta-<-f4-encode-inplace] _____________________ output = 'inplace', byteorder = '<', kind = 'f4', codec = 'encode' func = 'delta' @pytest.mark.filterwarnings('ignore:invalid value encountered') @pytest.mark.parametrize('output', ['new', 'out', 'inplace']) @pytest.mark.parametrize('codec', ['encode', 'decode']) @pytest.mark.parametrize( 'kind', ['u1', 'u2', 'u4', 'u8', 'i1', 'i2', 'i4', 'i8', 'f4', 'f8', 'B', 'b'], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('func', ['delta', 'xor']) def test_delta(output, byteorder, kind, codec, func): """Test Delta codec.""" # if byteorder == '>' and numpy.dtype(kind).itemsize == 1: # pytest.skip('duplicate test') if func == 'delta': if not imagecodecs.DELTA: pytest.skip('Delta missing') encode = imagecodecs.delta_encode decode = imagecodecs.delta_decode encode_py = _imagecodecs.delta_encode # decode_py = _imagecodecs.delta_decode elif func == 'xor': if not imagecodecs.XOR: pytest.skip('Xor missing') encode = imagecodecs.xor_encode decode = imagecodecs.xor_decode encode_py = _imagecodecs.xor_encode # decode_py = _imagecodecs.xor_decode bytetype = bytearray if kind == 'b': bytetype = bytes kind = 'B' axis = -2 # do not change if kind[0] in 'iuB': low = numpy.iinfo(kind).min high = numpy.iinfo(kind).max data = numpy.random.randint( low, high, size=33 * 31 * 3, dtype=kind ).reshape(33, 31, 3) else: # floating point low, high = -1e5, 1e5 data = numpy.random.randint( low, high, size=33 * 31 * 3, dtype='i4' ).reshape(33, 31, 3) data = data.astype(byteorder + kind) data[16, 14] = [0, 0, 0] data[16, 15] = [low, high, low] data[16, 16] = [high, low, high] data[16, 17] = [low, high, low] data[16, 18] = [high, low, high] data[16, 19] = [0, 0, 0] if kind == 'B': # data = data.reshape(-1) data = data.tobytes() diff = encode_py(data, axis=0) if output == 'new': if codec == 'encode': encoded = encode(data, out=bytetype) assert encoded == diff elif codec == 'decode': decoded = decode(diff, out=bytetype) assert decoded == data elif output == 'out': if codec == 'encode': encoded = bytetype(len(data)) if bytetype == bytes: with pytest.raises(TypeError): encode(data, out=encoded) else: encode(data, out=encoded) assert encoded == diff elif codec == 'decode': decoded = bytetype(len(data)) if bytetype == bytes: with pytest.raises(TypeError): decode(diff, out=decoded) else: decode(diff, out=decoded) assert decoded == data elif output == 'inplace': if codec == 'encode': encoded = bytetype(data) if bytetype == bytes: with pytest.raises(TypeError): encode(encoded, out=encoded) else: encode(encoded, out=encoded) assert encoded == diff elif codec == 'decode': decoded = bytetype(diff) if bytetype == bytes: with pytest.raises(TypeError): decode(decoded, out=decoded) else: decode(decoded, out=decoded) assert decoded == data else: # if func == 'xor' and kind in ('f4', 'f8'): # with pytest.raises(ValueError): # encode(data, axis=axis) # pytest.xfail("XOR codec not implemented for float data") > diff = encode_py(data, axis=-2) tests/test_imagecodecs.py:598: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ data = array([[[3350323200, 3348062720, 1160151040], [1203518336, 3345428224, 3351057024], [1194795008, 33509...7397248, 1196792064, 3341872640], [1200878336, 3346125568, 1200329984]]], shape=(33, 31, 3), dtype='>> delta_encode(b'0123456789') b'0\x01\x01\x01\x01\x01\x01\x01\x01\x01' """ if dist != 1: raise NotImplementedError(f'dist {dist} not implemented') if isinstance(data, (bytes, bytearray)): data = numpy.frombuffer(data, dtype='u1') diff = numpy.diff(data, axis=0) return numpy.insert(diff, 0, data[0]).tobytes() dtype = data.dtype if dtype.kind == 'f': data = data.view(f'{dtype.byteorder}u{dtype.itemsize}') # diff = numpy.diff(data, axis=axis) key = [slice(None)] * data.ndim key[axis] = 0 diff = numpy.insert(diff, 0, data[tuple(key)], axis=axis) > diff = diff if data.dtype.isnative else diff.byteswap(True).newbyteorder() E AttributeError: `newbyteorder` was removed from the ndarray class in NumPy 2.0. Use `arr.view(arr.dtype.newbyteorder(order))` instead. ../BUILDROOT/usr/lib64/python3.13/site-packages/imagecodecs/_imagecodecs.py:271: AttributeError ______________________ test_delta[delta-<-f4-decode-new] _______________________ output = 'new', byteorder = '<', kind = 'f4', codec = 'decode', func = 'delta' @pytest.mark.filterwarnings('ignore:invalid value encountered') @pytest.mark.parametrize('output', ['new', 'out', 'inplace']) @pytest.mark.parametrize('codec', ['encode', 'decode']) @pytest.mark.parametrize( 'kind', ['u1', 'u2', 'u4', 'u8', 'i1', 'i2', 'i4', 'i8', 'f4', 'f8', 'B', 'b'], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('func', ['delta', 'xor']) def test_delta(output, byteorder, kind, codec, func): """Test Delta codec.""" # if byteorder == '>' and numpy.dtype(kind).itemsize == 1: # pytest.skip('duplicate test') if func == 'delta': if not imagecodecs.DELTA: pytest.skip('Delta missing') encode = imagecodecs.delta_encode decode = imagecodecs.delta_decode encode_py = _imagecodecs.delta_encode # decode_py = _imagecodecs.delta_decode elif func == 'xor': if not imagecodecs.XOR: pytest.skip('Xor missing') encode = imagecodecs.xor_encode decode = imagecodecs.xor_decode encode_py = _imagecodecs.xor_encode # decode_py = _imagecodecs.xor_decode bytetype = bytearray if kind == 'b': bytetype = bytes kind = 'B' axis = -2 # do not change if kind[0] in 'iuB': low = numpy.iinfo(kind).min high = numpy.iinfo(kind).max data = numpy.random.randint( low, high, size=33 * 31 * 3, dtype=kind ).reshape(33, 31, 3) else: # floating point low, high = -1e5, 1e5 data = numpy.random.randint( low, high, size=33 * 31 * 3, dtype='i4' ).reshape(33, 31, 3) data = data.astype(byteorder + kind) data[16, 14] = [0, 0, 0] data[16, 15] = [low, high, low] data[16, 16] = [high, low, high] data[16, 17] = [low, high, low] data[16, 18] = [high, low, high] data[16, 19] = [0, 0, 0] if kind == 'B': # data = data.reshape(-1) data = data.tobytes() diff = encode_py(data, axis=0) if output == 'new': if codec == 'encode': encoded = encode(data, out=bytetype) assert encoded == diff elif codec == 'decode': decoded = decode(diff, out=bytetype) assert decoded == data elif output == 'out': if codec == 'encode': encoded = bytetype(len(data)) if bytetype == bytes: with pytest.raises(TypeError): encode(data, out=encoded) else: encode(data, out=encoded) assert encoded == diff elif codec == 'decode': decoded = bytetype(len(data)) if bytetype == bytes: with pytest.raises(TypeError): decode(diff, out=decoded) else: decode(diff, out=decoded) assert decoded == data elif output == 'inplace': if codec == 'encode': encoded = bytetype(data) if bytetype == bytes: with pytest.raises(TypeError): encode(encoded, out=encoded) else: encode(encoded, out=encoded) assert encoded == diff elif codec == 'decode': decoded = bytetype(diff) if bytetype == bytes: with pytest.raises(TypeError): decode(decoded, out=decoded) else: decode(decoded, out=decoded) assert decoded == data else: # if func == 'xor' and kind in ('f4', 'f8'): # with pytest.raises(ValueError): # encode(data, axis=axis) # pytest.xfail("XOR codec not implemented for float data") > diff = encode_py(data, axis=-2) tests/test_imagecodecs.py:598: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ data = array([[[1203480448, 3347945600, 3347561344], [3344693248, 3350861696, 3344763392], [3346247424, 33418...2865408, 3345591040, 1190272000], [1202467072, 1201822592, 1157722112]]], shape=(33, 31, 3), dtype='>> delta_encode(b'0123456789') b'0\x01\x01\x01\x01\x01\x01\x01\x01\x01' """ if dist != 1: raise NotImplementedError(f'dist {dist} not implemented') if isinstance(data, (bytes, bytearray)): data = numpy.frombuffer(data, dtype='u1') diff = numpy.diff(data, axis=0) return numpy.insert(diff, 0, data[0]).tobytes() dtype = data.dtype if dtype.kind == 'f': data = data.view(f'{dtype.byteorder}u{dtype.itemsize}') # diff = numpy.diff(data, axis=axis) key = [slice(None)] * data.ndim key[axis] = 0 diff = numpy.insert(diff, 0, data[tuple(key)], axis=axis) > diff = diff if data.dtype.isnative else diff.byteswap(True).newbyteorder() E AttributeError: `newbyteorder` was removed from the ndarray class in NumPy 2.0. Use `arr.view(arr.dtype.newbyteorder(order))` instead. ../BUILDROOT/usr/lib64/python3.13/site-packages/imagecodecs/_imagecodecs.py:271: AttributeError ______________________ test_delta[delta-<-f4-decode-out] _______________________ output = 'out', byteorder = '<', kind = 'f4', codec = 'decode', func = 'delta' @pytest.mark.filterwarnings('ignore:invalid value encountered') @pytest.mark.parametrize('output', ['new', 'out', 'inplace']) @pytest.mark.parametrize('codec', ['encode', 'decode']) @pytest.mark.parametrize( 'kind', ['u1', 'u2', 'u4', 'u8', 'i1', 'i2', 'i4', 'i8', 'f4', 'f8', 'B', 'b'], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('func', ['delta', 'xor']) def test_delta(output, byteorder, kind, codec, func): """Test Delta codec.""" # if byteorder == '>' and numpy.dtype(kind).itemsize == 1: # pytest.skip('duplicate test') if func == 'delta': if not imagecodecs.DELTA: pytest.skip('Delta missing') encode = imagecodecs.delta_encode decode = imagecodecs.delta_decode encode_py = _imagecodecs.delta_encode # decode_py = _imagecodecs.delta_decode elif func == 'xor': if not imagecodecs.XOR: pytest.skip('Xor missing') encode = imagecodecs.xor_encode decode = imagecodecs.xor_decode encode_py = _imagecodecs.xor_encode # decode_py = _imagecodecs.xor_decode bytetype = bytearray if kind == 'b': bytetype = bytes kind = 'B' axis = -2 # do not change if kind[0] in 'iuB': low = numpy.iinfo(kind).min high = numpy.iinfo(kind).max data = numpy.random.randint( low, high, size=33 * 31 * 3, dtype=kind ).reshape(33, 31, 3) else: # floating point low, high = -1e5, 1e5 data = numpy.random.randint( low, high, size=33 * 31 * 3, dtype='i4' ).reshape(33, 31, 3) data = data.astype(byteorder + kind) data[16, 14] = [0, 0, 0] data[16, 15] = [low, high, low] data[16, 16] = [high, low, high] data[16, 17] = [low, high, low] data[16, 18] = [high, low, high] data[16, 19] = [0, 0, 0] if kind == 'B': # data = data.reshape(-1) data = data.tobytes() diff = encode_py(data, axis=0) if output == 'new': if codec == 'encode': encoded = encode(data, out=bytetype) assert encoded == diff elif codec == 'decode': decoded = decode(diff, out=bytetype) assert decoded == data elif output == 'out': if codec == 'encode': encoded = bytetype(len(data)) if bytetype == bytes: with pytest.raises(TypeError): encode(data, out=encoded) else: encode(data, out=encoded) assert encoded == diff elif codec == 'decode': decoded = bytetype(len(data)) if bytetype == bytes: with pytest.raises(TypeError): decode(diff, out=decoded) else: decode(diff, out=decoded) assert decoded == data elif output == 'inplace': if codec == 'encode': encoded = bytetype(data) if bytetype == bytes: with pytest.raises(TypeError): encode(encoded, out=encoded) else: encode(encoded, out=encoded) assert encoded == diff elif codec == 'decode': decoded = bytetype(diff) if bytetype == bytes: with pytest.raises(TypeError): decode(decoded, out=decoded) else: decode(decoded, out=decoded) assert decoded == data else: # if func == 'xor' and kind in ('f4', 'f8'): # with pytest.raises(ValueError): # encode(data, axis=axis) # pytest.xfail("XOR codec not implemented for float data") > diff = encode_py(data, axis=-2) tests/test_imagecodecs.py:598: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ data = array([[[1158582272, 3340486144, 3347260160], [3348423680, 1165336576, 3336579072], [1194033408, 33456...1588864, 1195970816, 1200104448], [1160531968, 3330913280, 1192344576]]], shape=(33, 31, 3), dtype='>> delta_encode(b'0123456789') b'0\x01\x01\x01\x01\x01\x01\x01\x01\x01' """ if dist != 1: raise NotImplementedError(f'dist {dist} not implemented') if isinstance(data, (bytes, bytearray)): data = numpy.frombuffer(data, dtype='u1') diff = numpy.diff(data, axis=0) return numpy.insert(diff, 0, data[0]).tobytes() dtype = data.dtype if dtype.kind == 'f': data = data.view(f'{dtype.byteorder}u{dtype.itemsize}') # diff = numpy.diff(data, axis=axis) key = [slice(None)] * data.ndim key[axis] = 0 diff = numpy.insert(diff, 0, data[tuple(key)], axis=axis) > diff = diff if data.dtype.isnative else diff.byteswap(True).newbyteorder() E AttributeError: `newbyteorder` was removed from the ndarray class in NumPy 2.0. Use `arr.view(arr.dtype.newbyteorder(order))` instead. ../BUILDROOT/usr/lib64/python3.13/site-packages/imagecodecs/_imagecodecs.py:271: AttributeError ____________________ test_delta[delta-<-f4-decode-inplace] _____________________ output = 'inplace', byteorder = '<', kind = 'f4', codec = 'decode' func = 'delta' @pytest.mark.filterwarnings('ignore:invalid value encountered') @pytest.mark.parametrize('output', ['new', 'out', 'inplace']) @pytest.mark.parametrize('codec', ['encode', 'decode']) @pytest.mark.parametrize( 'kind', ['u1', 'u2', 'u4', 'u8', 'i1', 'i2', 'i4', 'i8', 'f4', 'f8', 'B', 'b'], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('func', ['delta', 'xor']) def test_delta(output, byteorder, kind, codec, func): """Test Delta codec.""" # if byteorder == '>' and numpy.dtype(kind).itemsize == 1: # pytest.skip('duplicate test') if func == 'delta': if not imagecodecs.DELTA: pytest.skip('Delta missing') encode = imagecodecs.delta_encode decode = imagecodecs.delta_decode encode_py = _imagecodecs.delta_encode # decode_py = _imagecodecs.delta_decode elif func == 'xor': if not imagecodecs.XOR: pytest.skip('Xor missing') encode = imagecodecs.xor_encode decode = imagecodecs.xor_decode encode_py = _imagecodecs.xor_encode # decode_py = _imagecodecs.xor_decode bytetype = bytearray if kind == 'b': bytetype = bytes kind = 'B' axis = -2 # do not change if kind[0] in 'iuB': low = numpy.iinfo(kind).min high = numpy.iinfo(kind).max data = numpy.random.randint( low, high, size=33 * 31 * 3, dtype=kind ).reshape(33, 31, 3) else: # floating point low, high = -1e5, 1e5 data = numpy.random.randint( low, high, size=33 * 31 * 3, dtype='i4' ).reshape(33, 31, 3) data = data.astype(byteorder + kind) data[16, 14] = [0, 0, 0] data[16, 15] = [low, high, low] data[16, 16] = [high, low, high] data[16, 17] = [low, high, low] data[16, 18] = [high, low, high] data[16, 19] = [0, 0, 0] if kind == 'B': # data = data.reshape(-1) data = data.tobytes() diff = encode_py(data, axis=0) if output == 'new': if codec == 'encode': encoded = encode(data, out=bytetype) assert encoded == diff elif codec == 'decode': decoded = decode(diff, out=bytetype) assert decoded == data elif output == 'out': if codec == 'encode': encoded = bytetype(len(data)) if bytetype == bytes: with pytest.raises(TypeError): encode(data, out=encoded) else: encode(data, out=encoded) assert encoded == diff elif codec == 'decode': decoded = bytetype(len(data)) if bytetype == bytes: with pytest.raises(TypeError): decode(diff, out=decoded) else: decode(diff, out=decoded) assert decoded == data elif output == 'inplace': if codec == 'encode': encoded = bytetype(data) if bytetype == bytes: with pytest.raises(TypeError): encode(encoded, out=encoded) else: encode(encoded, out=encoded) assert encoded == diff elif codec == 'decode': decoded = bytetype(diff) if bytetype == bytes: with pytest.raises(TypeError): decode(decoded, out=decoded) else: decode(decoded, out=decoded) assert decoded == data else: # if func == 'xor' and kind in ('f4', 'f8'): # with pytest.raises(ValueError): # encode(data, axis=axis) # pytest.xfail("XOR codec not implemented for float data") > diff = encode_py(data, axis=-2) tests/test_imagecodecs.py:598: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ data = array([[[3305914368, 1196734208, 1199549184], [1195171072, 1200387200, 3310899200], [3317841920, 33244...0435584, 1200257664, 3339153920], [1202512256, 1187715072, 1197968640]]], shape=(33, 31, 3), dtype='>> delta_encode(b'0123456789') b'0\x01\x01\x01\x01\x01\x01\x01\x01\x01' """ if dist != 1: raise NotImplementedError(f'dist {dist} not implemented') if isinstance(data, (bytes, bytearray)): data = numpy.frombuffer(data, dtype='u1') diff = numpy.diff(data, axis=0) return numpy.insert(diff, 0, data[0]).tobytes() dtype = data.dtype if dtype.kind == 'f': data = data.view(f'{dtype.byteorder}u{dtype.itemsize}') # diff = numpy.diff(data, axis=axis) key = [slice(None)] * data.ndim key[axis] = 0 diff = numpy.insert(diff, 0, data[tuple(key)], axis=axis) > diff = diff if data.dtype.isnative else diff.byteswap(True).newbyteorder() E AttributeError: `newbyteorder` was removed from the ndarray class in NumPy 2.0. Use `arr.view(arr.dtype.newbyteorder(order))` instead. ../BUILDROOT/usr/lib64/python3.13/site-packages/imagecodecs/_imagecodecs.py:271: AttributeError ______________________ test_delta[delta-<-f8-encode-new] _______________________ output = 'new', byteorder = '<', kind = 'f8', codec = 'encode', func = 'delta' @pytest.mark.filterwarnings('ignore:invalid value encountered') @pytest.mark.parametrize('output', ['new', 'out', 'inplace']) @pytest.mark.parametrize('codec', ['encode', 'decode']) @pytest.mark.parametrize( 'kind', ['u1', 'u2', 'u4', 'u8', 'i1', 'i2', 'i4', 'i8', 'f4', 'f8', 'B', 'b'], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('func', ['delta', 'xor']) def test_delta(output, byteorder, kind, codec, func): """Test Delta codec.""" # if byteorder == '>' and numpy.dtype(kind).itemsize == 1: # pytest.skip('duplicate test') if func == 'delta': if not imagecodecs.DELTA: pytest.skip('Delta missing') encode = imagecodecs.delta_encode decode = imagecodecs.delta_decode encode_py = _imagecodecs.delta_encode # decode_py = _imagecodecs.delta_decode elif func == 'xor': if not imagecodecs.XOR: pytest.skip('Xor missing') encode = imagecodecs.xor_encode decode = imagecodecs.xor_decode encode_py = _imagecodecs.xor_encode # decode_py = _imagecodecs.xor_decode bytetype = bytearray if kind == 'b': bytetype = bytes kind = 'B' axis = -2 # do not change if kind[0] in 'iuB': low = numpy.iinfo(kind).min high = numpy.iinfo(kind).max data = numpy.random.randint( low, high, size=33 * 31 * 3, dtype=kind ).reshape(33, 31, 3) else: # floating point low, high = -1e5, 1e5 data = numpy.random.randint( low, high, size=33 * 31 * 3, dtype='i4' ).reshape(33, 31, 3) data = data.astype(byteorder + kind) data[16, 14] = [0, 0, 0] data[16, 15] = [low, high, low] data[16, 16] = [high, low, high] data[16, 17] = [low, high, low] data[16, 18] = [high, low, high] data[16, 19] = [0, 0, 0] if kind == 'B': # data = data.reshape(-1) data = data.tobytes() diff = encode_py(data, axis=0) if output == 'new': if codec == 'encode': encoded = encode(data, out=bytetype) assert encoded == diff elif codec == 'decode': decoded = decode(diff, out=bytetype) assert decoded == data elif output == 'out': if codec == 'encode': encoded = bytetype(len(data)) if bytetype == bytes: with pytest.raises(TypeError): encode(data, out=encoded) else: encode(data, out=encoded) assert encoded == diff elif codec == 'decode': decoded = bytetype(len(data)) if bytetype == bytes: with pytest.raises(TypeError): decode(diff, out=decoded) else: decode(diff, out=decoded) assert decoded == data elif output == 'inplace': if codec == 'encode': encoded = bytetype(data) if bytetype == bytes: with pytest.raises(TypeError): encode(encoded, out=encoded) else: encode(encoded, out=encoded) assert encoded == diff elif codec == 'decode': decoded = bytetype(diff) if bytetype == bytes: with pytest.raises(TypeError): decode(decoded, out=decoded) else: decode(decoded, out=decoded) assert decoded == data else: # if func == 'xor' and kind in ('f4', 'f8'): # with pytest.raises(ValueError): # encode(data, axis=axis) # pytest.xfail("XOR codec not implemented for float data") > diff = encode_py(data, axis=-2) tests/test_imagecodecs.py:598: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ data = array([[[13899464835097165824, 4644583406330445824, 13897812131681665024], [13899785342736662528, 4... [13902856416151994368, 13898243827434520576, 13898668101483888640]]], shape=(33, 31, 3), dtype='>> delta_encode(b'0123456789') b'0\x01\x01\x01\x01\x01\x01\x01\x01\x01' """ if dist != 1: raise NotImplementedError(f'dist {dist} not implemented') if isinstance(data, (bytes, bytearray)): data = numpy.frombuffer(data, dtype='u1') diff = numpy.diff(data, axis=0) return numpy.insert(diff, 0, data[0]).tobytes() dtype = data.dtype if dtype.kind == 'f': data = data.view(f'{dtype.byteorder}u{dtype.itemsize}') # diff = numpy.diff(data, axis=axis) key = [slice(None)] * data.ndim key[axis] = 0 diff = numpy.insert(diff, 0, data[tuple(key)], axis=axis) > diff = diff if data.dtype.isnative else diff.byteswap(True).newbyteorder() E AttributeError: `newbyteorder` was removed from the ndarray class in NumPy 2.0. Use `arr.view(arr.dtype.newbyteorder(order))` instead. ../BUILDROOT/usr/lib64/python3.13/site-packages/imagecodecs/_imagecodecs.py:271: AttributeError ______________________ test_delta[delta-<-f8-encode-out] _______________________ output = 'out', byteorder = '<', kind = 'f8', codec = 'encode', func = 'delta' @pytest.mark.filterwarnings('ignore:invalid value encountered') @pytest.mark.parametrize('output', ['new', 'out', 'inplace']) @pytest.mark.parametrize('codec', ['encode', 'decode']) @pytest.mark.parametrize( 'kind', ['u1', 'u2', 'u4', 'u8', 'i1', 'i2', 'i4', 'i8', 'f4', 'f8', 'B', 'b'], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('func', ['delta', 'xor']) def test_delta(output, byteorder, kind, codec, func): """Test Delta codec.""" # if byteorder == '>' and numpy.dtype(kind).itemsize == 1: # pytest.skip('duplicate test') if func == 'delta': if not imagecodecs.DELTA: pytest.skip('Delta missing') encode = imagecodecs.delta_encode decode = imagecodecs.delta_decode encode_py = _imagecodecs.delta_encode # decode_py = _imagecodecs.delta_decode elif func == 'xor': if not imagecodecs.XOR: pytest.skip('Xor missing') encode = imagecodecs.xor_encode decode = imagecodecs.xor_decode encode_py = _imagecodecs.xor_encode # decode_py = _imagecodecs.xor_decode bytetype = bytearray if kind == 'b': bytetype = bytes kind = 'B' axis = -2 # do not change if kind[0] in 'iuB': low = numpy.iinfo(kind).min high = numpy.iinfo(kind).max data = numpy.random.randint( low, high, size=33 * 31 * 3, dtype=kind ).reshape(33, 31, 3) else: # floating point low, high = -1e5, 1e5 data = numpy.random.randint( low, high, size=33 * 31 * 3, dtype='i4' ).reshape(33, 31, 3) data = data.astype(byteorder + kind) data[16, 14] = [0, 0, 0] data[16, 15] = [low, high, low] data[16, 16] = [high, low, high] data[16, 17] = [low, high, low] data[16, 18] = [high, low, high] data[16, 19] = [0, 0, 0] if kind == 'B': # data = data.reshape(-1) data = data.tobytes() diff = encode_py(data, axis=0) if output == 'new': if codec == 'encode': encoded = encode(data, out=bytetype) assert encoded == diff elif codec == 'decode': decoded = decode(diff, out=bytetype) assert decoded == data elif output == 'out': if codec == 'encode': encoded = bytetype(len(data)) if bytetype == bytes: with pytest.raises(TypeError): encode(data, out=encoded) else: encode(data, out=encoded) assert encoded == diff elif codec == 'decode': decoded = bytetype(len(data)) if bytetype == bytes: with pytest.raises(TypeError): decode(diff, out=decoded) else: decode(diff, out=decoded) assert decoded == data elif output == 'inplace': if codec == 'encode': encoded = bytetype(data) if bytetype == bytes: with pytest.raises(TypeError): encode(encoded, out=encoded) else: encode(encoded, out=encoded) assert encoded == diff elif codec == 'decode': decoded = bytetype(diff) if bytetype == bytes: with pytest.raises(TypeError): decode(decoded, out=decoded) else: decode(decoded, out=decoded) assert decoded == data else: # if func == 'xor' and kind in ('f4', 'f8'): # with pytest.raises(ValueError): # encode(data, axis=axis) # pytest.xfail("XOR codec not implemented for float data") > diff = encode_py(data, axis=-2) tests/test_imagecodecs.py:598: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ data = array([[[13904656110528233472, 4654835252747829248, 4670057991234387968], [ 4677741378489286656, 13... [ 4676955777431240704, 4681034896850812928, 4670525558554099712]]], shape=(33, 31, 3), dtype='>> delta_encode(b'0123456789') b'0\x01\x01\x01\x01\x01\x01\x01\x01\x01' """ if dist != 1: raise NotImplementedError(f'dist {dist} not implemented') if isinstance(data, (bytes, bytearray)): data = numpy.frombuffer(data, dtype='u1') diff = numpy.diff(data, axis=0) return numpy.insert(diff, 0, data[0]).tobytes() dtype = data.dtype if dtype.kind == 'f': data = data.view(f'{dtype.byteorder}u{dtype.itemsize}') # diff = numpy.diff(data, axis=axis) key = [slice(None)] * data.ndim key[axis] = 0 diff = numpy.insert(diff, 0, data[tuple(key)], axis=axis) > diff = diff if data.dtype.isnative else diff.byteswap(True).newbyteorder() E AttributeError: `newbyteorder` was removed from the ndarray class in NumPy 2.0. Use `arr.view(arr.dtype.newbyteorder(order))` instead. ../BUILDROOT/usr/lib64/python3.13/site-packages/imagecodecs/_imagecodecs.py:271: AttributeError ____________________ test_delta[delta-<-f8-encode-inplace] _____________________ output = 'inplace', byteorder = '<', kind = 'f8', codec = 'encode' func = 'delta' @pytest.mark.filterwarnings('ignore:invalid value encountered') @pytest.mark.parametrize('output', ['new', 'out', 'inplace']) @pytest.mark.parametrize('codec', ['encode', 'decode']) @pytest.mark.parametrize( 'kind', ['u1', 'u2', 'u4', 'u8', 'i1', 'i2', 'i4', 'i8', 'f4', 'f8', 'B', 'b'], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('func', ['delta', 'xor']) def test_delta(output, byteorder, kind, codec, func): """Test Delta codec.""" # if byteorder == '>' and numpy.dtype(kind).itemsize == 1: # pytest.skip('duplicate test') if func == 'delta': if not imagecodecs.DELTA: pytest.skip('Delta missing') encode = imagecodecs.delta_encode decode = imagecodecs.delta_decode encode_py = _imagecodecs.delta_encode # decode_py = _imagecodecs.delta_decode elif func == 'xor': if not imagecodecs.XOR: pytest.skip('Xor missing') encode = imagecodecs.xor_encode decode = imagecodecs.xor_decode encode_py = _imagecodecs.xor_encode # decode_py = _imagecodecs.xor_decode bytetype = bytearray if kind == 'b': bytetype = bytes kind = 'B' axis = -2 # do not change if kind[0] in 'iuB': low = numpy.iinfo(kind).min high = numpy.iinfo(kind).max data = numpy.random.randint( low, high, size=33 * 31 * 3, dtype=kind ).reshape(33, 31, 3) else: # floating point low, high = -1e5, 1e5 data = numpy.random.randint( low, high, size=33 * 31 * 3, dtype='i4' ).reshape(33, 31, 3) data = data.astype(byteorder + kind) data[16, 14] = [0, 0, 0] data[16, 15] = [low, high, low] data[16, 16] = [high, low, high] data[16, 17] = [low, high, low] data[16, 18] = [high, low, high] data[16, 19] = [0, 0, 0] if kind == 'B': # data = data.reshape(-1) data = data.tobytes() diff = encode_py(data, axis=0) if output == 'new': if codec == 'encode': encoded = encode(data, out=bytetype) assert encoded == diff elif codec == 'decode': decoded = decode(diff, out=bytetype) assert decoded == data elif output == 'out': if codec == 'encode': encoded = bytetype(len(data)) if bytetype == bytes: with pytest.raises(TypeError): encode(data, out=encoded) else: encode(data, out=encoded) assert encoded == diff elif codec == 'decode': decoded = bytetype(len(data)) if bytetype == bytes: with pytest.raises(TypeError): decode(diff, out=decoded) else: decode(diff, out=decoded) assert decoded == data elif output == 'inplace': if codec == 'encode': encoded = bytetype(data) if bytetype == bytes: with pytest.raises(TypeError): encode(encoded, out=encoded) else: encode(encoded, out=encoded) assert encoded == diff elif codec == 'decode': decoded = bytetype(diff) if bytetype == bytes: with pytest.raises(TypeError): decode(decoded, out=decoded) else: decode(decoded, out=decoded) assert decoded == data else: # if func == 'xor' and kind in ('f4', 'f8'): # with pytest.raises(ValueError): # encode(data, axis=axis) # pytest.xfail("XOR codec not implemented for float data") > diff = encode_py(data, axis=-2) tests/test_imagecodecs.py:598: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ data = array([[[13904279871393103872, 13894774455932026880, 13902124416285802496], [ 4675576027777335296, 4... [ 4671280373286567936, 13896183480083021824, 4680126700246269952]]], shape=(33, 31, 3), dtype='>> delta_encode(b'0123456789') b'0\x01\x01\x01\x01\x01\x01\x01\x01\x01' """ if dist != 1: raise NotImplementedError(f'dist {dist} not implemented') if isinstance(data, (bytes, bytearray)): data = numpy.frombuffer(data, dtype='u1') diff = numpy.diff(data, axis=0) return numpy.insert(diff, 0, data[0]).tobytes() dtype = data.dtype if dtype.kind == 'f': data = data.view(f'{dtype.byteorder}u{dtype.itemsize}') # diff = numpy.diff(data, axis=axis) key = [slice(None)] * data.ndim key[axis] = 0 diff = numpy.insert(diff, 0, data[tuple(key)], axis=axis) > diff = diff if data.dtype.isnative else diff.byteswap(True).newbyteorder() E AttributeError: `newbyteorder` was removed from the ndarray class in NumPy 2.0. Use `arr.view(arr.dtype.newbyteorder(order))` instead. ../BUILDROOT/usr/lib64/python3.13/site-packages/imagecodecs/_imagecodecs.py:271: AttributeError ______________________ test_delta[delta-<-f8-decode-new] _______________________ output = 'new', byteorder = '<', kind = 'f8', codec = 'decode', func = 'delta' @pytest.mark.filterwarnings('ignore:invalid value encountered') @pytest.mark.parametrize('output', ['new', 'out', 'inplace']) @pytest.mark.parametrize('codec', ['encode', 'decode']) @pytest.mark.parametrize( 'kind', ['u1', 'u2', 'u4', 'u8', 'i1', 'i2', 'i4', 'i8', 'f4', 'f8', 'B', 'b'], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('func', ['delta', 'xor']) def test_delta(output, byteorder, kind, codec, func): """Test Delta codec.""" # if byteorder == '>' and numpy.dtype(kind).itemsize == 1: # pytest.skip('duplicate test') if func == 'delta': if not imagecodecs.DELTA: pytest.skip('Delta missing') encode = imagecodecs.delta_encode decode = imagecodecs.delta_decode encode_py = _imagecodecs.delta_encode # decode_py = _imagecodecs.delta_decode elif func == 'xor': if not imagecodecs.XOR: pytest.skip('Xor missing') encode = imagecodecs.xor_encode decode = imagecodecs.xor_decode encode_py = _imagecodecs.xor_encode # decode_py = _imagecodecs.xor_decode bytetype = bytearray if kind == 'b': bytetype = bytes kind = 'B' axis = -2 # do not change if kind[0] in 'iuB': low = numpy.iinfo(kind).min high = numpy.iinfo(kind).max data = numpy.random.randint( low, high, size=33 * 31 * 3, dtype=kind ).reshape(33, 31, 3) else: # floating point low, high = -1e5, 1e5 data = numpy.random.randint( low, high, size=33 * 31 * 3, dtype='i4' ).reshape(33, 31, 3) data = data.astype(byteorder + kind) data[16, 14] = [0, 0, 0] data[16, 15] = [low, high, low] data[16, 16] = [high, low, high] data[16, 17] = [low, high, low] data[16, 18] = [high, low, high] data[16, 19] = [0, 0, 0] if kind == 'B': # data = data.reshape(-1) data = data.tobytes() diff = encode_py(data, axis=0) if output == 'new': if codec == 'encode': encoded = encode(data, out=bytetype) assert encoded == diff elif codec == 'decode': decoded = decode(diff, out=bytetype) assert decoded == data elif output == 'out': if codec == 'encode': encoded = bytetype(len(data)) if bytetype == bytes: with pytest.raises(TypeError): encode(data, out=encoded) else: encode(data, out=encoded) assert encoded == diff elif codec == 'decode': decoded = bytetype(len(data)) if bytetype == bytes: with pytest.raises(TypeError): decode(diff, out=decoded) else: decode(diff, out=decoded) assert decoded == data elif output == 'inplace': if codec == 'encode': encoded = bytetype(data) if bytetype == bytes: with pytest.raises(TypeError): encode(encoded, out=encoded) else: encode(encoded, out=encoded) assert encoded == diff elif codec == 'decode': decoded = bytetype(diff) if bytetype == bytes: with pytest.raises(TypeError): decode(decoded, out=decoded) else: decode(decoded, out=decoded) assert decoded == data else: # if func == 'xor' and kind in ('f4', 'f8'): # with pytest.raises(ValueError): # encode(data, axis=axis) # pytest.xfail("XOR codec not implemented for float data") > diff = encode_py(data, axis=-2) tests/test_imagecodecs.py:598: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ data = array([[[ 4681016205153140736, 4675658078832558080, 4676507176687108096], [13904104155691089920, 4... [13902246599515439104, 13896245602489991168, 4681591249734467584]]], shape=(33, 31, 3), dtype='>> delta_encode(b'0123456789') b'0\x01\x01\x01\x01\x01\x01\x01\x01\x01' """ if dist != 1: raise NotImplementedError(f'dist {dist} not implemented') if isinstance(data, (bytes, bytearray)): data = numpy.frombuffer(data, dtype='u1') diff = numpy.diff(data, axis=0) return numpy.insert(diff, 0, data[0]).tobytes() dtype = data.dtype if dtype.kind == 'f': data = data.view(f'{dtype.byteorder}u{dtype.itemsize}') # diff = numpy.diff(data, axis=axis) key = [slice(None)] * data.ndim key[axis] = 0 diff = numpy.insert(diff, 0, data[tuple(key)], axis=axis) > diff = diff if data.dtype.isnative else diff.byteswap(True).newbyteorder() E AttributeError: `newbyteorder` was removed from the ndarray class in NumPy 2.0. Use `arr.view(arr.dtype.newbyteorder(order))` instead. ../BUILDROOT/usr/lib64/python3.13/site-packages/imagecodecs/_imagecodecs.py:271: AttributeError ______________________ test_delta[delta-<-f8-decode-out] _______________________ output = 'out', byteorder = '<', kind = 'f8', codec = 'decode', func = 'delta' @pytest.mark.filterwarnings('ignore:invalid value encountered') @pytest.mark.parametrize('output', ['new', 'out', 'inplace']) @pytest.mark.parametrize('codec', ['encode', 'decode']) @pytest.mark.parametrize( 'kind', ['u1', 'u2', 'u4', 'u8', 'i1', 'i2', 'i4', 'i8', 'f4', 'f8', 'B', 'b'], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('func', ['delta', 'xor']) def test_delta(output, byteorder, kind, codec, func): """Test Delta codec.""" # if byteorder == '>' and numpy.dtype(kind).itemsize == 1: # pytest.skip('duplicate test') if func == 'delta': if not imagecodecs.DELTA: pytest.skip('Delta missing') encode = imagecodecs.delta_encode decode = imagecodecs.delta_decode encode_py = _imagecodecs.delta_encode # decode_py = _imagecodecs.delta_decode elif func == 'xor': if not imagecodecs.XOR: pytest.skip('Xor missing') encode = imagecodecs.xor_encode decode = imagecodecs.xor_decode encode_py = _imagecodecs.xor_encode # decode_py = _imagecodecs.xor_decode bytetype = bytearray if kind == 'b': bytetype = bytes kind = 'B' axis = -2 # do not change if kind[0] in 'iuB': low = numpy.iinfo(kind).min high = numpy.iinfo(kind).max data = numpy.random.randint( low, high, size=33 * 31 * 3, dtype=kind ).reshape(33, 31, 3) else: # floating point low, high = -1e5, 1e5 data = numpy.random.randint( low, high, size=33 * 31 * 3, dtype='i4' ).reshape(33, 31, 3) data = data.astype(byteorder + kind) data[16, 14] = [0, 0, 0] data[16, 15] = [low, high, low] data[16, 16] = [high, low, high] data[16, 17] = [low, high, low] data[16, 18] = [high, low, high] data[16, 19] = [0, 0, 0] if kind == 'B': # data = data.reshape(-1) data = data.tobytes() diff = encode_py(data, axis=0) if output == 'new': if codec == 'encode': encoded = encode(data, out=bytetype) assert encoded == diff elif codec == 'decode': decoded = decode(diff, out=bytetype) assert decoded == data elif output == 'out': if codec == 'encode': encoded = bytetype(len(data)) if bytetype == bytes: with pytest.raises(TypeError): encode(data, out=encoded) else: encode(data, out=encoded) assert encoded == diff elif codec == 'decode': decoded = bytetype(len(data)) if bytetype == bytes: with pytest.raises(TypeError): decode(diff, out=decoded) else: decode(diff, out=decoded) assert decoded == data elif output == 'inplace': if codec == 'encode': encoded = bytetype(data) if bytetype == bytes: with pytest.raises(TypeError): encode(encoded, out=encoded) else: encode(encoded, out=encoded) assert encoded == diff elif codec == 'decode': decoded = bytetype(diff) if bytetype == bytes: with pytest.raises(TypeError): decode(decoded, out=decoded) else: decode(decoded, out=decoded) assert decoded == data else: # if func == 'xor' and kind in ('f4', 'f8'): # with pytest.raises(ValueError): # encode(data, axis=axis) # pytest.xfail("XOR codec not implemented for float data") > diff = encode_py(data, axis=-2) tests/test_imagecodecs.py:598: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ data = array([[[ 4681132341068824576, 4678645589364178944, 13903403217028382720], [13903659059640270848, 4... [13903585598519640064, 13890845626008076288, 13902942040620007424]]], shape=(33, 31, 3), dtype='>> delta_encode(b'0123456789') b'0\x01\x01\x01\x01\x01\x01\x01\x01\x01' """ if dist != 1: raise NotImplementedError(f'dist {dist} not implemented') if isinstance(data, (bytes, bytearray)): data = numpy.frombuffer(data, dtype='u1') diff = numpy.diff(data, axis=0) return numpy.insert(diff, 0, data[0]).tobytes() dtype = data.dtype if dtype.kind == 'f': data = data.view(f'{dtype.byteorder}u{dtype.itemsize}') # diff = numpy.diff(data, axis=axis) key = [slice(None)] * data.ndim key[axis] = 0 diff = numpy.insert(diff, 0, data[tuple(key)], axis=axis) > diff = diff if data.dtype.isnative else diff.byteswap(True).newbyteorder() E AttributeError: `newbyteorder` was removed from the ndarray class in NumPy 2.0. Use `arr.view(arr.dtype.newbyteorder(order))` instead. ../BUILDROOT/usr/lib64/python3.13/site-packages/imagecodecs/_imagecodecs.py:271: AttributeError ____________________ test_delta[delta-<-f8-decode-inplace] _____________________ output = 'inplace', byteorder = '<', kind = 'f8', codec = 'decode' func = 'delta' @pytest.mark.filterwarnings('ignore:invalid value encountered') @pytest.mark.parametrize('output', ['new', 'out', 'inplace']) @pytest.mark.parametrize('codec', ['encode', 'decode']) @pytest.mark.parametrize( 'kind', ['u1', 'u2', 'u4', 'u8', 'i1', 'i2', 'i4', 'i8', 'f4', 'f8', 'B', 'b'], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('func', ['delta', 'xor']) def test_delta(output, byteorder, kind, codec, func): """Test Delta codec.""" # if byteorder == '>' and numpy.dtype(kind).itemsize == 1: # pytest.skip('duplicate test') if func == 'delta': if not imagecodecs.DELTA: pytest.skip('Delta missing') encode = imagecodecs.delta_encode decode = imagecodecs.delta_decode encode_py = _imagecodecs.delta_encode # decode_py = _imagecodecs.delta_decode elif func == 'xor': if not imagecodecs.XOR: pytest.skip('Xor missing') encode = imagecodecs.xor_encode decode = imagecodecs.xor_decode encode_py = _imagecodecs.xor_encode # decode_py = _imagecodecs.xor_decode bytetype = bytearray if kind == 'b': bytetype = bytes kind = 'B' axis = -2 # do not change if kind[0] in 'iuB': low = numpy.iinfo(kind).min high = numpy.iinfo(kind).max data = numpy.random.randint( low, high, size=33 * 31 * 3, dtype=kind ).reshape(33, 31, 3) else: # floating point low, high = -1e5, 1e5 data = numpy.random.randint( low, high, size=33 * 31 * 3, dtype='i4' ).reshape(33, 31, 3) data = data.astype(byteorder + kind) data[16, 14] = [0, 0, 0] data[16, 15] = [low, high, low] data[16, 16] = [high, low, high] data[16, 17] = [low, high, low] data[16, 18] = [high, low, high] data[16, 19] = [0, 0, 0] if kind == 'B': # data = data.reshape(-1) data = data.tobytes() diff = encode_py(data, axis=0) if output == 'new': if codec == 'encode': encoded = encode(data, out=bytetype) assert encoded == diff elif codec == 'decode': decoded = decode(diff, out=bytetype) assert decoded == data elif output == 'out': if codec == 'encode': encoded = bytetype(len(data)) if bytetype == bytes: with pytest.raises(TypeError): encode(data, out=encoded) else: encode(data, out=encoded) assert encoded == diff elif codec == 'decode': decoded = bytetype(len(data)) if bytetype == bytes: with pytest.raises(TypeError): decode(diff, out=decoded) else: decode(diff, out=decoded) assert decoded == data elif output == 'inplace': if codec == 'encode': encoded = bytetype(data) if bytetype == bytes: with pytest.raises(TypeError): encode(encoded, out=encoded) else: encode(encoded, out=encoded) assert encoded == diff elif codec == 'decode': decoded = bytetype(diff) if bytetype == bytes: with pytest.raises(TypeError): decode(decoded, out=decoded) else: decode(decoded, out=decoded) assert decoded == data else: # if func == 'xor' and kind in ('f4', 'f8'): # with pytest.raises(ValueError): # encode(data, axis=axis) # pytest.xfail("XOR codec not implemented for float data") > diff = encode_py(data, axis=-2) tests/test_imagecodecs.py:598: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ data = array([[[13899899966823858176, 13900034244681400320, 4677332635041660928], [13896462206280663040, 13... [13898788498007130112, 4657029877956870144, 4679763998848057344]]], shape=(33, 31, 3), dtype='>> delta_encode(b'0123456789') b'0\x01\x01\x01\x01\x01\x01\x01\x01\x01' """ if dist != 1: raise NotImplementedError(f'dist {dist} not implemented') if isinstance(data, (bytes, bytearray)): data = numpy.frombuffer(data, dtype='u1') diff = numpy.diff(data, axis=0) return numpy.insert(diff, 0, data[0]).tobytes() dtype = data.dtype if dtype.kind == 'f': data = data.view(f'{dtype.byteorder}u{dtype.itemsize}') # diff = numpy.diff(data, axis=axis) key = [slice(None)] * data.ndim key[axis] = 0 diff = numpy.insert(diff, 0, data[tuple(key)], axis=axis) > diff = diff if data.dtype.isnative else diff.byteswap(True).newbyteorder() E AttributeError: `newbyteorder` was removed from the ndarray class in NumPy 2.0. Use `arr.view(arr.dtype.newbyteorder(order))` instead. ../BUILDROOT/usr/lib64/python3.13/site-packages/imagecodecs/_imagecodecs.py:271: AttributeError _______________________ test_delta[xor-<-u2-encode-new] ________________________ output = 'new', byteorder = '<', kind = 'u2', codec = 'encode', func = 'xor' @pytest.mark.filterwarnings('ignore:invalid value encountered') @pytest.mark.parametrize('output', ['new', 'out', 'inplace']) @pytest.mark.parametrize('codec', ['encode', 'decode']) @pytest.mark.parametrize( 'kind', ['u1', 'u2', 'u4', 'u8', 'i1', 'i2', 'i4', 'i8', 'f4', 'f8', 'B', 'b'], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('func', ['delta', 'xor']) def test_delta(output, byteorder, kind, codec, func): """Test Delta codec.""" # if byteorder == '>' and numpy.dtype(kind).itemsize == 1: # pytest.skip('duplicate test') if func == 'delta': if not imagecodecs.DELTA: pytest.skip('Delta missing') encode = imagecodecs.delta_encode decode = imagecodecs.delta_decode encode_py = _imagecodecs.delta_encode # decode_py = _imagecodecs.delta_decode elif func == 'xor': if not imagecodecs.XOR: pytest.skip('Xor missing') encode = imagecodecs.xor_encode decode = imagecodecs.xor_decode encode_py = _imagecodecs.xor_encode # decode_py = _imagecodecs.xor_decode bytetype = bytearray if kind == 'b': bytetype = bytes kind = 'B' axis = -2 # do not change if kind[0] in 'iuB': low = numpy.iinfo(kind).min high = numpy.iinfo(kind).max data = numpy.random.randint( low, high, size=33 * 31 * 3, dtype=kind ).reshape(33, 31, 3) else: # floating point low, high = -1e5, 1e5 data = numpy.random.randint( low, high, size=33 * 31 * 3, dtype='i4' ).reshape(33, 31, 3) data = data.astype(byteorder + kind) data[16, 14] = [0, 0, 0] data[16, 15] = [low, high, low] data[16, 16] = [high, low, high] data[16, 17] = [low, high, low] data[16, 18] = [high, low, high] data[16, 19] = [0, 0, 0] if kind == 'B': # data = data.reshape(-1) data = data.tobytes() diff = encode_py(data, axis=0) if output == 'new': if codec == 'encode': encoded = encode(data, out=bytetype) assert encoded == diff elif codec == 'decode': decoded = decode(diff, out=bytetype) assert decoded == data elif output == 'out': if codec == 'encode': encoded = bytetype(len(data)) if bytetype == bytes: with pytest.raises(TypeError): encode(data, out=encoded) else: encode(data, out=encoded) assert encoded == diff elif codec == 'decode': decoded = bytetype(len(data)) if bytetype == bytes: with pytest.raises(TypeError): decode(diff, out=decoded) else: decode(diff, out=decoded) assert decoded == data elif output == 'inplace': if codec == 'encode': encoded = bytetype(data) if bytetype == bytes: with pytest.raises(TypeError): encode(encoded, out=encoded) else: encode(encoded, out=encoded) assert encoded == diff elif codec == 'decode': decoded = bytetype(diff) if bytetype == bytes: with pytest.raises(TypeError): decode(decoded, out=decoded) else: decode(decoded, out=decoded) assert decoded == data else: # if func == 'xor' and kind in ('f4', 'f8'): # with pytest.raises(ValueError): # encode(data, axis=axis) # pytest.xfail("XOR codec not implemented for float data") > diff = encode_py(data, axis=-2) tests/test_imagecodecs.py:598: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ data = array([[[18753, 47595, 53655], [54302, 25320, 48345], [55034, 61465, 63572], ..., [452... [59038, 490, 65041], [17499, 17940, 56055], [12974, 12633, 24121]]], shape=(33, 31, 3), dtype='>> xor_encode(b'0123456789') b'0\x01\x03\x01\x07\x01\x03\x01\x0f\x01' """ if isinstance(data, (bytes, bytearray)): data = numpy.frombuffer(data, dtype='u1') xor = numpy.bitwise_xor(data[1:], data[:-1]) return numpy.insert(xor, 0, data[0]).tobytes() dtype = data.dtype if dtype.kind == 'f': data = data.view(f'u{dtype.itemsize}') key = [slice(None)] * data.ndim key[axis] = 0 key0 = [slice(None)] * data.ndim key0[axis] = slice(1, None, None) key1 = [slice(None)] * data.ndim key1[axis] = slice(0, -1, None) key = tuple(key) key0 = tuple(key0) key1 = tuple(key1) xor = numpy.bitwise_xor(data[key0], data[key1]) xor = numpy.insert(xor, 0, data[key], axis=axis) if dtype.kind == 'f': return xor.view(dtype) elif not data.dtype.isnative: > xor = xor.byteswap(True).newbyteorder() E AttributeError: `newbyteorder` was removed from the ndarray class in NumPy 2.0. Use `arr.view(arr.dtype.newbyteorder(order))` instead. ../BUILDROOT/usr/lib64/python3.13/site-packages/imagecodecs/_imagecodecs.py:329: AttributeError _______________________ test_delta[xor-<-u2-encode-out] ________________________ output = 'out', byteorder = '<', kind = 'u2', codec = 'encode', func = 'xor' @pytest.mark.filterwarnings('ignore:invalid value encountered') @pytest.mark.parametrize('output', ['new', 'out', 'inplace']) @pytest.mark.parametrize('codec', ['encode', 'decode']) @pytest.mark.parametrize( 'kind', ['u1', 'u2', 'u4', 'u8', 'i1', 'i2', 'i4', 'i8', 'f4', 'f8', 'B', 'b'], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('func', ['delta', 'xor']) def test_delta(output, byteorder, kind, codec, func): """Test Delta codec.""" # if byteorder == '>' and numpy.dtype(kind).itemsize == 1: # pytest.skip('duplicate test') if func == 'delta': if not imagecodecs.DELTA: pytest.skip('Delta missing') encode = imagecodecs.delta_encode decode = imagecodecs.delta_decode encode_py = _imagecodecs.delta_encode # decode_py = _imagecodecs.delta_decode elif func == 'xor': if not imagecodecs.XOR: pytest.skip('Xor missing') encode = imagecodecs.xor_encode decode = imagecodecs.xor_decode encode_py = _imagecodecs.xor_encode # decode_py = _imagecodecs.xor_decode bytetype = bytearray if kind == 'b': bytetype = bytes kind = 'B' axis = -2 # do not change if kind[0] in 'iuB': low = numpy.iinfo(kind).min high = numpy.iinfo(kind).max data = numpy.random.randint( low, high, size=33 * 31 * 3, dtype=kind ).reshape(33, 31, 3) else: # floating point low, high = -1e5, 1e5 data = numpy.random.randint( low, high, size=33 * 31 * 3, dtype='i4' ).reshape(33, 31, 3) data = data.astype(byteorder + kind) data[16, 14] = [0, 0, 0] data[16, 15] = [low, high, low] data[16, 16] = [high, low, high] data[16, 17] = [low, high, low] data[16, 18] = [high, low, high] data[16, 19] = [0, 0, 0] if kind == 'B': # data = data.reshape(-1) data = data.tobytes() diff = encode_py(data, axis=0) if output == 'new': if codec == 'encode': encoded = encode(data, out=bytetype) assert encoded == diff elif codec == 'decode': decoded = decode(diff, out=bytetype) assert decoded == data elif output == 'out': if codec == 'encode': encoded = bytetype(len(data)) if bytetype == bytes: with pytest.raises(TypeError): encode(data, out=encoded) else: encode(data, out=encoded) assert encoded == diff elif codec == 'decode': decoded = bytetype(len(data)) if bytetype == bytes: with pytest.raises(TypeError): decode(diff, out=decoded) else: decode(diff, out=decoded) assert decoded == data elif output == 'inplace': if codec == 'encode': encoded = bytetype(data) if bytetype == bytes: with pytest.raises(TypeError): encode(encoded, out=encoded) else: encode(encoded, out=encoded) assert encoded == diff elif codec == 'decode': decoded = bytetype(diff) if bytetype == bytes: with pytest.raises(TypeError): decode(decoded, out=decoded) else: decode(decoded, out=decoded) assert decoded == data else: # if func == 'xor' and kind in ('f4', 'f8'): # with pytest.raises(ValueError): # encode(data, axis=axis) # pytest.xfail("XOR codec not implemented for float data") > diff = encode_py(data, axis=-2) tests/test_imagecodecs.py:598: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ data = array([[[11915, 53601, 55701], [21171, 30022, 15885], [10108, 55082, 60626], ..., [203... [20743, 39801, 15440], [ 8751, 52881, 3305], [45058, 32298, 26282]]], shape=(33, 31, 3), dtype='>> xor_encode(b'0123456789') b'0\x01\x03\x01\x07\x01\x03\x01\x0f\x01' """ if isinstance(data, (bytes, bytearray)): data = numpy.frombuffer(data, dtype='u1') xor = numpy.bitwise_xor(data[1:], data[:-1]) return numpy.insert(xor, 0, data[0]).tobytes() dtype = data.dtype if dtype.kind == 'f': data = data.view(f'u{dtype.itemsize}') key = [slice(None)] * data.ndim key[axis] = 0 key0 = [slice(None)] * data.ndim key0[axis] = slice(1, None, None) key1 = [slice(None)] * data.ndim key1[axis] = slice(0, -1, None) key = tuple(key) key0 = tuple(key0) key1 = tuple(key1) xor = numpy.bitwise_xor(data[key0], data[key1]) xor = numpy.insert(xor, 0, data[key], axis=axis) if dtype.kind == 'f': return xor.view(dtype) elif not data.dtype.isnative: > xor = xor.byteswap(True).newbyteorder() E AttributeError: `newbyteorder` was removed from the ndarray class in NumPy 2.0. Use `arr.view(arr.dtype.newbyteorder(order))` instead. ../BUILDROOT/usr/lib64/python3.13/site-packages/imagecodecs/_imagecodecs.py:329: AttributeError _____________________ test_delta[xor-<-u2-encode-inplace] ______________________ output = 'inplace', byteorder = '<', kind = 'u2', codec = 'encode', func = 'xor' @pytest.mark.filterwarnings('ignore:invalid value encountered') @pytest.mark.parametrize('output', ['new', 'out', 'inplace']) @pytest.mark.parametrize('codec', ['encode', 'decode']) @pytest.mark.parametrize( 'kind', ['u1', 'u2', 'u4', 'u8', 'i1', 'i2', 'i4', 'i8', 'f4', 'f8', 'B', 'b'], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('func', ['delta', 'xor']) def test_delta(output, byteorder, kind, codec, func): """Test Delta codec.""" # if byteorder == '>' and numpy.dtype(kind).itemsize == 1: # pytest.skip('duplicate test') if func == 'delta': if not imagecodecs.DELTA: pytest.skip('Delta missing') encode = imagecodecs.delta_encode decode = imagecodecs.delta_decode encode_py = _imagecodecs.delta_encode # decode_py = _imagecodecs.delta_decode elif func == 'xor': if not imagecodecs.XOR: pytest.skip('Xor missing') encode = imagecodecs.xor_encode decode = imagecodecs.xor_decode encode_py = _imagecodecs.xor_encode # decode_py = _imagecodecs.xor_decode bytetype = bytearray if kind == 'b': bytetype = bytes kind = 'B' axis = -2 # do not change if kind[0] in 'iuB': low = numpy.iinfo(kind).min high = numpy.iinfo(kind).max data = numpy.random.randint( low, high, size=33 * 31 * 3, dtype=kind ).reshape(33, 31, 3) else: # floating point low, high = -1e5, 1e5 data = numpy.random.randint( low, high, size=33 * 31 * 3, dtype='i4' ).reshape(33, 31, 3) data = data.astype(byteorder + kind) data[16, 14] = [0, 0, 0] data[16, 15] = [low, high, low] data[16, 16] = [high, low, high] data[16, 17] = [low, high, low] data[16, 18] = [high, low, high] data[16, 19] = [0, 0, 0] if kind == 'B': # data = data.reshape(-1) data = data.tobytes() diff = encode_py(data, axis=0) if output == 'new': if codec == 'encode': encoded = encode(data, out=bytetype) assert encoded == diff elif codec == 'decode': decoded = decode(diff, out=bytetype) assert decoded == data elif output == 'out': if codec == 'encode': encoded = bytetype(len(data)) if bytetype == bytes: with pytest.raises(TypeError): encode(data, out=encoded) else: encode(data, out=encoded) assert encoded == diff elif codec == 'decode': decoded = bytetype(len(data)) if bytetype == bytes: with pytest.raises(TypeError): decode(diff, out=decoded) else: decode(diff, out=decoded) assert decoded == data elif output == 'inplace': if codec == 'encode': encoded = bytetype(data) if bytetype == bytes: with pytest.raises(TypeError): encode(encoded, out=encoded) else: encode(encoded, out=encoded) assert encoded == diff elif codec == 'decode': decoded = bytetype(diff) if bytetype == bytes: with pytest.raises(TypeError): decode(decoded, out=decoded) else: decode(decoded, out=decoded) assert decoded == data else: # if func == 'xor' and kind in ('f4', 'f8'): # with pytest.raises(ValueError): # encode(data, axis=axis) # pytest.xfail("XOR codec not implemented for float data") > diff = encode_py(data, axis=-2) tests/test_imagecodecs.py:598: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ data = array([[[11732, 25822, 58080], [21998, 6458, 39822], [ 4429, 33423, 51156], ..., [528... [34324, 18768, 14542], [43181, 12687, 45981], [ 5978, 33151, 52741]]], shape=(33, 31, 3), dtype='>> xor_encode(b'0123456789') b'0\x01\x03\x01\x07\x01\x03\x01\x0f\x01' """ if isinstance(data, (bytes, bytearray)): data = numpy.frombuffer(data, dtype='u1') xor = numpy.bitwise_xor(data[1:], data[:-1]) return numpy.insert(xor, 0, data[0]).tobytes() dtype = data.dtype if dtype.kind == 'f': data = data.view(f'u{dtype.itemsize}') key = [slice(None)] * data.ndim key[axis] = 0 key0 = [slice(None)] * data.ndim key0[axis] = slice(1, None, None) key1 = [slice(None)] * data.ndim key1[axis] = slice(0, -1, None) key = tuple(key) key0 = tuple(key0) key1 = tuple(key1) xor = numpy.bitwise_xor(data[key0], data[key1]) xor = numpy.insert(xor, 0, data[key], axis=axis) if dtype.kind == 'f': return xor.view(dtype) elif not data.dtype.isnative: > xor = xor.byteswap(True).newbyteorder() E AttributeError: `newbyteorder` was removed from the ndarray class in NumPy 2.0. Use `arr.view(arr.dtype.newbyteorder(order))` instead. ../BUILDROOT/usr/lib64/python3.13/site-packages/imagecodecs/_imagecodecs.py:329: AttributeError _______________________ test_delta[xor-<-u2-decode-new] ________________________ output = 'new', byteorder = '<', kind = 'u2', codec = 'decode', func = 'xor' @pytest.mark.filterwarnings('ignore:invalid value encountered') @pytest.mark.parametrize('output', ['new', 'out', 'inplace']) @pytest.mark.parametrize('codec', ['encode', 'decode']) @pytest.mark.parametrize( 'kind', ['u1', 'u2', 'u4', 'u8', 'i1', 'i2', 'i4', 'i8', 'f4', 'f8', 'B', 'b'], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('func', ['delta', 'xor']) def test_delta(output, byteorder, kind, codec, func): """Test Delta codec.""" # if byteorder == '>' and numpy.dtype(kind).itemsize == 1: # pytest.skip('duplicate test') if func == 'delta': if not imagecodecs.DELTA: pytest.skip('Delta missing') encode = imagecodecs.delta_encode decode = imagecodecs.delta_decode encode_py = _imagecodecs.delta_encode # decode_py = _imagecodecs.delta_decode elif func == 'xor': if not imagecodecs.XOR: pytest.skip('Xor missing') encode = imagecodecs.xor_encode decode = imagecodecs.xor_decode encode_py = _imagecodecs.xor_encode # decode_py = _imagecodecs.xor_decode bytetype = bytearray if kind == 'b': bytetype = bytes kind = 'B' axis = -2 # do not change if kind[0] in 'iuB': low = numpy.iinfo(kind).min high = numpy.iinfo(kind).max data = numpy.random.randint( low, high, size=33 * 31 * 3, dtype=kind ).reshape(33, 31, 3) else: # floating point low, high = -1e5, 1e5 data = numpy.random.randint( low, high, size=33 * 31 * 3, dtype='i4' ).reshape(33, 31, 3) data = data.astype(byteorder + kind) data[16, 14] = [0, 0, 0] data[16, 15] = [low, high, low] data[16, 16] = [high, low, high] data[16, 17] = [low, high, low] data[16, 18] = [high, low, high] data[16, 19] = [0, 0, 0] if kind == 'B': # data = data.reshape(-1) data = data.tobytes() diff = encode_py(data, axis=0) if output == 'new': if codec == 'encode': encoded = encode(data, out=bytetype) assert encoded == diff elif codec == 'decode': decoded = decode(diff, out=bytetype) assert decoded == data elif output == 'out': if codec == 'encode': encoded = bytetype(len(data)) if bytetype == bytes: with pytest.raises(TypeError): encode(data, out=encoded) else: encode(data, out=encoded) assert encoded == diff elif codec == 'decode': decoded = bytetype(len(data)) if bytetype == bytes: with pytest.raises(TypeError): decode(diff, out=decoded) else: decode(diff, out=decoded) assert decoded == data elif output == 'inplace': if codec == 'encode': encoded = bytetype(data) if bytetype == bytes: with pytest.raises(TypeError): encode(encoded, out=encoded) else: encode(encoded, out=encoded) assert encoded == diff elif codec == 'decode': decoded = bytetype(diff) if bytetype == bytes: with pytest.raises(TypeError): decode(decoded, out=decoded) else: decode(decoded, out=decoded) assert decoded == data else: # if func == 'xor' and kind in ('f4', 'f8'): # with pytest.raises(ValueError): # encode(data, axis=axis) # pytest.xfail("XOR codec not implemented for float data") > diff = encode_py(data, axis=-2) tests/test_imagecodecs.py:598: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ data = array([[[41843, 19441, 19757], [12377, 23098, 59288], [50589, 18142, 49683], ..., [500... [24979, 65107, 26352], [10585, 43431, 30068], [48368, 58083, 65521]]], shape=(33, 31, 3), dtype='>> xor_encode(b'0123456789') b'0\x01\x03\x01\x07\x01\x03\x01\x0f\x01' """ if isinstance(data, (bytes, bytearray)): data = numpy.frombuffer(data, dtype='u1') xor = numpy.bitwise_xor(data[1:], data[:-1]) return numpy.insert(xor, 0, data[0]).tobytes() dtype = data.dtype if dtype.kind == 'f': data = data.view(f'u{dtype.itemsize}') key = [slice(None)] * data.ndim key[axis] = 0 key0 = [slice(None)] * data.ndim key0[axis] = slice(1, None, None) key1 = [slice(None)] * data.ndim key1[axis] = slice(0, -1, None) key = tuple(key) key0 = tuple(key0) key1 = tuple(key1) xor = numpy.bitwise_xor(data[key0], data[key1]) xor = numpy.insert(xor, 0, data[key], axis=axis) if dtype.kind == 'f': return xor.view(dtype) elif not data.dtype.isnative: > xor = xor.byteswap(True).newbyteorder() E AttributeError: `newbyteorder` was removed from the ndarray class in NumPy 2.0. Use `arr.view(arr.dtype.newbyteorder(order))` instead. ../BUILDROOT/usr/lib64/python3.13/site-packages/imagecodecs/_imagecodecs.py:329: AttributeError _______________________ test_delta[xor-<-u2-decode-out] ________________________ output = 'out', byteorder = '<', kind = 'u2', codec = 'decode', func = 'xor' @pytest.mark.filterwarnings('ignore:invalid value encountered') @pytest.mark.parametrize('output', ['new', 'out', 'inplace']) @pytest.mark.parametrize('codec', ['encode', 'decode']) @pytest.mark.parametrize( 'kind', ['u1', 'u2', 'u4', 'u8', 'i1', 'i2', 'i4', 'i8', 'f4', 'f8', 'B', 'b'], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('func', ['delta', 'xor']) def test_delta(output, byteorder, kind, codec, func): """Test Delta codec.""" # if byteorder == '>' and numpy.dtype(kind).itemsize == 1: # pytest.skip('duplicate test') if func == 'delta': if not imagecodecs.DELTA: pytest.skip('Delta missing') encode = imagecodecs.delta_encode decode = imagecodecs.delta_decode encode_py = _imagecodecs.delta_encode # decode_py = _imagecodecs.delta_decode elif func == 'xor': if not imagecodecs.XOR: pytest.skip('Xor missing') encode = imagecodecs.xor_encode decode = imagecodecs.xor_decode encode_py = _imagecodecs.xor_encode # decode_py = _imagecodecs.xor_decode bytetype = bytearray if kind == 'b': bytetype = bytes kind = 'B' axis = -2 # do not change if kind[0] in 'iuB': low = numpy.iinfo(kind).min high = numpy.iinfo(kind).max data = numpy.random.randint( low, high, size=33 * 31 * 3, dtype=kind ).reshape(33, 31, 3) else: # floating point low, high = -1e5, 1e5 data = numpy.random.randint( low, high, size=33 * 31 * 3, dtype='i4' ).reshape(33, 31, 3) data = data.astype(byteorder + kind) data[16, 14] = [0, 0, 0] data[16, 15] = [low, high, low] data[16, 16] = [high, low, high] data[16, 17] = [low, high, low] data[16, 18] = [high, low, high] data[16, 19] = [0, 0, 0] if kind == 'B': # data = data.reshape(-1) data = data.tobytes() diff = encode_py(data, axis=0) if output == 'new': if codec == 'encode': encoded = encode(data, out=bytetype) assert encoded == diff elif codec == 'decode': decoded = decode(diff, out=bytetype) assert decoded == data elif output == 'out': if codec == 'encode': encoded = bytetype(len(data)) if bytetype == bytes: with pytest.raises(TypeError): encode(data, out=encoded) else: encode(data, out=encoded) assert encoded == diff elif codec == 'decode': decoded = bytetype(len(data)) if bytetype == bytes: with pytest.raises(TypeError): decode(diff, out=decoded) else: decode(diff, out=decoded) assert decoded == data elif output == 'inplace': if codec == 'encode': encoded = bytetype(data) if bytetype == bytes: with pytest.raises(TypeError): encode(encoded, out=encoded) else: encode(encoded, out=encoded) assert encoded == diff elif codec == 'decode': decoded = bytetype(diff) if bytetype == bytes: with pytest.raises(TypeError): decode(decoded, out=decoded) else: decode(decoded, out=decoded) assert decoded == data else: # if func == 'xor' and kind in ('f4', 'f8'): # with pytest.raises(ValueError): # encode(data, axis=axis) # pytest.xfail("XOR codec not implemented for float data") > diff = encode_py(data, axis=-2) tests/test_imagecodecs.py:598: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ data = array([[[36047, 40137, 54924], [26676, 48853, 22129], [24439, 10229, 36239], ..., [404... [63653, 34723, 36554], [19086, 2695, 50833], [20496, 54023, 28674]]], shape=(33, 31, 3), dtype='>> xor_encode(b'0123456789') b'0\x01\x03\x01\x07\x01\x03\x01\x0f\x01' """ if isinstance(data, (bytes, bytearray)): data = numpy.frombuffer(data, dtype='u1') xor = numpy.bitwise_xor(data[1:], data[:-1]) return numpy.insert(xor, 0, data[0]).tobytes() dtype = data.dtype if dtype.kind == 'f': data = data.view(f'u{dtype.itemsize}') key = [slice(None)] * data.ndim key[axis] = 0 key0 = [slice(None)] * data.ndim key0[axis] = slice(1, None, None) key1 = [slice(None)] * data.ndim key1[axis] = slice(0, -1, None) key = tuple(key) key0 = tuple(key0) key1 = tuple(key1) xor = numpy.bitwise_xor(data[key0], data[key1]) xor = numpy.insert(xor, 0, data[key], axis=axis) if dtype.kind == 'f': return xor.view(dtype) elif not data.dtype.isnative: > xor = xor.byteswap(True).newbyteorder() E AttributeError: `newbyteorder` was removed from the ndarray class in NumPy 2.0. Use `arr.view(arr.dtype.newbyteorder(order))` instead. ../BUILDROOT/usr/lib64/python3.13/site-packages/imagecodecs/_imagecodecs.py:329: AttributeError _____________________ test_delta[xor-<-u2-decode-inplace] ______________________ output = 'inplace', byteorder = '<', kind = 'u2', codec = 'decode', func = 'xor' @pytest.mark.filterwarnings('ignore:invalid value encountered') @pytest.mark.parametrize('output', ['new', 'out', 'inplace']) @pytest.mark.parametrize('codec', ['encode', 'decode']) @pytest.mark.parametrize( 'kind', ['u1', 'u2', 'u4', 'u8', 'i1', 'i2', 'i4', 'i8', 'f4', 'f8', 'B', 'b'], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('func', ['delta', 'xor']) def test_delta(output, byteorder, kind, codec, func): """Test Delta codec.""" # if byteorder == '>' and numpy.dtype(kind).itemsize == 1: # pytest.skip('duplicate test') if func == 'delta': if not imagecodecs.DELTA: pytest.skip('Delta missing') encode = imagecodecs.delta_encode decode = imagecodecs.delta_decode encode_py = _imagecodecs.delta_encode # decode_py = _imagecodecs.delta_decode elif func == 'xor': if not imagecodecs.XOR: pytest.skip('Xor missing') encode = imagecodecs.xor_encode decode = imagecodecs.xor_decode encode_py = _imagecodecs.xor_encode # decode_py = _imagecodecs.xor_decode bytetype = bytearray if kind == 'b': bytetype = bytes kind = 'B' axis = -2 # do not change if kind[0] in 'iuB': low = numpy.iinfo(kind).min high = numpy.iinfo(kind).max data = numpy.random.randint( low, high, size=33 * 31 * 3, dtype=kind ).reshape(33, 31, 3) else: # floating point low, high = -1e5, 1e5 data = numpy.random.randint( low, high, size=33 * 31 * 3, dtype='i4' ).reshape(33, 31, 3) data = data.astype(byteorder + kind) data[16, 14] = [0, 0, 0] data[16, 15] = [low, high, low] data[16, 16] = [high, low, high] data[16, 17] = [low, high, low] data[16, 18] = [high, low, high] data[16, 19] = [0, 0, 0] if kind == 'B': # data = data.reshape(-1) data = data.tobytes() diff = encode_py(data, axis=0) if output == 'new': if codec == 'encode': encoded = encode(data, out=bytetype) assert encoded == diff elif codec == 'decode': decoded = decode(diff, out=bytetype) assert decoded == data elif output == 'out': if codec == 'encode': encoded = bytetype(len(data)) if bytetype == bytes: with pytest.raises(TypeError): encode(data, out=encoded) else: encode(data, out=encoded) assert encoded == diff elif codec == 'decode': decoded = bytetype(len(data)) if bytetype == bytes: with pytest.raises(TypeError): decode(diff, out=decoded) else: decode(diff, out=decoded) assert decoded == data elif output == 'inplace': if codec == 'encode': encoded = bytetype(data) if bytetype == bytes: with pytest.raises(TypeError): encode(encoded, out=encoded) else: encode(encoded, out=encoded) assert encoded == diff elif codec == 'decode': decoded = bytetype(diff) if bytetype == bytes: with pytest.raises(TypeError): decode(decoded, out=decoded) else: decode(decoded, out=decoded) assert decoded == data else: # if func == 'xor' and kind in ('f4', 'f8'): # with pytest.raises(ValueError): # encode(data, axis=axis) # pytest.xfail("XOR codec not implemented for float data") > diff = encode_py(data, axis=-2) tests/test_imagecodecs.py:598: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ data = array([[[42933, 10378, 11347], [19935, 37860, 45744], [56590, 2859, 53197], ..., [522... [48614, 39400, 52267], [36471, 1283, 20348], [18159, 25245, 28506]]], shape=(33, 31, 3), dtype='>> xor_encode(b'0123456789') b'0\x01\x03\x01\x07\x01\x03\x01\x0f\x01' """ if isinstance(data, (bytes, bytearray)): data = numpy.frombuffer(data, dtype='u1') xor = numpy.bitwise_xor(data[1:], data[:-1]) return numpy.insert(xor, 0, data[0]).tobytes() dtype = data.dtype if dtype.kind == 'f': data = data.view(f'u{dtype.itemsize}') key = [slice(None)] * data.ndim key[axis] = 0 key0 = [slice(None)] * data.ndim key0[axis] = slice(1, None, None) key1 = [slice(None)] * data.ndim key1[axis] = slice(0, -1, None) key = tuple(key) key0 = tuple(key0) key1 = tuple(key1) xor = numpy.bitwise_xor(data[key0], data[key1]) xor = numpy.insert(xor, 0, data[key], axis=axis) if dtype.kind == 'f': return xor.view(dtype) elif not data.dtype.isnative: > xor = xor.byteswap(True).newbyteorder() E AttributeError: `newbyteorder` was removed from the ndarray class in NumPy 2.0. Use `arr.view(arr.dtype.newbyteorder(order))` instead. ../BUILDROOT/usr/lib64/python3.13/site-packages/imagecodecs/_imagecodecs.py:329: AttributeError _______________________ test_delta[xor-<-u4-encode-new] ________________________ output = 'new', byteorder = '<', kind = 'u4', codec = 'encode', func = 'xor' @pytest.mark.filterwarnings('ignore:invalid value encountered') @pytest.mark.parametrize('output', ['new', 'out', 'inplace']) @pytest.mark.parametrize('codec', ['encode', 'decode']) @pytest.mark.parametrize( 'kind', ['u1', 'u2', 'u4', 'u8', 'i1', 'i2', 'i4', 'i8', 'f4', 'f8', 'B', 'b'], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('func', ['delta', 'xor']) def test_delta(output, byteorder, kind, codec, func): """Test Delta codec.""" # if byteorder == '>' and numpy.dtype(kind).itemsize == 1: # pytest.skip('duplicate test') if func == 'delta': if not imagecodecs.DELTA: pytest.skip('Delta missing') encode = imagecodecs.delta_encode decode = imagecodecs.delta_decode encode_py = _imagecodecs.delta_encode # decode_py = _imagecodecs.delta_decode elif func == 'xor': if not imagecodecs.XOR: pytest.skip('Xor missing') encode = imagecodecs.xor_encode decode = imagecodecs.xor_decode encode_py = _imagecodecs.xor_encode # decode_py = _imagecodecs.xor_decode bytetype = bytearray if kind == 'b': bytetype = bytes kind = 'B' axis = -2 # do not change if kind[0] in 'iuB': low = numpy.iinfo(kind).min high = numpy.iinfo(kind).max data = numpy.random.randint( low, high, size=33 * 31 * 3, dtype=kind ).reshape(33, 31, 3) else: # floating point low, high = -1e5, 1e5 data = numpy.random.randint( low, high, size=33 * 31 * 3, dtype='i4' ).reshape(33, 31, 3) data = data.astype(byteorder + kind) data[16, 14] = [0, 0, 0] data[16, 15] = [low, high, low] data[16, 16] = [high, low, high] data[16, 17] = [low, high, low] data[16, 18] = [high, low, high] data[16, 19] = [0, 0, 0] if kind == 'B': # data = data.reshape(-1) data = data.tobytes() diff = encode_py(data, axis=0) if output == 'new': if codec == 'encode': encoded = encode(data, out=bytetype) assert encoded == diff elif codec == 'decode': decoded = decode(diff, out=bytetype) assert decoded == data elif output == 'out': if codec == 'encode': encoded = bytetype(len(data)) if bytetype == bytes: with pytest.raises(TypeError): encode(data, out=encoded) else: encode(data, out=encoded) assert encoded == diff elif codec == 'decode': decoded = bytetype(len(data)) if bytetype == bytes: with pytest.raises(TypeError): decode(diff, out=decoded) else: decode(diff, out=decoded) assert decoded == data elif output == 'inplace': if codec == 'encode': encoded = bytetype(data) if bytetype == bytes: with pytest.raises(TypeError): encode(encoded, out=encoded) else: encode(encoded, out=encoded) assert encoded == diff elif codec == 'decode': decoded = bytetype(diff) if bytetype == bytes: with pytest.raises(TypeError): decode(decoded, out=decoded) else: decode(decoded, out=decoded) assert decoded == data else: # if func == 'xor' and kind in ('f4', 'f8'): # with pytest.raises(ValueError): # encode(data, axis=axis) # pytest.xfail("XOR codec not implemented for float data") > diff = encode_py(data, axis=-2) tests/test_imagecodecs.py:598: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ data = array([[[1774983288, 3029122332, 3889169509], [3998174882, 3536669746, 1113606355], [ 410001763, 23330...1348575, 3824001957, 2327369520], [ 762463433, 3036587334, 2390172047]]], shape=(33, 31, 3), dtype='>> xor_encode(b'0123456789') b'0\x01\x03\x01\x07\x01\x03\x01\x0f\x01' """ if isinstance(data, (bytes, bytearray)): data = numpy.frombuffer(data, dtype='u1') xor = numpy.bitwise_xor(data[1:], data[:-1]) return numpy.insert(xor, 0, data[0]).tobytes() dtype = data.dtype if dtype.kind == 'f': data = data.view(f'u{dtype.itemsize}') key = [slice(None)] * data.ndim key[axis] = 0 key0 = [slice(None)] * data.ndim key0[axis] = slice(1, None, None) key1 = [slice(None)] * data.ndim key1[axis] = slice(0, -1, None) key = tuple(key) key0 = tuple(key0) key1 = tuple(key1) xor = numpy.bitwise_xor(data[key0], data[key1]) xor = numpy.insert(xor, 0, data[key], axis=axis) if dtype.kind == 'f': return xor.view(dtype) elif not data.dtype.isnative: > xor = xor.byteswap(True).newbyteorder() E AttributeError: `newbyteorder` was removed from the ndarray class in NumPy 2.0. Use `arr.view(arr.dtype.newbyteorder(order))` instead. ../BUILDROOT/usr/lib64/python3.13/site-packages/imagecodecs/_imagecodecs.py:329: AttributeError _______________________ test_delta[xor-<-u4-encode-out] ________________________ output = 'out', byteorder = '<', kind = 'u4', codec = 'encode', func = 'xor' @pytest.mark.filterwarnings('ignore:invalid value encountered') @pytest.mark.parametrize('output', ['new', 'out', 'inplace']) @pytest.mark.parametrize('codec', ['encode', 'decode']) @pytest.mark.parametrize( 'kind', ['u1', 'u2', 'u4', 'u8', 'i1', 'i2', 'i4', 'i8', 'f4', 'f8', 'B', 'b'], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('func', ['delta', 'xor']) def test_delta(output, byteorder, kind, codec, func): """Test Delta codec.""" # if byteorder == '>' and numpy.dtype(kind).itemsize == 1: # pytest.skip('duplicate test') if func == 'delta': if not imagecodecs.DELTA: pytest.skip('Delta missing') encode = imagecodecs.delta_encode decode = imagecodecs.delta_decode encode_py = _imagecodecs.delta_encode # decode_py = _imagecodecs.delta_decode elif func == 'xor': if not imagecodecs.XOR: pytest.skip('Xor missing') encode = imagecodecs.xor_encode decode = imagecodecs.xor_decode encode_py = _imagecodecs.xor_encode # decode_py = _imagecodecs.xor_decode bytetype = bytearray if kind == 'b': bytetype = bytes kind = 'B' axis = -2 # do not change if kind[0] in 'iuB': low = numpy.iinfo(kind).min high = numpy.iinfo(kind).max data = numpy.random.randint( low, high, size=33 * 31 * 3, dtype=kind ).reshape(33, 31, 3) else: # floating point low, high = -1e5, 1e5 data = numpy.random.randint( low, high, size=33 * 31 * 3, dtype='i4' ).reshape(33, 31, 3) data = data.astype(byteorder + kind) data[16, 14] = [0, 0, 0] data[16, 15] = [low, high, low] data[16, 16] = [high, low, high] data[16, 17] = [low, high, low] data[16, 18] = [high, low, high] data[16, 19] = [0, 0, 0] if kind == 'B': # data = data.reshape(-1) data = data.tobytes() diff = encode_py(data, axis=0) if output == 'new': if codec == 'encode': encoded = encode(data, out=bytetype) assert encoded == diff elif codec == 'decode': decoded = decode(diff, out=bytetype) assert decoded == data elif output == 'out': if codec == 'encode': encoded = bytetype(len(data)) if bytetype == bytes: with pytest.raises(TypeError): encode(data, out=encoded) else: encode(data, out=encoded) assert encoded == diff elif codec == 'decode': decoded = bytetype(len(data)) if bytetype == bytes: with pytest.raises(TypeError): decode(diff, out=decoded) else: decode(diff, out=decoded) assert decoded == data elif output == 'inplace': if codec == 'encode': encoded = bytetype(data) if bytetype == bytes: with pytest.raises(TypeError): encode(encoded, out=encoded) else: encode(encoded, out=encoded) assert encoded == diff elif codec == 'decode': decoded = bytetype(diff) if bytetype == bytes: with pytest.raises(TypeError): decode(decoded, out=decoded) else: decode(decoded, out=decoded) assert decoded == data else: # if func == 'xor' and kind in ('f4', 'f8'): # with pytest.raises(ValueError): # encode(data, axis=axis) # pytest.xfail("XOR codec not implemented for float data") > diff = encode_py(data, axis=-2) tests/test_imagecodecs.py:598: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ data = array([[[ 572404697, 2186085057, 2988626083], [1159116112, 2942201323, 1412536668], [3822366439, 15829...3535075, 965752972, 63165789], [1756691346, 2709638971, 4265027670]]], shape=(33, 31, 3), dtype='>> xor_encode(b'0123456789') b'0\x01\x03\x01\x07\x01\x03\x01\x0f\x01' """ if isinstance(data, (bytes, bytearray)): data = numpy.frombuffer(data, dtype='u1') xor = numpy.bitwise_xor(data[1:], data[:-1]) return numpy.insert(xor, 0, data[0]).tobytes() dtype = data.dtype if dtype.kind == 'f': data = data.view(f'u{dtype.itemsize}') key = [slice(None)] * data.ndim key[axis] = 0 key0 = [slice(None)] * data.ndim key0[axis] = slice(1, None, None) key1 = [slice(None)] * data.ndim key1[axis] = slice(0, -1, None) key = tuple(key) key0 = tuple(key0) key1 = tuple(key1) xor = numpy.bitwise_xor(data[key0], data[key1]) xor = numpy.insert(xor, 0, data[key], axis=axis) if dtype.kind == 'f': return xor.view(dtype) elif not data.dtype.isnative: > xor = xor.byteswap(True).newbyteorder() E AttributeError: `newbyteorder` was removed from the ndarray class in NumPy 2.0. Use `arr.view(arr.dtype.newbyteorder(order))` instead. ../BUILDROOT/usr/lib64/python3.13/site-packages/imagecodecs/_imagecodecs.py:329: AttributeError _____________________ test_delta[xor-<-u4-encode-inplace] ______________________ output = 'inplace', byteorder = '<', kind = 'u4', codec = 'encode', func = 'xor' @pytest.mark.filterwarnings('ignore:invalid value encountered') @pytest.mark.parametrize('output', ['new', 'out', 'inplace']) @pytest.mark.parametrize('codec', ['encode', 'decode']) @pytest.mark.parametrize( 'kind', ['u1', 'u2', 'u4', 'u8', 'i1', 'i2', 'i4', 'i8', 'f4', 'f8', 'B', 'b'], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('func', ['delta', 'xor']) def test_delta(output, byteorder, kind, codec, func): """Test Delta codec.""" # if byteorder == '>' and numpy.dtype(kind).itemsize == 1: # pytest.skip('duplicate test') if func == 'delta': if not imagecodecs.DELTA: pytest.skip('Delta missing') encode = imagecodecs.delta_encode decode = imagecodecs.delta_decode encode_py = _imagecodecs.delta_encode # decode_py = _imagecodecs.delta_decode elif func == 'xor': if not imagecodecs.XOR: pytest.skip('Xor missing') encode = imagecodecs.xor_encode decode = imagecodecs.xor_decode encode_py = _imagecodecs.xor_encode # decode_py = _imagecodecs.xor_decode bytetype = bytearray if kind == 'b': bytetype = bytes kind = 'B' axis = -2 # do not change if kind[0] in 'iuB': low = numpy.iinfo(kind).min high = numpy.iinfo(kind).max data = numpy.random.randint( low, high, size=33 * 31 * 3, dtype=kind ).reshape(33, 31, 3) else: # floating point low, high = -1e5, 1e5 data = numpy.random.randint( low, high, size=33 * 31 * 3, dtype='i4' ).reshape(33, 31, 3) data = data.astype(byteorder + kind) data[16, 14] = [0, 0, 0] data[16, 15] = [low, high, low] data[16, 16] = [high, low, high] data[16, 17] = [low, high, low] data[16, 18] = [high, low, high] data[16, 19] = [0, 0, 0] if kind == 'B': # data = data.reshape(-1) data = data.tobytes() diff = encode_py(data, axis=0) if output == 'new': if codec == 'encode': encoded = encode(data, out=bytetype) assert encoded == diff elif codec == 'decode': decoded = decode(diff, out=bytetype) assert decoded == data elif output == 'out': if codec == 'encode': encoded = bytetype(len(data)) if bytetype == bytes: with pytest.raises(TypeError): encode(data, out=encoded) else: encode(data, out=encoded) assert encoded == diff elif codec == 'decode': decoded = bytetype(len(data)) if bytetype == bytes: with pytest.raises(TypeError): decode(diff, out=decoded) else: decode(diff, out=decoded) assert decoded == data elif output == 'inplace': if codec == 'encode': encoded = bytetype(data) if bytetype == bytes: with pytest.raises(TypeError): encode(encoded, out=encoded) else: encode(encoded, out=encoded) assert encoded == diff elif codec == 'decode': decoded = bytetype(diff) if bytetype == bytes: with pytest.raises(TypeError): decode(decoded, out=decoded) else: decode(decoded, out=decoded) assert decoded == data else: # if func == 'xor' and kind in ('f4', 'f8'): # with pytest.raises(ValueError): # encode(data, axis=axis) # pytest.xfail("XOR codec not implemented for float data") > diff = encode_py(data, axis=-2) tests/test_imagecodecs.py:598: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ data = array([[[3383117333, 1654859908, 3553015403], [1060225459, 1994705577, 3836898779], [3738369906, 39870...5265642, 3957644375, 2291451793], [3690539015, 1115180245, 820436815]]], shape=(33, 31, 3), dtype='>> xor_encode(b'0123456789') b'0\x01\x03\x01\x07\x01\x03\x01\x0f\x01' """ if isinstance(data, (bytes, bytearray)): data = numpy.frombuffer(data, dtype='u1') xor = numpy.bitwise_xor(data[1:], data[:-1]) return numpy.insert(xor, 0, data[0]).tobytes() dtype = data.dtype if dtype.kind == 'f': data = data.view(f'u{dtype.itemsize}') key = [slice(None)] * data.ndim key[axis] = 0 key0 = [slice(None)] * data.ndim key0[axis] = slice(1, None, None) key1 = [slice(None)] * data.ndim key1[axis] = slice(0, -1, None) key = tuple(key) key0 = tuple(key0) key1 = tuple(key1) xor = numpy.bitwise_xor(data[key0], data[key1]) xor = numpy.insert(xor, 0, data[key], axis=axis) if dtype.kind == 'f': return xor.view(dtype) elif not data.dtype.isnative: > xor = xor.byteswap(True).newbyteorder() E AttributeError: `newbyteorder` was removed from the ndarray class in NumPy 2.0. Use `arr.view(arr.dtype.newbyteorder(order))` instead. ../BUILDROOT/usr/lib64/python3.13/site-packages/imagecodecs/_imagecodecs.py:329: AttributeError _______________________ test_delta[xor-<-u4-decode-new] ________________________ output = 'new', byteorder = '<', kind = 'u4', codec = 'decode', func = 'xor' @pytest.mark.filterwarnings('ignore:invalid value encountered') @pytest.mark.parametrize('output', ['new', 'out', 'inplace']) @pytest.mark.parametrize('codec', ['encode', 'decode']) @pytest.mark.parametrize( 'kind', ['u1', 'u2', 'u4', 'u8', 'i1', 'i2', 'i4', 'i8', 'f4', 'f8', 'B', 'b'], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('func', ['delta', 'xor']) def test_delta(output, byteorder, kind, codec, func): """Test Delta codec.""" # if byteorder == '>' and numpy.dtype(kind).itemsize == 1: # pytest.skip('duplicate test') if func == 'delta': if not imagecodecs.DELTA: pytest.skip('Delta missing') encode = imagecodecs.delta_encode decode = imagecodecs.delta_decode encode_py = _imagecodecs.delta_encode # decode_py = _imagecodecs.delta_decode elif func == 'xor': if not imagecodecs.XOR: pytest.skip('Xor missing') encode = imagecodecs.xor_encode decode = imagecodecs.xor_decode encode_py = _imagecodecs.xor_encode # decode_py = _imagecodecs.xor_decode bytetype = bytearray if kind == 'b': bytetype = bytes kind = 'B' axis = -2 # do not change if kind[0] in 'iuB': low = numpy.iinfo(kind).min high = numpy.iinfo(kind).max data = numpy.random.randint( low, high, size=33 * 31 * 3, dtype=kind ).reshape(33, 31, 3) else: # floating point low, high = -1e5, 1e5 data = numpy.random.randint( low, high, size=33 * 31 * 3, dtype='i4' ).reshape(33, 31, 3) data = data.astype(byteorder + kind) data[16, 14] = [0, 0, 0] data[16, 15] = [low, high, low] data[16, 16] = [high, low, high] data[16, 17] = [low, high, low] data[16, 18] = [high, low, high] data[16, 19] = [0, 0, 0] if kind == 'B': # data = data.reshape(-1) data = data.tobytes() diff = encode_py(data, axis=0) if output == 'new': if codec == 'encode': encoded = encode(data, out=bytetype) assert encoded == diff elif codec == 'decode': decoded = decode(diff, out=bytetype) assert decoded == data elif output == 'out': if codec == 'encode': encoded = bytetype(len(data)) if bytetype == bytes: with pytest.raises(TypeError): encode(data, out=encoded) else: encode(data, out=encoded) assert encoded == diff elif codec == 'decode': decoded = bytetype(len(data)) if bytetype == bytes: with pytest.raises(TypeError): decode(diff, out=decoded) else: decode(diff, out=decoded) assert decoded == data elif output == 'inplace': if codec == 'encode': encoded = bytetype(data) if bytetype == bytes: with pytest.raises(TypeError): encode(encoded, out=encoded) else: encode(encoded, out=encoded) assert encoded == diff elif codec == 'decode': decoded = bytetype(diff) if bytetype == bytes: with pytest.raises(TypeError): decode(decoded, out=decoded) else: decode(decoded, out=decoded) assert decoded == data else: # if func == 'xor' and kind in ('f4', 'f8'): # with pytest.raises(ValueError): # encode(data, axis=axis) # pytest.xfail("XOR codec not implemented for float data") > diff = encode_py(data, axis=-2) tests/test_imagecodecs.py:598: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ data = array([[[1155386448, 2313878478, 1936444108], [ 645241430, 2344648302, 3784235687], [3393967381, 20147...7354774, 698537943, 1798951356], [2042951239, 711165190, 2211178964]]], shape=(33, 31, 3), dtype='>> xor_encode(b'0123456789') b'0\x01\x03\x01\x07\x01\x03\x01\x0f\x01' """ if isinstance(data, (bytes, bytearray)): data = numpy.frombuffer(data, dtype='u1') xor = numpy.bitwise_xor(data[1:], data[:-1]) return numpy.insert(xor, 0, data[0]).tobytes() dtype = data.dtype if dtype.kind == 'f': data = data.view(f'u{dtype.itemsize}') key = [slice(None)] * data.ndim key[axis] = 0 key0 = [slice(None)] * data.ndim key0[axis] = slice(1, None, None) key1 = [slice(None)] * data.ndim key1[axis] = slice(0, -1, None) key = tuple(key) key0 = tuple(key0) key1 = tuple(key1) xor = numpy.bitwise_xor(data[key0], data[key1]) xor = numpy.insert(xor, 0, data[key], axis=axis) if dtype.kind == 'f': return xor.view(dtype) elif not data.dtype.isnative: > xor = xor.byteswap(True).newbyteorder() E AttributeError: `newbyteorder` was removed from the ndarray class in NumPy 2.0. Use `arr.view(arr.dtype.newbyteorder(order))` instead. ../BUILDROOT/usr/lib64/python3.13/site-packages/imagecodecs/_imagecodecs.py:329: AttributeError _______________________ test_delta[xor-<-u4-decode-out] ________________________ output = 'out', byteorder = '<', kind = 'u4', codec = 'decode', func = 'xor' @pytest.mark.filterwarnings('ignore:invalid value encountered') @pytest.mark.parametrize('output', ['new', 'out', 'inplace']) @pytest.mark.parametrize('codec', ['encode', 'decode']) @pytest.mark.parametrize( 'kind', ['u1', 'u2', 'u4', 'u8', 'i1', 'i2', 'i4', 'i8', 'f4', 'f8', 'B', 'b'], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('func', ['delta', 'xor']) def test_delta(output, byteorder, kind, codec, func): """Test Delta codec.""" # if byteorder == '>' and numpy.dtype(kind).itemsize == 1: # pytest.skip('duplicate test') if func == 'delta': if not imagecodecs.DELTA: pytest.skip('Delta missing') encode = imagecodecs.delta_encode decode = imagecodecs.delta_decode encode_py = _imagecodecs.delta_encode # decode_py = _imagecodecs.delta_decode elif func == 'xor': if not imagecodecs.XOR: pytest.skip('Xor missing') encode = imagecodecs.xor_encode decode = imagecodecs.xor_decode encode_py = _imagecodecs.xor_encode # decode_py = _imagecodecs.xor_decode bytetype = bytearray if kind == 'b': bytetype = bytes kind = 'B' axis = -2 # do not change if kind[0] in 'iuB': low = numpy.iinfo(kind).min high = numpy.iinfo(kind).max data = numpy.random.randint( low, high, size=33 * 31 * 3, dtype=kind ).reshape(33, 31, 3) else: # floating point low, high = -1e5, 1e5 data = numpy.random.randint( low, high, size=33 * 31 * 3, dtype='i4' ).reshape(33, 31, 3) data = data.astype(byteorder + kind) data[16, 14] = [0, 0, 0] data[16, 15] = [low, high, low] data[16, 16] = [high, low, high] data[16, 17] = [low, high, low] data[16, 18] = [high, low, high] data[16, 19] = [0, 0, 0] if kind == 'B': # data = data.reshape(-1) data = data.tobytes() diff = encode_py(data, axis=0) if output == 'new': if codec == 'encode': encoded = encode(data, out=bytetype) assert encoded == diff elif codec == 'decode': decoded = decode(diff, out=bytetype) assert decoded == data elif output == 'out': if codec == 'encode': encoded = bytetype(len(data)) if bytetype == bytes: with pytest.raises(TypeError): encode(data, out=encoded) else: encode(data, out=encoded) assert encoded == diff elif codec == 'decode': decoded = bytetype(len(data)) if bytetype == bytes: with pytest.raises(TypeError): decode(diff, out=decoded) else: decode(diff, out=decoded) assert decoded == data elif output == 'inplace': if codec == 'encode': encoded = bytetype(data) if bytetype == bytes: with pytest.raises(TypeError): encode(encoded, out=encoded) else: encode(encoded, out=encoded) assert encoded == diff elif codec == 'decode': decoded = bytetype(diff) if bytetype == bytes: with pytest.raises(TypeError): decode(decoded, out=decoded) else: decode(decoded, out=decoded) assert decoded == data else: # if func == 'xor' and kind in ('f4', 'f8'): # with pytest.raises(ValueError): # encode(data, axis=axis) # pytest.xfail("XOR codec not implemented for float data") > diff = encode_py(data, axis=-2) tests/test_imagecodecs.py:598: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ data = array([[[1427360386, 1374990, 2671157663], [2433897755, 3224288474, 1290198090], [3663153321, 31598...4732186, 2251956607, 2250499695], [ 709704292, 3790492015, 1547843938]]], shape=(33, 31, 3), dtype='>> xor_encode(b'0123456789') b'0\x01\x03\x01\x07\x01\x03\x01\x0f\x01' """ if isinstance(data, (bytes, bytearray)): data = numpy.frombuffer(data, dtype='u1') xor = numpy.bitwise_xor(data[1:], data[:-1]) return numpy.insert(xor, 0, data[0]).tobytes() dtype = data.dtype if dtype.kind == 'f': data = data.view(f'u{dtype.itemsize}') key = [slice(None)] * data.ndim key[axis] = 0 key0 = [slice(None)] * data.ndim key0[axis] = slice(1, None, None) key1 = [slice(None)] * data.ndim key1[axis] = slice(0, -1, None) key = tuple(key) key0 = tuple(key0) key1 = tuple(key1) xor = numpy.bitwise_xor(data[key0], data[key1]) xor = numpy.insert(xor, 0, data[key], axis=axis) if dtype.kind == 'f': return xor.view(dtype) elif not data.dtype.isnative: > xor = xor.byteswap(True).newbyteorder() E AttributeError: `newbyteorder` was removed from the ndarray class in NumPy 2.0. Use `arr.view(arr.dtype.newbyteorder(order))` instead. ../BUILDROOT/usr/lib64/python3.13/site-packages/imagecodecs/_imagecodecs.py:329: AttributeError _____________________ test_delta[xor-<-u4-decode-inplace] ______________________ output = 'inplace', byteorder = '<', kind = 'u4', codec = 'decode', func = 'xor' @pytest.mark.filterwarnings('ignore:invalid value encountered') @pytest.mark.parametrize('output', ['new', 'out', 'inplace']) @pytest.mark.parametrize('codec', ['encode', 'decode']) @pytest.mark.parametrize( 'kind', ['u1', 'u2', 'u4', 'u8', 'i1', 'i2', 'i4', 'i8', 'f4', 'f8', 'B', 'b'], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('func', ['delta', 'xor']) def test_delta(output, byteorder, kind, codec, func): """Test Delta codec.""" # if byteorder == '>' and numpy.dtype(kind).itemsize == 1: # pytest.skip('duplicate test') if func == 'delta': if not imagecodecs.DELTA: pytest.skip('Delta missing') encode = imagecodecs.delta_encode decode = imagecodecs.delta_decode encode_py = _imagecodecs.delta_encode # decode_py = _imagecodecs.delta_decode elif func == 'xor': if not imagecodecs.XOR: pytest.skip('Xor missing') encode = imagecodecs.xor_encode decode = imagecodecs.xor_decode encode_py = _imagecodecs.xor_encode # decode_py = _imagecodecs.xor_decode bytetype = bytearray if kind == 'b': bytetype = bytes kind = 'B' axis = -2 # do not change if kind[0] in 'iuB': low = numpy.iinfo(kind).min high = numpy.iinfo(kind).max data = numpy.random.randint( low, high, size=33 * 31 * 3, dtype=kind ).reshape(33, 31, 3) else: # floating point low, high = -1e5, 1e5 data = numpy.random.randint( low, high, size=33 * 31 * 3, dtype='i4' ).reshape(33, 31, 3) data = data.astype(byteorder + kind) data[16, 14] = [0, 0, 0] data[16, 15] = [low, high, low] data[16, 16] = [high, low, high] data[16, 17] = [low, high, low] data[16, 18] = [high, low, high] data[16, 19] = [0, 0, 0] if kind == 'B': # data = data.reshape(-1) data = data.tobytes() diff = encode_py(data, axis=0) if output == 'new': if codec == 'encode': encoded = encode(data, out=bytetype) assert encoded == diff elif codec == 'decode': decoded = decode(diff, out=bytetype) assert decoded == data elif output == 'out': if codec == 'encode': encoded = bytetype(len(data)) if bytetype == bytes: with pytest.raises(TypeError): encode(data, out=encoded) else: encode(data, out=encoded) assert encoded == diff elif codec == 'decode': decoded = bytetype(len(data)) if bytetype == bytes: with pytest.raises(TypeError): decode(diff, out=decoded) else: decode(diff, out=decoded) assert decoded == data elif output == 'inplace': if codec == 'encode': encoded = bytetype(data) if bytetype == bytes: with pytest.raises(TypeError): encode(encoded, out=encoded) else: encode(encoded, out=encoded) assert encoded == diff elif codec == 'decode': decoded = bytetype(diff) if bytetype == bytes: with pytest.raises(TypeError): decode(decoded, out=decoded) else: decode(decoded, out=decoded) assert decoded == data else: # if func == 'xor' and kind in ('f4', 'f8'): # with pytest.raises(ValueError): # encode(data, axis=axis) # pytest.xfail("XOR codec not implemented for float data") > diff = encode_py(data, axis=-2) tests/test_imagecodecs.py:598: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ data = array([[[2201621676, 3678484257, 3039555272], [ 483952981, 1300822061, 2267633715], [ 359211360, 31451...8638069, 3406390437, 73343100], [2686582756, 929997896, 4207715011]]], shape=(33, 31, 3), dtype='>> xor_encode(b'0123456789') b'0\x01\x03\x01\x07\x01\x03\x01\x0f\x01' """ if isinstance(data, (bytes, bytearray)): data = numpy.frombuffer(data, dtype='u1') xor = numpy.bitwise_xor(data[1:], data[:-1]) return numpy.insert(xor, 0, data[0]).tobytes() dtype = data.dtype if dtype.kind == 'f': data = data.view(f'u{dtype.itemsize}') key = [slice(None)] * data.ndim key[axis] = 0 key0 = [slice(None)] * data.ndim key0[axis] = slice(1, None, None) key1 = [slice(None)] * data.ndim key1[axis] = slice(0, -1, None) key = tuple(key) key0 = tuple(key0) key1 = tuple(key1) xor = numpy.bitwise_xor(data[key0], data[key1]) xor = numpy.insert(xor, 0, data[key], axis=axis) if dtype.kind == 'f': return xor.view(dtype) elif not data.dtype.isnative: > xor = xor.byteswap(True).newbyteorder() E AttributeError: `newbyteorder` was removed from the ndarray class in NumPy 2.0. Use `arr.view(arr.dtype.newbyteorder(order))` instead. ../BUILDROOT/usr/lib64/python3.13/site-packages/imagecodecs/_imagecodecs.py:329: AttributeError _______________________ test_delta[xor-<-u8-encode-new] ________________________ output = 'new', byteorder = '<', kind = 'u8', codec = 'encode', func = 'xor' @pytest.mark.filterwarnings('ignore:invalid value encountered') @pytest.mark.parametrize('output', ['new', 'out', 'inplace']) @pytest.mark.parametrize('codec', ['encode', 'decode']) @pytest.mark.parametrize( 'kind', ['u1', 'u2', 'u4', 'u8', 'i1', 'i2', 'i4', 'i8', 'f4', 'f8', 'B', 'b'], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('func', ['delta', 'xor']) def test_delta(output, byteorder, kind, codec, func): """Test Delta codec.""" # if byteorder == '>' and numpy.dtype(kind).itemsize == 1: # pytest.skip('duplicate test') if func == 'delta': if not imagecodecs.DELTA: pytest.skip('Delta missing') encode = imagecodecs.delta_encode decode = imagecodecs.delta_decode encode_py = _imagecodecs.delta_encode # decode_py = _imagecodecs.delta_decode elif func == 'xor': if not imagecodecs.XOR: pytest.skip('Xor missing') encode = imagecodecs.xor_encode decode = imagecodecs.xor_decode encode_py = _imagecodecs.xor_encode # decode_py = _imagecodecs.xor_decode bytetype = bytearray if kind == 'b': bytetype = bytes kind = 'B' axis = -2 # do not change if kind[0] in 'iuB': low = numpy.iinfo(kind).min high = numpy.iinfo(kind).max data = numpy.random.randint( low, high, size=33 * 31 * 3, dtype=kind ).reshape(33, 31, 3) else: # floating point low, high = -1e5, 1e5 data = numpy.random.randint( low, high, size=33 * 31 * 3, dtype='i4' ).reshape(33, 31, 3) data = data.astype(byteorder + kind) data[16, 14] = [0, 0, 0] data[16, 15] = [low, high, low] data[16, 16] = [high, low, high] data[16, 17] = [low, high, low] data[16, 18] = [high, low, high] data[16, 19] = [0, 0, 0] if kind == 'B': # data = data.reshape(-1) data = data.tobytes() diff = encode_py(data, axis=0) if output == 'new': if codec == 'encode': encoded = encode(data, out=bytetype) assert encoded == diff elif codec == 'decode': decoded = decode(diff, out=bytetype) assert decoded == data elif output == 'out': if codec == 'encode': encoded = bytetype(len(data)) if bytetype == bytes: with pytest.raises(TypeError): encode(data, out=encoded) else: encode(data, out=encoded) assert encoded == diff elif codec == 'decode': decoded = bytetype(len(data)) if bytetype == bytes: with pytest.raises(TypeError): decode(diff, out=decoded) else: decode(diff, out=decoded) assert decoded == data elif output == 'inplace': if codec == 'encode': encoded = bytetype(data) if bytetype == bytes: with pytest.raises(TypeError): encode(encoded, out=encoded) else: encode(encoded, out=encoded) assert encoded == diff elif codec == 'decode': decoded = bytetype(diff) if bytetype == bytes: with pytest.raises(TypeError): decode(decoded, out=decoded) else: decode(decoded, out=decoded) assert decoded == data else: # if func == 'xor' and kind in ('f4', 'f8'): # with pytest.raises(ValueError): # encode(data, axis=axis) # pytest.xfail("XOR codec not implemented for float data") > diff = encode_py(data, axis=-2) tests/test_imagecodecs.py:598: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ data = array([[[14973979169147210046, 9729653548486640995, 4611235686851427091], [ 7454238467094004710, ... [10589913604777378441, 1966719416668362957, 5566338280810670487]]], shape=(33, 31, 3), dtype='>> xor_encode(b'0123456789') b'0\x01\x03\x01\x07\x01\x03\x01\x0f\x01' """ if isinstance(data, (bytes, bytearray)): data = numpy.frombuffer(data, dtype='u1') xor = numpy.bitwise_xor(data[1:], data[:-1]) return numpy.insert(xor, 0, data[0]).tobytes() dtype = data.dtype if dtype.kind == 'f': data = data.view(f'u{dtype.itemsize}') key = [slice(None)] * data.ndim key[axis] = 0 key0 = [slice(None)] * data.ndim key0[axis] = slice(1, None, None) key1 = [slice(None)] * data.ndim key1[axis] = slice(0, -1, None) key = tuple(key) key0 = tuple(key0) key1 = tuple(key1) xor = numpy.bitwise_xor(data[key0], data[key1]) xor = numpy.insert(xor, 0, data[key], axis=axis) if dtype.kind == 'f': return xor.view(dtype) elif not data.dtype.isnative: > xor = xor.byteswap(True).newbyteorder() E AttributeError: `newbyteorder` was removed from the ndarray class in NumPy 2.0. Use `arr.view(arr.dtype.newbyteorder(order))` instead. ../BUILDROOT/usr/lib64/python3.13/site-packages/imagecodecs/_imagecodecs.py:329: AttributeError _______________________ test_delta[xor-<-u8-encode-out] ________________________ output = 'out', byteorder = '<', kind = 'u8', codec = 'encode', func = 'xor' @pytest.mark.filterwarnings('ignore:invalid value encountered') @pytest.mark.parametrize('output', ['new', 'out', 'inplace']) @pytest.mark.parametrize('codec', ['encode', 'decode']) @pytest.mark.parametrize( 'kind', ['u1', 'u2', 'u4', 'u8', 'i1', 'i2', 'i4', 'i8', 'f4', 'f8', 'B', 'b'], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('func', ['delta', 'xor']) def test_delta(output, byteorder, kind, codec, func): """Test Delta codec.""" # if byteorder == '>' and numpy.dtype(kind).itemsize == 1: # pytest.skip('duplicate test') if func == 'delta': if not imagecodecs.DELTA: pytest.skip('Delta missing') encode = imagecodecs.delta_encode decode = imagecodecs.delta_decode encode_py = _imagecodecs.delta_encode # decode_py = _imagecodecs.delta_decode elif func == 'xor': if not imagecodecs.XOR: pytest.skip('Xor missing') encode = imagecodecs.xor_encode decode = imagecodecs.xor_decode encode_py = _imagecodecs.xor_encode # decode_py = _imagecodecs.xor_decode bytetype = bytearray if kind == 'b': bytetype = bytes kind = 'B' axis = -2 # do not change if kind[0] in 'iuB': low = numpy.iinfo(kind).min high = numpy.iinfo(kind).max data = numpy.random.randint( low, high, size=33 * 31 * 3, dtype=kind ).reshape(33, 31, 3) else: # floating point low, high = -1e5, 1e5 data = numpy.random.randint( low, high, size=33 * 31 * 3, dtype='i4' ).reshape(33, 31, 3) data = data.astype(byteorder + kind) data[16, 14] = [0, 0, 0] data[16, 15] = [low, high, low] data[16, 16] = [high, low, high] data[16, 17] = [low, high, low] data[16, 18] = [high, low, high] data[16, 19] = [0, 0, 0] if kind == 'B': # data = data.reshape(-1) data = data.tobytes() diff = encode_py(data, axis=0) if output == 'new': if codec == 'encode': encoded = encode(data, out=bytetype) assert encoded == diff elif codec == 'decode': decoded = decode(diff, out=bytetype) assert decoded == data elif output == 'out': if codec == 'encode': encoded = bytetype(len(data)) if bytetype == bytes: with pytest.raises(TypeError): encode(data, out=encoded) else: encode(data, out=encoded) assert encoded == diff elif codec == 'decode': decoded = bytetype(len(data)) if bytetype == bytes: with pytest.raises(TypeError): decode(diff, out=decoded) else: decode(diff, out=decoded) assert decoded == data elif output == 'inplace': if codec == 'encode': encoded = bytetype(data) if bytetype == bytes: with pytest.raises(TypeError): encode(encoded, out=encoded) else: encode(encoded, out=encoded) assert encoded == diff elif codec == 'decode': decoded = bytetype(diff) if bytetype == bytes: with pytest.raises(TypeError): decode(decoded, out=decoded) else: decode(decoded, out=decoded) assert decoded == data else: # if func == 'xor' and kind in ('f4', 'f8'): # with pytest.raises(ValueError): # encode(data, axis=axis) # pytest.xfail("XOR codec not implemented for float data") > diff = encode_py(data, axis=-2) tests/test_imagecodecs.py:598: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ data = array([[[ 6668863567182945508, 15188891302831593479, 15195325310560968055], [ 265481634101214619, 4... [12055725685429813270, 7856388178318301153, 17278092911263924450]]], shape=(33, 31, 3), dtype='>> xor_encode(b'0123456789') b'0\x01\x03\x01\x07\x01\x03\x01\x0f\x01' """ if isinstance(data, (bytes, bytearray)): data = numpy.frombuffer(data, dtype='u1') xor = numpy.bitwise_xor(data[1:], data[:-1]) return numpy.insert(xor, 0, data[0]).tobytes() dtype = data.dtype if dtype.kind == 'f': data = data.view(f'u{dtype.itemsize}') key = [slice(None)] * data.ndim key[axis] = 0 key0 = [slice(None)] * data.ndim key0[axis] = slice(1, None, None) key1 = [slice(None)] * data.ndim key1[axis] = slice(0, -1, None) key = tuple(key) key0 = tuple(key0) key1 = tuple(key1) xor = numpy.bitwise_xor(data[key0], data[key1]) xor = numpy.insert(xor, 0, data[key], axis=axis) if dtype.kind == 'f': return xor.view(dtype) elif not data.dtype.isnative: > xor = xor.byteswap(True).newbyteorder() E AttributeError: `newbyteorder` was removed from the ndarray class in NumPy 2.0. Use `arr.view(arr.dtype.newbyteorder(order))` instead. ../BUILDROOT/usr/lib64/python3.13/site-packages/imagecodecs/_imagecodecs.py:329: AttributeError _____________________ test_delta[xor-<-u8-encode-inplace] ______________________ output = 'inplace', byteorder = '<', kind = 'u8', codec = 'encode', func = 'xor' @pytest.mark.filterwarnings('ignore:invalid value encountered') @pytest.mark.parametrize('output', ['new', 'out', 'inplace']) @pytest.mark.parametrize('codec', ['encode', 'decode']) @pytest.mark.parametrize( 'kind', ['u1', 'u2', 'u4', 'u8', 'i1', 'i2', 'i4', 'i8', 'f4', 'f8', 'B', 'b'], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('func', ['delta', 'xor']) def test_delta(output, byteorder, kind, codec, func): """Test Delta codec.""" # if byteorder == '>' and numpy.dtype(kind).itemsize == 1: # pytest.skip('duplicate test') if func == 'delta': if not imagecodecs.DELTA: pytest.skip('Delta missing') encode = imagecodecs.delta_encode decode = imagecodecs.delta_decode encode_py = _imagecodecs.delta_encode # decode_py = _imagecodecs.delta_decode elif func == 'xor': if not imagecodecs.XOR: pytest.skip('Xor missing') encode = imagecodecs.xor_encode decode = imagecodecs.xor_decode encode_py = _imagecodecs.xor_encode # decode_py = _imagecodecs.xor_decode bytetype = bytearray if kind == 'b': bytetype = bytes kind = 'B' axis = -2 # do not change if kind[0] in 'iuB': low = numpy.iinfo(kind).min high = numpy.iinfo(kind).max data = numpy.random.randint( low, high, size=33 * 31 * 3, dtype=kind ).reshape(33, 31, 3) else: # floating point low, high = -1e5, 1e5 data = numpy.random.randint( low, high, size=33 * 31 * 3, dtype='i4' ).reshape(33, 31, 3) data = data.astype(byteorder + kind) data[16, 14] = [0, 0, 0] data[16, 15] = [low, high, low] data[16, 16] = [high, low, high] data[16, 17] = [low, high, low] data[16, 18] = [high, low, high] data[16, 19] = [0, 0, 0] if kind == 'B': # data = data.reshape(-1) data = data.tobytes() diff = encode_py(data, axis=0) if output == 'new': if codec == 'encode': encoded = encode(data, out=bytetype) assert encoded == diff elif codec == 'decode': decoded = decode(diff, out=bytetype) assert decoded == data elif output == 'out': if codec == 'encode': encoded = bytetype(len(data)) if bytetype == bytes: with pytest.raises(TypeError): encode(data, out=encoded) else: encode(data, out=encoded) assert encoded == diff elif codec == 'decode': decoded = bytetype(len(data)) if bytetype == bytes: with pytest.raises(TypeError): decode(diff, out=decoded) else: decode(diff, out=decoded) assert decoded == data elif output == 'inplace': if codec == 'encode': encoded = bytetype(data) if bytetype == bytes: with pytest.raises(TypeError): encode(encoded, out=encoded) else: encode(encoded, out=encoded) assert encoded == diff elif codec == 'decode': decoded = bytetype(diff) if bytetype == bytes: with pytest.raises(TypeError): decode(decoded, out=decoded) else: decode(decoded, out=decoded) assert decoded == data else: # if func == 'xor' and kind in ('f4', 'f8'): # with pytest.raises(ValueError): # encode(data, axis=axis) # pytest.xfail("XOR codec not implemented for float data") > diff = encode_py(data, axis=-2) tests/test_imagecodecs.py:598: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ data = array([[[17531925731709522364, 15023838418915870434, 2393615035501847061], [ 5325909181896817978, 5... [ 5845644017862098206, 12284153596671115318, 4637273451569516417]]], shape=(33, 31, 3), dtype='>> xor_encode(b'0123456789') b'0\x01\x03\x01\x07\x01\x03\x01\x0f\x01' """ if isinstance(data, (bytes, bytearray)): data = numpy.frombuffer(data, dtype='u1') xor = numpy.bitwise_xor(data[1:], data[:-1]) return numpy.insert(xor, 0, data[0]).tobytes() dtype = data.dtype if dtype.kind == 'f': data = data.view(f'u{dtype.itemsize}') key = [slice(None)] * data.ndim key[axis] = 0 key0 = [slice(None)] * data.ndim key0[axis] = slice(1, None, None) key1 = [slice(None)] * data.ndim key1[axis] = slice(0, -1, None) key = tuple(key) key0 = tuple(key0) key1 = tuple(key1) xor = numpy.bitwise_xor(data[key0], data[key1]) xor = numpy.insert(xor, 0, data[key], axis=axis) if dtype.kind == 'f': return xor.view(dtype) elif not data.dtype.isnative: > xor = xor.byteswap(True).newbyteorder() E AttributeError: `newbyteorder` was removed from the ndarray class in NumPy 2.0. Use `arr.view(arr.dtype.newbyteorder(order))` instead. ../BUILDROOT/usr/lib64/python3.13/site-packages/imagecodecs/_imagecodecs.py:329: AttributeError _______________________ test_delta[xor-<-u8-decode-new] ________________________ output = 'new', byteorder = '<', kind = 'u8', codec = 'decode', func = 'xor' @pytest.mark.filterwarnings('ignore:invalid value encountered') @pytest.mark.parametrize('output', ['new', 'out', 'inplace']) @pytest.mark.parametrize('codec', ['encode', 'decode']) @pytest.mark.parametrize( 'kind', ['u1', 'u2', 'u4', 'u8', 'i1', 'i2', 'i4', 'i8', 'f4', 'f8', 'B', 'b'], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('func', ['delta', 'xor']) def test_delta(output, byteorder, kind, codec, func): """Test Delta codec.""" # if byteorder == '>' and numpy.dtype(kind).itemsize == 1: # pytest.skip('duplicate test') if func == 'delta': if not imagecodecs.DELTA: pytest.skip('Delta missing') encode = imagecodecs.delta_encode decode = imagecodecs.delta_decode encode_py = _imagecodecs.delta_encode # decode_py = _imagecodecs.delta_decode elif func == 'xor': if not imagecodecs.XOR: pytest.skip('Xor missing') encode = imagecodecs.xor_encode decode = imagecodecs.xor_decode encode_py = _imagecodecs.xor_encode # decode_py = _imagecodecs.xor_decode bytetype = bytearray if kind == 'b': bytetype = bytes kind = 'B' axis = -2 # do not change if kind[0] in 'iuB': low = numpy.iinfo(kind).min high = numpy.iinfo(kind).max data = numpy.random.randint( low, high, size=33 * 31 * 3, dtype=kind ).reshape(33, 31, 3) else: # floating point low, high = -1e5, 1e5 data = numpy.random.randint( low, high, size=33 * 31 * 3, dtype='i4' ).reshape(33, 31, 3) data = data.astype(byteorder + kind) data[16, 14] = [0, 0, 0] data[16, 15] = [low, high, low] data[16, 16] = [high, low, high] data[16, 17] = [low, high, low] data[16, 18] = [high, low, high] data[16, 19] = [0, 0, 0] if kind == 'B': # data = data.reshape(-1) data = data.tobytes() diff = encode_py(data, axis=0) if output == 'new': if codec == 'encode': encoded = encode(data, out=bytetype) assert encoded == diff elif codec == 'decode': decoded = decode(diff, out=bytetype) assert decoded == data elif output == 'out': if codec == 'encode': encoded = bytetype(len(data)) if bytetype == bytes: with pytest.raises(TypeError): encode(data, out=encoded) else: encode(data, out=encoded) assert encoded == diff elif codec == 'decode': decoded = bytetype(len(data)) if bytetype == bytes: with pytest.raises(TypeError): decode(diff, out=decoded) else: decode(diff, out=decoded) assert decoded == data elif output == 'inplace': if codec == 'encode': encoded = bytetype(data) if bytetype == bytes: with pytest.raises(TypeError): encode(encoded, out=encoded) else: encode(encoded, out=encoded) assert encoded == diff elif codec == 'decode': decoded = bytetype(diff) if bytetype == bytes: with pytest.raises(TypeError): decode(decoded, out=decoded) else: decode(decoded, out=decoded) assert decoded == data else: # if func == 'xor' and kind in ('f4', 'f8'): # with pytest.raises(ValueError): # encode(data, axis=axis) # pytest.xfail("XOR codec not implemented for float data") > diff = encode_py(data, axis=-2) tests/test_imagecodecs.py:598: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ data = array([[[ 297436739484399460, 15192928331479206718, 8044006968484924575], [ 5115435033242659081, 2... [16189896336356704747, 12530505787506872957, 18240605254957677075]]], shape=(33, 31, 3), dtype='>> xor_encode(b'0123456789') b'0\x01\x03\x01\x07\x01\x03\x01\x0f\x01' """ if isinstance(data, (bytes, bytearray)): data = numpy.frombuffer(data, dtype='u1') xor = numpy.bitwise_xor(data[1:], data[:-1]) return numpy.insert(xor, 0, data[0]).tobytes() dtype = data.dtype if dtype.kind == 'f': data = data.view(f'u{dtype.itemsize}') key = [slice(None)] * data.ndim key[axis] = 0 key0 = [slice(None)] * data.ndim key0[axis] = slice(1, None, None) key1 = [slice(None)] * data.ndim key1[axis] = slice(0, -1, None) key = tuple(key) key0 = tuple(key0) key1 = tuple(key1) xor = numpy.bitwise_xor(data[key0], data[key1]) xor = numpy.insert(xor, 0, data[key], axis=axis) if dtype.kind == 'f': return xor.view(dtype) elif not data.dtype.isnative: > xor = xor.byteswap(True).newbyteorder() E AttributeError: `newbyteorder` was removed from the ndarray class in NumPy 2.0. Use `arr.view(arr.dtype.newbyteorder(order))` instead. ../BUILDROOT/usr/lib64/python3.13/site-packages/imagecodecs/_imagecodecs.py:329: AttributeError _______________________ test_delta[xor-<-u8-decode-out] ________________________ output = 'out', byteorder = '<', kind = 'u8', codec = 'decode', func = 'xor' @pytest.mark.filterwarnings('ignore:invalid value encountered') @pytest.mark.parametrize('output', ['new', 'out', 'inplace']) @pytest.mark.parametrize('codec', ['encode', 'decode']) @pytest.mark.parametrize( 'kind', ['u1', 'u2', 'u4', 'u8', 'i1', 'i2', 'i4', 'i8', 'f4', 'f8', 'B', 'b'], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('func', ['delta', 'xor']) def test_delta(output, byteorder, kind, codec, func): """Test Delta codec.""" # if byteorder == '>' and numpy.dtype(kind).itemsize == 1: # pytest.skip('duplicate test') if func == 'delta': if not imagecodecs.DELTA: pytest.skip('Delta missing') encode = imagecodecs.delta_encode decode = imagecodecs.delta_decode encode_py = _imagecodecs.delta_encode # decode_py = _imagecodecs.delta_decode elif func == 'xor': if not imagecodecs.XOR: pytest.skip('Xor missing') encode = imagecodecs.xor_encode decode = imagecodecs.xor_decode encode_py = _imagecodecs.xor_encode # decode_py = _imagecodecs.xor_decode bytetype = bytearray if kind == 'b': bytetype = bytes kind = 'B' axis = -2 # do not change if kind[0] in 'iuB': low = numpy.iinfo(kind).min high = numpy.iinfo(kind).max data = numpy.random.randint( low, high, size=33 * 31 * 3, dtype=kind ).reshape(33, 31, 3) else: # floating point low, high = -1e5, 1e5 data = numpy.random.randint( low, high, size=33 * 31 * 3, dtype='i4' ).reshape(33, 31, 3) data = data.astype(byteorder + kind) data[16, 14] = [0, 0, 0] data[16, 15] = [low, high, low] data[16, 16] = [high, low, high] data[16, 17] = [low, high, low] data[16, 18] = [high, low, high] data[16, 19] = [0, 0, 0] if kind == 'B': # data = data.reshape(-1) data = data.tobytes() diff = encode_py(data, axis=0) if output == 'new': if codec == 'encode': encoded = encode(data, out=bytetype) assert encoded == diff elif codec == 'decode': decoded = decode(diff, out=bytetype) assert decoded == data elif output == 'out': if codec == 'encode': encoded = bytetype(len(data)) if bytetype == bytes: with pytest.raises(TypeError): encode(data, out=encoded) else: encode(data, out=encoded) assert encoded == diff elif codec == 'decode': decoded = bytetype(len(data)) if bytetype == bytes: with pytest.raises(TypeError): decode(diff, out=decoded) else: decode(diff, out=decoded) assert decoded == data elif output == 'inplace': if codec == 'encode': encoded = bytetype(data) if bytetype == bytes: with pytest.raises(TypeError): encode(encoded, out=encoded) else: encode(encoded, out=encoded) assert encoded == diff elif codec == 'decode': decoded = bytetype(diff) if bytetype == bytes: with pytest.raises(TypeError): decode(decoded, out=decoded) else: decode(decoded, out=decoded) assert decoded == data else: # if func == 'xor' and kind in ('f4', 'f8'): # with pytest.raises(ValueError): # encode(data, axis=axis) # pytest.xfail("XOR codec not implemented for float data") > diff = encode_py(data, axis=-2) tests/test_imagecodecs.py:598: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ data = array([[[16834425112630962656, 5285493963522146198, 1234594665202181418], [ 5040956410038742864, 12... [13868940432823189496, 18394181678012989461, 14658453183744086919]]], shape=(33, 31, 3), dtype='>> xor_encode(b'0123456789') b'0\x01\x03\x01\x07\x01\x03\x01\x0f\x01' """ if isinstance(data, (bytes, bytearray)): data = numpy.frombuffer(data, dtype='u1') xor = numpy.bitwise_xor(data[1:], data[:-1]) return numpy.insert(xor, 0, data[0]).tobytes() dtype = data.dtype if dtype.kind == 'f': data = data.view(f'u{dtype.itemsize}') key = [slice(None)] * data.ndim key[axis] = 0 key0 = [slice(None)] * data.ndim key0[axis] = slice(1, None, None) key1 = [slice(None)] * data.ndim key1[axis] = slice(0, -1, None) key = tuple(key) key0 = tuple(key0) key1 = tuple(key1) xor = numpy.bitwise_xor(data[key0], data[key1]) xor = numpy.insert(xor, 0, data[key], axis=axis) if dtype.kind == 'f': return xor.view(dtype) elif not data.dtype.isnative: > xor = xor.byteswap(True).newbyteorder() E AttributeError: `newbyteorder` was removed from the ndarray class in NumPy 2.0. Use `arr.view(arr.dtype.newbyteorder(order))` instead. ../BUILDROOT/usr/lib64/python3.13/site-packages/imagecodecs/_imagecodecs.py:329: AttributeError _____________________ test_delta[xor-<-u8-decode-inplace] ______________________ output = 'inplace', byteorder = '<', kind = 'u8', codec = 'decode', func = 'xor' @pytest.mark.filterwarnings('ignore:invalid value encountered') @pytest.mark.parametrize('output', ['new', 'out', 'inplace']) @pytest.mark.parametrize('codec', ['encode', 'decode']) @pytest.mark.parametrize( 'kind', ['u1', 'u2', 'u4', 'u8', 'i1', 'i2', 'i4', 'i8', 'f4', 'f8', 'B', 'b'], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('func', ['delta', 'xor']) def test_delta(output, byteorder, kind, codec, func): """Test Delta codec.""" # if byteorder == '>' and numpy.dtype(kind).itemsize == 1: # pytest.skip('duplicate test') if func == 'delta': if not imagecodecs.DELTA: pytest.skip('Delta missing') encode = imagecodecs.delta_encode decode = imagecodecs.delta_decode encode_py = _imagecodecs.delta_encode # decode_py = _imagecodecs.delta_decode elif func == 'xor': if not imagecodecs.XOR: pytest.skip('Xor missing') encode = imagecodecs.xor_encode decode = imagecodecs.xor_decode encode_py = _imagecodecs.xor_encode # decode_py = _imagecodecs.xor_decode bytetype = bytearray if kind == 'b': bytetype = bytes kind = 'B' axis = -2 # do not change if kind[0] in 'iuB': low = numpy.iinfo(kind).min high = numpy.iinfo(kind).max data = numpy.random.randint( low, high, size=33 * 31 * 3, dtype=kind ).reshape(33, 31, 3) else: # floating point low, high = -1e5, 1e5 data = numpy.random.randint( low, high, size=33 * 31 * 3, dtype='i4' ).reshape(33, 31, 3) data = data.astype(byteorder + kind) data[16, 14] = [0, 0, 0] data[16, 15] = [low, high, low] data[16, 16] = [high, low, high] data[16, 17] = [low, high, low] data[16, 18] = [high, low, high] data[16, 19] = [0, 0, 0] if kind == 'B': # data = data.reshape(-1) data = data.tobytes() diff = encode_py(data, axis=0) if output == 'new': if codec == 'encode': encoded = encode(data, out=bytetype) assert encoded == diff elif codec == 'decode': decoded = decode(diff, out=bytetype) assert decoded == data elif output == 'out': if codec == 'encode': encoded = bytetype(len(data)) if bytetype == bytes: with pytest.raises(TypeError): encode(data, out=encoded) else: encode(data, out=encoded) assert encoded == diff elif codec == 'decode': decoded = bytetype(len(data)) if bytetype == bytes: with pytest.raises(TypeError): decode(diff, out=decoded) else: decode(diff, out=decoded) assert decoded == data elif output == 'inplace': if codec == 'encode': encoded = bytetype(data) if bytetype == bytes: with pytest.raises(TypeError): encode(encoded, out=encoded) else: encode(encoded, out=encoded) assert encoded == diff elif codec == 'decode': decoded = bytetype(diff) if bytetype == bytes: with pytest.raises(TypeError): decode(decoded, out=decoded) else: decode(decoded, out=decoded) assert decoded == data else: # if func == 'xor' and kind in ('f4', 'f8'): # with pytest.raises(ValueError): # encode(data, axis=axis) # pytest.xfail("XOR codec not implemented for float data") > diff = encode_py(data, axis=-2) tests/test_imagecodecs.py:598: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ data = array([[[ 8361299366504001060, 2938771524813909391, 8284520130808401956], [ 1887376858438469441, ... [ 1900793431077241270, 3699332639075094579, 7696069360380653807]]], shape=(33, 31, 3), dtype='>> xor_encode(b'0123456789') b'0\x01\x03\x01\x07\x01\x03\x01\x0f\x01' """ if isinstance(data, (bytes, bytearray)): data = numpy.frombuffer(data, dtype='u1') xor = numpy.bitwise_xor(data[1:], data[:-1]) return numpy.insert(xor, 0, data[0]).tobytes() dtype = data.dtype if dtype.kind == 'f': data = data.view(f'u{dtype.itemsize}') key = [slice(None)] * data.ndim key[axis] = 0 key0 = [slice(None)] * data.ndim key0[axis] = slice(1, None, None) key1 = [slice(None)] * data.ndim key1[axis] = slice(0, -1, None) key = tuple(key) key0 = tuple(key0) key1 = tuple(key1) xor = numpy.bitwise_xor(data[key0], data[key1]) xor = numpy.insert(xor, 0, data[key], axis=axis) if dtype.kind == 'f': return xor.view(dtype) elif not data.dtype.isnative: > xor = xor.byteswap(True).newbyteorder() E AttributeError: `newbyteorder` was removed from the ndarray class in NumPy 2.0. Use `arr.view(arr.dtype.newbyteorder(order))` instead. ../BUILDROOT/usr/lib64/python3.13/site-packages/imagecodecs/_imagecodecs.py:329: AttributeError _______________________ test_delta[xor-<-i2-encode-new] ________________________ output = 'new', byteorder = '<', kind = 'i2', codec = 'encode', func = 'xor' @pytest.mark.filterwarnings('ignore:invalid value encountered') @pytest.mark.parametrize('output', ['new', 'out', 'inplace']) @pytest.mark.parametrize('codec', ['encode', 'decode']) @pytest.mark.parametrize( 'kind', ['u1', 'u2', 'u4', 'u8', 'i1', 'i2', 'i4', 'i8', 'f4', 'f8', 'B', 'b'], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('func', ['delta', 'xor']) def test_delta(output, byteorder, kind, codec, func): """Test Delta codec.""" # if byteorder == '>' and numpy.dtype(kind).itemsize == 1: # pytest.skip('duplicate test') if func == 'delta': if not imagecodecs.DELTA: pytest.skip('Delta missing') encode = imagecodecs.delta_encode decode = imagecodecs.delta_decode encode_py = _imagecodecs.delta_encode # decode_py = _imagecodecs.delta_decode elif func == 'xor': if not imagecodecs.XOR: pytest.skip('Xor missing') encode = imagecodecs.xor_encode decode = imagecodecs.xor_decode encode_py = _imagecodecs.xor_encode # decode_py = _imagecodecs.xor_decode bytetype = bytearray if kind == 'b': bytetype = bytes kind = 'B' axis = -2 # do not change if kind[0] in 'iuB': low = numpy.iinfo(kind).min high = numpy.iinfo(kind).max data = numpy.random.randint( low, high, size=33 * 31 * 3, dtype=kind ).reshape(33, 31, 3) else: # floating point low, high = -1e5, 1e5 data = numpy.random.randint( low, high, size=33 * 31 * 3, dtype='i4' ).reshape(33, 31, 3) data = data.astype(byteorder + kind) data[16, 14] = [0, 0, 0] data[16, 15] = [low, high, low] data[16, 16] = [high, low, high] data[16, 17] = [low, high, low] data[16, 18] = [high, low, high] data[16, 19] = [0, 0, 0] if kind == 'B': # data = data.reshape(-1) data = data.tobytes() diff = encode_py(data, axis=0) if output == 'new': if codec == 'encode': encoded = encode(data, out=bytetype) assert encoded == diff elif codec == 'decode': decoded = decode(diff, out=bytetype) assert decoded == data elif output == 'out': if codec == 'encode': encoded = bytetype(len(data)) if bytetype == bytes: with pytest.raises(TypeError): encode(data, out=encoded) else: encode(data, out=encoded) assert encoded == diff elif codec == 'decode': decoded = bytetype(len(data)) if bytetype == bytes: with pytest.raises(TypeError): decode(diff, out=decoded) else: decode(diff, out=decoded) assert decoded == data elif output == 'inplace': if codec == 'encode': encoded = bytetype(data) if bytetype == bytes: with pytest.raises(TypeError): encode(encoded, out=encoded) else: encode(encoded, out=encoded) assert encoded == diff elif codec == 'decode': decoded = bytetype(diff) if bytetype == bytes: with pytest.raises(TypeError): decode(decoded, out=decoded) else: decode(decoded, out=decoded) assert decoded == data else: # if func == 'xor' and kind in ('f4', 'f8'): # with pytest.raises(ValueError): # encode(data, axis=axis) # pytest.xfail("XOR codec not implemented for float data") > diff = encode_py(data, axis=-2) tests/test_imagecodecs.py:598: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ data = array([[[ 13268, -32745, -16750], [ -2865, 31878, -7092], [-11416, 26338, -18457], ..., ... 4963, 11173], [-18845, -14302, 26068], [-14032, 28062, 6171]]], shape=(33, 31, 3), dtype='>> xor_encode(b'0123456789') b'0\x01\x03\x01\x07\x01\x03\x01\x0f\x01' """ if isinstance(data, (bytes, bytearray)): data = numpy.frombuffer(data, dtype='u1') xor = numpy.bitwise_xor(data[1:], data[:-1]) return numpy.insert(xor, 0, data[0]).tobytes() dtype = data.dtype if dtype.kind == 'f': data = data.view(f'u{dtype.itemsize}') key = [slice(None)] * data.ndim key[axis] = 0 key0 = [slice(None)] * data.ndim key0[axis] = slice(1, None, None) key1 = [slice(None)] * data.ndim key1[axis] = slice(0, -1, None) key = tuple(key) key0 = tuple(key0) key1 = tuple(key1) xor = numpy.bitwise_xor(data[key0], data[key1]) xor = numpy.insert(xor, 0, data[key], axis=axis) if dtype.kind == 'f': return xor.view(dtype) elif not data.dtype.isnative: > xor = xor.byteswap(True).newbyteorder() E AttributeError: `newbyteorder` was removed from the ndarray class in NumPy 2.0. Use `arr.view(arr.dtype.newbyteorder(order))` instead. ../BUILDROOT/usr/lib64/python3.13/site-packages/imagecodecs/_imagecodecs.py:329: AttributeError _______________________ test_delta[xor-<-i2-encode-out] ________________________ output = 'out', byteorder = '<', kind = 'i2', codec = 'encode', func = 'xor' @pytest.mark.filterwarnings('ignore:invalid value encountered') @pytest.mark.parametrize('output', ['new', 'out', 'inplace']) @pytest.mark.parametrize('codec', ['encode', 'decode']) @pytest.mark.parametrize( 'kind', ['u1', 'u2', 'u4', 'u8', 'i1', 'i2', 'i4', 'i8', 'f4', 'f8', 'B', 'b'], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('func', ['delta', 'xor']) def test_delta(output, byteorder, kind, codec, func): """Test Delta codec.""" # if byteorder == '>' and numpy.dtype(kind).itemsize == 1: # pytest.skip('duplicate test') if func == 'delta': if not imagecodecs.DELTA: pytest.skip('Delta missing') encode = imagecodecs.delta_encode decode = imagecodecs.delta_decode encode_py = _imagecodecs.delta_encode # decode_py = _imagecodecs.delta_decode elif func == 'xor': if not imagecodecs.XOR: pytest.skip('Xor missing') encode = imagecodecs.xor_encode decode = imagecodecs.xor_decode encode_py = _imagecodecs.xor_encode # decode_py = _imagecodecs.xor_decode bytetype = bytearray if kind == 'b': bytetype = bytes kind = 'B' axis = -2 # do not change if kind[0] in 'iuB': low = numpy.iinfo(kind).min high = numpy.iinfo(kind).max data = numpy.random.randint( low, high, size=33 * 31 * 3, dtype=kind ).reshape(33, 31, 3) else: # floating point low, high = -1e5, 1e5 data = numpy.random.randint( low, high, size=33 * 31 * 3, dtype='i4' ).reshape(33, 31, 3) data = data.astype(byteorder + kind) data[16, 14] = [0, 0, 0] data[16, 15] = [low, high, low] data[16, 16] = [high, low, high] data[16, 17] = [low, high, low] data[16, 18] = [high, low, high] data[16, 19] = [0, 0, 0] if kind == 'B': # data = data.reshape(-1) data = data.tobytes() diff = encode_py(data, axis=0) if output == 'new': if codec == 'encode': encoded = encode(data, out=bytetype) assert encoded == diff elif codec == 'decode': decoded = decode(diff, out=bytetype) assert decoded == data elif output == 'out': if codec == 'encode': encoded = bytetype(len(data)) if bytetype == bytes: with pytest.raises(TypeError): encode(data, out=encoded) else: encode(data, out=encoded) assert encoded == diff elif codec == 'decode': decoded = bytetype(len(data)) if bytetype == bytes: with pytest.raises(TypeError): decode(diff, out=decoded) else: decode(diff, out=decoded) assert decoded == data elif output == 'inplace': if codec == 'encode': encoded = bytetype(data) if bytetype == bytes: with pytest.raises(TypeError): encode(encoded, out=encoded) else: encode(encoded, out=encoded) assert encoded == diff elif codec == 'decode': decoded = bytetype(diff) if bytetype == bytes: with pytest.raises(TypeError): decode(decoded, out=decoded) else: decode(decoded, out=decoded) assert decoded == data else: # if func == 'xor' and kind in ('f4', 'f8'): # with pytest.raises(ValueError): # encode(data, axis=axis) # pytest.xfail("XOR codec not implemented for float data") > diff = encode_py(data, axis=-2) tests/test_imagecodecs.py:598: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ data = array([[[ 7327, 17706, -21217], [-17271, 16224, -11450], [-14208, -32391, 5742], ..., ... -28140, 26954], [ 13274, 21444, -20069], [ 26672, -9266, 1911]]], shape=(33, 31, 3), dtype='>> xor_encode(b'0123456789') b'0\x01\x03\x01\x07\x01\x03\x01\x0f\x01' """ if isinstance(data, (bytes, bytearray)): data = numpy.frombuffer(data, dtype='u1') xor = numpy.bitwise_xor(data[1:], data[:-1]) return numpy.insert(xor, 0, data[0]).tobytes() dtype = data.dtype if dtype.kind == 'f': data = data.view(f'u{dtype.itemsize}') key = [slice(None)] * data.ndim key[axis] = 0 key0 = [slice(None)] * data.ndim key0[axis] = slice(1, None, None) key1 = [slice(None)] * data.ndim key1[axis] = slice(0, -1, None) key = tuple(key) key0 = tuple(key0) key1 = tuple(key1) xor = numpy.bitwise_xor(data[key0], data[key1]) xor = numpy.insert(xor, 0, data[key], axis=axis) if dtype.kind == 'f': return xor.view(dtype) elif not data.dtype.isnative: > xor = xor.byteswap(True).newbyteorder() E AttributeError: `newbyteorder` was removed from the ndarray class in NumPy 2.0. Use `arr.view(arr.dtype.newbyteorder(order))` instead. ../BUILDROOT/usr/lib64/python3.13/site-packages/imagecodecs/_imagecodecs.py:329: AttributeError _____________________ test_delta[xor-<-i2-encode-inplace] ______________________ output = 'inplace', byteorder = '<', kind = 'i2', codec = 'encode', func = 'xor' @pytest.mark.filterwarnings('ignore:invalid value encountered') @pytest.mark.parametrize('output', ['new', 'out', 'inplace']) @pytest.mark.parametrize('codec', ['encode', 'decode']) @pytest.mark.parametrize( 'kind', ['u1', 'u2', 'u4', 'u8', 'i1', 'i2', 'i4', 'i8', 'f4', 'f8', 'B', 'b'], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('func', ['delta', 'xor']) def test_delta(output, byteorder, kind, codec, func): """Test Delta codec.""" # if byteorder == '>' and numpy.dtype(kind).itemsize == 1: # pytest.skip('duplicate test') if func == 'delta': if not imagecodecs.DELTA: pytest.skip('Delta missing') encode = imagecodecs.delta_encode decode = imagecodecs.delta_decode encode_py = _imagecodecs.delta_encode # decode_py = _imagecodecs.delta_decode elif func == 'xor': if not imagecodecs.XOR: pytest.skip('Xor missing') encode = imagecodecs.xor_encode decode = imagecodecs.xor_decode encode_py = _imagecodecs.xor_encode # decode_py = _imagecodecs.xor_decode bytetype = bytearray if kind == 'b': bytetype = bytes kind = 'B' axis = -2 # do not change if kind[0] in 'iuB': low = numpy.iinfo(kind).min high = numpy.iinfo(kind).max data = numpy.random.randint( low, high, size=33 * 31 * 3, dtype=kind ).reshape(33, 31, 3) else: # floating point low, high = -1e5, 1e5 data = numpy.random.randint( low, high, size=33 * 31 * 3, dtype='i4' ).reshape(33, 31, 3) data = data.astype(byteorder + kind) data[16, 14] = [0, 0, 0] data[16, 15] = [low, high, low] data[16, 16] = [high, low, high] data[16, 17] = [low, high, low] data[16, 18] = [high, low, high] data[16, 19] = [0, 0, 0] if kind == 'B': # data = data.reshape(-1) data = data.tobytes() diff = encode_py(data, axis=0) if output == 'new': if codec == 'encode': encoded = encode(data, out=bytetype) assert encoded == diff elif codec == 'decode': decoded = decode(diff, out=bytetype) assert decoded == data elif output == 'out': if codec == 'encode': encoded = bytetype(len(data)) if bytetype == bytes: with pytest.raises(TypeError): encode(data, out=encoded) else: encode(data, out=encoded) assert encoded == diff elif codec == 'decode': decoded = bytetype(len(data)) if bytetype == bytes: with pytest.raises(TypeError): decode(diff, out=decoded) else: decode(diff, out=decoded) assert decoded == data elif output == 'inplace': if codec == 'encode': encoded = bytetype(data) if bytetype == bytes: with pytest.raises(TypeError): encode(encoded, out=encoded) else: encode(encoded, out=encoded) assert encoded == diff elif codec == 'decode': decoded = bytetype(diff) if bytetype == bytes: with pytest.raises(TypeError): decode(decoded, out=decoded) else: decode(decoded, out=decoded) assert decoded == data else: # if func == 'xor' and kind in ('f4', 'f8'): # with pytest.raises(ValueError): # encode(data, axis=axis) # pytest.xfail("XOR codec not implemented for float data") > diff = encode_py(data, axis=-2) tests/test_imagecodecs.py:598: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ data = array([[[ -3022, 12591, 17280], [-27110, -21309, -22848], [ 7822, -5556, -3495], ..., ... -25752, -3434], [ 13242, 29250, -28738], [ -9180, -17670, 22086]]], shape=(33, 31, 3), dtype='>> xor_encode(b'0123456789') b'0\x01\x03\x01\x07\x01\x03\x01\x0f\x01' """ if isinstance(data, (bytes, bytearray)): data = numpy.frombuffer(data, dtype='u1') xor = numpy.bitwise_xor(data[1:], data[:-1]) return numpy.insert(xor, 0, data[0]).tobytes() dtype = data.dtype if dtype.kind == 'f': data = data.view(f'u{dtype.itemsize}') key = [slice(None)] * data.ndim key[axis] = 0 key0 = [slice(None)] * data.ndim key0[axis] = slice(1, None, None) key1 = [slice(None)] * data.ndim key1[axis] = slice(0, -1, None) key = tuple(key) key0 = tuple(key0) key1 = tuple(key1) xor = numpy.bitwise_xor(data[key0], data[key1]) xor = numpy.insert(xor, 0, data[key], axis=axis) if dtype.kind == 'f': return xor.view(dtype) elif not data.dtype.isnative: > xor = xor.byteswap(True).newbyteorder() E AttributeError: `newbyteorder` was removed from the ndarray class in NumPy 2.0. Use `arr.view(arr.dtype.newbyteorder(order))` instead. ../BUILDROOT/usr/lib64/python3.13/site-packages/imagecodecs/_imagecodecs.py:329: AttributeError _______________________ test_delta[xor-<-i2-decode-new] ________________________ output = 'new', byteorder = '<', kind = 'i2', codec = 'decode', func = 'xor' @pytest.mark.filterwarnings('ignore:invalid value encountered') @pytest.mark.parametrize('output', ['new', 'out', 'inplace']) @pytest.mark.parametrize('codec', ['encode', 'decode']) @pytest.mark.parametrize( 'kind', ['u1', 'u2', 'u4', 'u8', 'i1', 'i2', 'i4', 'i8', 'f4', 'f8', 'B', 'b'], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('func', ['delta', 'xor']) def test_delta(output, byteorder, kind, codec, func): """Test Delta codec.""" # if byteorder == '>' and numpy.dtype(kind).itemsize == 1: # pytest.skip('duplicate test') if func == 'delta': if not imagecodecs.DELTA: pytest.skip('Delta missing') encode = imagecodecs.delta_encode decode = imagecodecs.delta_decode encode_py = _imagecodecs.delta_encode # decode_py = _imagecodecs.delta_decode elif func == 'xor': if not imagecodecs.XOR: pytest.skip('Xor missing') encode = imagecodecs.xor_encode decode = imagecodecs.xor_decode encode_py = _imagecodecs.xor_encode # decode_py = _imagecodecs.xor_decode bytetype = bytearray if kind == 'b': bytetype = bytes kind = 'B' axis = -2 # do not change if kind[0] in 'iuB': low = numpy.iinfo(kind).min high = numpy.iinfo(kind).max data = numpy.random.randint( low, high, size=33 * 31 * 3, dtype=kind ).reshape(33, 31, 3) else: # floating point low, high = -1e5, 1e5 data = numpy.random.randint( low, high, size=33 * 31 * 3, dtype='i4' ).reshape(33, 31, 3) data = data.astype(byteorder + kind) data[16, 14] = [0, 0, 0] data[16, 15] = [low, high, low] data[16, 16] = [high, low, high] data[16, 17] = [low, high, low] data[16, 18] = [high, low, high] data[16, 19] = [0, 0, 0] if kind == 'B': # data = data.reshape(-1) data = data.tobytes() diff = encode_py(data, axis=0) if output == 'new': if codec == 'encode': encoded = encode(data, out=bytetype) assert encoded == diff elif codec == 'decode': decoded = decode(diff, out=bytetype) assert decoded == data elif output == 'out': if codec == 'encode': encoded = bytetype(len(data)) if bytetype == bytes: with pytest.raises(TypeError): encode(data, out=encoded) else: encode(data, out=encoded) assert encoded == diff elif codec == 'decode': decoded = bytetype(len(data)) if bytetype == bytes: with pytest.raises(TypeError): decode(diff, out=decoded) else: decode(diff, out=decoded) assert decoded == data elif output == 'inplace': if codec == 'encode': encoded = bytetype(data) if bytetype == bytes: with pytest.raises(TypeError): encode(encoded, out=encoded) else: encode(encoded, out=encoded) assert encoded == diff elif codec == 'decode': decoded = bytetype(diff) if bytetype == bytes: with pytest.raises(TypeError): decode(decoded, out=decoded) else: decode(decoded, out=decoded) assert decoded == data else: # if func == 'xor' and kind in ('f4', 'f8'): # with pytest.raises(ValueError): # encode(data, axis=axis) # pytest.xfail("XOR codec not implemented for float data") > diff = encode_py(data, axis=-2) tests/test_imagecodecs.py:598: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ data = array([[[-25894, -25177, -26766], [-15751, 24885, -13750], [ 5388, 24063, -22021], ..., ... 6064, -26900], [ 8503, -20800, -5610], [ 21188, 8760, -18397]]], shape=(33, 31, 3), dtype='>> xor_encode(b'0123456789') b'0\x01\x03\x01\x07\x01\x03\x01\x0f\x01' """ if isinstance(data, (bytes, bytearray)): data = numpy.frombuffer(data, dtype='u1') xor = numpy.bitwise_xor(data[1:], data[:-1]) return numpy.insert(xor, 0, data[0]).tobytes() dtype = data.dtype if dtype.kind == 'f': data = data.view(f'u{dtype.itemsize}') key = [slice(None)] * data.ndim key[axis] = 0 key0 = [slice(None)] * data.ndim key0[axis] = slice(1, None, None) key1 = [slice(None)] * data.ndim key1[axis] = slice(0, -1, None) key = tuple(key) key0 = tuple(key0) key1 = tuple(key1) xor = numpy.bitwise_xor(data[key0], data[key1]) xor = numpy.insert(xor, 0, data[key], axis=axis) if dtype.kind == 'f': return xor.view(dtype) elif not data.dtype.isnative: > xor = xor.byteswap(True).newbyteorder() E AttributeError: `newbyteorder` was removed from the ndarray class in NumPy 2.0. Use `arr.view(arr.dtype.newbyteorder(order))` instead. ../BUILDROOT/usr/lib64/python3.13/site-packages/imagecodecs/_imagecodecs.py:329: AttributeError _______________________ test_delta[xor-<-i2-decode-out] ________________________ output = 'out', byteorder = '<', kind = 'i2', codec = 'decode', func = 'xor' @pytest.mark.filterwarnings('ignore:invalid value encountered') @pytest.mark.parametrize('output', ['new', 'out', 'inplace']) @pytest.mark.parametrize('codec', ['encode', 'decode']) @pytest.mark.parametrize( 'kind', ['u1', 'u2', 'u4', 'u8', 'i1', 'i2', 'i4', 'i8', 'f4', 'f8', 'B', 'b'], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('func', ['delta', 'xor']) def test_delta(output, byteorder, kind, codec, func): """Test Delta codec.""" # if byteorder == '>' and numpy.dtype(kind).itemsize == 1: # pytest.skip('duplicate test') if func == 'delta': if not imagecodecs.DELTA: pytest.skip('Delta missing') encode = imagecodecs.delta_encode decode = imagecodecs.delta_decode encode_py = _imagecodecs.delta_encode # decode_py = _imagecodecs.delta_decode elif func == 'xor': if not imagecodecs.XOR: pytest.skip('Xor missing') encode = imagecodecs.xor_encode decode = imagecodecs.xor_decode encode_py = _imagecodecs.xor_encode # decode_py = _imagecodecs.xor_decode bytetype = bytearray if kind == 'b': bytetype = bytes kind = 'B' axis = -2 # do not change if kind[0] in 'iuB': low = numpy.iinfo(kind).min high = numpy.iinfo(kind).max data = numpy.random.randint( low, high, size=33 * 31 * 3, dtype=kind ).reshape(33, 31, 3) else: # floating point low, high = -1e5, 1e5 data = numpy.random.randint( low, high, size=33 * 31 * 3, dtype='i4' ).reshape(33, 31, 3) data = data.astype(byteorder + kind) data[16, 14] = [0, 0, 0] data[16, 15] = [low, high, low] data[16, 16] = [high, low, high] data[16, 17] = [low, high, low] data[16, 18] = [high, low, high] data[16, 19] = [0, 0, 0] if kind == 'B': # data = data.reshape(-1) data = data.tobytes() diff = encode_py(data, axis=0) if output == 'new': if codec == 'encode': encoded = encode(data, out=bytetype) assert encoded == diff elif codec == 'decode': decoded = decode(diff, out=bytetype) assert decoded == data elif output == 'out': if codec == 'encode': encoded = bytetype(len(data)) if bytetype == bytes: with pytest.raises(TypeError): encode(data, out=encoded) else: encode(data, out=encoded) assert encoded == diff elif codec == 'decode': decoded = bytetype(len(data)) if bytetype == bytes: with pytest.raises(TypeError): decode(diff, out=decoded) else: decode(diff, out=decoded) assert decoded == data elif output == 'inplace': if codec == 'encode': encoded = bytetype(data) if bytetype == bytes: with pytest.raises(TypeError): encode(encoded, out=encoded) else: encode(encoded, out=encoded) assert encoded == diff elif codec == 'decode': decoded = bytetype(diff) if bytetype == bytes: with pytest.raises(TypeError): decode(decoded, out=decoded) else: decode(decoded, out=decoded) assert decoded == data else: # if func == 'xor' and kind in ('f4', 'f8'): # with pytest.raises(ValueError): # encode(data, axis=axis) # pytest.xfail("XOR codec not implemented for float data") > diff = encode_py(data, axis=-2) tests/test_imagecodecs.py:598: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ data = array([[[-29063, -26700, -17192], [-32433, 27527, 8908], [-13281, 1388, 14477], ..., ... 30018, 3590], [-14703, -12889, 10574], [-20979, 22299, -22498]]], shape=(33, 31, 3), dtype='>> xor_encode(b'0123456789') b'0\x01\x03\x01\x07\x01\x03\x01\x0f\x01' """ if isinstance(data, (bytes, bytearray)): data = numpy.frombuffer(data, dtype='u1') xor = numpy.bitwise_xor(data[1:], data[:-1]) return numpy.insert(xor, 0, data[0]).tobytes() dtype = data.dtype if dtype.kind == 'f': data = data.view(f'u{dtype.itemsize}') key = [slice(None)] * data.ndim key[axis] = 0 key0 = [slice(None)] * data.ndim key0[axis] = slice(1, None, None) key1 = [slice(None)] * data.ndim key1[axis] = slice(0, -1, None) key = tuple(key) key0 = tuple(key0) key1 = tuple(key1) xor = numpy.bitwise_xor(data[key0], data[key1]) xor = numpy.insert(xor, 0, data[key], axis=axis) if dtype.kind == 'f': return xor.view(dtype) elif not data.dtype.isnative: > xor = xor.byteswap(True).newbyteorder() E AttributeError: `newbyteorder` was removed from the ndarray class in NumPy 2.0. Use `arr.view(arr.dtype.newbyteorder(order))` instead. ../BUILDROOT/usr/lib64/python3.13/site-packages/imagecodecs/_imagecodecs.py:329: AttributeError _____________________ test_delta[xor-<-i2-decode-inplace] ______________________ output = 'inplace', byteorder = '<', kind = 'i2', codec = 'decode', func = 'xor' @pytest.mark.filterwarnings('ignore:invalid value encountered') @pytest.mark.parametrize('output', ['new', 'out', 'inplace']) @pytest.mark.parametrize('codec', ['encode', 'decode']) @pytest.mark.parametrize( 'kind', ['u1', 'u2', 'u4', 'u8', 'i1', 'i2', 'i4', 'i8', 'f4', 'f8', 'B', 'b'], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('func', ['delta', 'xor']) def test_delta(output, byteorder, kind, codec, func): """Test Delta codec.""" # if byteorder == '>' and numpy.dtype(kind).itemsize == 1: # pytest.skip('duplicate test') if func == 'delta': if not imagecodecs.DELTA: pytest.skip('Delta missing') encode = imagecodecs.delta_encode decode = imagecodecs.delta_decode encode_py = _imagecodecs.delta_encode # decode_py = _imagecodecs.delta_decode elif func == 'xor': if not imagecodecs.XOR: pytest.skip('Xor missing') encode = imagecodecs.xor_encode decode = imagecodecs.xor_decode encode_py = _imagecodecs.xor_encode # decode_py = _imagecodecs.xor_decode bytetype = bytearray if kind == 'b': bytetype = bytes kind = 'B' axis = -2 # do not change if kind[0] in 'iuB': low = numpy.iinfo(kind).min high = numpy.iinfo(kind).max data = numpy.random.randint( low, high, size=33 * 31 * 3, dtype=kind ).reshape(33, 31, 3) else: # floating point low, high = -1e5, 1e5 data = numpy.random.randint( low, high, size=33 * 31 * 3, dtype='i4' ).reshape(33, 31, 3) data = data.astype(byteorder + kind) data[16, 14] = [0, 0, 0] data[16, 15] = [low, high, low] data[16, 16] = [high, low, high] data[16, 17] = [low, high, low] data[16, 18] = [high, low, high] data[16, 19] = [0, 0, 0] if kind == 'B': # data = data.reshape(-1) data = data.tobytes() diff = encode_py(data, axis=0) if output == 'new': if codec == 'encode': encoded = encode(data, out=bytetype) assert encoded == diff elif codec == 'decode': decoded = decode(diff, out=bytetype) assert decoded == data elif output == 'out': if codec == 'encode': encoded = bytetype(len(data)) if bytetype == bytes: with pytest.raises(TypeError): encode(data, out=encoded) else: encode(data, out=encoded) assert encoded == diff elif codec == 'decode': decoded = bytetype(len(data)) if bytetype == bytes: with pytest.raises(TypeError): decode(diff, out=decoded) else: decode(diff, out=decoded) assert decoded == data elif output == 'inplace': if codec == 'encode': encoded = bytetype(data) if bytetype == bytes: with pytest.raises(TypeError): encode(encoded, out=encoded) else: encode(encoded, out=encoded) assert encoded == diff elif codec == 'decode': decoded = bytetype(diff) if bytetype == bytes: with pytest.raises(TypeError): decode(decoded, out=decoded) else: decode(decoded, out=decoded) assert decoded == data else: # if func == 'xor' and kind in ('f4', 'f8'): # with pytest.raises(ValueError): # encode(data, axis=axis) # pytest.xfail("XOR codec not implemented for float data") > diff = encode_py(data, axis=-2) tests/test_imagecodecs.py:598: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ data = array([[[ 13586, -9371, -27970], [ -5220, 10255, 4036], [ 26825, 28387, 21414], ..., ... 18155, 14341], [-10829, -8010, 6744], [-13127, 30548, -15560]]], shape=(33, 31, 3), dtype='>> xor_encode(b'0123456789') b'0\x01\x03\x01\x07\x01\x03\x01\x0f\x01' """ if isinstance(data, (bytes, bytearray)): data = numpy.frombuffer(data, dtype='u1') xor = numpy.bitwise_xor(data[1:], data[:-1]) return numpy.insert(xor, 0, data[0]).tobytes() dtype = data.dtype if dtype.kind == 'f': data = data.view(f'u{dtype.itemsize}') key = [slice(None)] * data.ndim key[axis] = 0 key0 = [slice(None)] * data.ndim key0[axis] = slice(1, None, None) key1 = [slice(None)] * data.ndim key1[axis] = slice(0, -1, None) key = tuple(key) key0 = tuple(key0) key1 = tuple(key1) xor = numpy.bitwise_xor(data[key0], data[key1]) xor = numpy.insert(xor, 0, data[key], axis=axis) if dtype.kind == 'f': return xor.view(dtype) elif not data.dtype.isnative: > xor = xor.byteswap(True).newbyteorder() E AttributeError: `newbyteorder` was removed from the ndarray class in NumPy 2.0. Use `arr.view(arr.dtype.newbyteorder(order))` instead. ../BUILDROOT/usr/lib64/python3.13/site-packages/imagecodecs/_imagecodecs.py:329: AttributeError _______________________ test_delta[xor-<-i4-encode-new] ________________________ output = 'new', byteorder = '<', kind = 'i4', codec = 'encode', func = 'xor' @pytest.mark.filterwarnings('ignore:invalid value encountered') @pytest.mark.parametrize('output', ['new', 'out', 'inplace']) @pytest.mark.parametrize('codec', ['encode', 'decode']) @pytest.mark.parametrize( 'kind', ['u1', 'u2', 'u4', 'u8', 'i1', 'i2', 'i4', 'i8', 'f4', 'f8', 'B', 'b'], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('func', ['delta', 'xor']) def test_delta(output, byteorder, kind, codec, func): """Test Delta codec.""" # if byteorder == '>' and numpy.dtype(kind).itemsize == 1: # pytest.skip('duplicate test') if func == 'delta': if not imagecodecs.DELTA: pytest.skip('Delta missing') encode = imagecodecs.delta_encode decode = imagecodecs.delta_decode encode_py = _imagecodecs.delta_encode # decode_py = _imagecodecs.delta_decode elif func == 'xor': if not imagecodecs.XOR: pytest.skip('Xor missing') encode = imagecodecs.xor_encode decode = imagecodecs.xor_decode encode_py = _imagecodecs.xor_encode # decode_py = _imagecodecs.xor_decode bytetype = bytearray if kind == 'b': bytetype = bytes kind = 'B' axis = -2 # do not change if kind[0] in 'iuB': low = numpy.iinfo(kind).min high = numpy.iinfo(kind).max data = numpy.random.randint( low, high, size=33 * 31 * 3, dtype=kind ).reshape(33, 31, 3) else: # floating point low, high = -1e5, 1e5 data = numpy.random.randint( low, high, size=33 * 31 * 3, dtype='i4' ).reshape(33, 31, 3) data = data.astype(byteorder + kind) data[16, 14] = [0, 0, 0] data[16, 15] = [low, high, low] data[16, 16] = [high, low, high] data[16, 17] = [low, high, low] data[16, 18] = [high, low, high] data[16, 19] = [0, 0, 0] if kind == 'B': # data = data.reshape(-1) data = data.tobytes() diff = encode_py(data, axis=0) if output == 'new': if codec == 'encode': encoded = encode(data, out=bytetype) assert encoded == diff elif codec == 'decode': decoded = decode(diff, out=bytetype) assert decoded == data elif output == 'out': if codec == 'encode': encoded = bytetype(len(data)) if bytetype == bytes: with pytest.raises(TypeError): encode(data, out=encoded) else: encode(data, out=encoded) assert encoded == diff elif codec == 'decode': decoded = bytetype(len(data)) if bytetype == bytes: with pytest.raises(TypeError): decode(diff, out=decoded) else: decode(diff, out=decoded) assert decoded == data elif output == 'inplace': if codec == 'encode': encoded = bytetype(data) if bytetype == bytes: with pytest.raises(TypeError): encode(encoded, out=encoded) else: encode(encoded, out=encoded) assert encoded == diff elif codec == 'decode': decoded = bytetype(diff) if bytetype == bytes: with pytest.raises(TypeError): decode(decoded, out=decoded) else: decode(decoded, out=decoded) assert decoded == data else: # if func == 'xor' and kind in ('f4', 'f8'): # with pytest.raises(ValueError): # encode(data, axis=axis) # pytest.xfail("XOR codec not implemented for float data") > diff = encode_py(data, axis=-2) tests/test_imagecodecs.py:598: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ data = array([[[ -155354688, 1081882505, -578124471], [-1002228391, 1980234325, -1119052149], [-1323974675...96, 1642341529, -1856409714], [-1468707368, -1599673774, -1710815475]]], shape=(33, 31, 3), dtype='>> xor_encode(b'0123456789') b'0\x01\x03\x01\x07\x01\x03\x01\x0f\x01' """ if isinstance(data, (bytes, bytearray)): data = numpy.frombuffer(data, dtype='u1') xor = numpy.bitwise_xor(data[1:], data[:-1]) return numpy.insert(xor, 0, data[0]).tobytes() dtype = data.dtype if dtype.kind == 'f': data = data.view(f'u{dtype.itemsize}') key = [slice(None)] * data.ndim key[axis] = 0 key0 = [slice(None)] * data.ndim key0[axis] = slice(1, None, None) key1 = [slice(None)] * data.ndim key1[axis] = slice(0, -1, None) key = tuple(key) key0 = tuple(key0) key1 = tuple(key1) xor = numpy.bitwise_xor(data[key0], data[key1]) xor = numpy.insert(xor, 0, data[key], axis=axis) if dtype.kind == 'f': return xor.view(dtype) elif not data.dtype.isnative: > xor = xor.byteswap(True).newbyteorder() E AttributeError: `newbyteorder` was removed from the ndarray class in NumPy 2.0. Use `arr.view(arr.dtype.newbyteorder(order))` instead. ../BUILDROOT/usr/lib64/python3.13/site-packages/imagecodecs/_imagecodecs.py:329: AttributeError _______________________ test_delta[xor-<-i4-encode-out] ________________________ output = 'out', byteorder = '<', kind = 'i4', codec = 'encode', func = 'xor' @pytest.mark.filterwarnings('ignore:invalid value encountered') @pytest.mark.parametrize('output', ['new', 'out', 'inplace']) @pytest.mark.parametrize('codec', ['encode', 'decode']) @pytest.mark.parametrize( 'kind', ['u1', 'u2', 'u4', 'u8', 'i1', 'i2', 'i4', 'i8', 'f4', 'f8', 'B', 'b'], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('func', ['delta', 'xor']) def test_delta(output, byteorder, kind, codec, func): """Test Delta codec.""" # if byteorder == '>' and numpy.dtype(kind).itemsize == 1: # pytest.skip('duplicate test') if func == 'delta': if not imagecodecs.DELTA: pytest.skip('Delta missing') encode = imagecodecs.delta_encode decode = imagecodecs.delta_decode encode_py = _imagecodecs.delta_encode # decode_py = _imagecodecs.delta_decode elif func == 'xor': if not imagecodecs.XOR: pytest.skip('Xor missing') encode = imagecodecs.xor_encode decode = imagecodecs.xor_decode encode_py = _imagecodecs.xor_encode # decode_py = _imagecodecs.xor_decode bytetype = bytearray if kind == 'b': bytetype = bytes kind = 'B' axis = -2 # do not change if kind[0] in 'iuB': low = numpy.iinfo(kind).min high = numpy.iinfo(kind).max data = numpy.random.randint( low, high, size=33 * 31 * 3, dtype=kind ).reshape(33, 31, 3) else: # floating point low, high = -1e5, 1e5 data = numpy.random.randint( low, high, size=33 * 31 * 3, dtype='i4' ).reshape(33, 31, 3) data = data.astype(byteorder + kind) data[16, 14] = [0, 0, 0] data[16, 15] = [low, high, low] data[16, 16] = [high, low, high] data[16, 17] = [low, high, low] data[16, 18] = [high, low, high] data[16, 19] = [0, 0, 0] if kind == 'B': # data = data.reshape(-1) data = data.tobytes() diff = encode_py(data, axis=0) if output == 'new': if codec == 'encode': encoded = encode(data, out=bytetype) assert encoded == diff elif codec == 'decode': decoded = decode(diff, out=bytetype) assert decoded == data elif output == 'out': if codec == 'encode': encoded = bytetype(len(data)) if bytetype == bytes: with pytest.raises(TypeError): encode(data, out=encoded) else: encode(data, out=encoded) assert encoded == diff elif codec == 'decode': decoded = bytetype(len(data)) if bytetype == bytes: with pytest.raises(TypeError): decode(diff, out=decoded) else: decode(diff, out=decoded) assert decoded == data elif output == 'inplace': if codec == 'encode': encoded = bytetype(data) if bytetype == bytes: with pytest.raises(TypeError): encode(encoded, out=encoded) else: encode(encoded, out=encoded) assert encoded == diff elif codec == 'decode': decoded = bytetype(diff) if bytetype == bytes: with pytest.raises(TypeError): decode(decoded, out=decoded) else: decode(decoded, out=decoded) assert decoded == data else: # if func == 'xor' and kind in ('f4', 'f8'): # with pytest.raises(ValueError): # encode(data, axis=axis) # pytest.xfail("XOR codec not implemented for float data") > diff = encode_py(data, axis=-2) tests/test_imagecodecs.py:598: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ data = array([[[ 9263041, 1213674387, 1088919958], [ 1336192921, -1068473713, 1184057996], [-1324250864...78, -1566433747, 525238150], [ -797796056, -398291046, 2034780051]]], shape=(33, 31, 3), dtype='>> xor_encode(b'0123456789') b'0\x01\x03\x01\x07\x01\x03\x01\x0f\x01' """ if isinstance(data, (bytes, bytearray)): data = numpy.frombuffer(data, dtype='u1') xor = numpy.bitwise_xor(data[1:], data[:-1]) return numpy.insert(xor, 0, data[0]).tobytes() dtype = data.dtype if dtype.kind == 'f': data = data.view(f'u{dtype.itemsize}') key = [slice(None)] * data.ndim key[axis] = 0 key0 = [slice(None)] * data.ndim key0[axis] = slice(1, None, None) key1 = [slice(None)] * data.ndim key1[axis] = slice(0, -1, None) key = tuple(key) key0 = tuple(key0) key1 = tuple(key1) xor = numpy.bitwise_xor(data[key0], data[key1]) xor = numpy.insert(xor, 0, data[key], axis=axis) if dtype.kind == 'f': return xor.view(dtype) elif not data.dtype.isnative: > xor = xor.byteswap(True).newbyteorder() E AttributeError: `newbyteorder` was removed from the ndarray class in NumPy 2.0. Use `arr.view(arr.dtype.newbyteorder(order))` instead. ../BUILDROOT/usr/lib64/python3.13/site-packages/imagecodecs/_imagecodecs.py:329: AttributeError _____________________ test_delta[xor-<-i4-encode-inplace] ______________________ output = 'inplace', byteorder = '<', kind = 'i4', codec = 'encode', func = 'xor' @pytest.mark.filterwarnings('ignore:invalid value encountered') @pytest.mark.parametrize('output', ['new', 'out', 'inplace']) @pytest.mark.parametrize('codec', ['encode', 'decode']) @pytest.mark.parametrize( 'kind', ['u1', 'u2', 'u4', 'u8', 'i1', 'i2', 'i4', 'i8', 'f4', 'f8', 'B', 'b'], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('func', ['delta', 'xor']) def test_delta(output, byteorder, kind, codec, func): """Test Delta codec.""" # if byteorder == '>' and numpy.dtype(kind).itemsize == 1: # pytest.skip('duplicate test') if func == 'delta': if not imagecodecs.DELTA: pytest.skip('Delta missing') encode = imagecodecs.delta_encode decode = imagecodecs.delta_decode encode_py = _imagecodecs.delta_encode # decode_py = _imagecodecs.delta_decode elif func == 'xor': if not imagecodecs.XOR: pytest.skip('Xor missing') encode = imagecodecs.xor_encode decode = imagecodecs.xor_decode encode_py = _imagecodecs.xor_encode # decode_py = _imagecodecs.xor_decode bytetype = bytearray if kind == 'b': bytetype = bytes kind = 'B' axis = -2 # do not change if kind[0] in 'iuB': low = numpy.iinfo(kind).min high = numpy.iinfo(kind).max data = numpy.random.randint( low, high, size=33 * 31 * 3, dtype=kind ).reshape(33, 31, 3) else: # floating point low, high = -1e5, 1e5 data = numpy.random.randint( low, high, size=33 * 31 * 3, dtype='i4' ).reshape(33, 31, 3) data = data.astype(byteorder + kind) data[16, 14] = [0, 0, 0] data[16, 15] = [low, high, low] data[16, 16] = [high, low, high] data[16, 17] = [low, high, low] data[16, 18] = [high, low, high] data[16, 19] = [0, 0, 0] if kind == 'B': # data = data.reshape(-1) data = data.tobytes() diff = encode_py(data, axis=0) if output == 'new': if codec == 'encode': encoded = encode(data, out=bytetype) assert encoded == diff elif codec == 'decode': decoded = decode(diff, out=bytetype) assert decoded == data elif output == 'out': if codec == 'encode': encoded = bytetype(len(data)) if bytetype == bytes: with pytest.raises(TypeError): encode(data, out=encoded) else: encode(data, out=encoded) assert encoded == diff elif codec == 'decode': decoded = bytetype(len(data)) if bytetype == bytes: with pytest.raises(TypeError): decode(diff, out=decoded) else: decode(diff, out=decoded) assert decoded == data elif output == 'inplace': if codec == 'encode': encoded = bytetype(data) if bytetype == bytes: with pytest.raises(TypeError): encode(encoded, out=encoded) else: encode(encoded, out=encoded) assert encoded == diff elif codec == 'decode': decoded = bytetype(diff) if bytetype == bytes: with pytest.raises(TypeError): decode(decoded, out=decoded) else: decode(decoded, out=decoded) assert decoded == data else: # if func == 'xor' and kind in ('f4', 'f8'): # with pytest.raises(ValueError): # encode(data, axis=axis) # pytest.xfail("XOR codec not implemented for float data") > diff = encode_py(data, axis=-2) tests/test_imagecodecs.py:598: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ data = array([[[ 1975655420, -432116647, -484676176], [ 884565948, -946209594, 398780168], [ 2058329986...86, 1689406127, 689948173], [ -917811378, 2002038409, -888833887]]], shape=(33, 31, 3), dtype='>> xor_encode(b'0123456789') b'0\x01\x03\x01\x07\x01\x03\x01\x0f\x01' """ if isinstance(data, (bytes, bytearray)): data = numpy.frombuffer(data, dtype='u1') xor = numpy.bitwise_xor(data[1:], data[:-1]) return numpy.insert(xor, 0, data[0]).tobytes() dtype = data.dtype if dtype.kind == 'f': data = data.view(f'u{dtype.itemsize}') key = [slice(None)] * data.ndim key[axis] = 0 key0 = [slice(None)] * data.ndim key0[axis] = slice(1, None, None) key1 = [slice(None)] * data.ndim key1[axis] = slice(0, -1, None) key = tuple(key) key0 = tuple(key0) key1 = tuple(key1) xor = numpy.bitwise_xor(data[key0], data[key1]) xor = numpy.insert(xor, 0, data[key], axis=axis) if dtype.kind == 'f': return xor.view(dtype) elif not data.dtype.isnative: > xor = xor.byteswap(True).newbyteorder() E AttributeError: `newbyteorder` was removed from the ndarray class in NumPy 2.0. Use `arr.view(arr.dtype.newbyteorder(order))` instead. ../BUILDROOT/usr/lib64/python3.13/site-packages/imagecodecs/_imagecodecs.py:329: AttributeError _______________________ test_delta[xor-<-i4-decode-new] ________________________ output = 'new', byteorder = '<', kind = 'i4', codec = 'decode', func = 'xor' @pytest.mark.filterwarnings('ignore:invalid value encountered') @pytest.mark.parametrize('output', ['new', 'out', 'inplace']) @pytest.mark.parametrize('codec', ['encode', 'decode']) @pytest.mark.parametrize( 'kind', ['u1', 'u2', 'u4', 'u8', 'i1', 'i2', 'i4', 'i8', 'f4', 'f8', 'B', 'b'], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('func', ['delta', 'xor']) def test_delta(output, byteorder, kind, codec, func): """Test Delta codec.""" # if byteorder == '>' and numpy.dtype(kind).itemsize == 1: # pytest.skip('duplicate test') if func == 'delta': if not imagecodecs.DELTA: pytest.skip('Delta missing') encode = imagecodecs.delta_encode decode = imagecodecs.delta_decode encode_py = _imagecodecs.delta_encode # decode_py = _imagecodecs.delta_decode elif func == 'xor': if not imagecodecs.XOR: pytest.skip('Xor missing') encode = imagecodecs.xor_encode decode = imagecodecs.xor_decode encode_py = _imagecodecs.xor_encode # decode_py = _imagecodecs.xor_decode bytetype = bytearray if kind == 'b': bytetype = bytes kind = 'B' axis = -2 # do not change if kind[0] in 'iuB': low = numpy.iinfo(kind).min high = numpy.iinfo(kind).max data = numpy.random.randint( low, high, size=33 * 31 * 3, dtype=kind ).reshape(33, 31, 3) else: # floating point low, high = -1e5, 1e5 data = numpy.random.randint( low, high, size=33 * 31 * 3, dtype='i4' ).reshape(33, 31, 3) data = data.astype(byteorder + kind) data[16, 14] = [0, 0, 0] data[16, 15] = [low, high, low] data[16, 16] = [high, low, high] data[16, 17] = [low, high, low] data[16, 18] = [high, low, high] data[16, 19] = [0, 0, 0] if kind == 'B': # data = data.reshape(-1) data = data.tobytes() diff = encode_py(data, axis=0) if output == 'new': if codec == 'encode': encoded = encode(data, out=bytetype) assert encoded == diff elif codec == 'decode': decoded = decode(diff, out=bytetype) assert decoded == data elif output == 'out': if codec == 'encode': encoded = bytetype(len(data)) if bytetype == bytes: with pytest.raises(TypeError): encode(data, out=encoded) else: encode(data, out=encoded) assert encoded == diff elif codec == 'decode': decoded = bytetype(len(data)) if bytetype == bytes: with pytest.raises(TypeError): decode(diff, out=decoded) else: decode(diff, out=decoded) assert decoded == data elif output == 'inplace': if codec == 'encode': encoded = bytetype(data) if bytetype == bytes: with pytest.raises(TypeError): encode(encoded, out=encoded) else: encode(encoded, out=encoded) assert encoded == diff elif codec == 'decode': decoded = bytetype(diff) if bytetype == bytes: with pytest.raises(TypeError): decode(decoded, out=decoded) else: decode(decoded, out=decoded) assert decoded == data else: # if func == 'xor' and kind in ('f4', 'f8'): # with pytest.raises(ValueError): # encode(data, axis=axis) # pytest.xfail("XOR codec not implemented for float data") > diff = encode_py(data, axis=-2) tests/test_imagecodecs.py:598: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ data = array([[[ -342262232, -784374405, 39678244], [ -120183048, 1110671111, 52146990], [ 977001577...20, -811762975, -2059337923], [ 836480900, -586119452, -1523857702]]], shape=(33, 31, 3), dtype='>> xor_encode(b'0123456789') b'0\x01\x03\x01\x07\x01\x03\x01\x0f\x01' """ if isinstance(data, (bytes, bytearray)): data = numpy.frombuffer(data, dtype='u1') xor = numpy.bitwise_xor(data[1:], data[:-1]) return numpy.insert(xor, 0, data[0]).tobytes() dtype = data.dtype if dtype.kind == 'f': data = data.view(f'u{dtype.itemsize}') key = [slice(None)] * data.ndim key[axis] = 0 key0 = [slice(None)] * data.ndim key0[axis] = slice(1, None, None) key1 = [slice(None)] * data.ndim key1[axis] = slice(0, -1, None) key = tuple(key) key0 = tuple(key0) key1 = tuple(key1) xor = numpy.bitwise_xor(data[key0], data[key1]) xor = numpy.insert(xor, 0, data[key], axis=axis) if dtype.kind == 'f': return xor.view(dtype) elif not data.dtype.isnative: > xor = xor.byteswap(True).newbyteorder() E AttributeError: `newbyteorder` was removed from the ndarray class in NumPy 2.0. Use `arr.view(arr.dtype.newbyteorder(order))` instead. ../BUILDROOT/usr/lib64/python3.13/site-packages/imagecodecs/_imagecodecs.py:329: AttributeError _______________________ test_delta[xor-<-i4-decode-out] ________________________ output = 'out', byteorder = '<', kind = 'i4', codec = 'decode', func = 'xor' @pytest.mark.filterwarnings('ignore:invalid value encountered') @pytest.mark.parametrize('output', ['new', 'out', 'inplace']) @pytest.mark.parametrize('codec', ['encode', 'decode']) @pytest.mark.parametrize( 'kind', ['u1', 'u2', 'u4', 'u8', 'i1', 'i2', 'i4', 'i8', 'f4', 'f8', 'B', 'b'], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('func', ['delta', 'xor']) def test_delta(output, byteorder, kind, codec, func): """Test Delta codec.""" # if byteorder == '>' and numpy.dtype(kind).itemsize == 1: # pytest.skip('duplicate test') if func == 'delta': if not imagecodecs.DELTA: pytest.skip('Delta missing') encode = imagecodecs.delta_encode decode = imagecodecs.delta_decode encode_py = _imagecodecs.delta_encode # decode_py = _imagecodecs.delta_decode elif func == 'xor': if not imagecodecs.XOR: pytest.skip('Xor missing') encode = imagecodecs.xor_encode decode = imagecodecs.xor_decode encode_py = _imagecodecs.xor_encode # decode_py = _imagecodecs.xor_decode bytetype = bytearray if kind == 'b': bytetype = bytes kind = 'B' axis = -2 # do not change if kind[0] in 'iuB': low = numpy.iinfo(kind).min high = numpy.iinfo(kind).max data = numpy.random.randint( low, high, size=33 * 31 * 3, dtype=kind ).reshape(33, 31, 3) else: # floating point low, high = -1e5, 1e5 data = numpy.random.randint( low, high, size=33 * 31 * 3, dtype='i4' ).reshape(33, 31, 3) data = data.astype(byteorder + kind) data[16, 14] = [0, 0, 0] data[16, 15] = [low, high, low] data[16, 16] = [high, low, high] data[16, 17] = [low, high, low] data[16, 18] = [high, low, high] data[16, 19] = [0, 0, 0] if kind == 'B': # data = data.reshape(-1) data = data.tobytes() diff = encode_py(data, axis=0) if output == 'new': if codec == 'encode': encoded = encode(data, out=bytetype) assert encoded == diff elif codec == 'decode': decoded = decode(diff, out=bytetype) assert decoded == data elif output == 'out': if codec == 'encode': encoded = bytetype(len(data)) if bytetype == bytes: with pytest.raises(TypeError): encode(data, out=encoded) else: encode(data, out=encoded) assert encoded == diff elif codec == 'decode': decoded = bytetype(len(data)) if bytetype == bytes: with pytest.raises(TypeError): decode(diff, out=decoded) else: decode(diff, out=decoded) assert decoded == data elif output == 'inplace': if codec == 'encode': encoded = bytetype(data) if bytetype == bytes: with pytest.raises(TypeError): encode(encoded, out=encoded) else: encode(encoded, out=encoded) assert encoded == diff elif codec == 'decode': decoded = bytetype(diff) if bytetype == bytes: with pytest.raises(TypeError): decode(decoded, out=decoded) else: decode(decoded, out=decoded) assert decoded == data else: # if func == 'xor' and kind in ('f4', 'f8'): # with pytest.raises(ValueError): # encode(data, axis=axis) # pytest.xfail("XOR codec not implemented for float data") > diff = encode_py(data, axis=-2) tests/test_imagecodecs.py:598: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ data = array([[[ 839043309, -634764578, -2016316333], [ -634232632, 925386033, -1662494689], [-2013489163...66, -2125944673, 715015427], [ -917063964, -1725586191, 484590125]]], shape=(33, 31, 3), dtype='>> xor_encode(b'0123456789') b'0\x01\x03\x01\x07\x01\x03\x01\x0f\x01' """ if isinstance(data, (bytes, bytearray)): data = numpy.frombuffer(data, dtype='u1') xor = numpy.bitwise_xor(data[1:], data[:-1]) return numpy.insert(xor, 0, data[0]).tobytes() dtype = data.dtype if dtype.kind == 'f': data = data.view(f'u{dtype.itemsize}') key = [slice(None)] * data.ndim key[axis] = 0 key0 = [slice(None)] * data.ndim key0[axis] = slice(1, None, None) key1 = [slice(None)] * data.ndim key1[axis] = slice(0, -1, None) key = tuple(key) key0 = tuple(key0) key1 = tuple(key1) xor = numpy.bitwise_xor(data[key0], data[key1]) xor = numpy.insert(xor, 0, data[key], axis=axis) if dtype.kind == 'f': return xor.view(dtype) elif not data.dtype.isnative: > xor = xor.byteswap(True).newbyteorder() E AttributeError: `newbyteorder` was removed from the ndarray class in NumPy 2.0. Use `arr.view(arr.dtype.newbyteorder(order))` instead. ../BUILDROOT/usr/lib64/python3.13/site-packages/imagecodecs/_imagecodecs.py:329: AttributeError _____________________ test_delta[xor-<-i4-decode-inplace] ______________________ output = 'inplace', byteorder = '<', kind = 'i4', codec = 'decode', func = 'xor' @pytest.mark.filterwarnings('ignore:invalid value encountered') @pytest.mark.parametrize('output', ['new', 'out', 'inplace']) @pytest.mark.parametrize('codec', ['encode', 'decode']) @pytest.mark.parametrize( 'kind', ['u1', 'u2', 'u4', 'u8', 'i1', 'i2', 'i4', 'i8', 'f4', 'f8', 'B', 'b'], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('func', ['delta', 'xor']) def test_delta(output, byteorder, kind, codec, func): """Test Delta codec.""" # if byteorder == '>' and numpy.dtype(kind).itemsize == 1: # pytest.skip('duplicate test') if func == 'delta': if not imagecodecs.DELTA: pytest.skip('Delta missing') encode = imagecodecs.delta_encode decode = imagecodecs.delta_decode encode_py = _imagecodecs.delta_encode # decode_py = _imagecodecs.delta_decode elif func == 'xor': if not imagecodecs.XOR: pytest.skip('Xor missing') encode = imagecodecs.xor_encode decode = imagecodecs.xor_decode encode_py = _imagecodecs.xor_encode # decode_py = _imagecodecs.xor_decode bytetype = bytearray if kind == 'b': bytetype = bytes kind = 'B' axis = -2 # do not change if kind[0] in 'iuB': low = numpy.iinfo(kind).min high = numpy.iinfo(kind).max data = numpy.random.randint( low, high, size=33 * 31 * 3, dtype=kind ).reshape(33, 31, 3) else: # floating point low, high = -1e5, 1e5 data = numpy.random.randint( low, high, size=33 * 31 * 3, dtype='i4' ).reshape(33, 31, 3) data = data.astype(byteorder + kind) data[16, 14] = [0, 0, 0] data[16, 15] = [low, high, low] data[16, 16] = [high, low, high] data[16, 17] = [low, high, low] data[16, 18] = [high, low, high] data[16, 19] = [0, 0, 0] if kind == 'B': # data = data.reshape(-1) data = data.tobytes() diff = encode_py(data, axis=0) if output == 'new': if codec == 'encode': encoded = encode(data, out=bytetype) assert encoded == diff elif codec == 'decode': decoded = decode(diff, out=bytetype) assert decoded == data elif output == 'out': if codec == 'encode': encoded = bytetype(len(data)) if bytetype == bytes: with pytest.raises(TypeError): encode(data, out=encoded) else: encode(data, out=encoded) assert encoded == diff elif codec == 'decode': decoded = bytetype(len(data)) if bytetype == bytes: with pytest.raises(TypeError): decode(diff, out=decoded) else: decode(diff, out=decoded) assert decoded == data elif output == 'inplace': if codec == 'encode': encoded = bytetype(data) if bytetype == bytes: with pytest.raises(TypeError): encode(encoded, out=encoded) else: encode(encoded, out=encoded) assert encoded == diff elif codec == 'decode': decoded = bytetype(diff) if bytetype == bytes: with pytest.raises(TypeError): decode(decoded, out=decoded) else: decode(decoded, out=decoded) assert decoded == data else: # if func == 'xor' and kind in ('f4', 'f8'): # with pytest.raises(ValueError): # encode(data, axis=axis) # pytest.xfail("XOR codec not implemented for float data") > diff = encode_py(data, axis=-2) tests/test_imagecodecs.py:598: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ data = array([[[ 1798478834, -417580994, 250619281], [-1273635906, 1607610574, -1800857564], [ -83274172...01, 858633688, -1057660693], [ -91350463, -787506869, -632941623]]], shape=(33, 31, 3), dtype='>> xor_encode(b'0123456789') b'0\x01\x03\x01\x07\x01\x03\x01\x0f\x01' """ if isinstance(data, (bytes, bytearray)): data = numpy.frombuffer(data, dtype='u1') xor = numpy.bitwise_xor(data[1:], data[:-1]) return numpy.insert(xor, 0, data[0]).tobytes() dtype = data.dtype if dtype.kind == 'f': data = data.view(f'u{dtype.itemsize}') key = [slice(None)] * data.ndim key[axis] = 0 key0 = [slice(None)] * data.ndim key0[axis] = slice(1, None, None) key1 = [slice(None)] * data.ndim key1[axis] = slice(0, -1, None) key = tuple(key) key0 = tuple(key0) key1 = tuple(key1) xor = numpy.bitwise_xor(data[key0], data[key1]) xor = numpy.insert(xor, 0, data[key], axis=axis) if dtype.kind == 'f': return xor.view(dtype) elif not data.dtype.isnative: > xor = xor.byteswap(True).newbyteorder() E AttributeError: `newbyteorder` was removed from the ndarray class in NumPy 2.0. Use `arr.view(arr.dtype.newbyteorder(order))` instead. ../BUILDROOT/usr/lib64/python3.13/site-packages/imagecodecs/_imagecodecs.py:329: AttributeError _______________________ test_delta[xor-<-i8-encode-new] ________________________ output = 'new', byteorder = '<', kind = 'i8', codec = 'encode', func = 'xor' @pytest.mark.filterwarnings('ignore:invalid value encountered') @pytest.mark.parametrize('output', ['new', 'out', 'inplace']) @pytest.mark.parametrize('codec', ['encode', 'decode']) @pytest.mark.parametrize( 'kind', ['u1', 'u2', 'u4', 'u8', 'i1', 'i2', 'i4', 'i8', 'f4', 'f8', 'B', 'b'], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('func', ['delta', 'xor']) def test_delta(output, byteorder, kind, codec, func): """Test Delta codec.""" # if byteorder == '>' and numpy.dtype(kind).itemsize == 1: # pytest.skip('duplicate test') if func == 'delta': if not imagecodecs.DELTA: pytest.skip('Delta missing') encode = imagecodecs.delta_encode decode = imagecodecs.delta_decode encode_py = _imagecodecs.delta_encode # decode_py = _imagecodecs.delta_decode elif func == 'xor': if not imagecodecs.XOR: pytest.skip('Xor missing') encode = imagecodecs.xor_encode decode = imagecodecs.xor_decode encode_py = _imagecodecs.xor_encode # decode_py = _imagecodecs.xor_decode bytetype = bytearray if kind == 'b': bytetype = bytes kind = 'B' axis = -2 # do not change if kind[0] in 'iuB': low = numpy.iinfo(kind).min high = numpy.iinfo(kind).max data = numpy.random.randint( low, high, size=33 * 31 * 3, dtype=kind ).reshape(33, 31, 3) else: # floating point low, high = -1e5, 1e5 data = numpy.random.randint( low, high, size=33 * 31 * 3, dtype='i4' ).reshape(33, 31, 3) data = data.astype(byteorder + kind) data[16, 14] = [0, 0, 0] data[16, 15] = [low, high, low] data[16, 16] = [high, low, high] data[16, 17] = [low, high, low] data[16, 18] = [high, low, high] data[16, 19] = [0, 0, 0] if kind == 'B': # data = data.reshape(-1) data = data.tobytes() diff = encode_py(data, axis=0) if output == 'new': if codec == 'encode': encoded = encode(data, out=bytetype) assert encoded == diff elif codec == 'decode': decoded = decode(diff, out=bytetype) assert decoded == data elif output == 'out': if codec == 'encode': encoded = bytetype(len(data)) if bytetype == bytes: with pytest.raises(TypeError): encode(data, out=encoded) else: encode(data, out=encoded) assert encoded == diff elif codec == 'decode': decoded = bytetype(len(data)) if bytetype == bytes: with pytest.raises(TypeError): decode(diff, out=decoded) else: decode(diff, out=decoded) assert decoded == data elif output == 'inplace': if codec == 'encode': encoded = bytetype(data) if bytetype == bytes: with pytest.raises(TypeError): encode(encoded, out=encoded) else: encode(encoded, out=encoded) assert encoded == diff elif codec == 'decode': decoded = bytetype(diff) if bytetype == bytes: with pytest.raises(TypeError): decode(decoded, out=decoded) else: decode(decoded, out=decoded) assert decoded == data else: # if func == 'xor' and kind in ('f4', 'f8'): # with pytest.raises(ValueError): # encode(data, axis=axis) # pytest.xfail("XOR codec not implemented for float data") > diff = encode_py(data, axis=-2) tests/test_imagecodecs.py:598: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ data = array([[[-4639831897325836071, 3179985581360137546, 6945990108559669151], [ 3550061751428763793, 3... [ 7572148972694918910, -1821465037181033222, 8426285652386322859]]], shape=(33, 31, 3), dtype='>> xor_encode(b'0123456789') b'0\x01\x03\x01\x07\x01\x03\x01\x0f\x01' """ if isinstance(data, (bytes, bytearray)): data = numpy.frombuffer(data, dtype='u1') xor = numpy.bitwise_xor(data[1:], data[:-1]) return numpy.insert(xor, 0, data[0]).tobytes() dtype = data.dtype if dtype.kind == 'f': data = data.view(f'u{dtype.itemsize}') key = [slice(None)] * data.ndim key[axis] = 0 key0 = [slice(None)] * data.ndim key0[axis] = slice(1, None, None) key1 = [slice(None)] * data.ndim key1[axis] = slice(0, -1, None) key = tuple(key) key0 = tuple(key0) key1 = tuple(key1) xor = numpy.bitwise_xor(data[key0], data[key1]) xor = numpy.insert(xor, 0, data[key], axis=axis) if dtype.kind == 'f': return xor.view(dtype) elif not data.dtype.isnative: > xor = xor.byteswap(True).newbyteorder() E AttributeError: `newbyteorder` was removed from the ndarray class in NumPy 2.0. Use `arr.view(arr.dtype.newbyteorder(order))` instead. ../BUILDROOT/usr/lib64/python3.13/site-packages/imagecodecs/_imagecodecs.py:329: AttributeError _______________________ test_delta[xor-<-i8-encode-out] ________________________ output = 'out', byteorder = '<', kind = 'i8', codec = 'encode', func = 'xor' @pytest.mark.filterwarnings('ignore:invalid value encountered') @pytest.mark.parametrize('output', ['new', 'out', 'inplace']) @pytest.mark.parametrize('codec', ['encode', 'decode']) @pytest.mark.parametrize( 'kind', ['u1', 'u2', 'u4', 'u8', 'i1', 'i2', 'i4', 'i8', 'f4', 'f8', 'B', 'b'], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('func', ['delta', 'xor']) def test_delta(output, byteorder, kind, codec, func): """Test Delta codec.""" # if byteorder == '>' and numpy.dtype(kind).itemsize == 1: # pytest.skip('duplicate test') if func == 'delta': if not imagecodecs.DELTA: pytest.skip('Delta missing') encode = imagecodecs.delta_encode decode = imagecodecs.delta_decode encode_py = _imagecodecs.delta_encode # decode_py = _imagecodecs.delta_decode elif func == 'xor': if not imagecodecs.XOR: pytest.skip('Xor missing') encode = imagecodecs.xor_encode decode = imagecodecs.xor_decode encode_py = _imagecodecs.xor_encode # decode_py = _imagecodecs.xor_decode bytetype = bytearray if kind == 'b': bytetype = bytes kind = 'B' axis = -2 # do not change if kind[0] in 'iuB': low = numpy.iinfo(kind).min high = numpy.iinfo(kind).max data = numpy.random.randint( low, high, size=33 * 31 * 3, dtype=kind ).reshape(33, 31, 3) else: # floating point low, high = -1e5, 1e5 data = numpy.random.randint( low, high, size=33 * 31 * 3, dtype='i4' ).reshape(33, 31, 3) data = data.astype(byteorder + kind) data[16, 14] = [0, 0, 0] data[16, 15] = [low, high, low] data[16, 16] = [high, low, high] data[16, 17] = [low, high, low] data[16, 18] = [high, low, high] data[16, 19] = [0, 0, 0] if kind == 'B': # data = data.reshape(-1) data = data.tobytes() diff = encode_py(data, axis=0) if output == 'new': if codec == 'encode': encoded = encode(data, out=bytetype) assert encoded == diff elif codec == 'decode': decoded = decode(diff, out=bytetype) assert decoded == data elif output == 'out': if codec == 'encode': encoded = bytetype(len(data)) if bytetype == bytes: with pytest.raises(TypeError): encode(data, out=encoded) else: encode(data, out=encoded) assert encoded == diff elif codec == 'decode': decoded = bytetype(len(data)) if bytetype == bytes: with pytest.raises(TypeError): decode(diff, out=decoded) else: decode(diff, out=decoded) assert decoded == data elif output == 'inplace': if codec == 'encode': encoded = bytetype(data) if bytetype == bytes: with pytest.raises(TypeError): encode(encoded, out=encoded) else: encode(encoded, out=encoded) assert encoded == diff elif codec == 'decode': decoded = bytetype(diff) if bytetype == bytes: with pytest.raises(TypeError): decode(decoded, out=decoded) else: decode(decoded, out=decoded) assert decoded == data else: # if func == 'xor' and kind in ('f4', 'f8'): # with pytest.raises(ValueError): # encode(data, axis=axis) # pytest.xfail("XOR codec not implemented for float data") > diff = encode_py(data, axis=-2) tests/test_imagecodecs.py:598: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ data = array([[[ 4798917525284410958, 2066394815110381440, 4138491942560963221], [ 5740560750527303887, 6... [ 5040695519862818140, 2813869267251008418, -4186622204202472207]]], shape=(33, 31, 3), dtype='>> xor_encode(b'0123456789') b'0\x01\x03\x01\x07\x01\x03\x01\x0f\x01' """ if isinstance(data, (bytes, bytearray)): data = numpy.frombuffer(data, dtype='u1') xor = numpy.bitwise_xor(data[1:], data[:-1]) return numpy.insert(xor, 0, data[0]).tobytes() dtype = data.dtype if dtype.kind == 'f': data = data.view(f'u{dtype.itemsize}') key = [slice(None)] * data.ndim key[axis] = 0 key0 = [slice(None)] * data.ndim key0[axis] = slice(1, None, None) key1 = [slice(None)] * data.ndim key1[axis] = slice(0, -1, None) key = tuple(key) key0 = tuple(key0) key1 = tuple(key1) xor = numpy.bitwise_xor(data[key0], data[key1]) xor = numpy.insert(xor, 0, data[key], axis=axis) if dtype.kind == 'f': return xor.view(dtype) elif not data.dtype.isnative: > xor = xor.byteswap(True).newbyteorder() E AttributeError: `newbyteorder` was removed from the ndarray class in NumPy 2.0. Use `arr.view(arr.dtype.newbyteorder(order))` instead. ../BUILDROOT/usr/lib64/python3.13/site-packages/imagecodecs/_imagecodecs.py:329: AttributeError _____________________ test_delta[xor-<-i8-encode-inplace] ______________________ output = 'inplace', byteorder = '<', kind = 'i8', codec = 'encode', func = 'xor' @pytest.mark.filterwarnings('ignore:invalid value encountered') @pytest.mark.parametrize('output', ['new', 'out', 'inplace']) @pytest.mark.parametrize('codec', ['encode', 'decode']) @pytest.mark.parametrize( 'kind', ['u1', 'u2', 'u4', 'u8', 'i1', 'i2', 'i4', 'i8', 'f4', 'f8', 'B', 'b'], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('func', ['delta', 'xor']) def test_delta(output, byteorder, kind, codec, func): """Test Delta codec.""" # if byteorder == '>' and numpy.dtype(kind).itemsize == 1: # pytest.skip('duplicate test') if func == 'delta': if not imagecodecs.DELTA: pytest.skip('Delta missing') encode = imagecodecs.delta_encode decode = imagecodecs.delta_decode encode_py = _imagecodecs.delta_encode # decode_py = _imagecodecs.delta_decode elif func == 'xor': if not imagecodecs.XOR: pytest.skip('Xor missing') encode = imagecodecs.xor_encode decode = imagecodecs.xor_decode encode_py = _imagecodecs.xor_encode # decode_py = _imagecodecs.xor_decode bytetype = bytearray if kind == 'b': bytetype = bytes kind = 'B' axis = -2 # do not change if kind[0] in 'iuB': low = numpy.iinfo(kind).min high = numpy.iinfo(kind).max data = numpy.random.randint( low, high, size=33 * 31 * 3, dtype=kind ).reshape(33, 31, 3) else: # floating point low, high = -1e5, 1e5 data = numpy.random.randint( low, high, size=33 * 31 * 3, dtype='i4' ).reshape(33, 31, 3) data = data.astype(byteorder + kind) data[16, 14] = [0, 0, 0] data[16, 15] = [low, high, low] data[16, 16] = [high, low, high] data[16, 17] = [low, high, low] data[16, 18] = [high, low, high] data[16, 19] = [0, 0, 0] if kind == 'B': # data = data.reshape(-1) data = data.tobytes() diff = encode_py(data, axis=0) if output == 'new': if codec == 'encode': encoded = encode(data, out=bytetype) assert encoded == diff elif codec == 'decode': decoded = decode(diff, out=bytetype) assert decoded == data elif output == 'out': if codec == 'encode': encoded = bytetype(len(data)) if bytetype == bytes: with pytest.raises(TypeError): encode(data, out=encoded) else: encode(data, out=encoded) assert encoded == diff elif codec == 'decode': decoded = bytetype(len(data)) if bytetype == bytes: with pytest.raises(TypeError): decode(diff, out=decoded) else: decode(diff, out=decoded) assert decoded == data elif output == 'inplace': if codec == 'encode': encoded = bytetype(data) if bytetype == bytes: with pytest.raises(TypeError): encode(encoded, out=encoded) else: encode(encoded, out=encoded) assert encoded == diff elif codec == 'decode': decoded = bytetype(diff) if bytetype == bytes: with pytest.raises(TypeError): decode(decoded, out=decoded) else: decode(decoded, out=decoded) assert decoded == data else: # if func == 'xor' and kind in ('f4', 'f8'): # with pytest.raises(ValueError): # encode(data, axis=axis) # pytest.xfail("XOR codec not implemented for float data") > diff = encode_py(data, axis=-2) tests/test_imagecodecs.py:598: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ data = array([[[ 4816110657675278510, -4647394152093465457, 7693032759839337551], [ 5091732423436384859, -4... [ 6015338138598313485, -1978296345493707659, -2217069046218452702]]], shape=(33, 31, 3), dtype='>> xor_encode(b'0123456789') b'0\x01\x03\x01\x07\x01\x03\x01\x0f\x01' """ if isinstance(data, (bytes, bytearray)): data = numpy.frombuffer(data, dtype='u1') xor = numpy.bitwise_xor(data[1:], data[:-1]) return numpy.insert(xor, 0, data[0]).tobytes() dtype = data.dtype if dtype.kind == 'f': data = data.view(f'u{dtype.itemsize}') key = [slice(None)] * data.ndim key[axis] = 0 key0 = [slice(None)] * data.ndim key0[axis] = slice(1, None, None) key1 = [slice(None)] * data.ndim key1[axis] = slice(0, -1, None) key = tuple(key) key0 = tuple(key0) key1 = tuple(key1) xor = numpy.bitwise_xor(data[key0], data[key1]) xor = numpy.insert(xor, 0, data[key], axis=axis) if dtype.kind == 'f': return xor.view(dtype) elif not data.dtype.isnative: > xor = xor.byteswap(True).newbyteorder() E AttributeError: `newbyteorder` was removed from the ndarray class in NumPy 2.0. Use `arr.view(arr.dtype.newbyteorder(order))` instead. ../BUILDROOT/usr/lib64/python3.13/site-packages/imagecodecs/_imagecodecs.py:329: AttributeError _______________________ test_delta[xor-<-i8-decode-new] ________________________ output = 'new', byteorder = '<', kind = 'i8', codec = 'decode', func = 'xor' @pytest.mark.filterwarnings('ignore:invalid value encountered') @pytest.mark.parametrize('output', ['new', 'out', 'inplace']) @pytest.mark.parametrize('codec', ['encode', 'decode']) @pytest.mark.parametrize( 'kind', ['u1', 'u2', 'u4', 'u8', 'i1', 'i2', 'i4', 'i8', 'f4', 'f8', 'B', 'b'], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('func', ['delta', 'xor']) def test_delta(output, byteorder, kind, codec, func): """Test Delta codec.""" # if byteorder == '>' and numpy.dtype(kind).itemsize == 1: # pytest.skip('duplicate test') if func == 'delta': if not imagecodecs.DELTA: pytest.skip('Delta missing') encode = imagecodecs.delta_encode decode = imagecodecs.delta_decode encode_py = _imagecodecs.delta_encode # decode_py = _imagecodecs.delta_decode elif func == 'xor': if not imagecodecs.XOR: pytest.skip('Xor missing') encode = imagecodecs.xor_encode decode = imagecodecs.xor_decode encode_py = _imagecodecs.xor_encode # decode_py = _imagecodecs.xor_decode bytetype = bytearray if kind == 'b': bytetype = bytes kind = 'B' axis = -2 # do not change if kind[0] in 'iuB': low = numpy.iinfo(kind).min high = numpy.iinfo(kind).max data = numpy.random.randint( low, high, size=33 * 31 * 3, dtype=kind ).reshape(33, 31, 3) else: # floating point low, high = -1e5, 1e5 data = numpy.random.randint( low, high, size=33 * 31 * 3, dtype='i4' ).reshape(33, 31, 3) data = data.astype(byteorder + kind) data[16, 14] = [0, 0, 0] data[16, 15] = [low, high, low] data[16, 16] = [high, low, high] data[16, 17] = [low, high, low] data[16, 18] = [high, low, high] data[16, 19] = [0, 0, 0] if kind == 'B': # data = data.reshape(-1) data = data.tobytes() diff = encode_py(data, axis=0) if output == 'new': if codec == 'encode': encoded = encode(data, out=bytetype) assert encoded == diff elif codec == 'decode': decoded = decode(diff, out=bytetype) assert decoded == data elif output == 'out': if codec == 'encode': encoded = bytetype(len(data)) if bytetype == bytes: with pytest.raises(TypeError): encode(data, out=encoded) else: encode(data, out=encoded) assert encoded == diff elif codec == 'decode': decoded = bytetype(len(data)) if bytetype == bytes: with pytest.raises(TypeError): decode(diff, out=decoded) else: decode(diff, out=decoded) assert decoded == data elif output == 'inplace': if codec == 'encode': encoded = bytetype(data) if bytetype == bytes: with pytest.raises(TypeError): encode(encoded, out=encoded) else: encode(encoded, out=encoded) assert encoded == diff elif codec == 'decode': decoded = bytetype(diff) if bytetype == bytes: with pytest.raises(TypeError): decode(decoded, out=decoded) else: decode(decoded, out=decoded) assert decoded == data else: # if func == 'xor' and kind in ('f4', 'f8'): # with pytest.raises(ValueError): # encode(data, axis=axis) # pytest.xfail("XOR codec not implemented for float data") > diff = encode_py(data, axis=-2) tests/test_imagecodecs.py:598: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ data = array([[[ 5153636702673731530, -7749728482968198228, -4407199340164614997], [-1051458278303824882, -7... [-2966255551370840142, 9180766397894274426, 4808655012261143379]]], shape=(33, 31, 3), dtype='>> xor_encode(b'0123456789') b'0\x01\x03\x01\x07\x01\x03\x01\x0f\x01' """ if isinstance(data, (bytes, bytearray)): data = numpy.frombuffer(data, dtype='u1') xor = numpy.bitwise_xor(data[1:], data[:-1]) return numpy.insert(xor, 0, data[0]).tobytes() dtype = data.dtype if dtype.kind == 'f': data = data.view(f'u{dtype.itemsize}') key = [slice(None)] * data.ndim key[axis] = 0 key0 = [slice(None)] * data.ndim key0[axis] = slice(1, None, None) key1 = [slice(None)] * data.ndim key1[axis] = slice(0, -1, None) key = tuple(key) key0 = tuple(key0) key1 = tuple(key1) xor = numpy.bitwise_xor(data[key0], data[key1]) xor = numpy.insert(xor, 0, data[key], axis=axis) if dtype.kind == 'f': return xor.view(dtype) elif not data.dtype.isnative: > xor = xor.byteswap(True).newbyteorder() E AttributeError: `newbyteorder` was removed from the ndarray class in NumPy 2.0. Use `arr.view(arr.dtype.newbyteorder(order))` instead. ../BUILDROOT/usr/lib64/python3.13/site-packages/imagecodecs/_imagecodecs.py:329: AttributeError _______________________ test_delta[xor-<-i8-decode-out] ________________________ output = 'out', byteorder = '<', kind = 'i8', codec = 'decode', func = 'xor' @pytest.mark.filterwarnings('ignore:invalid value encountered') @pytest.mark.parametrize('output', ['new', 'out', 'inplace']) @pytest.mark.parametrize('codec', ['encode', 'decode']) @pytest.mark.parametrize( 'kind', ['u1', 'u2', 'u4', 'u8', 'i1', 'i2', 'i4', 'i8', 'f4', 'f8', 'B', 'b'], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('func', ['delta', 'xor']) def test_delta(output, byteorder, kind, codec, func): """Test Delta codec.""" # if byteorder == '>' and numpy.dtype(kind).itemsize == 1: # pytest.skip('duplicate test') if func == 'delta': if not imagecodecs.DELTA: pytest.skip('Delta missing') encode = imagecodecs.delta_encode decode = imagecodecs.delta_decode encode_py = _imagecodecs.delta_encode # decode_py = _imagecodecs.delta_decode elif func == 'xor': if not imagecodecs.XOR: pytest.skip('Xor missing') encode = imagecodecs.xor_encode decode = imagecodecs.xor_decode encode_py = _imagecodecs.xor_encode # decode_py = _imagecodecs.xor_decode bytetype = bytearray if kind == 'b': bytetype = bytes kind = 'B' axis = -2 # do not change if kind[0] in 'iuB': low = numpy.iinfo(kind).min high = numpy.iinfo(kind).max data = numpy.random.randint( low, high, size=33 * 31 * 3, dtype=kind ).reshape(33, 31, 3) else: # floating point low, high = -1e5, 1e5 data = numpy.random.randint( low, high, size=33 * 31 * 3, dtype='i4' ).reshape(33, 31, 3) data = data.astype(byteorder + kind) data[16, 14] = [0, 0, 0] data[16, 15] = [low, high, low] data[16, 16] = [high, low, high] data[16, 17] = [low, high, low] data[16, 18] = [high, low, high] data[16, 19] = [0, 0, 0] if kind == 'B': # data = data.reshape(-1) data = data.tobytes() diff = encode_py(data, axis=0) if output == 'new': if codec == 'encode': encoded = encode(data, out=bytetype) assert encoded == diff elif codec == 'decode': decoded = decode(diff, out=bytetype) assert decoded == data elif output == 'out': if codec == 'encode': encoded = bytetype(len(data)) if bytetype == bytes: with pytest.raises(TypeError): encode(data, out=encoded) else: encode(data, out=encoded) assert encoded == diff elif codec == 'decode': decoded = bytetype(len(data)) if bytetype == bytes: with pytest.raises(TypeError): decode(diff, out=decoded) else: decode(diff, out=decoded) assert decoded == data elif output == 'inplace': if codec == 'encode': encoded = bytetype(data) if bytetype == bytes: with pytest.raises(TypeError): encode(encoded, out=encoded) else: encode(encoded, out=encoded) assert encoded == diff elif codec == 'decode': decoded = bytetype(diff) if bytetype == bytes: with pytest.raises(TypeError): decode(decoded, out=decoded) else: decode(decoded, out=decoded) assert decoded == data else: # if func == 'xor' and kind in ('f4', 'f8'): # with pytest.raises(ValueError): # encode(data, axis=axis) # pytest.xfail("XOR codec not implemented for float data") > diff = encode_py(data, axis=-2) tests/test_imagecodecs.py:598: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ data = array([[[-3959594937445174530, 7189828729285732852, -5859035100113528436], [ 7083474295058299560, -2... [ 2495185197981311845, 2137533992058981468, -7577280499220042773]]], shape=(33, 31, 3), dtype='>> xor_encode(b'0123456789') b'0\x01\x03\x01\x07\x01\x03\x01\x0f\x01' """ if isinstance(data, (bytes, bytearray)): data = numpy.frombuffer(data, dtype='u1') xor = numpy.bitwise_xor(data[1:], data[:-1]) return numpy.insert(xor, 0, data[0]).tobytes() dtype = data.dtype if dtype.kind == 'f': data = data.view(f'u{dtype.itemsize}') key = [slice(None)] * data.ndim key[axis] = 0 key0 = [slice(None)] * data.ndim key0[axis] = slice(1, None, None) key1 = [slice(None)] * data.ndim key1[axis] = slice(0, -1, None) key = tuple(key) key0 = tuple(key0) key1 = tuple(key1) xor = numpy.bitwise_xor(data[key0], data[key1]) xor = numpy.insert(xor, 0, data[key], axis=axis) if dtype.kind == 'f': return xor.view(dtype) elif not data.dtype.isnative: > xor = xor.byteswap(True).newbyteorder() E AttributeError: `newbyteorder` was removed from the ndarray class in NumPy 2.0. Use `arr.view(arr.dtype.newbyteorder(order))` instead. ../BUILDROOT/usr/lib64/python3.13/site-packages/imagecodecs/_imagecodecs.py:329: AttributeError _____________________ test_delta[xor-<-i8-decode-inplace] ______________________ output = 'inplace', byteorder = '<', kind = 'i8', codec = 'decode', func = 'xor' @pytest.mark.filterwarnings('ignore:invalid value encountered') @pytest.mark.parametrize('output', ['new', 'out', 'inplace']) @pytest.mark.parametrize('codec', ['encode', 'decode']) @pytest.mark.parametrize( 'kind', ['u1', 'u2', 'u4', 'u8', 'i1', 'i2', 'i4', 'i8', 'f4', 'f8', 'B', 'b'], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('func', ['delta', 'xor']) def test_delta(output, byteorder, kind, codec, func): """Test Delta codec.""" # if byteorder == '>' and numpy.dtype(kind).itemsize == 1: # pytest.skip('duplicate test') if func == 'delta': if not imagecodecs.DELTA: pytest.skip('Delta missing') encode = imagecodecs.delta_encode decode = imagecodecs.delta_decode encode_py = _imagecodecs.delta_encode # decode_py = _imagecodecs.delta_decode elif func == 'xor': if not imagecodecs.XOR: pytest.skip('Xor missing') encode = imagecodecs.xor_encode decode = imagecodecs.xor_decode encode_py = _imagecodecs.xor_encode # decode_py = _imagecodecs.xor_decode bytetype = bytearray if kind == 'b': bytetype = bytes kind = 'B' axis = -2 # do not change if kind[0] in 'iuB': low = numpy.iinfo(kind).min high = numpy.iinfo(kind).max data = numpy.random.randint( low, high, size=33 * 31 * 3, dtype=kind ).reshape(33, 31, 3) else: # floating point low, high = -1e5, 1e5 data = numpy.random.randint( low, high, size=33 * 31 * 3, dtype='i4' ).reshape(33, 31, 3) data = data.astype(byteorder + kind) data[16, 14] = [0, 0, 0] data[16, 15] = [low, high, low] data[16, 16] = [high, low, high] data[16, 17] = [low, high, low] data[16, 18] = [high, low, high] data[16, 19] = [0, 0, 0] if kind == 'B': # data = data.reshape(-1) data = data.tobytes() diff = encode_py(data, axis=0) if output == 'new': if codec == 'encode': encoded = encode(data, out=bytetype) assert encoded == diff elif codec == 'decode': decoded = decode(diff, out=bytetype) assert decoded == data elif output == 'out': if codec == 'encode': encoded = bytetype(len(data)) if bytetype == bytes: with pytest.raises(TypeError): encode(data, out=encoded) else: encode(data, out=encoded) assert encoded == diff elif codec == 'decode': decoded = bytetype(len(data)) if bytetype == bytes: with pytest.raises(TypeError): decode(diff, out=decoded) else: decode(diff, out=decoded) assert decoded == data elif output == 'inplace': if codec == 'encode': encoded = bytetype(data) if bytetype == bytes: with pytest.raises(TypeError): encode(encoded, out=encoded) else: encode(encoded, out=encoded) assert encoded == diff elif codec == 'decode': decoded = bytetype(diff) if bytetype == bytes: with pytest.raises(TypeError): decode(decoded, out=decoded) else: decode(decoded, out=decoded) assert decoded == data else: # if func == 'xor' and kind in ('f4', 'f8'): # with pytest.raises(ValueError): # encode(data, axis=axis) # pytest.xfail("XOR codec not implemented for float data") > diff = encode_py(data, axis=-2) tests/test_imagecodecs.py:598: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ data = array([[[ 4549500195119757331, 8074883351854694822, 4191012729015538817], [-2038525281386314913, -7... [-4544605756930879969, -4252482584409006432, -1666470078354554940]]], shape=(33, 31, 3), dtype='>> xor_encode(b'0123456789') b'0\x01\x03\x01\x07\x01\x03\x01\x0f\x01' """ if isinstance(data, (bytes, bytearray)): data = numpy.frombuffer(data, dtype='u1') xor = numpy.bitwise_xor(data[1:], data[:-1]) return numpy.insert(xor, 0, data[0]).tobytes() dtype = data.dtype if dtype.kind == 'f': data = data.view(f'u{dtype.itemsize}') key = [slice(None)] * data.ndim key[axis] = 0 key0 = [slice(None)] * data.ndim key0[axis] = slice(1, None, None) key1 = [slice(None)] * data.ndim key1[axis] = slice(0, -1, None) key = tuple(key) key0 = tuple(key0) key1 = tuple(key1) xor = numpy.bitwise_xor(data[key0], data[key1]) xor = numpy.insert(xor, 0, data[key], axis=axis) if dtype.kind == 'f': return xor.view(dtype) elif not data.dtype.isnative: > xor = xor.byteswap(True).newbyteorder() E AttributeError: `newbyteorder` was removed from the ndarray class in NumPy 2.0. Use `arr.view(arr.dtype.newbyteorder(order))` instead. ../BUILDROOT/usr/lib64/python3.13/site-packages/imagecodecs/_imagecodecs.py:329: AttributeError _____________________ test_floatpred[False-be-encode-new] ______________________ planar = False, endian = 'be', output = 'new', codec = 'encode' @pytest.mark.skipif(not imagecodecs.FLOATPRED, reason='FloatPred missing') @pytest.mark.parametrize('output', ['new', 'out']) @pytest.mark.parametrize('codec', ['encode', 'decode']) @pytest.mark.parametrize('endian', ['le', 'be']) @pytest.mark.parametrize('planar', [False, True]) def test_floatpred(planar, endian, output, codec): """Test FloatPred codec.""" encode = imagecodecs.floatpred_encode decode = imagecodecs.floatpred_decode data = numpy.fromfile(datafiles('rgb.bin'), dtype='f4') encoded = numpy.fromfile( datafiles('rgb.floatpred_be.bin'), dtype='>f4' ) encoded = encoded.reshape(33, 31, 3) if output == 'new': if codec == 'decode': assert_array_equal(decode(encoded, axis=axis), data) elif codec == 'encode': > assert_array_equal(encode(data, axis=axis), encoded) tests/test_imagecodecs.py:668: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ args = (array([[[ 8.85066e-39, 8.08164e-39, -7.32834e-15], [-6.90835e+36, 9.55147e-38, 9.55147e-38], [-2.6...], [ 0. , 0. , 0. ], [ 0. , 0. , 0. ]]], shape=(33, 31, 3), dtype=float32)) kwargs = {}, old_name = 'y', new_name = 'desired' @functools.wraps(fun) def wrapper(*args, **kwargs): for old_name, new_name in zip(old_names, new_names): if old_name in kwargs: if dep_version: end_version = dep_version.split('.') end_version[1] = str(int(end_version[1]) + 2) end_version = '.'.join(end_version) msg = (f"Use of keyword argument `{old_name}` is " f"deprecated and replaced by `{new_name}`. " f"Support for `{old_name}` will be removed " f"in NumPy {end_version}.") warnings.warn(msg, DeprecationWarning, stacklevel=2) if new_name in kwargs: msg = (f"{fun.__name__}() got multiple values for " f"argument now known as `{new_name}`") raise TypeError(msg) kwargs[new_name] = kwargs.pop(old_name) > return fun(*args, **kwargs) E AssertionError: E Arrays are not equal E E Mismatched elements: 3069 / 3069 (100%) E Max absolute difference among violations: 1.68812e+38 E Max relative difference among violations: inf E ACTUAL: array([[[ 8.850657e-39, 8.081641e-39, -7.328343e-15], E [-6.908352e+36, 9.551468e-38, 9.551468e-38], E [-2.695330e+35, 2.369428e-38, 2.369428e-38],... E DESIRED: array([[[ 0. , 0. , 0. ], E [ 0. , 0. , 0. ], E [ 0. , 0. , 0. ],... /usr/lib64/python3.13/site-packages/numpy/_utils/__init__.py:85: AssertionError _____________________ test_floatpred[False-be-encode-out] ______________________ planar = False, endian = 'be', output = 'out', codec = 'encode' @pytest.mark.skipif(not imagecodecs.FLOATPRED, reason='FloatPred missing') @pytest.mark.parametrize('output', ['new', 'out']) @pytest.mark.parametrize('codec', ['encode', 'decode']) @pytest.mark.parametrize('endian', ['le', 'be']) @pytest.mark.parametrize('planar', [False, True]) def test_floatpred(planar, endian, output, codec): """Test FloatPred codec.""" encode = imagecodecs.floatpred_encode decode = imagecodecs.floatpred_decode data = numpy.fromfile(datafiles('rgb.bin'), dtype='f4') encoded = numpy.fromfile( datafiles('rgb.floatpred_be.bin'), dtype='>f4' ) encoded = encoded.reshape(33, 31, 3) if output == 'new': if codec == 'decode': assert_array_equal(decode(encoded, axis=axis), data) elif codec == 'encode': assert_array_equal(encode(data, axis=axis), encoded) elif output == 'out': out = numpy.zeros_like(data) if codec == 'decode': decode(encoded, axis=axis, out=out) assert_array_equal(out, data) elif codec == 'encode': out = numpy.zeros_like(data) encode(data, axis=axis, out=out) > assert_array_equal(out, encoded) tests/test_imagecodecs.py:677: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ args = (array([[[ 8.85066e-39, 8.08164e-39, -7.32834e-15], [-6.90835e+36, 9.55147e-38, 9.55147e-38], [-2.6...], [ 0. , 0. , 0. ], [ 0. , 0. , 0. ]]], shape=(33, 31, 3), dtype=float32)) kwargs = {}, old_name = 'y', new_name = 'desired' @functools.wraps(fun) def wrapper(*args, **kwargs): for old_name, new_name in zip(old_names, new_names): if old_name in kwargs: if dep_version: end_version = dep_version.split('.') end_version[1] = str(int(end_version[1]) + 2) end_version = '.'.join(end_version) msg = (f"Use of keyword argument `{old_name}` is " f"deprecated and replaced by `{new_name}`. " f"Support for `{old_name}` will be removed " f"in NumPy {end_version}.") warnings.warn(msg, DeprecationWarning, stacklevel=2) if new_name in kwargs: msg = (f"{fun.__name__}() got multiple values for " f"argument now known as `{new_name}`") raise TypeError(msg) kwargs[new_name] = kwargs.pop(old_name) > return fun(*args, **kwargs) E AssertionError: E Arrays are not equal E E Mismatched elements: 3069 / 3069 (100%) E Max absolute difference among violations: 1.68812e+38 E Max relative difference among violations: inf E ACTUAL: array([[[ 8.850657e-39, 8.081641e-39, -7.328343e-15], E [-6.908352e+36, 9.551468e-38, 9.551468e-38], E [-2.695330e+35, 2.369428e-38, 2.369428e-38],... E DESIRED: array([[[ 0. , 0. , 0. ], E [ 0. , 0. , 0. ], E [ 0. , 0. , 0. ],... /usr/lib64/python3.13/site-packages/numpy/_utils/__init__.py:85: AssertionError _____________________ test_floatpred[False-be-decode-new] ______________________ planar = False, endian = 'be', output = 'new', codec = 'decode' @pytest.mark.skipif(not imagecodecs.FLOATPRED, reason='FloatPred missing') @pytest.mark.parametrize('output', ['new', 'out']) @pytest.mark.parametrize('codec', ['encode', 'decode']) @pytest.mark.parametrize('endian', ['le', 'be']) @pytest.mark.parametrize('planar', [False, True]) def test_floatpred(planar, endian, output, codec): """Test FloatPred codec.""" encode = imagecodecs.floatpred_encode decode = imagecodecs.floatpred_decode data = numpy.fromfile(datafiles('rgb.bin'), dtype='f4') encoded = numpy.fromfile( datafiles('rgb.floatpred_be.bin'), dtype='>f4' ) encoded = encoded.reshape(33, 31, 3) if output == 'new': if codec == 'decode': > assert_array_equal(decode(encoded, axis=axis), data) tests/test_imagecodecs.py:666: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ args = (array([[[ 0.00000e+00, 1.23169e+20, 1.22881e+20], [ 4.82990e-34, 1.23169e+20, -6.62007e-05], [ 4.8....99772], [0.99804, 0.99837, 0.9987 ], [0.99902, 0.99935, 0.99967]]], shape=(33, 31, 3), dtype=float32)) kwargs = {}, old_name = 'y', new_name = 'desired' @functools.wraps(fun) def wrapper(*args, **kwargs): for old_name, new_name in zip(old_names, new_names): if old_name in kwargs: if dep_version: end_version = dep_version.split('.') end_version[1] = str(int(end_version[1]) + 2) end_version = '.'.join(end_version) msg = (f"Use of keyword argument `{old_name}` is " f"deprecated and replaced by `{new_name}`. " f"Support for `{old_name}` will be removed " f"in NumPy {end_version}.") warnings.warn(msg, DeprecationWarning, stacklevel=2) if new_name in kwargs: msg = (f"{fun.__name__}() got multiple values for " f"argument now known as `{new_name}`") raise TypeError(msg) kwargs[new_name] = kwargs.pop(old_name) > return fun(*args, **kwargs) E AssertionError: E Arrays are not equal E E nan location mismatch: E ACTUAL: array([[[ 0.000000e+00, 1.231694e+20, 1.228812e+20], E [ 4.829898e-34, 1.231695e+20, -6.620069e-05], E [ 4.814852e-34, -2.329079e-07, 1.228812e+20],... E DESIRED: array([[[0. , 0.000326, 0.000652], E [0.000978, 0.001303, 0.001629], E [0.001955, 0.002281, 0.002607],... /usr/lib64/python3.13/site-packages/numpy/_utils/__init__.py:85: AssertionError _____________________ test_floatpred[False-be-decode-out] ______________________ planar = False, endian = 'be', output = 'out', codec = 'decode' @pytest.mark.skipif(not imagecodecs.FLOATPRED, reason='FloatPred missing') @pytest.mark.parametrize('output', ['new', 'out']) @pytest.mark.parametrize('codec', ['encode', 'decode']) @pytest.mark.parametrize('endian', ['le', 'be']) @pytest.mark.parametrize('planar', [False, True]) def test_floatpred(planar, endian, output, codec): """Test FloatPred codec.""" encode = imagecodecs.floatpred_encode decode = imagecodecs.floatpred_decode data = numpy.fromfile(datafiles('rgb.bin'), dtype='f4') encoded = numpy.fromfile( datafiles('rgb.floatpred_be.bin'), dtype='>f4' ) encoded = encoded.reshape(33, 31, 3) if output == 'new': if codec == 'decode': assert_array_equal(decode(encoded, axis=axis), data) elif codec == 'encode': assert_array_equal(encode(data, axis=axis), encoded) elif output == 'out': out = numpy.zeros_like(data) if codec == 'decode': decode(encoded, axis=axis, out=out) > assert_array_equal(out, data) tests/test_imagecodecs.py:673: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ args = (array([[[ 0.00000e+00, 1.23169e+20, 1.22881e+20], [ 4.82990e-34, 1.23169e+20, -6.62007e-05], [ 4.8....99772], [0.99804, 0.99837, 0.9987 ], [0.99902, 0.99935, 0.99967]]], shape=(33, 31, 3), dtype=float32)) kwargs = {}, old_name = 'y', new_name = 'desired' @functools.wraps(fun) def wrapper(*args, **kwargs): for old_name, new_name in zip(old_names, new_names): if old_name in kwargs: if dep_version: end_version = dep_version.split('.') end_version[1] = str(int(end_version[1]) + 2) end_version = '.'.join(end_version) msg = (f"Use of keyword argument `{old_name}` is " f"deprecated and replaced by `{new_name}`. " f"Support for `{old_name}` will be removed " f"in NumPy {end_version}.") warnings.warn(msg, DeprecationWarning, stacklevel=2) if new_name in kwargs: msg = (f"{fun.__name__}() got multiple values for " f"argument now known as `{new_name}`") raise TypeError(msg) kwargs[new_name] = kwargs.pop(old_name) > return fun(*args, **kwargs) E AssertionError: E Arrays are not equal E E nan location mismatch: E ACTUAL: array([[[ 0.000000e+00, 1.231694e+20, 1.228812e+20], E [ 4.829898e-34, 1.231695e+20, -6.620069e-05], E [ 4.814852e-34, -2.329079e-07, 1.228812e+20],... E DESIRED: array([[[0. , 0.000326, 0.000652], E [0.000978, 0.001303, 0.001629], E [0.001955, 0.002281, 0.002607],... /usr/lib64/python3.13/site-packages/numpy/_utils/__init__.py:85: AssertionError ______________________ test_floatpred[True-be-encode-new] ______________________ planar = True, endian = 'be', output = 'new', codec = 'encode' @pytest.mark.skipif(not imagecodecs.FLOATPRED, reason='FloatPred missing') @pytest.mark.parametrize('output', ['new', 'out']) @pytest.mark.parametrize('codec', ['encode', 'decode']) @pytest.mark.parametrize('endian', ['le', 'be']) @pytest.mark.parametrize('planar', [False, True]) def test_floatpred(planar, endian, output, codec): """Test FloatPred codec.""" encode = imagecodecs.floatpred_encode decode = imagecodecs.floatpred_decode data = numpy.fromfile(datafiles('rgb.bin'), dtype='f4') encoded = numpy.fromfile( datafiles('rgb.floatpred_be.bin'), dtype='>f4' ) encoded = encoded.reshape(33, 31, 3) if output == 'new': if codec == 'decode': assert_array_equal(decode(encoded, axis=axis), data) elif codec == 'encode': assert_array_equal(encode(data, axis=axis), encoded) elif output == 'out': out = numpy.zeros_like(data) if codec == 'decode': decode(encoded, axis=axis, out=out) assert_array_equal(out, data) elif codec == 'encode': out = numpy.zeros_like(data) encode(data, axis=axis, out=out) assert_array_equal(out, encoded) else: axis = -1 data = numpy.ascontiguousarray(numpy.moveaxis(data, 2, 0)) if endian == 'le': encoded = numpy.fromfile( datafiles('rrggbb.floatpred_le.bin'), dtype='f4') encoded = numpy.fromfile( datafiles('rrggbb.floatpred_be.bin'), dtype='>f4' ) encoded = encoded.reshape(3, 33, 31) if output == 'new': if codec == 'decode': assert_array_equal(decode(encoded, axis=axis), data) elif codec == 'encode': > assert_array_equal(encode(data, axis=axis), encoded) tests/test_imagecodecs.py:710: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ args = (array([[[ 7.34690e-40, -2.70016e+36, -1.67457e+35, ..., 0.00000e+00, 0.00000e+00, 0.00000e+00], [... [ 0.5 , 0. , 0. , ..., 0. , 0. , 0. ]]], shape=(3, 33, 31), dtype=float32)) kwargs = {}, old_name = 'y', new_name = 'desired' @functools.wraps(fun) def wrapper(*args, **kwargs): for old_name, new_name in zip(old_names, new_names): if old_name in kwargs: if dep_version: end_version = dep_version.split('.') end_version[1] = str(int(end_version[1]) + 2) end_version = '.'.join(end_version) msg = (f"Use of keyword argument `{old_name}` is " f"deprecated and replaced by `{new_name}`. " f"Support for `{old_name}` will be removed " f"in NumPy {end_version}.") warnings.warn(msg, DeprecationWarning, stacklevel=2) if new_name in kwargs: msg = (f"{fun.__name__}() got multiple values for " f"argument now known as `{new_name}`") raise TypeError(msg) kwargs[new_name] = kwargs.pop(old_name) > return fun(*args, **kwargs) E AssertionError: E Arrays are not equal E E Mismatched elements: 3069 / 3069 (100%) E Max absolute difference among violations: 2.12843e+38 E Max relative difference among violations: inf E ACTUAL: array([[[ 7.346896e-40, -2.700157e+36, -1.674567e+35, ..., E 0.000000e+00, 0.000000e+00, 0.000000e+00], E [ 9.781876e-29, 1.401298e-45, 1.401298e-45, ...,... E DESIRED: array([[[ 0. , 0. , 0. , ..., 0. , 0. , E 0. ], E [ 0.007874, 0. , 0. , ..., 0. , 0. ,... /usr/lib64/python3.13/site-packages/numpy/_utils/__init__.py:85: AssertionError ______________________ test_floatpred[True-be-encode-out] ______________________ planar = True, endian = 'be', output = 'out', codec = 'encode' @pytest.mark.skipif(not imagecodecs.FLOATPRED, reason='FloatPred missing') @pytest.mark.parametrize('output', ['new', 'out']) @pytest.mark.parametrize('codec', ['encode', 'decode']) @pytest.mark.parametrize('endian', ['le', 'be']) @pytest.mark.parametrize('planar', [False, True]) def test_floatpred(planar, endian, output, codec): """Test FloatPred codec.""" encode = imagecodecs.floatpred_encode decode = imagecodecs.floatpred_decode data = numpy.fromfile(datafiles('rgb.bin'), dtype='f4') encoded = numpy.fromfile( datafiles('rgb.floatpred_be.bin'), dtype='>f4' ) encoded = encoded.reshape(33, 31, 3) if output == 'new': if codec == 'decode': assert_array_equal(decode(encoded, axis=axis), data) elif codec == 'encode': assert_array_equal(encode(data, axis=axis), encoded) elif output == 'out': out = numpy.zeros_like(data) if codec == 'decode': decode(encoded, axis=axis, out=out) assert_array_equal(out, data) elif codec == 'encode': out = numpy.zeros_like(data) encode(data, axis=axis, out=out) assert_array_equal(out, encoded) else: axis = -1 data = numpy.ascontiguousarray(numpy.moveaxis(data, 2, 0)) if endian == 'le': encoded = numpy.fromfile( datafiles('rrggbb.floatpred_le.bin'), dtype='f4') encoded = numpy.fromfile( datafiles('rrggbb.floatpred_be.bin'), dtype='>f4' ) encoded = encoded.reshape(3, 33, 31) if output == 'new': if codec == 'decode': assert_array_equal(decode(encoded, axis=axis), data) elif codec == 'encode': assert_array_equal(encode(data, axis=axis), encoded) elif output == 'out': out = numpy.zeros_like(data) if codec == 'decode': decode(encoded, axis=axis, out=out) assert_array_equal(out, data) elif codec == 'encode': out = numpy.zeros_like(data) encode(data, axis=axis, out=out) > assert_array_equal(out, encoded) tests/test_imagecodecs.py:719: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ args = (array([[[ 7.34690e-40, -2.70016e+36, -1.67457e+35, ..., 0.00000e+00, 0.00000e+00, 0.00000e+00], [... [ 0.5 , 0. , 0. , ..., 0. , 0. , 0. ]]], shape=(3, 33, 31), dtype=float32)) kwargs = {}, old_name = 'y', new_name = 'desired' @functools.wraps(fun) def wrapper(*args, **kwargs): for old_name, new_name in zip(old_names, new_names): if old_name in kwargs: if dep_version: end_version = dep_version.split('.') end_version[1] = str(int(end_version[1]) + 2) end_version = '.'.join(end_version) msg = (f"Use of keyword argument `{old_name}` is " f"deprecated and replaced by `{new_name}`. " f"Support for `{old_name}` will be removed " f"in NumPy {end_version}.") warnings.warn(msg, DeprecationWarning, stacklevel=2) if new_name in kwargs: msg = (f"{fun.__name__}() got multiple values for " f"argument now known as `{new_name}`") raise TypeError(msg) kwargs[new_name] = kwargs.pop(old_name) > return fun(*args, **kwargs) E AssertionError: E Arrays are not equal E E Mismatched elements: 3069 / 3069 (100%) E Max absolute difference among violations: 2.12843e+38 E Max relative difference among violations: inf E ACTUAL: array([[[ 7.346896e-40, -2.700157e+36, -1.674567e+35, ..., E 0.000000e+00, 0.000000e+00, 0.000000e+00], E [ 9.781876e-29, 1.401298e-45, 1.401298e-45, ...,... E DESIRED: array([[[ 0. , 0. , 0. , ..., 0. , 0. , E 0. ], E [ 0.007874, 0. , 0. , ..., 0. , 0. ,... /usr/lib64/python3.13/site-packages/numpy/_utils/__init__.py:85: AssertionError ______________________ test_floatpred[True-be-decode-new] ______________________ planar = True, endian = 'be', output = 'new', codec = 'decode' @pytest.mark.skipif(not imagecodecs.FLOATPRED, reason='FloatPred missing') @pytest.mark.parametrize('output', ['new', 'out']) @pytest.mark.parametrize('codec', ['encode', 'decode']) @pytest.mark.parametrize('endian', ['le', 'be']) @pytest.mark.parametrize('planar', [False, True]) def test_floatpred(planar, endian, output, codec): """Test FloatPred codec.""" encode = imagecodecs.floatpred_encode decode = imagecodecs.floatpred_decode data = numpy.fromfile(datafiles('rgb.bin'), dtype='f4') encoded = numpy.fromfile( datafiles('rgb.floatpred_be.bin'), dtype='>f4' ) encoded = encoded.reshape(33, 31, 3) if output == 'new': if codec == 'decode': assert_array_equal(decode(encoded, axis=axis), data) elif codec == 'encode': assert_array_equal(encode(data, axis=axis), encoded) elif output == 'out': out = numpy.zeros_like(data) if codec == 'decode': decode(encoded, axis=axis, out=out) assert_array_equal(out, data) elif codec == 'encode': out = numpy.zeros_like(data) encode(data, axis=axis, out=out) assert_array_equal(out, encoded) else: axis = -1 data = numpy.ascontiguousarray(numpy.moveaxis(data, 2, 0)) if endian == 'le': encoded = numpy.fromfile( datafiles('rrggbb.floatpred_le.bin'), dtype='f4') encoded = numpy.fromfile( datafiles('rrggbb.floatpred_be.bin'), dtype='>f4' ) encoded = encoded.reshape(3, 33, 31) if output == 'new': if codec == 'decode': > assert_array_equal(decode(encoded, axis=axis), data) tests/test_imagecodecs.py:708: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ args = (array([[[ 0.00000e+00, 4.82990e-34, 4.81485e-34, ..., 2.27877e-30, 9.21523e-30, 9.31538e-30], [...96937], [0.97035, 0.97133, 0.9723 , ..., 0.99772, 0.9987 , 0.99967]]], shape=(3, 33, 31), dtype=float32)) kwargs = {}, old_name = 'y', new_name = 'desired' @functools.wraps(fun) def wrapper(*args, **kwargs): for old_name, new_name in zip(old_names, new_names): if old_name in kwargs: if dep_version: end_version = dep_version.split('.') end_version[1] = str(int(end_version[1]) + 2) end_version = '.'.join(end_version) msg = (f"Use of keyword argument `{old_name}` is " f"deprecated and replaced by `{new_name}`. " f"Support for `{old_name}` will be removed " f"in NumPy {end_version}.") warnings.warn(msg, DeprecationWarning, stacklevel=2) if new_name in kwargs: msg = (f"{fun.__name__}() got multiple values for " f"argument now known as `{new_name}`") raise TypeError(msg) kwargs[new_name] = kwargs.pop(old_name) > return fun(*args, **kwargs) E AssertionError: E Arrays are not equal E E nan location mismatch: E ACTUAL: array([[[ 0.000000e+00, 4.829898e-34, 4.814852e-34, ..., E 2.278772e-30, 9.215235e-30, 9.315383e-30], E [ 3.766213e-29, 4.814853e-34, 4.845416e-34, ...,... E DESIRED: array([[[0. , 0.000978, 0.001955, ..., 0.02737 , 0.028348, E 0.029326], E [0.030303, 0.031281, 0.032258, ..., 0.057674, 0.058651,... /usr/lib64/python3.13/site-packages/numpy/_utils/__init__.py:85: AssertionError ______________________ test_floatpred[True-be-decode-out] ______________________ planar = True, endian = 'be', output = 'out', codec = 'decode' @pytest.mark.skipif(not imagecodecs.FLOATPRED, reason='FloatPred missing') @pytest.mark.parametrize('output', ['new', 'out']) @pytest.mark.parametrize('codec', ['encode', 'decode']) @pytest.mark.parametrize('endian', ['le', 'be']) @pytest.mark.parametrize('planar', [False, True]) def test_floatpred(planar, endian, output, codec): """Test FloatPred codec.""" encode = imagecodecs.floatpred_encode decode = imagecodecs.floatpred_decode data = numpy.fromfile(datafiles('rgb.bin'), dtype='f4') encoded = numpy.fromfile( datafiles('rgb.floatpred_be.bin'), dtype='>f4' ) encoded = encoded.reshape(33, 31, 3) if output == 'new': if codec == 'decode': assert_array_equal(decode(encoded, axis=axis), data) elif codec == 'encode': assert_array_equal(encode(data, axis=axis), encoded) elif output == 'out': out = numpy.zeros_like(data) if codec == 'decode': decode(encoded, axis=axis, out=out) assert_array_equal(out, data) elif codec == 'encode': out = numpy.zeros_like(data) encode(data, axis=axis, out=out) assert_array_equal(out, encoded) else: axis = -1 data = numpy.ascontiguousarray(numpy.moveaxis(data, 2, 0)) if endian == 'le': encoded = numpy.fromfile( datafiles('rrggbb.floatpred_le.bin'), dtype='f4') encoded = numpy.fromfile( datafiles('rrggbb.floatpred_be.bin'), dtype='>f4' ) encoded = encoded.reshape(3, 33, 31) if output == 'new': if codec == 'decode': assert_array_equal(decode(encoded, axis=axis), data) elif codec == 'encode': assert_array_equal(encode(data, axis=axis), encoded) elif output == 'out': out = numpy.zeros_like(data) if codec == 'decode': decode(encoded, axis=axis, out=out) > assert_array_equal(out, data) tests/test_imagecodecs.py:715: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ args = (array([[[ 0.00000e+00, 4.82990e-34, 4.81485e-34, ..., 2.27877e-30, 9.21523e-30, 9.31538e-30], [...96937], [0.97035, 0.97133, 0.9723 , ..., 0.99772, 0.9987 , 0.99967]]], shape=(3, 33, 31), dtype=float32)) kwargs = {}, old_name = 'y', new_name = 'desired' @functools.wraps(fun) def wrapper(*args, **kwargs): for old_name, new_name in zip(old_names, new_names): if old_name in kwargs: if dep_version: end_version = dep_version.split('.') end_version[1] = str(int(end_version[1]) + 2) end_version = '.'.join(end_version) msg = (f"Use of keyword argument `{old_name}` is " f"deprecated and replaced by `{new_name}`. " f"Support for `{old_name}` will be removed " f"in NumPy {end_version}.") warnings.warn(msg, DeprecationWarning, stacklevel=2) if new_name in kwargs: msg = (f"{fun.__name__}() got multiple values for " f"argument now known as `{new_name}`") raise TypeError(msg) kwargs[new_name] = kwargs.pop(old_name) > return fun(*args, **kwargs) E AssertionError: E Arrays are not equal E E nan location mismatch: E ACTUAL: array([[[ 0.000000e+00, 4.829898e-34, 4.814852e-34, ..., E 2.278772e-30, 9.215235e-30, 9.315383e-30], E [ 3.766213e-29, 4.814853e-34, 4.845416e-34, ...,... E DESIRED: array([[[0. , 0.000978, 0.001955, ..., 0.02737 , 0.028348, E 0.029326], E [0.030303, 0.031281, 0.032258, ..., 0.057674, 0.058651,... /usr/lib64/python3.13/site-packages/numpy/_utils/__init__.py:85: AssertionError ______________________ test_float24[encode->-f30-f40-nan] ______________________ f3 = (127, 128, 0), f4 = (127, 192, 0, 0), f3_expected = nan, byteorder = '>' mode = 'encode' @pytest.mark.skipif(not imagecodecs.FLOAT24, reason='Float24 missing') @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in (-numpy.inf, numpy.inf): assert f3_decoded == f3_expected else: assert abs(f3_decoded - f3_expected) < 4e-8 else: f4_array = numpy.frombuffer(f4_bytes, dtype='>f4').astype('=f4') f3_encoded = encode(f4_array, byteorder=byteorder) > assert f3_encoded == f3_bytes E AssertionError: assert b'\x00\x00\x00' == b'\x7f\x80\x00' E E At index 0 diff: b'\x00' != b'\x7f' E E Full diff: E - b'\x7f\x80\x00' E ? ^^ ^ E + b'\x00\x00\x00' E ? ^^ ^ tests/test_imagecodecs.py:793: AssertionError ______________________ test_float24[encode->-f31-f41-nan] ______________________ f3 = (255, 128, 0), f4 = (255, 192, 0, 0), f3_expected = nan, byteorder = '>' mode = 'encode' @pytest.mark.skipif(not imagecodecs.FLOAT24, reason='Float24 missing') @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in (-numpy.inf, numpy.inf): assert f3_decoded == f3_expected else: assert abs(f3_decoded - f3_expected) < 4e-8 else: f4_array = numpy.frombuffer(f4_bytes, dtype='>f4').astype('=f4') f3_encoded = encode(f4_array, byteorder=byteorder) > assert f3_encoded == f3_bytes E AssertionError: assert b'\x00\x00\x00' == b'\xff\x80\x00' E E At index 0 diff: b'\x00' != b'\xff' E E Full diff: E - b'\xff\x80\x00' E ? ^^ ^ E + b'\x00\x00\x00' E ? ^^ ^ tests/test_imagecodecs.py:793: AssertionError ______________________ test_float24[encode->-f32-f42-nan] ______________________ f3 = (255, 128, 0), f4 = (255, 128, 0, 1), f3_expected = nan, byteorder = '>' mode = 'encode' @pytest.mark.skipif(not imagecodecs.FLOAT24, reason='Float24 missing') @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in (-numpy.inf, numpy.inf): assert f3_decoded == f3_expected else: assert abs(f3_decoded - f3_expected) < 4e-8 else: f4_array = numpy.frombuffer(f4_bytes, dtype='>f4').astype('=f4') f3_encoded = encode(f4_array, byteorder=byteorder) > assert f3_encoded == f3_bytes E AssertionError: assert b'\x00\x00\x00' == b'\xff\x80\x00' E E At index 0 diff: b'\x00' != b'\xff' E E Full diff: E - b'\xff\x80\x00' E ? ^^ ^ E + b'\x00\x00\x00' E ? ^^ ^ tests/test_imagecodecs.py:793: AssertionError ______________________ test_float24[encode->-f33-f43-inf] ______________________ f3 = (127, 0, 0), f4 = (127, 128, 0, 0), f3_expected = inf, byteorder = '>' mode = 'encode' @pytest.mark.skipif(not imagecodecs.FLOAT24, reason='Float24 missing') @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in (-numpy.inf, numpy.inf): assert f3_decoded == f3_expected else: assert abs(f3_decoded - f3_expected) < 4e-8 else: f4_array = numpy.frombuffer(f4_bytes, dtype='>f4').astype('=f4') f3_encoded = encode(f4_array, byteorder=byteorder) > assert f3_encoded == f3_bytes E AssertionError: assert b'\x00\x00\x00' == b'\x7f\x00\x00' E E At index 0 diff: b'\x00' != b'\x7f' E E Full diff: E - b'\x7f\x00\x00' E ? ^^ E + b'\x00\x00\x00' E ? ^^ tests/test_imagecodecs.py:793: AssertionError _____________________ test_float24[encode->-f34-f44--inf] ______________________ f3 = (255, 0, 0), f4 = (255, 128, 0, 0), f3_expected = -inf, byteorder = '>' mode = 'encode' @pytest.mark.skipif(not imagecodecs.FLOAT24, reason='Float24 missing') @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in (-numpy.inf, numpy.inf): assert f3_decoded == f3_expected else: assert abs(f3_decoded - f3_expected) < 4e-8 else: f4_array = numpy.frombuffer(f4_bytes, dtype='>f4').astype('=f4') f3_encoded = encode(f4_array, byteorder=byteorder) > assert f3_encoded == f3_bytes E AssertionError: assert b'\x00\x00\x00' == b'\xff\x00\x00' E E At index 0 diff: b'\x00' != b'\xff' E E Full diff: E - b'\xff\x00\x00' E ? ^^ E + b'\x00\x00\x00' E ? ^^ tests/test_imagecodecs.py:793: AssertionError _____________________ test_float24[encode->-f36-f46--0.0] ______________________ f3 = (128, 0, 0), f4 = (128, 0, 0, 0), f3_expected = -0.0, byteorder = '>' mode = 'encode' @pytest.mark.skipif(not imagecodecs.FLOAT24, reason='Float24 missing') @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in (-numpy.inf, numpy.inf): assert f3_decoded == f3_expected else: assert abs(f3_decoded - f3_expected) < 4e-8 else: f4_array = numpy.frombuffer(f4_bytes, dtype='>f4').astype('=f4') f3_encoded = encode(f4_array, byteorder=byteorder) > assert f3_encoded == f3_bytes E AssertionError: assert b'\x00\x00\x00' == b'\x80\x00\x00' E E At index 0 diff: b'\x00' != b'\x80' E E Full diff: E - b'\x80\x00\x00' E ? ^ E + b'\x00\x00\x00' E ? ^ tests/test_imagecodecs.py:793: AssertionError ______________________ test_float24[encode->-f37-f47-1.0] ______________________ f3 = (63, 0, 0), f4 = (63, 128, 0, 0), f3_expected = 1.0, byteorder = '>' mode = 'encode' @pytest.mark.skipif(not imagecodecs.FLOAT24, reason='Float24 missing') @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in (-numpy.inf, numpy.inf): assert f3_decoded == f3_expected else: assert abs(f3_decoded - f3_expected) < 4e-8 else: f4_array = numpy.frombuffer(f4_bytes, dtype='>f4').astype('=f4') f3_encoded = encode(f4_array, byteorder=byteorder) > assert f3_encoded == f3_bytes E AssertionError: assert b'\x00\x00\x00' == b'?\x00\x00' E E At index 0 diff: b'\x00' != b'?' E E Full diff: E - b'?\x00\x00' E ? ^ E + b'\x00\x00\x00' E ? ^^^^ tests/test_imagecodecs.py:793: AssertionError _____________________ test_float24[encode->-f38-f48--1.0] ______________________ f3 = (191, 0, 0), f4 = (191, 128, 0, 0), f3_expected = -1.0, byteorder = '>' mode = 'encode' @pytest.mark.skipif(not imagecodecs.FLOAT24, reason='Float24 missing') @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in (-numpy.inf, numpy.inf): assert f3_decoded == f3_expected else: assert abs(f3_decoded - f3_expected) < 4e-8 else: f4_array = numpy.frombuffer(f4_bytes, dtype='>f4').astype('=f4') f3_encoded = encode(f4_array, byteorder=byteorder) > assert f3_encoded == f3_bytes E AssertionError: assert b'\x00\x00\x00' == b'\xbf\x00\x00' E E At index 0 diff: b'\x00' != b'\xbf' E E Full diff: E - b'\xbf\x00\x00' E ? ^^ E + b'\x00\x00\x00' E ? ^^ tests/test_imagecodecs.py:793: AssertionError ___________________ test_float24[encode->-f39-f49-3.1416016] ___________________ f3 = (64, 146, 32), f4 = (64, 73, 15, 219), f3_expected = 3.1416016 byteorder = '>', mode = 'encode' @pytest.mark.skipif(not imagecodecs.FLOAT24, reason='Float24 missing') @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in (-numpy.inf, numpy.inf): assert f3_decoded == f3_expected else: assert abs(f3_decoded - f3_expected) < 4e-8 else: f4_array = numpy.frombuffer(f4_bytes, dtype='>f4').astype('=f4') f3_encoded = encode(f4_array, byteorder=byteorder) > assert f3_encoded == f3_bytes E AssertionError: assert b'\xf6\x1e\x92' == b'@\x92 ' E E At index 0 diff: b'\xf6' != b'@' E E Full diff: E - b'@\x92 ' E + b'\xf6\x1e\x92' tests/test_imagecodecs.py:793: AssertionError ________________ test_float24[encode->-f310-f410-3.1415839e-06] ________________ f3 = (44, 165, 168), f4 = (54, 82, 212, 39), f3_expected = 3.1415839e-06 byteorder = '>', mode = 'encode' @pytest.mark.skipif(not imagecodecs.FLOAT24, reason='Float24 missing') @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in (-numpy.inf, numpy.inf): assert f3_decoded == f3_expected else: assert abs(f3_decoded - f3_expected) < 4e-8 else: f4_array = numpy.frombuffer(f4_bytes, dtype='>f4').astype('=f4') f3_encoded = encode(f4_array, byteorder=byteorder) > assert f3_encoded == f3_bytes E AssertionError: assert b'\x0f\xa8\xa4' == b',\xa5\xa8' E E At index 0 diff: b'\x0f' != b',' E E Full diff: E - b',\xa5\xa8' E + b'\x0f\xa8\xa4' tests/test_imagecodecs.py:793: AssertionError ________________ test_float24[encode->-f311-f411-3.1415839e-06] ________________ f3 = (44, 165, 168), f4 = (54, 82, 212, 39), f3_expected = 3.1415839e-06 byteorder = '>', mode = 'encode' @pytest.mark.skipif(not imagecodecs.FLOAT24, reason='Float24 missing') @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in (-numpy.inf, numpy.inf): assert f3_decoded == f3_expected else: assert abs(f3_decoded - f3_expected) < 4e-8 else: f4_array = numpy.frombuffer(f4_bytes, dtype='>f4').astype('=f4') f3_encoded = encode(f4_array, byteorder=byteorder) > assert f3_encoded == f3_bytes E AssertionError: assert b'\x0f\xa8\xa4' == b',\xa5\xa8' E E At index 0 diff: b'\x0f' != b',' E E Full diff: E - b',\xa5\xa8' E + b'\x0f\xa8\xa4' tests/test_imagecodecs.py:793: AssertionError ____________________ test_float24[encode->-f312-f412-1e-19] ____________________ f3 = (0, 118, 15), f4 = (31, 236, 30, 74), f3_expected = 1e-19, byteorder = '>' mode = 'encode' @pytest.mark.skipif(not imagecodecs.FLOAT24, reason='Float24 missing') @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in (-numpy.inf, numpy.inf): assert f3_decoded == f3_expected else: assert abs(f3_decoded - f3_expected) < 4e-8 else: f4_array = numpy.frombuffer(f4_bytes, dtype='>f4').astype('=f4') f3_encoded = encode(f4_array, byteorder=byteorder) > assert f3_encoded == f3_bytes E AssertionError: assert b'T=\xd8' == b'\x00v\x0f' E E At index 0 diff: b'T' != b'\x00' E E Full diff: E - b'\x00v\x0f' E + b'T=\xd8' tests/test_imagecodecs.py:793: AssertionError _____________________ test_float24[encode->-f313-f413-inf] _____________________ f3 = (127, 0, 0), f4 = (95, 128, 94, 154), f3_expected = inf, byteorder = '>' mode = 'encode' @pytest.mark.skipif(not imagecodecs.FLOAT24, reason='Float24 missing') @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in (-numpy.inf, numpy.inf): assert f3_decoded == f3_expected else: assert abs(f3_decoded - f3_expected) < 4e-8 else: f4_array = numpy.frombuffer(f4_bytes, dtype='>f4').astype('=f4') f3_encoded = encode(f4_array, byteorder=byteorder) > assert f3_encoded == f3_bytes E AssertionError: assert b'\x80\x00\x0e' == b'\x7f\x00\x00' E E At index 0 diff: b'\x80' != b'\x7f' E E Full diff: E - b'\x7f\x00\x00' E ? ^^ ^ E + b'\x80\x00\x0e' E ? ^^ ^ tests/test_imagecodecs.py:793: AssertionError ________________ test_float24[encode->-f314-f414-1.0842022e-19] ________________ f3 = (0, 128, 0), f4 = (32, 0, 0, 0), f3_expected = 1.0842022e-19 byteorder = '>', mode = 'encode' @pytest.mark.skipif(not imagecodecs.FLOAT24, reason='Float24 missing') @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in (-numpy.inf, numpy.inf): assert f3_decoded == f3_expected else: assert abs(f3_decoded - f3_expected) < 4e-8 else: f4_array = numpy.frombuffer(f4_bytes, dtype='>f4').astype('=f4') f3_encoded = encode(f4_array, byteorder=byteorder) > assert f3_encoded == f3_bytes E AssertionError: assert b'\x00\x00\x00' == b'\x00\x80\x00' E E At index 1 diff: b'\x00' != b'\x80' E E Full diff: E - b'\x00\x80\x00' E ? ^ E + b'\x00\x00\x00' E ? ^ tests/test_imagecodecs.py:793: AssertionError ________________ test_float24[encode->-f315-f415-1.0842021e-19] ________________ f3 = (0, 128, 0), f4 = (31, 255, 255, 255), f3_expected = 1.0842021e-19 byteorder = '>', mode = 'encode' @pytest.mark.skipif(not imagecodecs.FLOAT24, reason='Float24 missing') @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in (-numpy.inf, numpy.inf): assert f3_decoded == f3_expected else: assert abs(f3_decoded - f3_expected) < 4e-8 else: f4_array = numpy.frombuffer(f4_bytes, dtype='>f4').astype('=f4') f3_encoded = encode(f4_array, byteorder=byteorder) > assert f3_encoded == f3_bytes E AssertionError: assert b'\xff\x80\x00' == b'\x00\x80\x00' E E At index 0 diff: b'\xff' != b'\x00' E E Full diff: E - b'\x00\x80\x00' E ? ^^ E + b'\xff\x80\x00' E ? ^^ tests/test_imagecodecs.py:793: AssertionError ________________ test_float24[encode->-f316-f416-5.421011e-20] _________________ f3 = (0, 64, 0), f4 = (31, 128, 0, 0), f3_expected = 5.421011e-20 byteorder = '>', mode = 'encode' @pytest.mark.skipif(not imagecodecs.FLOAT24, reason='Float24 missing') @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in (-numpy.inf, numpy.inf): assert f3_decoded == f3_expected else: assert abs(f3_decoded - f3_expected) < 4e-8 else: f4_array = numpy.frombuffer(f4_bytes, dtype='>f4').astype('=f4') f3_encoded = encode(f4_array, byteorder=byteorder) > assert f3_encoded == f3_bytes E AssertionError: assert b'\x00\x00\x00' == b'\x00@\x00' E E At index 1 diff: b'\x00' != b'@' E E Full diff: E - b'\x00@\x00' E ? ^ E + b'\x00\x00\x00' E ? ^^^^ tests/test_imagecodecs.py:793: AssertionError ________________ test_float24[encode->-f317-f417-3.3087225e-24] ________________ f3 = (0, 0, 1), f4 = (24, 128, 0, 0), f3_expected = 3.3087225e-24 byteorder = '>', mode = 'encode' @pytest.mark.skipif(not imagecodecs.FLOAT24, reason='Float24 missing') @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in (-numpy.inf, numpy.inf): assert f3_decoded == f3_expected else: assert abs(f3_decoded - f3_expected) < 4e-8 else: f4_array = numpy.frombuffer(f4_bytes, dtype='>f4').astype('=f4') f3_encoded = encode(f4_array, byteorder=byteorder) > assert f3_encoded == f3_bytes E AssertionError: assert b'\x00\x00\x00' == b'\x00\x00\x01' E E At index 2 diff: b'\x00' != b'\x01' E E Full diff: E - b'\x00\x00\x01' E ? ^ E + b'\x00\x00\x00' E ? ^ tests/test_imagecodecs.py:793: AssertionError ________________ test_float24[encode->-f318-f418-2.1684043e-19] ________________ f3 = (1, 0, 0), f4 = (32, 128, 0, 0), f3_expected = 2.1684043e-19 byteorder = '>', mode = 'encode' @pytest.mark.skipif(not imagecodecs.FLOAT24, reason='Float24 missing') @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in (-numpy.inf, numpy.inf): assert f3_decoded == f3_expected else: assert abs(f3_decoded - f3_expected) < 4e-8 else: f4_array = numpy.frombuffer(f4_bytes, dtype='>f4').astype('=f4') f3_encoded = encode(f4_array, byteorder=byteorder) > assert f3_encoded == f3_bytes E AssertionError: assert b'\x00\x00\x00' == b'\x01\x00\x00' E E At index 0 diff: b'\x00' != b'\x01' E E Full diff: E - b'\x01\x00\x00' E ? ^ E + b'\x00\x00\x00' E ? ^ tests/test_imagecodecs.py:793: AssertionError _____________________ test_float24[encode->-f320-f420-0.0] _____________________ f3 = (128, 0, 0), f4 = (128, 128, 0, 0), f3_expected = 0.0, byteorder = '>' mode = 'encode' @pytest.mark.skipif(not imagecodecs.FLOAT24, reason='Float24 missing') @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in (-numpy.inf, numpy.inf): assert f3_decoded == f3_expected else: assert abs(f3_decoded - f3_expected) < 4e-8 else: f4_array = numpy.frombuffer(f4_bytes, dtype='>f4').astype('=f4') f3_encoded = encode(f4_array, byteorder=byteorder) > assert f3_encoded == f3_bytes E AssertionError: assert b'\x00\x00\x00' == b'\x80\x00\x00' E E At index 0 diff: b'\x00' != b'\x80' E E Full diff: E - b'\x80\x00\x00' E ? ^ E + b'\x00\x00\x00' E ? ^ tests/test_imagecodecs.py:793: AssertionError _____________________ test_float24[encode->-f322-f422-0.0] _____________________ f3 = (128, 0, 0), f4 = (128, 64, 0, 0), f3_expected = 0.0, byteorder = '>' mode = 'encode' @pytest.mark.skipif(not imagecodecs.FLOAT24, reason='Float24 missing') @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in (-numpy.inf, numpy.inf): assert f3_decoded == f3_expected else: assert abs(f3_decoded - f3_expected) < 4e-8 else: f4_array = numpy.frombuffer(f4_bytes, dtype='>f4').astype('=f4') f3_encoded = encode(f4_array, byteorder=byteorder) > assert f3_encoded == f3_bytes E AssertionError: assert b'\x00\x00\x00' == b'\x80\x00\x00' E E At index 0 diff: b'\x00' != b'\x80' E E Full diff: E - b'\x80\x00\x00' E ? ^ E + b'\x00\x00\x00' E ? ^ tests/test_imagecodecs.py:793: AssertionError ______________________ test_float24[encode-<-f30-f40-nan] ______________________ f3 = (127, 128, 0), f4 = (127, 192, 0, 0), f3_expected = nan, byteorder = '<' mode = 'encode' @pytest.mark.skipif(not imagecodecs.FLOAT24, reason='Float24 missing') @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in (-numpy.inf, numpy.inf): assert f3_decoded == f3_expected else: assert abs(f3_decoded - f3_expected) < 4e-8 else: f4_array = numpy.frombuffer(f4_bytes, dtype='>f4').astype('=f4') f3_encoded = encode(f4_array, byteorder=byteorder) > assert f3_encoded == f3_bytes E AssertionError: assert b'\x00\x00\x00' == b'\x00\x80\x7f' E E At index 1 diff: b'\x00' != b'\x80' E E Full diff: E - b'\x00\x80\x7f' E ? ^ ^^ E + b'\x00\x00\x00' E ? ^ ^^ tests/test_imagecodecs.py:793: AssertionError ______________________ test_float24[encode-<-f31-f41-nan] ______________________ f3 = (255, 128, 0), f4 = (255, 192, 0, 0), f3_expected = nan, byteorder = '<' mode = 'encode' @pytest.mark.skipif(not imagecodecs.FLOAT24, reason='Float24 missing') @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in (-numpy.inf, numpy.inf): assert f3_decoded == f3_expected else: assert abs(f3_decoded - f3_expected) < 4e-8 else: f4_array = numpy.frombuffer(f4_bytes, dtype='>f4').astype('=f4') f3_encoded = encode(f4_array, byteorder=byteorder) > assert f3_encoded == f3_bytes E AssertionError: assert b'\x00\x00\x00' == b'\x00\x80\xff' E E At index 1 diff: b'\x00' != b'\x80' E E Full diff: E - b'\x00\x80\xff' E ? ^ ^^ E + b'\x00\x00\x00' E ? ^ ^^ tests/test_imagecodecs.py:793: AssertionError ______________________ test_float24[encode-<-f32-f42-nan] ______________________ f3 = (255, 128, 0), f4 = (255, 128, 0, 1), f3_expected = nan, byteorder = '<' mode = 'encode' @pytest.mark.skipif(not imagecodecs.FLOAT24, reason='Float24 missing') @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in (-numpy.inf, numpy.inf): assert f3_decoded == f3_expected else: assert abs(f3_decoded - f3_expected) < 4e-8 else: f4_array = numpy.frombuffer(f4_bytes, dtype='>f4').astype('=f4') f3_encoded = encode(f4_array, byteorder=byteorder) > assert f3_encoded == f3_bytes E AssertionError: assert b'\x00\x00\x00' == b'\x00\x80\xff' E E At index 1 diff: b'\x00' != b'\x80' E E Full diff: E - b'\x00\x80\xff' E ? ^ ^^ E + b'\x00\x00\x00' E ? ^ ^^ tests/test_imagecodecs.py:793: AssertionError ______________________ test_float24[encode-<-f33-f43-inf] ______________________ f3 = (127, 0, 0), f4 = (127, 128, 0, 0), f3_expected = inf, byteorder = '<' mode = 'encode' @pytest.mark.skipif(not imagecodecs.FLOAT24, reason='Float24 missing') @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in (-numpy.inf, numpy.inf): assert f3_decoded == f3_expected else: assert abs(f3_decoded - f3_expected) < 4e-8 else: f4_array = numpy.frombuffer(f4_bytes, dtype='>f4').astype('=f4') f3_encoded = encode(f4_array, byteorder=byteorder) > assert f3_encoded == f3_bytes E AssertionError: assert b'\x00\x00\x00' == b'\x00\x00\x7f' E E At index 2 diff: b'\x00' != b'\x7f' E E Full diff: E - b'\x00\x00\x7f' E ? ^^ E + b'\x00\x00\x00' E ? ^^ tests/test_imagecodecs.py:793: AssertionError _____________________ test_float24[encode-<-f34-f44--inf] ______________________ f3 = (255, 0, 0), f4 = (255, 128, 0, 0), f3_expected = -inf, byteorder = '<' mode = 'encode' @pytest.mark.skipif(not imagecodecs.FLOAT24, reason='Float24 missing') @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in (-numpy.inf, numpy.inf): assert f3_decoded == f3_expected else: assert abs(f3_decoded - f3_expected) < 4e-8 else: f4_array = numpy.frombuffer(f4_bytes, dtype='>f4').astype('=f4') f3_encoded = encode(f4_array, byteorder=byteorder) > assert f3_encoded == f3_bytes E AssertionError: assert b'\x00\x00\x00' == b'\x00\x00\xff' E E At index 2 diff: b'\x00' != b'\xff' E E Full diff: E - b'\x00\x00\xff' E ? ^^ E + b'\x00\x00\x00' E ? ^^ tests/test_imagecodecs.py:793: AssertionError _____________________ test_float24[encode-<-f36-f46--0.0] ______________________ f3 = (128, 0, 0), f4 = (128, 0, 0, 0), f3_expected = -0.0, byteorder = '<' mode = 'encode' @pytest.mark.skipif(not imagecodecs.FLOAT24, reason='Float24 missing') @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in (-numpy.inf, numpy.inf): assert f3_decoded == f3_expected else: assert abs(f3_decoded - f3_expected) < 4e-8 else: f4_array = numpy.frombuffer(f4_bytes, dtype='>f4').astype('=f4') f3_encoded = encode(f4_array, byteorder=byteorder) > assert f3_encoded == f3_bytes E AssertionError: assert b'\x00\x00\x00' == b'\x00\x00\x80' E E At index 2 diff: b'\x00' != b'\x80' E E Full diff: E - b'\x00\x00\x80' E ? ^ E + b'\x00\x00\x00' E ? ^ tests/test_imagecodecs.py:793: AssertionError ______________________ test_float24[encode-<-f37-f47-1.0] ______________________ f3 = (63, 0, 0), f4 = (63, 128, 0, 0), f3_expected = 1.0, byteorder = '<' mode = 'encode' @pytest.mark.skipif(not imagecodecs.FLOAT24, reason='Float24 missing') @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in (-numpy.inf, numpy.inf): assert f3_decoded == f3_expected else: assert abs(f3_decoded - f3_expected) < 4e-8 else: f4_array = numpy.frombuffer(f4_bytes, dtype='>f4').astype('=f4') f3_encoded = encode(f4_array, byteorder=byteorder) > assert f3_encoded == f3_bytes E AssertionError: assert b'\x00\x00\x00' == b'\x00\x00?' E E At index 2 diff: b'\x00' != b'?' E E Full diff: E - b'\x00\x00?' E ? ^ E + b'\x00\x00\x00' E ? ^^^^ tests/test_imagecodecs.py:793: AssertionError _____________________ test_float24[encode-<-f38-f48--1.0] ______________________ f3 = (191, 0, 0), f4 = (191, 128, 0, 0), f3_expected = -1.0, byteorder = '<' mode = 'encode' @pytest.mark.skipif(not imagecodecs.FLOAT24, reason='Float24 missing') @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in (-numpy.inf, numpy.inf): assert f3_decoded == f3_expected else: assert abs(f3_decoded - f3_expected) < 4e-8 else: f4_array = numpy.frombuffer(f4_bytes, dtype='>f4').astype('=f4') f3_encoded = encode(f4_array, byteorder=byteorder) > assert f3_encoded == f3_bytes E AssertionError: assert b'\x00\x00\x00' == b'\x00\x00\xbf' E E At index 2 diff: b'\x00' != b'\xbf' E E Full diff: E - b'\x00\x00\xbf' E ? ^^ E + b'\x00\x00\x00' E ? ^^ tests/test_imagecodecs.py:793: AssertionError ___________________ test_float24[encode-<-f39-f49-3.1416016] ___________________ f3 = (64, 146, 32), f4 = (64, 73, 15, 219), f3_expected = 3.1416016 byteorder = '<', mode = 'encode' @pytest.mark.skipif(not imagecodecs.FLOAT24, reason='Float24 missing') @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in (-numpy.inf, numpy.inf): assert f3_decoded == f3_expected else: assert abs(f3_decoded - f3_expected) < 4e-8 else: f4_array = numpy.frombuffer(f4_bytes, dtype='>f4').astype('=f4') f3_encoded = encode(f4_array, byteorder=byteorder) > assert f3_encoded == f3_bytes E AssertionError: assert b'\x92\x1e\xf6' == b' \x92@' E E At index 0 diff: b'\x92' != b' ' E E Full diff: E - b' \x92@' E + b'\x92\x1e\xf6' tests/test_imagecodecs.py:793: AssertionError ________________ test_float24[encode-<-f310-f410-3.1415839e-06] ________________ f3 = (44, 165, 168), f4 = (54, 82, 212, 39), f3_expected = 3.1415839e-06 byteorder = '<', mode = 'encode' @pytest.mark.skipif(not imagecodecs.FLOAT24, reason='Float24 missing') @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in (-numpy.inf, numpy.inf): assert f3_decoded == f3_expected else: assert abs(f3_decoded - f3_expected) < 4e-8 else: f4_array = numpy.frombuffer(f4_bytes, dtype='>f4').astype('=f4') f3_encoded = encode(f4_array, byteorder=byteorder) > assert f3_encoded == f3_bytes E AssertionError: assert b'\xa4\xa8\x0f' == b'\xa8\xa5,' E E At index 0 diff: b'\xa4' != b'\xa8' E E Full diff: E - b'\xa8\xa5,' E + b'\xa4\xa8\x0f' tests/test_imagecodecs.py:793: AssertionError ________________ test_float24[encode-<-f311-f411-3.1415839e-06] ________________ f3 = (44, 165, 168), f4 = (54, 82, 212, 39), f3_expected = 3.1415839e-06 byteorder = '<', mode = 'encode' @pytest.mark.skipif(not imagecodecs.FLOAT24, reason='Float24 missing') @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in (-numpy.inf, numpy.inf): assert f3_decoded == f3_expected else: assert abs(f3_decoded - f3_expected) < 4e-8 else: f4_array = numpy.frombuffer(f4_bytes, dtype='>f4').astype('=f4') f3_encoded = encode(f4_array, byteorder=byteorder) > assert f3_encoded == f3_bytes E AssertionError: assert b'\xa4\xa8\x0f' == b'\xa8\xa5,' E E At index 0 diff: b'\xa4' != b'\xa8' E E Full diff: E - b'\xa8\xa5,' E + b'\xa4\xa8\x0f' tests/test_imagecodecs.py:793: AssertionError ____________________ test_float24[encode-<-f312-f412-1e-19] ____________________ f3 = (0, 118, 15), f4 = (31, 236, 30, 74), f3_expected = 1e-19, byteorder = '<' mode = 'encode' @pytest.mark.skipif(not imagecodecs.FLOAT24, reason='Float24 missing') @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in (-numpy.inf, numpy.inf): assert f3_decoded == f3_expected else: assert abs(f3_decoded - f3_expected) < 4e-8 else: f4_array = numpy.frombuffer(f4_bytes, dtype='>f4').astype('=f4') f3_encoded = encode(f4_array, byteorder=byteorder) > assert f3_encoded == f3_bytes E AssertionError: assert b'\xd8=T' == b'\x0fv\x00' E E At index 0 diff: b'\xd8' != b'\x0f' E E Full diff: E - b'\x0fv\x00' E + b'\xd8=T' tests/test_imagecodecs.py:793: AssertionError _____________________ test_float24[encode-<-f313-f413-inf] _____________________ f3 = (127, 0, 0), f4 = (95, 128, 94, 154), f3_expected = inf, byteorder = '<' mode = 'encode' @pytest.mark.skipif(not imagecodecs.FLOAT24, reason='Float24 missing') @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in (-numpy.inf, numpy.inf): assert f3_decoded == f3_expected else: assert abs(f3_decoded - f3_expected) < 4e-8 else: f4_array = numpy.frombuffer(f4_bytes, dtype='>f4').astype('=f4') f3_encoded = encode(f4_array, byteorder=byteorder) > assert f3_encoded == f3_bytes E AssertionError: assert b'\x0e\x00\x80' == b'\x00\x00\x7f' E E At index 0 diff: b'\x0e' != b'\x00' E E Full diff: E - b'\x00\x00\x7f' E + b'\x0e\x00\x80' tests/test_imagecodecs.py:793: AssertionError ________________ test_float24[encode-<-f314-f414-1.0842022e-19] ________________ f3 = (0, 128, 0), f4 = (32, 0, 0, 0), f3_expected = 1.0842022e-19 byteorder = '<', mode = 'encode' @pytest.mark.skipif(not imagecodecs.FLOAT24, reason='Float24 missing') @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in (-numpy.inf, numpy.inf): assert f3_decoded == f3_expected else: assert abs(f3_decoded - f3_expected) < 4e-8 else: f4_array = numpy.frombuffer(f4_bytes, dtype='>f4').astype('=f4') f3_encoded = encode(f4_array, byteorder=byteorder) > assert f3_encoded == f3_bytes E AssertionError: assert b'\x00\x00\x00' == b'\x00\x80\x00' E E At index 1 diff: b'\x00' != b'\x80' E E Full diff: E - b'\x00\x80\x00' E ? ^ E + b'\x00\x00\x00' E ? ^ tests/test_imagecodecs.py:793: AssertionError ________________ test_float24[encode-<-f315-f415-1.0842021e-19] ________________ f3 = (0, 128, 0), f4 = (31, 255, 255, 255), f3_expected = 1.0842021e-19 byteorder = '<', mode = 'encode' @pytest.mark.skipif(not imagecodecs.FLOAT24, reason='Float24 missing') @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in (-numpy.inf, numpy.inf): assert f3_decoded == f3_expected else: assert abs(f3_decoded - f3_expected) < 4e-8 else: f4_array = numpy.frombuffer(f4_bytes, dtype='>f4').astype('=f4') f3_encoded = encode(f4_array, byteorder=byteorder) > assert f3_encoded == f3_bytes E AssertionError: assert b'\x00\x80\xff' == b'\x00\x80\x00' E E At index 2 diff: b'\xff' != b'\x00' E E Full diff: E - b'\x00\x80\x00' E ? ^^ E + b'\x00\x80\xff' E ? ^^ tests/test_imagecodecs.py:793: AssertionError ________________ test_float24[encode-<-f316-f416-5.421011e-20] _________________ f3 = (0, 64, 0), f4 = (31, 128, 0, 0), f3_expected = 5.421011e-20 byteorder = '<', mode = 'encode' @pytest.mark.skipif(not imagecodecs.FLOAT24, reason='Float24 missing') @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in (-numpy.inf, numpy.inf): assert f3_decoded == f3_expected else: assert abs(f3_decoded - f3_expected) < 4e-8 else: f4_array = numpy.frombuffer(f4_bytes, dtype='>f4').astype('=f4') f3_encoded = encode(f4_array, byteorder=byteorder) > assert f3_encoded == f3_bytes E AssertionError: assert b'\x00\x00\x00' == b'\x00@\x00' E E At index 1 diff: b'\x00' != b'@' E E Full diff: E - b'\x00@\x00' E ? ^ E + b'\x00\x00\x00' E ? ^^^^ tests/test_imagecodecs.py:793: AssertionError ________________ test_float24[encode-<-f317-f417-3.3087225e-24] ________________ f3 = (0, 0, 1), f4 = (24, 128, 0, 0), f3_expected = 3.3087225e-24 byteorder = '<', mode = 'encode' @pytest.mark.skipif(not imagecodecs.FLOAT24, reason='Float24 missing') @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in (-numpy.inf, numpy.inf): assert f3_decoded == f3_expected else: assert abs(f3_decoded - f3_expected) < 4e-8 else: f4_array = numpy.frombuffer(f4_bytes, dtype='>f4').astype('=f4') f3_encoded = encode(f4_array, byteorder=byteorder) > assert f3_encoded == f3_bytes E AssertionError: assert b'\x00\x00\x00' == b'\x01\x00\x00' E E At index 0 diff: b'\x00' != b'\x01' E E Full diff: E - b'\x01\x00\x00' E ? ^ E + b'\x00\x00\x00' E ? ^ tests/test_imagecodecs.py:793: AssertionError ________________ test_float24[encode-<-f318-f418-2.1684043e-19] ________________ f3 = (1, 0, 0), f4 = (32, 128, 0, 0), f3_expected = 2.1684043e-19 byteorder = '<', mode = 'encode' @pytest.mark.skipif(not imagecodecs.FLOAT24, reason='Float24 missing') @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in (-numpy.inf, numpy.inf): assert f3_decoded == f3_expected else: assert abs(f3_decoded - f3_expected) < 4e-8 else: f4_array = numpy.frombuffer(f4_bytes, dtype='>f4').astype('=f4') f3_encoded = encode(f4_array, byteorder=byteorder) > assert f3_encoded == f3_bytes E AssertionError: assert b'\x00\x00\x00' == b'\x00\x00\x01' E E At index 2 diff: b'\x00' != b'\x01' E E Full diff: E - b'\x00\x00\x01' E ? ^ E + b'\x00\x00\x00' E ? ^ tests/test_imagecodecs.py:793: AssertionError _____________________ test_float24[encode-<-f320-f420-0.0] _____________________ f3 = (128, 0, 0), f4 = (128, 128, 0, 0), f3_expected = 0.0, byteorder = '<' mode = 'encode' @pytest.mark.skipif(not imagecodecs.FLOAT24, reason='Float24 missing') @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in (-numpy.inf, numpy.inf): assert f3_decoded == f3_expected else: assert abs(f3_decoded - f3_expected) < 4e-8 else: f4_array = numpy.frombuffer(f4_bytes, dtype='>f4').astype('=f4') f3_encoded = encode(f4_array, byteorder=byteorder) > assert f3_encoded == f3_bytes E AssertionError: assert b'\x00\x00\x00' == b'\x00\x00\x80' E E At index 2 diff: b'\x00' != b'\x80' E E Full diff: E - b'\x00\x00\x80' E ? ^ E + b'\x00\x00\x00' E ? ^ tests/test_imagecodecs.py:793: AssertionError _____________________ test_float24[encode-<-f322-f422-0.0] _____________________ f3 = (128, 0, 0), f4 = (128, 64, 0, 0), f3_expected = 0.0, byteorder = '<' mode = 'encode' @pytest.mark.skipif(not imagecodecs.FLOAT24, reason='Float24 missing') @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in (-numpy.inf, numpy.inf): assert f3_decoded == f3_expected else: assert abs(f3_decoded - f3_expected) < 4e-8 else: f4_array = numpy.frombuffer(f4_bytes, dtype='>f4').astype('=f4') f3_encoded = encode(f4_array, byteorder=byteorder) > assert f3_encoded == f3_bytes E AssertionError: assert b'\x00\x00\x00' == b'\x00\x00\x80' E E At index 2 diff: b'\x00' != b'\x80' E E Full diff: E - b'\x00\x00\x80' E ? ^ E + b'\x00\x00\x00' E ? ^ tests/test_imagecodecs.py:793: AssertionError ______________________ test_float24[decode->-f30-f40-nan] ______________________ f3 = (127, 128, 0), f4 = (127, 192, 0, 0), f3_expected = nan, byteorder = '>' mode = 'decode' @pytest.mark.skipif(not imagecodecs.FLOAT24, reason='Float24 missing') @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: > assert numpy.isnan([f3_decoded])[0] E assert np.False_ tests/test_imagecodecs.py:785: AssertionError ______________________ test_float24[decode->-f31-f41-nan] ______________________ f3 = (255, 128, 0), f4 = (255, 192, 0, 0), f3_expected = nan, byteorder = '>' mode = 'decode' @pytest.mark.skipif(not imagecodecs.FLOAT24, reason='Float24 missing') @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: > assert numpy.isnan([f3_decoded])[0] E assert np.False_ tests/test_imagecodecs.py:785: AssertionError ______________________ test_float24[decode->-f32-f42-nan] ______________________ f3 = (255, 128, 0), f4 = (255, 128, 0, 1), f3_expected = nan, byteorder = '>' mode = 'decode' @pytest.mark.skipif(not imagecodecs.FLOAT24, reason='Float24 missing') @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: > assert numpy.isnan([f3_decoded])[0] E assert np.False_ tests/test_imagecodecs.py:785: AssertionError ______________________ test_float24[decode->-f33-f43-inf] ______________________ f3 = (127, 0, 0), f4 = (127, 128, 0, 0), f3_expected = inf, byteorder = '>' mode = 'decode' @pytest.mark.skipif(not imagecodecs.FLOAT24, reason='Float24 missing') @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in (-numpy.inf, numpy.inf): > assert f3_decoded == f3_expected E assert np.float32(4.6096e-41) == inf tests/test_imagecodecs.py:787: AssertionError _____________________ test_float24[decode->-f34-f44--inf] ______________________ f3 = (255, 0, 0), f4 = (255, 128, 0, 0), f3_expected = -inf, byteorder = '>' mode = 'decode' @pytest.mark.skipif(not imagecodecs.FLOAT24, reason='Float24 missing') @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in (-numpy.inf, numpy.inf): > assert f3_decoded == f3_expected E assert np.float32(4.6275e-41) == -inf tests/test_imagecodecs.py:787: AssertionError ______________________ test_float24[decode->-f37-f47-1.0] ______________________ f3 = (63, 0, 0), f4 = (63, 128, 0, 0), f3_expected = 1.0, byteorder = '>' mode = 'decode' @pytest.mark.skipif(not imagecodecs.FLOAT24, reason='Float24 missing') @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in (-numpy.inf, numpy.inf): assert f3_decoded == f3_expected else: > assert abs(f3_decoded - f3_expected) < 4e-8 E assert np.float32(1.0) < 4e-08 E + where np.float32(1.0) = abs((np.float32(4.6006e-41) - 1.0)) tests/test_imagecodecs.py:789: AssertionError _____________________ test_float24[decode->-f38-f48--1.0] ______________________ f3 = (191, 0, 0), f4 = (191, 128, 0, 0), f3_expected = -1.0, byteorder = '>' mode = 'decode' @pytest.mark.skipif(not imagecodecs.FLOAT24, reason='Float24 missing') @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in (-numpy.inf, numpy.inf): assert f3_decoded == f3_expected else: > assert abs(f3_decoded - f3_expected) < 4e-8 E assert np.float32(1.0) < 4e-08 E + where np.float32(1.0) = abs((np.float32(4.6185e-41) - -1.0)) tests/test_imagecodecs.py:789: AssertionError ___________________ test_float24[decode->-f39-f49-3.1416016] ___________________ f3 = (64, 146, 32), f4 = (64, 73, 15, 219), f3_expected = 3.1416016 byteorder = '>', mode = 'decode' @pytest.mark.skipif(not imagecodecs.FLOAT24, reason='Float24 missing') @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in (-numpy.inf, numpy.inf): assert f3_decoded == f3_expected else: > assert abs(f3_decoded - f3_expected) < 4e-8 E assert np.float32(3.1416016) < 4e-08 E + where np.float32(3.1416016) = abs((np.float32(1.495645e-39) - 3.1416016)) tests/test_imagecodecs.py:789: AssertionError ________________ test_float24[decode->-f310-f410-3.1415839e-06] ________________ f3 = (44, 165, 168), f4 = (54, 82, 212, 39), f3_expected = 3.1415839e-06 byteorder = '>', mode = 'decode' @pytest.mark.skipif(not imagecodecs.FLOAT24, reason='Float24 missing') @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in (-numpy.inf, numpy.inf): assert f3_decoded == f3_expected else: > assert abs(f3_decoded - f3_expected) < 4e-8 E assert np.float32(3.1415839e-06) < 4e-08 E + where np.float32(3.1415839e-06) = abs((np.float32(1.9498617e-38) - 3.1415839e-06)) tests/test_imagecodecs.py:789: AssertionError ________________ test_float24[decode->-f311-f411-3.1415839e-06] ________________ f3 = (44, 165, 168), f4 = (54, 82, 212, 39), f3_expected = 3.1415839e-06 byteorder = '>', mode = 'decode' @pytest.mark.skipif(not imagecodecs.FLOAT24, reason='Float24 missing') @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in (-numpy.inf, numpy.inf): assert f3_decoded == f3_expected else: > assert abs(f3_decoded - f3_expected) < 4e-8 E assert np.float32(3.1415839e-06) < 4e-08 E + where np.float32(3.1415839e-06) = abs((np.float32(1.9498617e-38) - 3.1415839e-06)) tests/test_imagecodecs.py:789: AssertionError _____________________ test_float24[decode->-f313-f413-inf] _____________________ f3 = (127, 0, 0), f4 = (95, 128, 94, 154), f3_expected = inf, byteorder = '>' mode = 'decode' @pytest.mark.skipif(not imagecodecs.FLOAT24, reason='Float24 missing') @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in (-numpy.inf, numpy.inf): > assert f3_decoded == f3_expected E assert np.float32(4.6096e-41) == inf tests/test_imagecodecs.py:787: AssertionError ______________________ test_float24[decode-<-f30-f40-nan] ______________________ f3 = (127, 128, 0), f4 = (127, 192, 0, 0), f3_expected = nan, byteorder = '<' mode = 'decode' @pytest.mark.skipif(not imagecodecs.FLOAT24, reason='Float24 missing') @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: > assert numpy.isnan([f3_decoded])[0] E assert np.False_ tests/test_imagecodecs.py:785: AssertionError ______________________ test_float24[decode-<-f31-f41-nan] ______________________ f3 = (255, 128, 0), f4 = (255, 192, 0, 0), f3_expected = nan, byteorder = '<' mode = 'decode' @pytest.mark.skipif(not imagecodecs.FLOAT24, reason='Float24 missing') @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: > assert numpy.isnan([f3_decoded])[0] E assert np.False_ tests/test_imagecodecs.py:785: AssertionError ______________________ test_float24[decode-<-f32-f42-nan] ______________________ f3 = (255, 128, 0), f4 = (255, 128, 0, 1), f3_expected = nan, byteorder = '<' mode = 'decode' @pytest.mark.skipif(not imagecodecs.FLOAT24, reason='Float24 missing') @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: > assert numpy.isnan([f3_decoded])[0] E assert np.False_ tests/test_imagecodecs.py:785: AssertionError ______________________ test_float24[decode-<-f33-f43-inf] ______________________ f3 = (127, 0, 0), f4 = (127, 128, 0, 0), f3_expected = inf, byteorder = '<' mode = 'decode' @pytest.mark.skipif(not imagecodecs.FLOAT24, reason='Float24 missing') @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in (-numpy.inf, numpy.inf): > assert f3_decoded == f3_expected E assert np.float32(4.6096e-41) == inf tests/test_imagecodecs.py:787: AssertionError _____________________ test_float24[decode-<-f34-f44--inf] ______________________ f3 = (255, 0, 0), f4 = (255, 128, 0, 0), f3_expected = -inf, byteorder = '<' mode = 'decode' @pytest.mark.skipif(not imagecodecs.FLOAT24, reason='Float24 missing') @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in (-numpy.inf, numpy.inf): > assert f3_decoded == f3_expected E assert np.float32(4.6275e-41) == -inf tests/test_imagecodecs.py:787: AssertionError ______________________ test_float24[decode-<-f37-f47-1.0] ______________________ f3 = (63, 0, 0), f4 = (63, 128, 0, 0), f3_expected = 1.0, byteorder = '<' mode = 'decode' @pytest.mark.skipif(not imagecodecs.FLOAT24, reason='Float24 missing') @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in (-numpy.inf, numpy.inf): assert f3_decoded == f3_expected else: > assert abs(f3_decoded - f3_expected) < 4e-8 E assert np.float32(1.0) < 4e-08 E + where np.float32(1.0) = abs((np.float32(4.6006e-41) - 1.0)) tests/test_imagecodecs.py:789: AssertionError _____________________ test_float24[decode-<-f38-f48--1.0] ______________________ f3 = (191, 0, 0), f4 = (191, 128, 0, 0), f3_expected = -1.0, byteorder = '<' mode = 'decode' @pytest.mark.skipif(not imagecodecs.FLOAT24, reason='Float24 missing') @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in (-numpy.inf, numpy.inf): assert f3_decoded == f3_expected else: > assert abs(f3_decoded - f3_expected) < 4e-8 E assert np.float32(1.0) < 4e-08 E + where np.float32(1.0) = abs((np.float32(4.6185e-41) - -1.0)) tests/test_imagecodecs.py:789: AssertionError ___________________ test_float24[decode-<-f39-f49-3.1416016] ___________________ f3 = (64, 146, 32), f4 = (64, 73, 15, 219), f3_expected = 3.1416016 byteorder = '<', mode = 'decode' @pytest.mark.skipif(not imagecodecs.FLOAT24, reason='Float24 missing') @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in (-numpy.inf, numpy.inf): assert f3_decoded == f3_expected else: > assert abs(f3_decoded - f3_expected) < 4e-8 E assert np.float32(3.1416016) < 4e-08 E + where np.float32(3.1416016) = abs((np.float32(1.495645e-39) - 3.1416016)) tests/test_imagecodecs.py:789: AssertionError ________________ test_float24[decode-<-f310-f410-3.1415839e-06] ________________ f3 = (44, 165, 168), f4 = (54, 82, 212, 39), f3_expected = 3.1415839e-06 byteorder = '<', mode = 'decode' @pytest.mark.skipif(not imagecodecs.FLOAT24, reason='Float24 missing') @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in (-numpy.inf, numpy.inf): assert f3_decoded == f3_expected else: > assert abs(f3_decoded - f3_expected) < 4e-8 E assert np.float32(3.1415839e-06) < 4e-08 E + where np.float32(3.1415839e-06) = abs((np.float32(1.9498617e-38) - 3.1415839e-06)) tests/test_imagecodecs.py:789: AssertionError ________________ test_float24[decode-<-f311-f411-3.1415839e-06] ________________ f3 = (44, 165, 168), f4 = (54, 82, 212, 39), f3_expected = 3.1415839e-06 byteorder = '<', mode = 'decode' @pytest.mark.skipif(not imagecodecs.FLOAT24, reason='Float24 missing') @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in (-numpy.inf, numpy.inf): assert f3_decoded == f3_expected else: > assert abs(f3_decoded - f3_expected) < 4e-8 E assert np.float32(3.1415839e-06) < 4e-08 E + where np.float32(3.1415839e-06) = abs((np.float32(1.9498617e-38) - 3.1415839e-06)) tests/test_imagecodecs.py:789: AssertionError _____________________ test_float24[decode-<-f313-f413-inf] _____________________ f3 = (127, 0, 0), f4 = (95, 128, 94, 154), f3_expected = inf, byteorder = '<' mode = 'decode' @pytest.mark.skipif(not imagecodecs.FLOAT24, reason='Float24 missing') @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in (-numpy.inf, numpy.inf): > assert f3_decoded == f3_expected E assert np.float32(4.6096e-41) == inf tests/test_imagecodecs.py:787: AssertionError _______________________________ test_cms_format ________________________________ @pytest.mark.skipif(not imagecodecs.CMS, reason='cms missing') def test_cms_format(): """Test _cms_format function.""" from imagecodecs._cms import _cms_format, _cms_format_decode for args, (dtype, pixeltype, samples, planar, swap, swapfirst) in ( # data types (((1, 1), 'u1'), ('u1', 3, 1, False, False, False)), (((1, 1), 'u2'), ('u2', 3, 1, False, False, False)), (((1, 1), '>u1'), ('u1', 3, 1, False, False, False)), (((1, 1), '>u2'), ('>u2', 3, 1, False, False, False)), # (((1, 1), 'f4'), ('>f4', 3, 1, False, False, False)), (((1, 1), ' assert fmt.dtype == dtype E AssertionError: assert 'u2' == '>u2' E E - >u2 E ? - E + u2 tests/test_imagecodecs.py:1928: AssertionError __________________ test_zfp[float32-rgba-new-new-mode0-None] ___________________ dtype = dtype('float32'), itype = 'rgba', enout = 'new', deout = 'new' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00:\x05pfz\x00\x07e\xfd\x88\x00\x01\xf0 \x07`\x00\x8e@\x10(\x01\xc6 8\x000\xc0\x80\x1c\x03\x0e@\xc0\x0c\x02\x0f7\x80\xfc> @\x80g\xce\xfaH\xf8< \x13`\xc6\x1b\xc8\xe1\xd8\x06\xc9\x80\xe7>q\xfc\xc0\x8fH\xf0\x10,\x07\xe5\xf0\x89\xd7\xf1w-\x80\xd9p`\x1b\x9c0\xdd\x8f=L\xcb\xe4`\xb6<\x01\x05\xa1Z\xe1 \xb0\x19\xb78\xcd\xbaT\x9c/\t\xb0\xc0\xcd:\xc7.\x81\xd7\xc19\xcf\xc83oA\xd7\xf8\x05\xcb\x19\xb4n\xc0\x1d\xb6\x04\x12\x17\xa0\xb3\xbf\xcd\x8f\xfc\x80\xaav\xbe\x1f\xff\xf1\xc4Q\x15\xea\xb0\x06\xfc9%\xb8_\xd3\xc0O\xd5\xb18 \x1c\'M\xd6\xe6@\xe0\xb0\x15\xb4~\x00\x0e\xd3\xfa\xf8\x90\xdb\x90@\x0c\x00\x00\x02\x80\x00P\xd0\x01\x00\x82\x12P\x01\x80\x06]\xd2`\x01\x00\x80\xec)\n\rf@\x01\xc0\r\x9e!V\xc8hP \xc0\xc9\x9e^\xd4\xbf\x8cL\x80\xd6p\xd2\xe0:\x89\xba\x17P\xca\xbe\xff\x14\xa3JcP\x06\xbf`)\xdb\xd7\xdb~\x87\xb6)\x08f/&\xecp\xecb\x05\xe6\xe1\x03\xee\xf2\xc3\xc3t\xd1@\xe1\x01\n;\x0f3\xb4Y\x0f`\t\x1f\xd3;\xfek\xc6\xb0O\xcc\x12\x03z\xc1r1l`7\xb9\x1b~#\x8fxxvZo@B\x19\x99\x7f%\x9e\xb66\xdd\x10\xc8M\xa8\x8e6\xd8\x9c\xa4\xa6\x7fQN\xfd\xd9\xa5\xfc\xbc.Pu\xc8\x0e\x17\x00\x00\x00\x00?\x02\x96_\xd05\xb4\xfe\xdc\x90\x81\x00\x00@\x00@\n\x00\x00`N\x00\x08\x00\xa0\x00\xact"\x06\x08\xd0\x01\xc0Cy\\\xc7\x...\x00\x00@\xa0\x18\x19\x01\xc0A\xa8(\x01\xc0\x00\x92\x02\x85\x11\xf6\\\x00\x04,\x02\xe1\xcd\x08\xf4\x1c\x00\x81E\xbd\t\xb0\x89\x82e\xf0\xf2\x7f\xe0n\xe8\x8ea\xbf\xfe\xa3\xda\xdd\x85\x88\xae\x83S\xee\x19\x14\x1c\xbd\xc7\xee\xe0co\x9a\xd2\xa9P\x02R\xd2\xd1\xa3_\x07\x1d\xfa8<%\x82\xf3\xb94\xf3\xcd\xbbY\xee\xff3\xe2\xa0l\xf6\xfd\xc5\xe1V:\xa9i\x19g\xf1\xf8E\xaa\xc6+\xd6~\xcbo%\x1f\x8f\x1f,\x91\x94\x95\xc5:s\xe7\xd2:.&\x1d_[\x1d\xe5s\xa8g\x1bo\x902\'\x91h\x9f\x07\xef\xc2\xd6\xc4^\xdc<\x1b6s\x1b1\xa7\x1b\x04O\xcd)\x86\x87\xa4\xb2\xdb`\x02\x05\x00\x00\xed\xbf\xad\xa2 \x05\x00\x03\x00\xc0\x10\x08\x18 )\x00\x19\x00\x90\x00\x0e\x08\xa7A\x00\t\x00\x80\n\x1bV\x18\x00\x02\x80\x04\x06\xb5\x99\xd0\x00\x02\x00\'\x1f\xfd\x8b\xda\x91@\x884\xd5\xd17\xa6Q\xc2\xd2H\xe2v\xbbE\xe1\xf3\x00\x9d\x19)bz\xed\xffX\xe7\xe2\x80#\x81\xf6\x89\xca\x7f\xdb\xe3\x84\x00\xfc\x1a\xaer\xe2\xbfX\xcd\xf8\x8f8@\xa8\xea9\x1f\xe6\xf9\xfe\x054\xcaf\xe5\xf7\xbf\xec\xb9-dd\xd3\x86\x903&\xb7M,\x00\xc1\xb2\x13j9\xc8\x13\x85\xce\xaa\xee\x05\xfb\xc5\xaf\x89>\xdaC\xc6({\x16\xcer\x94\xde = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[float32-rgba-new-new-mode0-omp] ___________________ dtype = dtype('float32'), itype = 'rgba', enout = 'new', deout = 'new' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00:\x05pfz\x00\x07e\xfd\x88\x00\x01\xf0 \x07`\x00\x8e@\x10(\x01\xc6 8\x000\xc0\x80\x1c\x03\x0e@\xc0\x0c\x02\x0f7\x80\xfc> @\x80g\xce\xfaH\xf8< \x13`\xc6\x1b\xc8\xe1\xd8\x06\xc9\x80\xe7>q\xfc\xc0\x8fH\xf0\x10,\x07\xe5\xf0\x89\xd7\xf1w-\x80\xd9p`\x1b\x9c0\xdd\x8f=L\xcb\xe4`\xb6<\x01\x05\xa1Z\xe1 \xb0\x19\xb78\xcd\xbaT\x9c/\t\xb0\xc0\xcd:\xc7.\x81\xd7\xc19\xcf\xc83oA\xd7\xf8\x05\xcb\x19\xb4n\xc0\x1d\xb6\x04\x12\x17\xa0\xb3\xbf\xcd\x8f\xfc\x80\xaav\xbe\x1f\xff\xf1\xc4Q\x15\xea\xb0\x06\xfc9%\xb8_\xd3\xc0O\xd5\xb18 \x1c\'M\xd6\xe6@\xe0\xb0\x15\xb4~\x00\x0e\xd3\xfa\xf8\x90\xdb\x90@\x0c\x00\x00\x02\x80\x00P\xd0\x01\x00\x82\x12P\x01\x80\x06]\xd2`\x01\x00\x80\xec)\n\rf@\x01\xc0\r\x9e!V\xc8hP \xc0\xc9\x9e^\xd4\xbf\x8cL\x80\xd6p\xd2\xe0:\x89\xba\x17P\xca\xbe\xff\x14\xa3JcP\x06\xbf`)\xdb\xd7\xdb~\x87\xb6)\x08f/&\xecp\xecb\x05\xe6\xe1\x03\xee\xf2\xc3\xc3t\xd1@\xe1\x01\n;\x0f3\xb4Y\x0f`\t\x1f\xd3;\xfek\xc6\xb0O\xcc\x12\x03z\xc1r1l`7\xb9\x1b~#\x8fxxvZo@B\x19\x99\x7f%\x9e\xb66\xdd\x10\xc8M\xa8\x8e6\xd8\x9c\xa4\xa6\x7fQN\xfd\xd9\xa5\xfc\xbc.Pu\xc8\x0e\x17\x00\x00\x00\x00?\x02\x96_\xd05\xb4\xfe\xdc\x90\x81\x00\x00@\x00@\n\x00\x00`N\x00\x08\x00\xa0\x00\xact"\x06\x08\xd0\x01\xc0Cy\\\xc7\x...\x00\x00@\xa0\x18\x19\x01\xc0A\xa8(\x01\xc0\x00\x92\x02\x85\x11\xf6\\\x00\x04,\x02\xe1\xcd\x08\xf4\x1c\x00\x81E\xbd\t\xb0\x89\x82e\xf0\xf2\x7f\xe0n\xe8\x8ea\xbf\xfe\xa3\xda\xdd\x85\x88\xae\x83S\xee\x19\x14\x1c\xbd\xc7\xee\xe0co\x9a\xd2\xa9P\x02R\xd2\xd1\xa3_\x07\x1d\xfa8<%\x82\xf3\xb94\xf3\xcd\xbbY\xee\xff3\xe2\xa0l\xf6\xfd\xc5\xe1V:\xa9i\x19g\xf1\xf8E\xaa\xc6+\xd6~\xcbo%\x1f\x8f\x1f,\x91\x94\x95\xc5:s\xe7\xd2:.&\x1d_[\x1d\xe5s\xa8g\x1bo\x902\'\x91h\x9f\x07\xef\xc2\xd6\xc4^\xdc<\x1b6s\x1b1\xa7\x1b\x04O\xcd)\x86\x87\xa4\xb2\xdb`\x02\x05\x00\x00\xed\xbf\xad\xa2 \x05\x00\x03\x00\xc0\x10\x08\x18 )\x00\x19\x00\x90\x00\x0e\x08\xa7A\x00\t\x00\x80\n\x1bV\x18\x00\x02\x80\x04\x06\xb5\x99\xd0\x00\x02\x00\'\x1f\xfd\x8b\xda\x91@\x884\xd5\xd17\xa6Q\xc2\xd2H\xe2v\xbbE\xe1\xf3\x00\x9d\x19)bz\xed\xffX\xe7\xe2\x80#\x81\xf6\x89\xca\x7f\xdb\xe3\x84\x00\xfc\x1a\xaer\xe2\xbfX\xcd\xf8\x8f8@\xa8\xea9\x1f\xe6\xf9\xfe\x054\xcaf\xe5\xf7\xbf\xec\xb9-dd\xd3\x86\x903&\xb7M,\x00\xc1\xb2\x13j9\xc8\x13\x85\xce\xaa\xee\x05\xfb\xc5\xaf\x89>\xdaC\xc6({\x16\xcer\x94\xde = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError __________________ test_zfp[float32-rgba-new-new-mode1-None] ___________________ dtype = dtype('float32'), itype = 'rgba', enout = 'new', deout = 'new' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00:\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\xe80\x07\n\xcf\xf7\x87\xaf@0Y\xa8\x1b)\x01\x05\xa01z`9\x12\x83\xce`\xc2f\x00\x14\x06@\t\nl\xc4\xf0\xbb\x804h\xb2\x16 \xa0\xc8\xdd\xbd4\xa9\xe1\x89\xa6F\xf0\x0b\xb4\xbc\xa7\x7f\xc9\x89-\xab\xb1\x07:\xdc\x16D\xb2L\xec\xab\xd8d\xc4$0G\x0f\x83\xf3\xfb\xe7\xc4L\x18\x90\x1a\x8ca\x08\xf5\xa7\x02n\xab!\xeby\xe0=\xcd\x1a\x86J\xc3R!#\x7f\xd4\xfc\x10Q\xdf3\xc3e\x8a\xcd\xcf\xa95\x92\xe0m\x84\xa9\xfd\xaa*P\xea\x9b\x98\xaaQ\xb6D%\xafEL\x90\xd0\xcb\xb5\xe1\x80\xca\x96?R\x17\x13D\x88\xe3\x9b|U\xa5\x93\x14\xc0\x16\xf1R\x80`a\xb1\xfeN4\xb0K\x03\x92k\xa3\xcc\x9d\xb3\xff\xb0\x84\xa4\x0c0\xf3(d\x01\x08\x800\xa8\x1a\x90\xa5\xa4\x00-B\x80a\x80\x16-\xb8h\xe0\x07B\x11\x00\x05\x005\x86\xebQW.\xc0J\xd81\xd6\x81\x8d\x10A\xa0\xe8l\x02EV]\x87C\x80\x99!3Bb\xf6\xec`V<\\\x95N;\x8a\x06f\x1d\x8a\xb6\xf1-\xdc#\xda\\\x03\xe4\x08\x18\xf5\xf2\x06\xb9\x12\xda/C\xf6pP\xa9\xf1@\xc7\xeeFB,\x12RbC\x90\xc1W&\xbf\xc2\xfcf4\x1c\xa6`\x0b-\xc5\xc1\xe1e\xff\x12dr?\x13\x83>D\x15!\xb1\x9d\xf2\xa0\x8135\x94\x1e\x92\x8b5\xdd\xe7\xdd\x96\xa4\x98\xaa\x9d\x9dO\xe0\xa42\xde\xb8%0\x15&\x85a\t\x902`\x0cv\xeb\x9be\x87\x9a\x81\xdazQs\x81\x0b?\xc6\x02\xfc\x8e\xc2:\x01\x80\x81P\x04\r\x061...:\r\x83Wi\xcbDx3\xe3LW\xeex\xe4v%t\xfd\xd4\x01\x86A\xc2\xcf\xf5R\x01\xe8\x00(^\x80@\x06\xd4\x00\x18\x04\x12\xf4\x00B\x81\x12\x8fV@:\x04\xb4"1\t\x07[\xfa\xe0\x00U\x19\x0f\x9e-\xa35\x100\n\x0e\x8e\xc7r>4hC\x18\xf8\x1e7=Q\x8a$\xc2=\x0eD\xa2\xb1\xf2\x92\x11$U\x17\xddDw\x00\x17\xe4\xdb\xfcN\x18\xed\xfb\xf1\xbc\x8bG\xc1zM9\xed\xb9]UHs\x1d\x1ak\xd3~\x8a\xe9^\xb6=\xb6B9\x8d\x02\xb6\x95\\\xf9.\xed\'\x86E\xf6\xb2t-\xee%z\x9e\xda\xe2\xd3\xfc\xa27[\t@\xfb\xf5}\x94C[\xbfF\xf1\xf8e1\xc8\x17K\n\xae0*\xe1*\xb0\xc9\xd3]\xe1\x96\xf1\xd5\x9c\xdc\rQI\xbcI\xfb\x97n<\xc1\x14\x85\x05N\xe8p\xe3\x08$\x01\x02\x80\x00K?\x03\x00Q \x03 \x95\x84\xf4\xc0\n\x06b\xaa@5\xd6\x05f\x88\x02 C8\x98\xd4\x14\xc5\xa0\x02`\x04\xb5[\x88\x86\x0b\x90\x19h \xa4\xf5\xd3;\x88\xd8$adC\xa8KU\x1c\x10\xc7\x84\x00\xe4\xfa\x9a!\x82$&\xc2\x00\xa6v\xe8@\x17\xaax\xb5V]\xd3\xe8u\xbc6\xba\xd9vs\x9a\xd4\xbfT\xe4\xabO\xfa\xdaT\xa3\xf0E\x90\xb4\xf4\xf5\xa0vWU\x99\x03q\x14\xb5\xd9\xbe\xccm\x07_\x93\xaf\xe5\xe5y\xc4e\xd4\x14\xb8\xb2\x0e(E\xdf\xcf}.P\x16\xbb\x83n\xbeV\xb2\xf6M\xbeU0\xf7\xe6\xb1\xa9\\\xce\xadi\x81\xe6\x1c\xae\x96\xf0\x84\xbe\x92\xa2\xb8\x1d\x02\xa8\x0e\xb4lh\xfbTC\xc4 = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[float32-rgba-new-new-mode1-omp] ___________________ dtype = dtype('float32'), itype = 'rgba', enout = 'new', deout = 'new' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00:\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\xe80\x07\n\xcf\xf7\x87\xaf@0Y\xa8\x1b)\x01\x05\xa01z`9\x12\x83\xce`\xc2f\x00\x14\x06@\t\nl\xc4\xf0\xbb\x804h\xb2\x16 \xa0\xc8\xdd\xbd4\xa9\xe1\x89\xa6F\xf0\x0b\xb4\xbc\xa7\x7f\xc9\x89-\xab\xb1\x07:\xdc\x16D\xb2L\xec\xab\xd8d\xc4$0G\x0f\x83\xf3\xfb\xe7\xc4L\x18\x90\x1a\x8ca\x08\xf5\xa7\x02n\xab!\xeby\xe0=\xcd\x1a\x86J\xc3R!#\x7f\xd4\xfc\x10Q\xdf3\xc3e\x8a\xcd\xcf\xa95\x92\xe0m\x84\xa9\xfd\xaa*P\xea\x9b\x98\xaaQ\xb6D%\xafEL\x90\xd0\xcb\xb5\xe1\x80\xca\x96?R\x17\x13D\x88\xe3\x9b|U\xa5\x93\x14\xc0\x16\xf1R\x80`a\xb1\xfeN4\xb0K\x03\x92k\xa3\xcc\x9d\xb3\xff\xb0\x84\xa4\x0c0\xf3(d\x01\x08\x800\xa8\x1a\x90\xa5\xa4\x00-B\x80a\x80\x16-\xb8h\xe0\x07B\x11\x00\x05\x005\x86\xebQW.\xc0J\xd81\xd6\x81\x8d\x10A\xa0\xe8l\x02EV]\x87C\x80\x99!3Bb\xf6\xec`V<\\\x95N;\x8a\x06f\x1d\x8a\xb6\xf1-\xdc#\xda\\\x03\xe4\x08\x18\xf5\xf2\x06\xb9\x12\xda/C\xf6pP\xa9\xf1@\xc7\xeeFB,\x12RbC\x90\xc1W&\xbf\xc2\xfcf4\x1c\xa6`\x0b-\xc5\xc1\xe1e\xff\x12dr?\x13\x83>D\x15!\xb1\x9d\xf2\xa0\x8135\x94\x1e\x92\x8b5\xdd\xe7\xdd\x96\xa4\x98\xaa\x9d\x9dO\xe0\xa42\xde\xb8%0\x15&\x85a\t\x902`\x0cv\xeb\x9be\x87\x9a\x81\xdazQs\x81\x0b?\xc6\x02\xfc\x8e\xc2:\x01\x80\x81P\x04\r\x061...:\r\x83Wi\xcbDx3\xe3LW\xeex\xe4v%t\xfd\xd4\x01\x86A\xc2\xcf\xf5R\x01\xe8\x00(^\x80@\x06\xd4\x00\x18\x04\x12\xf4\x00B\x81\x12\x8fV@:\x04\xb4"1\t\x07[\xfa\xe0\x00U\x19\x0f\x9e-\xa35\x100\n\x0e\x8e\xc7r>4hC\x18\xf8\x1e7=Q\x8a$\xc2=\x0eD\xa2\xb1\xf2\x92\x11$U\x17\xddDw\x00\x17\xe4\xdb\xfcN\x18\xed\xfb\xf1\xbc\x8bG\xc1zM9\xed\xb9]UHs\x1d\x1ak\xd3~\x8a\xe9^\xb6=\xb6B9\x8d\x02\xb6\x95\\\xf9.\xed\'\x86E\xf6\xb2t-\xee%z\x9e\xda\xe2\xd3\xfc\xa27[\t@\xfb\xf5}\x94C[\xbfF\xf1\xf8e1\xc8\x17K\n\xae0*\xe1*\xb0\xc9\xd3]\xe1\x96\xf1\xd5\x9c\xdc\rQI\xbcI\xfb\x97n<\xc1\x14\x85\x05N\xe8p\xe3\x08$\x01\x02\x80\x00K?\x03\x00Q \x03 \x95\x84\xf4\xc0\n\x06b\xaa@5\xd6\x05f\x88\x02 C8\x98\xd4\x14\xc5\xa0\x02`\x04\xb5[\x88\x86\x0b\x90\x19h \xa4\xf5\xd3;\x88\xd8$adC\xa8KU\x1c\x10\xc7\x84\x00\xe4\xfa\x9a!\x82$&\xc2\x00\xa6v\xe8@\x17\xaax\xb5V]\xd3\xe8u\xbc6\xba\xd9vs\x9a\xd4\xbfT\xe4\xabO\xfa\xdaT\xa3\xf0E\x90\xb4\xf4\xf5\xa0vWU\x99\x03q\x14\xb5\xd9\xbe\xccm\x07_\x93\xaf\xe5\xe5y\xc4e\xd4\x14\xb8\xb2\x0e(E\xdf\xcf}.P\x16\xbb\x83n\xbeV\xb2\xf6M\xbeU0\xf7\xe6\xb1\xa9\\\xce\xadi\x81\xe6\x1c\xae\x96\xf0\x84\xbe\x92\xa2\xb8\x1d\x02\xa8\x0e\xb4lh\xfbTC\xc4 = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError __________________ test_zfp[float32-rgba-new-out-mode0-None] ___________________ dtype = dtype('float32'), itype = 'rgba', enout = 'new', deout = 'out' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00:\x05pfz\x00\x07e\xfd\x88\x00\x01\xf0 \x07`\x00\x8e@\x10(\x01\xc6 8\x000\xc0\x80\x1c\x03\x0e@\xc0\x0c\x02\x0f7\x80\xfc> @\x80g\xce\xfaH\xf8< \x13`\xc6\x1b\xc8\xe1\xd8\x06\xc9\x80\xe7>q\xfc\xc0\x8fH\xf0\x10,\x07\xe5\xf0\x89\xd7\xf1w-\x80\xd9p`\x1b\x9c0\xdd\x8f=L\xcb\xe4`\xb6<\x01\x05\xa1Z\xe1 \xb0\x19\xb78\xcd\xbaT\x9c/\t\xb0\xc0\xcd:\xc7.\x81\xd7\xc19\xcf\xc83oA\xd7\xf8\x05\xcb\x19\xb4n\xc0\x1d\xb6\x04\x12\x17\xa0\xb3\xbf\xcd\x8f\xfc\x80\xaav\xbe\x1f\xff\xf1\xc4Q\x15\xea\xb0\x06\xfc9%\xb8_\xd3\xc0O\xd5\xb18 \x1c\'M\xd6\xe6@\xe0\xb0\x15\xb4~\x00\x0e\xd3\xfa\xf8\x90\xdb\x90@\x0c\x00\x00\x02\x80\x00P\xd0\x01\x00\x82\x12P\x01\x80\x06]\xd2`\x01\x00\x80\xec)\n\rf@\x01\xc0\r\x9e!V\xc8hP \xc0\xc9\x9e^\xd4\xbf\x8cL\x80\xd6p\xd2\xe0:\x89\xba\x17P\xca\xbe\xff\x14\xa3JcP\x06\xbf`)\xdb\xd7\xdb~\x87\xb6)\x08f/&\xecp\xecb\x05\xe6\xe1\x03\xee\xf2\xc3\xc3t\xd1@\xe1\x01\n;\x0f3\xb4Y\x0f`\t\x1f\xd3;\xfek\xc6\xb0O\xcc\x12\x03z\xc1r1l`7\xb9\x1b~#\x8fxxvZo@B\x19\x99\x7f%\x9e\xb66\xdd\x10\xc8M\xa8\x8e6\xd8\x9c\xa4\xa6\x7fQN\xfd\xd9\xa5\xfc\xbc.Pu\xc8\x0e\x17\x00\x00\x00\x00?\x02\x96_\xd05\xb4\xfe\xdc\x90\x81\x00\x00@\x00@\n\x00\x00`N\x00\x08\x00\xa0\x00\xact"\x06\x08\xd0\x01\xc0Cy\\\xc7\x...\x00\x00@\xa0\x18\x19\x01\xc0A\xa8(\x01\xc0\x00\x92\x02\x85\x11\xf6\\\x00\x04,\x02\xe1\xcd\x08\xf4\x1c\x00\x81E\xbd\t\xb0\x89\x82e\xf0\xf2\x7f\xe0n\xe8\x8ea\xbf\xfe\xa3\xda\xdd\x85\x88\xae\x83S\xee\x19\x14\x1c\xbd\xc7\xee\xe0co\x9a\xd2\xa9P\x02R\xd2\xd1\xa3_\x07\x1d\xfa8<%\x82\xf3\xb94\xf3\xcd\xbbY\xee\xff3\xe2\xa0l\xf6\xfd\xc5\xe1V:\xa9i\x19g\xf1\xf8E\xaa\xc6+\xd6~\xcbo%\x1f\x8f\x1f,\x91\x94\x95\xc5:s\xe7\xd2:.&\x1d_[\x1d\xe5s\xa8g\x1bo\x902\'\x91h\x9f\x07\xef\xc2\xd6\xc4^\xdc<\x1b6s\x1b1\xa7\x1b\x04O\xcd)\x86\x87\xa4\xb2\xdb`\x02\x05\x00\x00\xed\xbf\xad\xa2 \x05\x00\x03\x00\xc0\x10\x08\x18 )\x00\x19\x00\x90\x00\x0e\x08\xa7A\x00\t\x00\x80\n\x1bV\x18\x00\x02\x80\x04\x06\xb5\x99\xd0\x00\x02\x00\'\x1f\xfd\x8b\xda\x91@\x884\xd5\xd17\xa6Q\xc2\xd2H\xe2v\xbbE\xe1\xf3\x00\x9d\x19)bz\xed\xffX\xe7\xe2\x80#\x81\xf6\x89\xca\x7f\xdb\xe3\x84\x00\xfc\x1a\xaer\xe2\xbfX\xcd\xf8\x8f8@\xa8\xea9\x1f\xe6\xf9\xfe\x054\xcaf\xe5\xf7\xbf\xec\xb9-dd\xd3\x86\x903&\xb7M,\x00\xc1\xb2\x13j9\xc8\x13\x85\xce\xaa\xee\x05\xfb\xc5\xaf\x89>\xdaC\xc6({\x16\xcer\x94\xde = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[float32-rgba-new-out-mode0-omp] ___________________ dtype = dtype('float32'), itype = 'rgba', enout = 'new', deout = 'out' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00:\x05pfz\x00\x07e\xfd\x88\x00\x01\xf0 \x07`\x00\x8e@\x10(\x01\xc6 8\x000\xc0\x80\x1c\x03\x0e@\xc0\x0c\x02\x0f7\x80\xfc> @\x80g\xce\xfaH\xf8< \x13`\xc6\x1b\xc8\xe1\xd8\x06\xc9\x80\xe7>q\xfc\xc0\x8fH\xf0\x10,\x07\xe5\xf0\x89\xd7\xf1w-\x80\xd9p`\x1b\x9c0\xdd\x8f=L\xcb\xe4`\xb6<\x01\x05\xa1Z\xe1 \xb0\x19\xb78\xcd\xbaT\x9c/\t\xb0\xc0\xcd:\xc7.\x81\xd7\xc19\xcf\xc83oA\xd7\xf8\x05\xcb\x19\xb4n\xc0\x1d\xb6\x04\x12\x17\xa0\xb3\xbf\xcd\x8f\xfc\x80\xaav\xbe\x1f\xff\xf1\xc4Q\x15\xea\xb0\x06\xfc9%\xb8_\xd3\xc0O\xd5\xb18 \x1c\'M\xd6\xe6@\xe0\xb0\x15\xb4~\x00\x0e\xd3\xfa\xf8\x90\xdb\x90@\x0c\x00\x00\x02\x80\x00P\xd0\x01\x00\x82\x12P\x01\x80\x06]\xd2`\x01\x00\x80\xec)\n\rf@\x01\xc0\r\x9e!V\xc8hP \xc0\xc9\x9e^\xd4\xbf\x8cL\x80\xd6p\xd2\xe0:\x89\xba\x17P\xca\xbe\xff\x14\xa3JcP\x06\xbf`)\xdb\xd7\xdb~\x87\xb6)\x08f/&\xecp\xecb\x05\xe6\xe1\x03\xee\xf2\xc3\xc3t\xd1@\xe1\x01\n;\x0f3\xb4Y\x0f`\t\x1f\xd3;\xfek\xc6\xb0O\xcc\x12\x03z\xc1r1l`7\xb9\x1b~#\x8fxxvZo@B\x19\x99\x7f%\x9e\xb66\xdd\x10\xc8M\xa8\x8e6\xd8\x9c\xa4\xa6\x7fQN\xfd\xd9\xa5\xfc\xbc.Pu\xc8\x0e\x17\x00\x00\x00\x00?\x02\x96_\xd05\xb4\xfe\xdc\x90\x81\x00\x00@\x00@\n\x00\x00`N\x00\x08\x00\xa0\x00\xact"\x06\x08\xd0\x01\xc0Cy\\\xc7\x...\x00\x00@\xa0\x18\x19\x01\xc0A\xa8(\x01\xc0\x00\x92\x02\x85\x11\xf6\\\x00\x04,\x02\xe1\xcd\x08\xf4\x1c\x00\x81E\xbd\t\xb0\x89\x82e\xf0\xf2\x7f\xe0n\xe8\x8ea\xbf\xfe\xa3\xda\xdd\x85\x88\xae\x83S\xee\x19\x14\x1c\xbd\xc7\xee\xe0co\x9a\xd2\xa9P\x02R\xd2\xd1\xa3_\x07\x1d\xfa8<%\x82\xf3\xb94\xf3\xcd\xbbY\xee\xff3\xe2\xa0l\xf6\xfd\xc5\xe1V:\xa9i\x19g\xf1\xf8E\xaa\xc6+\xd6~\xcbo%\x1f\x8f\x1f,\x91\x94\x95\xc5:s\xe7\xd2:.&\x1d_[\x1d\xe5s\xa8g\x1bo\x902\'\x91h\x9f\x07\xef\xc2\xd6\xc4^\xdc<\x1b6s\x1b1\xa7\x1b\x04O\xcd)\x86\x87\xa4\xb2\xdb`\x02\x05\x00\x00\xed\xbf\xad\xa2 \x05\x00\x03\x00\xc0\x10\x08\x18 )\x00\x19\x00\x90\x00\x0e\x08\xa7A\x00\t\x00\x80\n\x1bV\x18\x00\x02\x80\x04\x06\xb5\x99\xd0\x00\x02\x00\'\x1f\xfd\x8b\xda\x91@\x884\xd5\xd17\xa6Q\xc2\xd2H\xe2v\xbbE\xe1\xf3\x00\x9d\x19)bz\xed\xffX\xe7\xe2\x80#\x81\xf6\x89\xca\x7f\xdb\xe3\x84\x00\xfc\x1a\xaer\xe2\xbfX\xcd\xf8\x8f8@\xa8\xea9\x1f\xe6\xf9\xfe\x054\xcaf\xe5\xf7\xbf\xec\xb9-dd\xd3\x86\x903&\xb7M,\x00\xc1\xb2\x13j9\xc8\x13\x85\xce\xaa\xee\x05\xfb\xc5\xaf\x89>\xdaC\xc6({\x16\xcer\x94\xde = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError __________________ test_zfp[float32-rgba-new-out-mode1-None] ___________________ dtype = dtype('float32'), itype = 'rgba', enout = 'new', deout = 'out' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00:\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\xe80\x07\n\xcf\xf7\x87\xaf@0Y\xa8\x1b)\x01\x05\xa01z`9\x12\x83\xce`\xc2f\x00\x14\x06@\t\nl\xc4\xf0\xbb\x804h\xb2\x16 \xa0\xc8\xdd\xbd4\xa9\xe1\x89\xa6F\xf0\x0b\xb4\xbc\xa7\x7f\xc9\x89-\xab\xb1\x07:\xdc\x16D\xb2L\xec\xab\xd8d\xc4$0G\x0f\x83\xf3\xfb\xe7\xc4L\x18\x90\x1a\x8ca\x08\xf5\xa7\x02n\xab!\xeby\xe0=\xcd\x1a\x86J\xc3R!#\x7f\xd4\xfc\x10Q\xdf3\xc3e\x8a\xcd\xcf\xa95\x92\xe0m\x84\xa9\xfd\xaa*P\xea\x9b\x98\xaaQ\xb6D%\xafEL\x90\xd0\xcb\xb5\xe1\x80\xca\x96?R\x17\x13D\x88\xe3\x9b|U\xa5\x93\x14\xc0\x16\xf1R\x80`a\xb1\xfeN4\xb0K\x03\x92k\xa3\xcc\x9d\xb3\xff\xb0\x84\xa4\x0c0\xf3(d\x01\x08\x800\xa8\x1a\x90\xa5\xa4\x00-B\x80a\x80\x16-\xb8h\xe0\x07B\x11\x00\x05\x005\x86\xebQW.\xc0J\xd81\xd6\x81\x8d\x10A\xa0\xe8l\x02EV]\x87C\x80\x99!3Bb\xf6\xec`V<\\\x95N;\x8a\x06f\x1d\x8a\xb6\xf1-\xdc#\xda\\\x03\xe4\x08\x18\xf5\xf2\x06\xb9\x12\xda/C\xf6pP\xa9\xf1@\xc7\xeeFB,\x12RbC\x90\xc1W&\xbf\xc2\xfcf4\x1c\xa6`\x0b-\xc5\xc1\xe1e\xff\x12dr?\x13\x83>D\x15!\xb1\x9d\xf2\xa0\x8135\x94\x1e\x92\x8b5\xdd\xe7\xdd\x96\xa4\x98\xaa\x9d\x9dO\xe0\xa42\xde\xb8%0\x15&\x85a\t\x902`\x0cv\xeb\x9be\x87\x9a\x81\xdazQs\x81\x0b?\xc6\x02\xfc\x8e\xc2:\x01\x80\x81P\x04\r\x061...:\r\x83Wi\xcbDx3\xe3LW\xeex\xe4v%t\xfd\xd4\x01\x86A\xc2\xcf\xf5R\x01\xe8\x00(^\x80@\x06\xd4\x00\x18\x04\x12\xf4\x00B\x81\x12\x8fV@:\x04\xb4"1\t\x07[\xfa\xe0\x00U\x19\x0f\x9e-\xa35\x100\n\x0e\x8e\xc7r>4hC\x18\xf8\x1e7=Q\x8a$\xc2=\x0eD\xa2\xb1\xf2\x92\x11$U\x17\xddDw\x00\x17\xe4\xdb\xfcN\x18\xed\xfb\xf1\xbc\x8bG\xc1zM9\xed\xb9]UHs\x1d\x1ak\xd3~\x8a\xe9^\xb6=\xb6B9\x8d\x02\xb6\x95\\\xf9.\xed\'\x86E\xf6\xb2t-\xee%z\x9e\xda\xe2\xd3\xfc\xa27[\t@\xfb\xf5}\x94C[\xbfF\xf1\xf8e1\xc8\x17K\n\xae0*\xe1*\xb0\xc9\xd3]\xe1\x96\xf1\xd5\x9c\xdc\rQI\xbcI\xfb\x97n<\xc1\x14\x85\x05N\xe8p\xe3\x08$\x01\x02\x80\x00K?\x03\x00Q \x03 \x95\x84\xf4\xc0\n\x06b\xaa@5\xd6\x05f\x88\x02 C8\x98\xd4\x14\xc5\xa0\x02`\x04\xb5[\x88\x86\x0b\x90\x19h \xa4\xf5\xd3;\x88\xd8$adC\xa8KU\x1c\x10\xc7\x84\x00\xe4\xfa\x9a!\x82$&\xc2\x00\xa6v\xe8@\x17\xaax\xb5V]\xd3\xe8u\xbc6\xba\xd9vs\x9a\xd4\xbfT\xe4\xabO\xfa\xdaT\xa3\xf0E\x90\xb4\xf4\xf5\xa0vWU\x99\x03q\x14\xb5\xd9\xbe\xccm\x07_\x93\xaf\xe5\xe5y\xc4e\xd4\x14\xb8\xb2\x0e(E\xdf\xcf}.P\x16\xbb\x83n\xbeV\xb2\xf6M\xbeU0\xf7\xe6\xb1\xa9\\\xce\xadi\x81\xe6\x1c\xae\x96\xf0\x84\xbe\x92\xa2\xb8\x1d\x02\xa8\x0e\xb4lh\xfbTC\xc4 = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[float32-rgba-new-out-mode1-omp] ___________________ dtype = dtype('float32'), itype = 'rgba', enout = 'new', deout = 'out' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00:\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\xe80\x07\n\xcf\xf7\x87\xaf@0Y\xa8\x1b)\x01\x05\xa01z`9\x12\x83\xce`\xc2f\x00\x14\x06@\t\nl\xc4\xf0\xbb\x804h\xb2\x16 \xa0\xc8\xdd\xbd4\xa9\xe1\x89\xa6F\xf0\x0b\xb4\xbc\xa7\x7f\xc9\x89-\xab\xb1\x07:\xdc\x16D\xb2L\xec\xab\xd8d\xc4$0G\x0f\x83\xf3\xfb\xe7\xc4L\x18\x90\x1a\x8ca\x08\xf5\xa7\x02n\xab!\xeby\xe0=\xcd\x1a\x86J\xc3R!#\x7f\xd4\xfc\x10Q\xdf3\xc3e\x8a\xcd\xcf\xa95\x92\xe0m\x84\xa9\xfd\xaa*P\xea\x9b\x98\xaaQ\xb6D%\xafEL\x90\xd0\xcb\xb5\xe1\x80\xca\x96?R\x17\x13D\x88\xe3\x9b|U\xa5\x93\x14\xc0\x16\xf1R\x80`a\xb1\xfeN4\xb0K\x03\x92k\xa3\xcc\x9d\xb3\xff\xb0\x84\xa4\x0c0\xf3(d\x01\x08\x800\xa8\x1a\x90\xa5\xa4\x00-B\x80a\x80\x16-\xb8h\xe0\x07B\x11\x00\x05\x005\x86\xebQW.\xc0J\xd81\xd6\x81\x8d\x10A\xa0\xe8l\x02EV]\x87C\x80\x99!3Bb\xf6\xec`V<\\\x95N;\x8a\x06f\x1d\x8a\xb6\xf1-\xdc#\xda\\\x03\xe4\x08\x18\xf5\xf2\x06\xb9\x12\xda/C\xf6pP\xa9\xf1@\xc7\xeeFB,\x12RbC\x90\xc1W&\xbf\xc2\xfcf4\x1c\xa6`\x0b-\xc5\xc1\xe1e\xff\x12dr?\x13\x83>D\x15!\xb1\x9d\xf2\xa0\x8135\x94\x1e\x92\x8b5\xdd\xe7\xdd\x96\xa4\x98\xaa\x9d\x9dO\xe0\xa42\xde\xb8%0\x15&\x85a\t\x902`\x0cv\xeb\x9be\x87\x9a\x81\xdazQs\x81\x0b?\xc6\x02\xfc\x8e\xc2:\x01\x80\x81P\x04\r\x061...:\r\x83Wi\xcbDx3\xe3LW\xeex\xe4v%t\xfd\xd4\x01\x86A\xc2\xcf\xf5R\x01\xe8\x00(^\x80@\x06\xd4\x00\x18\x04\x12\xf4\x00B\x81\x12\x8fV@:\x04\xb4"1\t\x07[\xfa\xe0\x00U\x19\x0f\x9e-\xa35\x100\n\x0e\x8e\xc7r>4hC\x18\xf8\x1e7=Q\x8a$\xc2=\x0eD\xa2\xb1\xf2\x92\x11$U\x17\xddDw\x00\x17\xe4\xdb\xfcN\x18\xed\xfb\xf1\xbc\x8bG\xc1zM9\xed\xb9]UHs\x1d\x1ak\xd3~\x8a\xe9^\xb6=\xb6B9\x8d\x02\xb6\x95\\\xf9.\xed\'\x86E\xf6\xb2t-\xee%z\x9e\xda\xe2\xd3\xfc\xa27[\t@\xfb\xf5}\x94C[\xbfF\xf1\xf8e1\xc8\x17K\n\xae0*\xe1*\xb0\xc9\xd3]\xe1\x96\xf1\xd5\x9c\xdc\rQI\xbcI\xfb\x97n<\xc1\x14\x85\x05N\xe8p\xe3\x08$\x01\x02\x80\x00K?\x03\x00Q \x03 \x95\x84\xf4\xc0\n\x06b\xaa@5\xd6\x05f\x88\x02 C8\x98\xd4\x14\xc5\xa0\x02`\x04\xb5[\x88\x86\x0b\x90\x19h \xa4\xf5\xd3;\x88\xd8$adC\xa8KU\x1c\x10\xc7\x84\x00\xe4\xfa\x9a!\x82$&\xc2\x00\xa6v\xe8@\x17\xaax\xb5V]\xd3\xe8u\xbc6\xba\xd9vs\x9a\xd4\xbfT\xe4\xabO\xfa\xdaT\xa3\xf0E\x90\xb4\xf4\xf5\xa0vWU\x99\x03q\x14\xb5\xd9\xbe\xccm\x07_\x93\xaf\xe5\xe5y\xc4e\xd4\x14\xb8\xb2\x0e(E\xdf\xcf}.P\x16\xbb\x83n\xbeV\xb2\xf6M\xbeU0\xf7\xe6\xb1\xa9\\\xce\xadi\x81\xe6\x1c\xae\x96\xf0\x84\xbe\x92\xa2\xb8\x1d\x02\xa8\x0e\xb4lh\xfbTC\xc4 = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _______________ test_zfp[float32-rgba-new-bytearray-mode0-None] ________________ dtype = dtype('float32'), itype = 'rgba', enout = 'new', deout = 'bytearray' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00:\x05pfz\x00\x07e\xfd\x88\x00\x01\xf0 \x07`\x00\x8e@\x10(\x01\xc6 8\x000\xc0\x80\x1c\x03\x0e@\xc0\x0c\x02\x0f7\x80\xfc> @\x80g\xce\xfaH\xf8< \x13`\xc6\x1b\xc8\xe1\xd8\x06\xc9\x80\xe7>q\xfc\xc0\x8fH\xf0\x10,\x07\xe5\xf0\x89\xd7\xf1w-\x80\xd9p`\x1b\x9c0\xdd\x8f=L\xcb\xe4`\xb6<\x01\x05\xa1Z\xe1 \xb0\x19\xb78\xcd\xbaT\x9c/\t\xb0\xc0\xcd:\xc7.\x81\xd7\xc19\xcf\xc83oA\xd7\xf8\x05\xcb\x19\xb4n\xc0\x1d\xb6\x04\x12\x17\xa0\xb3\xbf\xcd\x8f\xfc\x80\xaav\xbe\x1f\xff\xf1\xc4Q\x15\xea\xb0\x06\xfc9%\xb8_\xd3\xc0O\xd5\xb18 \x1c\'M\xd6\xe6@\xe0\xb0\x15\xb4~\x00\x0e\xd3\xfa\xf8\x90\xdb\x90@\x0c\x00\x00\x02\x80\x00P\xd0\x01\x00\x82\x12P\x01\x80\x06]\xd2`\x01\x00\x80\xec)\n\rf@\x01\xc0\r\x9e!V\xc8hP \xc0\xc9\x9e^\xd4\xbf\x8cL\x80\xd6p\xd2\xe0:\x89\xba\x17P\xca\xbe\xff\x14\xa3JcP\x06\xbf`)\xdb\xd7\xdb~\x87\xb6)\x08f/&\xecp\xecb\x05\xe6\xe1\x03\xee\xf2\xc3\xc3t\xd1@\xe1\x01\n;\x0f3\xb4Y\x0f`\t\x1f\xd3;\xfek\xc6\xb0O\xcc\x12\x03z\xc1r1l`7\xb9\x1b~#\x8fxxvZo@B\x19\x99\x7f%\x9e\xb66\xdd\x10\xc8M\xa8\x8e6\xd8\x9c\xa4\xa6\x7fQN\xfd\xd9\xa5\xfc\xbc.Pu\xc8\x0e\x17\x00\x00\x00\x00?\x02\x96_\xd05\xb4\xfe\xdc\x90\x81\x00\x00@\x00@\n\x00\x00`N\x00\x08\x00\xa0\x00\xact"\x06\x08\xd0\x01\xc0Cy\\\xc7\x...\x00\x00@\xa0\x18\x19\x01\xc0A\xa8(\x01\xc0\x00\x92\x02\x85\x11\xf6\\\x00\x04,\x02\xe1\xcd\x08\xf4\x1c\x00\x81E\xbd\t\xb0\x89\x82e\xf0\xf2\x7f\xe0n\xe8\x8ea\xbf\xfe\xa3\xda\xdd\x85\x88\xae\x83S\xee\x19\x14\x1c\xbd\xc7\xee\xe0co\x9a\xd2\xa9P\x02R\xd2\xd1\xa3_\x07\x1d\xfa8<%\x82\xf3\xb94\xf3\xcd\xbbY\xee\xff3\xe2\xa0l\xf6\xfd\xc5\xe1V:\xa9i\x19g\xf1\xf8E\xaa\xc6+\xd6~\xcbo%\x1f\x8f\x1f,\x91\x94\x95\xc5:s\xe7\xd2:.&\x1d_[\x1d\xe5s\xa8g\x1bo\x902\'\x91h\x9f\x07\xef\xc2\xd6\xc4^\xdc<\x1b6s\x1b1\xa7\x1b\x04O\xcd)\x86\x87\xa4\xb2\xdb`\x02\x05\x00\x00\xed\xbf\xad\xa2 \x05\x00\x03\x00\xc0\x10\x08\x18 )\x00\x19\x00\x90\x00\x0e\x08\xa7A\x00\t\x00\x80\n\x1bV\x18\x00\x02\x80\x04\x06\xb5\x99\xd0\x00\x02\x00\'\x1f\xfd\x8b\xda\x91@\x884\xd5\xd17\xa6Q\xc2\xd2H\xe2v\xbbE\xe1\xf3\x00\x9d\x19)bz\xed\xffX\xe7\xe2\x80#\x81\xf6\x89\xca\x7f\xdb\xe3\x84\x00\xfc\x1a\xaer\xe2\xbfX\xcd\xf8\x8f8@\xa8\xea9\x1f\xe6\xf9\xfe\x054\xcaf\xe5\xf7\xbf\xec\xb9-dd\xd3\x86\x903&\xb7M,\x00\xc1\xb2\x13j9\xc8\x13\x85\xce\xaa\xee\x05\xfb\xc5\xaf\x89>\xdaC\xc6({\x16\xcer\x94\xde = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[float32-rgba-new-bytearray-mode0-omp] ________________ dtype = dtype('float32'), itype = 'rgba', enout = 'new', deout = 'bytearray' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00:\x05pfz\x00\x07e\xfd\x88\x00\x01\xf0 \x07`\x00\x8e@\x10(\x01\xc6 8\x000\xc0\x80\x1c\x03\x0e@\xc0\x0c\x02\x0f7\x80\xfc> @\x80g\xce\xfaH\xf8< \x13`\xc6\x1b\xc8\xe1\xd8\x06\xc9\x80\xe7>q\xfc\xc0\x8fH\xf0\x10,\x07\xe5\xf0\x89\xd7\xf1w-\x80\xd9p`\x1b\x9c0\xdd\x8f=L\xcb\xe4`\xb6<\x01\x05\xa1Z\xe1 \xb0\x19\xb78\xcd\xbaT\x9c/\t\xb0\xc0\xcd:\xc7.\x81\xd7\xc19\xcf\xc83oA\xd7\xf8\x05\xcb\x19\xb4n\xc0\x1d\xb6\x04\x12\x17\xa0\xb3\xbf\xcd\x8f\xfc\x80\xaav\xbe\x1f\xff\xf1\xc4Q\x15\xea\xb0\x06\xfc9%\xb8_\xd3\xc0O\xd5\xb18 \x1c\'M\xd6\xe6@\xe0\xb0\x15\xb4~\x00\x0e\xd3\xfa\xf8\x90\xdb\x90@\x0c\x00\x00\x02\x80\x00P\xd0\x01\x00\x82\x12P\x01\x80\x06]\xd2`\x01\x00\x80\xec)\n\rf@\x01\xc0\r\x9e!V\xc8hP \xc0\xc9\x9e^\xd4\xbf\x8cL\x80\xd6p\xd2\xe0:\x89\xba\x17P\xca\xbe\xff\x14\xa3JcP\x06\xbf`)\xdb\xd7\xdb~\x87\xb6)\x08f/&\xecp\xecb\x05\xe6\xe1\x03\xee\xf2\xc3\xc3t\xd1@\xe1\x01\n;\x0f3\xb4Y\x0f`\t\x1f\xd3;\xfek\xc6\xb0O\xcc\x12\x03z\xc1r1l`7\xb9\x1b~#\x8fxxvZo@B\x19\x99\x7f%\x9e\xb66\xdd\x10\xc8M\xa8\x8e6\xd8\x9c\xa4\xa6\x7fQN\xfd\xd9\xa5\xfc\xbc.Pu\xc8\x0e\x17\x00\x00\x00\x00?\x02\x96_\xd05\xb4\xfe\xdc\x90\x81\x00\x00@\x00@\n\x00\x00`N\x00\x08\x00\xa0\x00\xact"\x06\x08\xd0\x01\xc0Cy\\\xc7\x...\x00\x00@\xa0\x18\x19\x01\xc0A\xa8(\x01\xc0\x00\x92\x02\x85\x11\xf6\\\x00\x04,\x02\xe1\xcd\x08\xf4\x1c\x00\x81E\xbd\t\xb0\x89\x82e\xf0\xf2\x7f\xe0n\xe8\x8ea\xbf\xfe\xa3\xda\xdd\x85\x88\xae\x83S\xee\x19\x14\x1c\xbd\xc7\xee\xe0co\x9a\xd2\xa9P\x02R\xd2\xd1\xa3_\x07\x1d\xfa8<%\x82\xf3\xb94\xf3\xcd\xbbY\xee\xff3\xe2\xa0l\xf6\xfd\xc5\xe1V:\xa9i\x19g\xf1\xf8E\xaa\xc6+\xd6~\xcbo%\x1f\x8f\x1f,\x91\x94\x95\xc5:s\xe7\xd2:.&\x1d_[\x1d\xe5s\xa8g\x1bo\x902\'\x91h\x9f\x07\xef\xc2\xd6\xc4^\xdc<\x1b6s\x1b1\xa7\x1b\x04O\xcd)\x86\x87\xa4\xb2\xdb`\x02\x05\x00\x00\xed\xbf\xad\xa2 \x05\x00\x03\x00\xc0\x10\x08\x18 )\x00\x19\x00\x90\x00\x0e\x08\xa7A\x00\t\x00\x80\n\x1bV\x18\x00\x02\x80\x04\x06\xb5\x99\xd0\x00\x02\x00\'\x1f\xfd\x8b\xda\x91@\x884\xd5\xd17\xa6Q\xc2\xd2H\xe2v\xbbE\xe1\xf3\x00\x9d\x19)bz\xed\xffX\xe7\xe2\x80#\x81\xf6\x89\xca\x7f\xdb\xe3\x84\x00\xfc\x1a\xaer\xe2\xbfX\xcd\xf8\x8f8@\xa8\xea9\x1f\xe6\xf9\xfe\x054\xcaf\xe5\xf7\xbf\xec\xb9-dd\xd3\x86\x903&\xb7M,\x00\xc1\xb2\x13j9\xc8\x13\x85\xce\xaa\xee\x05\xfb\xc5\xaf\x89>\xdaC\xc6({\x16\xcer\x94\xde = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _______________ test_zfp[float32-rgba-new-bytearray-mode1-None] ________________ dtype = dtype('float32'), itype = 'rgba', enout = 'new', deout = 'bytearray' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00:\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\xe80\x07\n\xcf\xf7\x87\xaf@0Y\xa8\x1b)\x01\x05\xa01z`9\x12\x83\xce`\xc2f\x00\x14\x06@\t\nl\xc4\xf0\xbb\x804h\xb2\x16 \xa0\xc8\xdd\xbd4\xa9\xe1\x89\xa6F\xf0\x0b\xb4\xbc\xa7\x7f\xc9\x89-\xab\xb1\x07:\xdc\x16D\xb2L\xec\xab\xd8d\xc4$0G\x0f\x83\xf3\xfb\xe7\xc4L\x18\x90\x1a\x8ca\x08\xf5\xa7\x02n\xab!\xeby\xe0=\xcd\x1a\x86J\xc3R!#\x7f\xd4\xfc\x10Q\xdf3\xc3e\x8a\xcd\xcf\xa95\x92\xe0m\x84\xa9\xfd\xaa*P\xea\x9b\x98\xaaQ\xb6D%\xafEL\x90\xd0\xcb\xb5\xe1\x80\xca\x96?R\x17\x13D\x88\xe3\x9b|U\xa5\x93\x14\xc0\x16\xf1R\x80`a\xb1\xfeN4\xb0K\x03\x92k\xa3\xcc\x9d\xb3\xff\xb0\x84\xa4\x0c0\xf3(d\x01\x08\x800\xa8\x1a\x90\xa5\xa4\x00-B\x80a\x80\x16-\xb8h\xe0\x07B\x11\x00\x05\x005\x86\xebQW.\xc0J\xd81\xd6\x81\x8d\x10A\xa0\xe8l\x02EV]\x87C\x80\x99!3Bb\xf6\xec`V<\\\x95N;\x8a\x06f\x1d\x8a\xb6\xf1-\xdc#\xda\\\x03\xe4\x08\x18\xf5\xf2\x06\xb9\x12\xda/C\xf6pP\xa9\xf1@\xc7\xeeFB,\x12RbC\x90\xc1W&\xbf\xc2\xfcf4\x1c\xa6`\x0b-\xc5\xc1\xe1e\xff\x12dr?\x13\x83>D\x15!\xb1\x9d\xf2\xa0\x8135\x94\x1e\x92\x8b5\xdd\xe7\xdd\x96\xa4\x98\xaa\x9d\x9dO\xe0\xa42\xde\xb8%0\x15&\x85a\t\x902`\x0cv\xeb\x9be\x87\x9a\x81\xdazQs\x81\x0b?\xc6\x02\xfc\x8e\xc2:\x01\x80\x81P\x04\r\x061...:\r\x83Wi\xcbDx3\xe3LW\xeex\xe4v%t\xfd\xd4\x01\x86A\xc2\xcf\xf5R\x01\xe8\x00(^\x80@\x06\xd4\x00\x18\x04\x12\xf4\x00B\x81\x12\x8fV@:\x04\xb4"1\t\x07[\xfa\xe0\x00U\x19\x0f\x9e-\xa35\x100\n\x0e\x8e\xc7r>4hC\x18\xf8\x1e7=Q\x8a$\xc2=\x0eD\xa2\xb1\xf2\x92\x11$U\x17\xddDw\x00\x17\xe4\xdb\xfcN\x18\xed\xfb\xf1\xbc\x8bG\xc1zM9\xed\xb9]UHs\x1d\x1ak\xd3~\x8a\xe9^\xb6=\xb6B9\x8d\x02\xb6\x95\\\xf9.\xed\'\x86E\xf6\xb2t-\xee%z\x9e\xda\xe2\xd3\xfc\xa27[\t@\xfb\xf5}\x94C[\xbfF\xf1\xf8e1\xc8\x17K\n\xae0*\xe1*\xb0\xc9\xd3]\xe1\x96\xf1\xd5\x9c\xdc\rQI\xbcI\xfb\x97n<\xc1\x14\x85\x05N\xe8p\xe3\x08$\x01\x02\x80\x00K?\x03\x00Q \x03 \x95\x84\xf4\xc0\n\x06b\xaa@5\xd6\x05f\x88\x02 C8\x98\xd4\x14\xc5\xa0\x02`\x04\xb5[\x88\x86\x0b\x90\x19h \xa4\xf5\xd3;\x88\xd8$adC\xa8KU\x1c\x10\xc7\x84\x00\xe4\xfa\x9a!\x82$&\xc2\x00\xa6v\xe8@\x17\xaax\xb5V]\xd3\xe8u\xbc6\xba\xd9vs\x9a\xd4\xbfT\xe4\xabO\xfa\xdaT\xa3\xf0E\x90\xb4\xf4\xf5\xa0vWU\x99\x03q\x14\xb5\xd9\xbe\xccm\x07_\x93\xaf\xe5\xe5y\xc4e\xd4\x14\xb8\xb2\x0e(E\xdf\xcf}.P\x16\xbb\x83n\xbeV\xb2\xf6M\xbeU0\xf7\xe6\xb1\xa9\\\xce\xadi\x81\xe6\x1c\xae\x96\xf0\x84\xbe\x92\xa2\xb8\x1d\x02\xa8\x0e\xb4lh\xfbTC\xc4 = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[float32-rgba-new-bytearray-mode1-omp] ________________ dtype = dtype('float32'), itype = 'rgba', enout = 'new', deout = 'bytearray' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00:\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\xe80\x07\n\xcf\xf7\x87\xaf@0Y\xa8\x1b)\x01\x05\xa01z`9\x12\x83\xce`\xc2f\x00\x14\x06@\t\nl\xc4\xf0\xbb\x804h\xb2\x16 \xa0\xc8\xdd\xbd4\xa9\xe1\x89\xa6F\xf0\x0b\xb4\xbc\xa7\x7f\xc9\x89-\xab\xb1\x07:\xdc\x16D\xb2L\xec\xab\xd8d\xc4$0G\x0f\x83\xf3\xfb\xe7\xc4L\x18\x90\x1a\x8ca\x08\xf5\xa7\x02n\xab!\xeby\xe0=\xcd\x1a\x86J\xc3R!#\x7f\xd4\xfc\x10Q\xdf3\xc3e\x8a\xcd\xcf\xa95\x92\xe0m\x84\xa9\xfd\xaa*P\xea\x9b\x98\xaaQ\xb6D%\xafEL\x90\xd0\xcb\xb5\xe1\x80\xca\x96?R\x17\x13D\x88\xe3\x9b|U\xa5\x93\x14\xc0\x16\xf1R\x80`a\xb1\xfeN4\xb0K\x03\x92k\xa3\xcc\x9d\xb3\xff\xb0\x84\xa4\x0c0\xf3(d\x01\x08\x800\xa8\x1a\x90\xa5\xa4\x00-B\x80a\x80\x16-\xb8h\xe0\x07B\x11\x00\x05\x005\x86\xebQW.\xc0J\xd81\xd6\x81\x8d\x10A\xa0\xe8l\x02EV]\x87C\x80\x99!3Bb\xf6\xec`V<\\\x95N;\x8a\x06f\x1d\x8a\xb6\xf1-\xdc#\xda\\\x03\xe4\x08\x18\xf5\xf2\x06\xb9\x12\xda/C\xf6pP\xa9\xf1@\xc7\xeeFB,\x12RbC\x90\xc1W&\xbf\xc2\xfcf4\x1c\xa6`\x0b-\xc5\xc1\xe1e\xff\x12dr?\x13\x83>D\x15!\xb1\x9d\xf2\xa0\x8135\x94\x1e\x92\x8b5\xdd\xe7\xdd\x96\xa4\x98\xaa\x9d\x9dO\xe0\xa42\xde\xb8%0\x15&\x85a\t\x902`\x0cv\xeb\x9be\x87\x9a\x81\xdazQs\x81\x0b?\xc6\x02\xfc\x8e\xc2:\x01\x80\x81P\x04\r\x061...:\r\x83Wi\xcbDx3\xe3LW\xeex\xe4v%t\xfd\xd4\x01\x86A\xc2\xcf\xf5R\x01\xe8\x00(^\x80@\x06\xd4\x00\x18\x04\x12\xf4\x00B\x81\x12\x8fV@:\x04\xb4"1\t\x07[\xfa\xe0\x00U\x19\x0f\x9e-\xa35\x100\n\x0e\x8e\xc7r>4hC\x18\xf8\x1e7=Q\x8a$\xc2=\x0eD\xa2\xb1\xf2\x92\x11$U\x17\xddDw\x00\x17\xe4\xdb\xfcN\x18\xed\xfb\xf1\xbc\x8bG\xc1zM9\xed\xb9]UHs\x1d\x1ak\xd3~\x8a\xe9^\xb6=\xb6B9\x8d\x02\xb6\x95\\\xf9.\xed\'\x86E\xf6\xb2t-\xee%z\x9e\xda\xe2\xd3\xfc\xa27[\t@\xfb\xf5}\x94C[\xbfF\xf1\xf8e1\xc8\x17K\n\xae0*\xe1*\xb0\xc9\xd3]\xe1\x96\xf1\xd5\x9c\xdc\rQI\xbcI\xfb\x97n<\xc1\x14\x85\x05N\xe8p\xe3\x08$\x01\x02\x80\x00K?\x03\x00Q \x03 \x95\x84\xf4\xc0\n\x06b\xaa@5\xd6\x05f\x88\x02 C8\x98\xd4\x14\xc5\xa0\x02`\x04\xb5[\x88\x86\x0b\x90\x19h \xa4\xf5\xd3;\x88\xd8$adC\xa8KU\x1c\x10\xc7\x84\x00\xe4\xfa\x9a!\x82$&\xc2\x00\xa6v\xe8@\x17\xaax\xb5V]\xd3\xe8u\xbc6\xba\xd9vs\x9a\xd4\xbfT\xe4\xabO\xfa\xdaT\xa3\xf0E\x90\xb4\xf4\xf5\xa0vWU\x99\x03q\x14\xb5\xd9\xbe\xccm\x07_\x93\xaf\xe5\xe5y\xc4e\xd4\x14\xb8\xb2\x0e(E\xdf\xcf}.P\x16\xbb\x83n\xbeV\xb2\xf6M\xbeU0\xf7\xe6\xb1\xa9\\\xce\xadi\x81\xe6\x1c\xae\x96\xf0\x84\xbe\x92\xa2\xb8\x1d\x02\xa8\x0e\xb4lh\xfbTC\xc4 = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError __________________ test_zfp[float32-rgba-out-new-mode0-None] ___________________ dtype = dtype('float32'), itype = 'rgba', enout = 'out', deout = 'new' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00:\x05pfz\x00\x07e\xfd\x88\x00\x01\xf0 \x07`\x00\x8e@\x10(\x01\xc6 8\x000\xc0\x80\x1c\x03\x0e@\xc0\x0c\x02\x0f7\x80\xfc> @\x80g\xce\xfaH\xf8< \x13`\xc6\x1b\xc8\xe1\xd8\x06\xc9\x80\xe7>q\xfc\xc0\x8fH\xf0\x10,\x07\xe5\xf0\x89\xd7\xf1w-\x80\xd9p`\x1b\x9c0\xdd\x8f=L\xcb\xe4`\xb6<\x01\x05\xa1Z\xe1 \xb0\x19\xb78\xcd\xbaT\x9c/\t\xb0\xc0\xcd:\xc7.\x81\xd7\xc19\xcf\xc83oA\xd7\xf8\x05\xcb\x19\xb4n\xc0\x1d\xb6\x04\x12\x17\xa0\xb3\xbf\xcd\x8f\xfc\x80\xaav\xbe\x1f\xff\xf1\xc4Q\x15\xea\xb0\x06\xfc9%\xb8_\xd3\xc0O\xd5\xb18 \x1c\'M\xd6\xe6@\xe0\xb0\x15\xb4~\x00\x0e\xd3\xfa\xf8\x90\xdb\x90@\x0c\x00\x00\x02\x80\x00P\xd0\x01\x00\x82\x12P\x01\x80\x06]\xd2`\x01\x00\x80\xec)\n\rf@\x01\xc0\r\x9e!V\xc8hP \xc0\xc9\x9e^\xd4\xbf\x8cL\x80\xd6p\xd2\xe0:\x89\xba\x17P\xca\xbe\xff\x14\xa3JcP\x06\xbf`)\xdb\xd7\xdb~\x87\xb6)\x08f/&\xecp\xecb\x05\xe6\xe1\x03\xee\xf2\xc3\xc3t\xd1@\xe1\x01\n;\x0f3\xb4Y\x0f`\t\x1f\xd3;\xfek\xc6\xb0O\xcc\x12\x03z\xc1r1l`7\xb9\x1b~#\x8fxxvZo@B\x19\x99\x7f%\x9e\xb66\xdd\x10\xc8M\xa8\x8e6\xd8\x9c\xa4\xa6\x7fQN\xfd\xd9\xa5\xfc\xbc.Pu\xc8\x0e\x17\x00\x00\x00\x00?\x02\x96_\xd05\xb4\xfe\xdc\x90\x81\x00\x00@\x00@\n\x00\x00`N\x00\x08\x00\xa0\x00\xact"\x06\x08\xd0\x01\xc0Cy\\\xc7\x...\x00\x00@\xa0\x18\x19\x01\xc0A\xa8(\x01\xc0\x00\x92\x02\x85\x11\xf6\\\x00\x04,\x02\xe1\xcd\x08\xf4\x1c\x00\x81E\xbd\t\xb0\x89\x82e\xf0\xf2\x7f\xe0n\xe8\x8ea\xbf\xfe\xa3\xda\xdd\x85\x88\xae\x83S\xee\x19\x14\x1c\xbd\xc7\xee\xe0co\x9a\xd2\xa9P\x02R\xd2\xd1\xa3_\x07\x1d\xfa8<%\x82\xf3\xb94\xf3\xcd\xbbY\xee\xff3\xe2\xa0l\xf6\xfd\xc5\xe1V:\xa9i\x19g\xf1\xf8E\xaa\xc6+\xd6~\xcbo%\x1f\x8f\x1f,\x91\x94\x95\xc5:s\xe7\xd2:.&\x1d_[\x1d\xe5s\xa8g\x1bo\x902\'\x91h\x9f\x07\xef\xc2\xd6\xc4^\xdc<\x1b6s\x1b1\xa7\x1b\x04O\xcd)\x86\x87\xa4\xb2\xdb`\x02\x05\x00\x00\xed\xbf\xad\xa2 \x05\x00\x03\x00\xc0\x10\x08\x18 )\x00\x19\x00\x90\x00\x0e\x08\xa7A\x00\t\x00\x80\n\x1bV\x18\x00\x02\x80\x04\x06\xb5\x99\xd0\x00\x02\x00\'\x1f\xfd\x8b\xda\x91@\x884\xd5\xd17\xa6Q\xc2\xd2H\xe2v\xbbE\xe1\xf3\x00\x9d\x19)bz\xed\xffX\xe7\xe2\x80#\x81\xf6\x89\xca\x7f\xdb\xe3\x84\x00\xfc\x1a\xaer\xe2\xbfX\xcd\xf8\x8f8@\xa8\xea9\x1f\xe6\xf9\xfe\x054\xcaf\xe5\xf7\xbf\xec\xb9-dd\xd3\x86\x903&\xb7M,\x00\xc1\xb2\x13j9\xc8\x13\x85\xce\xaa\xee\x05\xfb\xc5\xaf\x89>\xdaC\xc6({\x16\xcer\x94\xde = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[float32-rgba-out-new-mode0-omp] ___________________ dtype = dtype('float32'), itype = 'rgba', enout = 'out', deout = 'new' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00:\x05pfz\x00\x07e\xfd\x88\x00\x01\xf0 \x07`\x00\x8e@\x10(\x01\xc6 8\x000\xc0\x80\x1c\x03\x0e@\xc0\x0c\x02\x0f7\x80\xfc> @\x80g\xce\xfaH\xf8< \x13`\xc6\x1b\xc8\xe1\xd8\x06\xc9\x80\xe7>q\xfc\xc0\x8fH\xf0\x10,\x07\xe5\xf0\x89\xd7\xf1w-\x80\xd9p`\x1b\x9c0\xdd\x8f=L\xcb\xe4`\xb6<\x01\x05\xa1Z\xe1 \xb0\x19\xb78\xcd\xbaT\x9c/\t\xb0\xc0\xcd:\xc7.\x81\xd7\xc19\xcf\xc83oA\xd7\xf8\x05\xcb\x19\xb4n\xc0\x1d\xb6\x04\x12\x17\xa0\xb3\xbf\xcd\x8f\xfc\x80\xaav\xbe\x1f\xff\xf1\xc4Q\x15\xea\xb0\x06\xfc9%\xb8_\xd3\xc0O\xd5\xb18 \x1c\'M\xd6\xe6@\xe0\xb0\x15\xb4~\x00\x0e\xd3\xfa\xf8\x90\xdb\x90@\x0c\x00\x00\x02\x80\x00P\xd0\x01\x00\x82\x12P\x01\x80\x06]\xd2`\x01\x00\x80\xec)\n\rf@\x01\xc0\r\x9e!V\xc8hP \xc0\xc9\x9e^\xd4\xbf\x8cL\x80\xd6p\xd2\xe0:\x89\xba\x17P\xca\xbe\xff\x14\xa3JcP\x06\xbf`)\xdb\xd7\xdb~\x87\xb6)\x08f/&\xecp\xecb\x05\xe6\xe1\x03\xee\xf2\xc3\xc3t\xd1@\xe1\x01\n;\x0f3\xb4Y\x0f`\t\x1f\xd3;\xfek\xc6\xb0O\xcc\x12\x03z\xc1r1l`7\xb9\x1b~#\x8fxxvZo@B\x19\x99\x7f%\x9e\xb66\xdd\x10\xc8M\xa8\x8e6\xd8\x9c\xa4\xa6\x7fQN\xfd\xd9\xa5\xfc\xbc.Pu\xc8\x0e\x17\x00\x00\x00\x00?\x02\x96_\xd05\xb4\xfe\xdc\x90\x81\x00\x00@\x00@\n\x00\x00`N\x00\x08\x00\xa0\x00\xact"\x06\x08\xd0\x01\xc0Cy\\\xc7\x...\x00\x00@\xa0\x18\x19\x01\xc0A\xa8(\x01\xc0\x00\x92\x02\x85\x11\xf6\\\x00\x04,\x02\xe1\xcd\x08\xf4\x1c\x00\x81E\xbd\t\xb0\x89\x82e\xf0\xf2\x7f\xe0n\xe8\x8ea\xbf\xfe\xa3\xda\xdd\x85\x88\xae\x83S\xee\x19\x14\x1c\xbd\xc7\xee\xe0co\x9a\xd2\xa9P\x02R\xd2\xd1\xa3_\x07\x1d\xfa8<%\x82\xf3\xb94\xf3\xcd\xbbY\xee\xff3\xe2\xa0l\xf6\xfd\xc5\xe1V:\xa9i\x19g\xf1\xf8E\xaa\xc6+\xd6~\xcbo%\x1f\x8f\x1f,\x91\x94\x95\xc5:s\xe7\xd2:.&\x1d_[\x1d\xe5s\xa8g\x1bo\x902\'\x91h\x9f\x07\xef\xc2\xd6\xc4^\xdc<\x1b6s\x1b1\xa7\x1b\x04O\xcd)\x86\x87\xa4\xb2\xdb`\x02\x05\x00\x00\xed\xbf\xad\xa2 \x05\x00\x03\x00\xc0\x10\x08\x18 )\x00\x19\x00\x90\x00\x0e\x08\xa7A\x00\t\x00\x80\n\x1bV\x18\x00\x02\x80\x04\x06\xb5\x99\xd0\x00\x02\x00\'\x1f\xfd\x8b\xda\x91@\x884\xd5\xd17\xa6Q\xc2\xd2H\xe2v\xbbE\xe1\xf3\x00\x9d\x19)bz\xed\xffX\xe7\xe2\x80#\x81\xf6\x89\xca\x7f\xdb\xe3\x84\x00\xfc\x1a\xaer\xe2\xbfX\xcd\xf8\x8f8@\xa8\xea9\x1f\xe6\xf9\xfe\x054\xcaf\xe5\xf7\xbf\xec\xb9-dd\xd3\x86\x903&\xb7M,\x00\xc1\xb2\x13j9\xc8\x13\x85\xce\xaa\xee\x05\xfb\xc5\xaf\x89>\xdaC\xc6({\x16\xcer\x94\xde = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError __________________ test_zfp[float32-rgba-out-new-mode1-None] ___________________ dtype = dtype('float32'), itype = 'rgba', enout = 'out', deout = 'new' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00:\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\xe80\x07\n\xcf\xf7\x87\xaf@0Y\xa8\x1b)\x01\x05\xa01z`9\x12\x83\xce`\xc2f\x00\x14\x06@\t\nl\xc4\xf0\xbb\x804h\xb2\x16 \xa0\xc8\xdd\xbd4\xa9\xe1\x89\xa6F\xf0\x0b\xb4\xbc\xa7\x7f\xc9\x89-\xab\xb1\x07:\xdc\x16D\xb2L\xec\xab\xd8d\xc4$0G\x0f\x83\xf3\xfb\xe7\xc4L\x18\x90\x1a\x8ca\x08\xf5\xa7\x02n\xab!\xeby\xe0=\xcd\x1a\x86J\xc3R!#\x7f\xd4\xfc\x10Q\xdf3\xc3e\x8a\xcd\xcf\xa95\x92\xe0m\x84\xa9\xfd\xaa*P\xea\x9b\x98\xaaQ\xb6D%\xafEL\x90\xd0\xcb\xb5\xe1\x80\xca\x96?R\x17\x13D\x88\xe3\x9b|U\xa5\x93\x14\xc0\x16\xf1R\x80`a\xb1\xfeN4\xb0K\x03\x92k\xa3\xcc\x9d\xb3\xff\xb0\x84\xa4\x0c0\xf3(d\x01\x08\x800\xa8\x1a\x90\xa5\xa4\x00-B\x80a\x80\x16-\xb8h\xe0\x07B\x11\x00\x05\x005\x86\xebQW.\xc0J\xd81\xd6\x81\x8d\x10A\xa0\xe8l\x02EV]\x87C\x80\x99!3Bb\xf6\xec`V<\\\x95N;\x8a\x06f\x1d\x8a\xb6\xf1-\xdc#\xda\\\x03\xe4\x08\x18\xf5\xf2\x06\xb9\x12\xda/C\xf6pP\xa9\xf1@\xc7\xeeFB,\x12RbC\x90\xc1W&\xbf\xc2\xfcf4\x1c\xa6`\x0b-\xc5\xc1\xe1e\xff\x12dr?\x13\x83>D\x15!\xb1\x9d\xf2\xa0\x8135\x94\x1e\x92\x8b5\xdd\xe7\xdd\x96\xa4\x98\xaa\x9d\x9dO\xe0\xa42\xde\xb8%0\x15&\x85a\t\x902`\x0cv\xeb\x9be\x87\x9a\x81\xdazQs\x81\x0b?\xc6\x02\xfc\x8e\xc2:\x01\x80\x81P\x04\r\x061...:\r\x83Wi\xcbDx3\xe3LW\xeex\xe4v%t\xfd\xd4\x01\x86A\xc2\xcf\xf5R\x01\xe8\x00(^\x80@\x06\xd4\x00\x18\x04\x12\xf4\x00B\x81\x12\x8fV@:\x04\xb4"1\t\x07[\xfa\xe0\x00U\x19\x0f\x9e-\xa35\x100\n\x0e\x8e\xc7r>4hC\x18\xf8\x1e7=Q\x8a$\xc2=\x0eD\xa2\xb1\xf2\x92\x11$U\x17\xddDw\x00\x17\xe4\xdb\xfcN\x18\xed\xfb\xf1\xbc\x8bG\xc1zM9\xed\xb9]UHs\x1d\x1ak\xd3~\x8a\xe9^\xb6=\xb6B9\x8d\x02\xb6\x95\\\xf9.\xed\'\x86E\xf6\xb2t-\xee%z\x9e\xda\xe2\xd3\xfc\xa27[\t@\xfb\xf5}\x94C[\xbfF\xf1\xf8e1\xc8\x17K\n\xae0*\xe1*\xb0\xc9\xd3]\xe1\x96\xf1\xd5\x9c\xdc\rQI\xbcI\xfb\x97n<\xc1\x14\x85\x05N\xe8p\xe3\x08$\x01\x02\x80\x00K?\x03\x00Q \x03 \x95\x84\xf4\xc0\n\x06b\xaa@5\xd6\x05f\x88\x02 C8\x98\xd4\x14\xc5\xa0\x02`\x04\xb5[\x88\x86\x0b\x90\x19h \xa4\xf5\xd3;\x88\xd8$adC\xa8KU\x1c\x10\xc7\x84\x00\xe4\xfa\x9a!\x82$&\xc2\x00\xa6v\xe8@\x17\xaax\xb5V]\xd3\xe8u\xbc6\xba\xd9vs\x9a\xd4\xbfT\xe4\xabO\xfa\xdaT\xa3\xf0E\x90\xb4\xf4\xf5\xa0vWU\x99\x03q\x14\xb5\xd9\xbe\xccm\x07_\x93\xaf\xe5\xe5y\xc4e\xd4\x14\xb8\xb2\x0e(E\xdf\xcf}.P\x16\xbb\x83n\xbeV\xb2\xf6M\xbeU0\xf7\xe6\xb1\xa9\\\xce\xadi\x81\xe6\x1c\xae\x96\xf0\x84\xbe\x92\xa2\xb8\x1d\x02\xa8\x0e\xb4lh\xfbTC\xc4 = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[float32-rgba-out-new-mode1-omp] ___________________ dtype = dtype('float32'), itype = 'rgba', enout = 'out', deout = 'new' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00:\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\xe80\x07\n\xcf\xf7\x87\xaf@0Y\xa8\x1b)\x01\x05\xa01z`9\x12\x83\xce`\xc2f\x00\x14\x06@\t\nl\xc4\xf0\xbb\x804h\xb2\x16 \xa0\xc8\xdd\xbd4\xa9\xe1\x89\xa6F\xf0\x0b\xb4\xbc\xa7\x7f\xc9\x89-\xab\xb1\x07:\xdc\x16D\xb2L\xec\xab\xd8d\xc4$0G\x0f\x83\xf3\xfb\xe7\xc4L\x18\x90\x1a\x8ca\x08\xf5\xa7\x02n\xab!\xeby\xe0=\xcd\x1a\x86J\xc3R!#\x7f\xd4\xfc\x10Q\xdf3\xc3e\x8a\xcd\xcf\xa95\x92\xe0m\x84\xa9\xfd\xaa*P\xea\x9b\x98\xaaQ\xb6D%\xafEL\x90\xd0\xcb\xb5\xe1\x80\xca\x96?R\x17\x13D\x88\xe3\x9b|U\xa5\x93\x14\xc0\x16\xf1R\x80`a\xb1\xfeN4\xb0K\x03\x92k\xa3\xcc\x9d\xb3\xff\xb0\x84\xa4\x0c0\xf3(d\x01\x08\x800\xa8\x1a\x90\xa5\xa4\x00-B\x80a\x80\x16-\xb8h\xe0\x07B\x11\x00\x05\x005\x86\xebQW.\xc0J\xd81\xd6\x81\x8d\x10A\xa0\xe8l\x02EV]\x87C\x80\x99!3Bb\xf6\xec`V<\\\x95N;\x8a\x06f\x1d\x8a\xb6\xf1-\xdc#\xda\\\x03\xe4\x08\x18\xf5\xf2\x06\xb9\x12\xda/C\xf6pP\xa9\xf1@\xc7\xeeFB,\x12RbC\x90\xc1W&\xbf\xc2\xfcf4\x1c\xa6`\x0b-\xc5\xc1\xe1e\xff\x12dr?\x13\x83>D\x15!\xb1\x9d\xf2\xa0\x8135\x94\x1e\x92\x8b5\xdd\xe7\xdd\x96\xa4\x98\xaa\x9d\x9dO\xe0\xa42\xde\xb8%0\x15&\x85a\t\x902`\x0cv\xeb\x9be\x87\x9a\x81\xdazQs\x81\x0b?\xc6\x02\xfc\x8e\xc2:\x01\x80\x81P\x04\r\x061...:\r\x83Wi\xcbDx3\xe3LW\xeex\xe4v%t\xfd\xd4\x01\x86A\xc2\xcf\xf5R\x01\xe8\x00(^\x80@\x06\xd4\x00\x18\x04\x12\xf4\x00B\x81\x12\x8fV@:\x04\xb4"1\t\x07[\xfa\xe0\x00U\x19\x0f\x9e-\xa35\x100\n\x0e\x8e\xc7r>4hC\x18\xf8\x1e7=Q\x8a$\xc2=\x0eD\xa2\xb1\xf2\x92\x11$U\x17\xddDw\x00\x17\xe4\xdb\xfcN\x18\xed\xfb\xf1\xbc\x8bG\xc1zM9\xed\xb9]UHs\x1d\x1ak\xd3~\x8a\xe9^\xb6=\xb6B9\x8d\x02\xb6\x95\\\xf9.\xed\'\x86E\xf6\xb2t-\xee%z\x9e\xda\xe2\xd3\xfc\xa27[\t@\xfb\xf5}\x94C[\xbfF\xf1\xf8e1\xc8\x17K\n\xae0*\xe1*\xb0\xc9\xd3]\xe1\x96\xf1\xd5\x9c\xdc\rQI\xbcI\xfb\x97n<\xc1\x14\x85\x05N\xe8p\xe3\x08$\x01\x02\x80\x00K?\x03\x00Q \x03 \x95\x84\xf4\xc0\n\x06b\xaa@5\xd6\x05f\x88\x02 C8\x98\xd4\x14\xc5\xa0\x02`\x04\xb5[\x88\x86\x0b\x90\x19h \xa4\xf5\xd3;\x88\xd8$adC\xa8KU\x1c\x10\xc7\x84\x00\xe4\xfa\x9a!\x82$&\xc2\x00\xa6v\xe8@\x17\xaax\xb5V]\xd3\xe8u\xbc6\xba\xd9vs\x9a\xd4\xbfT\xe4\xabO\xfa\xdaT\xa3\xf0E\x90\xb4\xf4\xf5\xa0vWU\x99\x03q\x14\xb5\xd9\xbe\xccm\x07_\x93\xaf\xe5\xe5y\xc4e\xd4\x14\xb8\xb2\x0e(E\xdf\xcf}.P\x16\xbb\x83n\xbeV\xb2\xf6M\xbeU0\xf7\xe6\xb1\xa9\\\xce\xadi\x81\xe6\x1c\xae\x96\xf0\x84\xbe\x92\xa2\xb8\x1d\x02\xa8\x0e\xb4lh\xfbTC\xc4 = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError __________________ test_zfp[float32-rgba-out-out-mode0-None] ___________________ dtype = dtype('float32'), itype = 'rgba', enout = 'out', deout = 'out' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00:\x05pfz\x00\x07e\xfd\x88\x00\x01\xf0 \x07`\x00\x8e@\x10(\x01\xc6 8\x000\xc0\x80\x1c\x03\x0e@\xc0\x0c\x02\x0f7\x80\xfc> @\x80g\xce\xfaH\xf8< \x13`\xc6\x1b\xc8\xe1\xd8\x06\xc9\x80\xe7>q\xfc\xc0\x8fH\xf0\x10,\x07\xe5\xf0\x89\xd7\xf1w-\x80\xd9p`\x1b\x9c0\xdd\x8f=L\xcb\xe4`\xb6<\x01\x05\xa1Z\xe1 \xb0\x19\xb78\xcd\xbaT\x9c/\t\xb0\xc0\xcd:\xc7.\x81\xd7\xc19\xcf\xc83oA\xd7\xf8\x05\xcb\x19\xb4n\xc0\x1d\xb6\x04\x12\x17\xa0\xb3\xbf\xcd\x8f\xfc\x80\xaav\xbe\x1f\xff\xf1\xc4Q\x15\xea\xb0\x06\xfc9%\xb8_\xd3\xc0O\xd5\xb18 \x1c\'M\xd6\xe6@\xe0\xb0\x15\xb4~\x00\x0e\xd3\xfa\xf8\x90\xdb\x90@\x0c\x00\x00\x02\x80\x00P\xd0\x01\x00\x82\x12P\x01\x80\x06]\xd2`\x01\x00\x80\xec)\n\rf@\x01\xc0\r\x9e!V\xc8hP \xc0\xc9\x9e^\xd4\xbf\x8cL\x80\xd6p\xd2\xe0:\x89\xba\x17P\xca\xbe\xff\x14\xa3JcP\x06\xbf`)\xdb\xd7\xdb~\x87\xb6)\x08f/&\xecp\xecb\x05\xe6\xe1\x03\xee\xf2\xc3\xc3t\xd1@\xe1\x01\n;\x0f3\xb4Y\x0f`\t\x1f\xd3;\xfek\xc6\xb0O\xcc\x12\x03z\xc1r1l`7\xb9\x1b~#\x8fxxvZo@B\x19\x99\x7f%\x9e\xb66\xdd\x10\xc8M\xa8\x8e6\xd8\x9c\xa4\xa6\x7fQN\xfd\xd9\xa5\xfc\xbc.Pu\xc8\x0e\x17\x00\x00\x00\x00?\x02\x96_\xd05\xb4\xfe\xdc\x90\x81\x00\x00@\x00@\n\x00\x00`N\x00\x08\x00\xa0\x00\xact"\x06\x08\xd0\x01\xc0Cy\\\xc7\x...\x00\x00@\xa0\x18\x19\x01\xc0A\xa8(\x01\xc0\x00\x92\x02\x85\x11\xf6\\\x00\x04,\x02\xe1\xcd\x08\xf4\x1c\x00\x81E\xbd\t\xb0\x89\x82e\xf0\xf2\x7f\xe0n\xe8\x8ea\xbf\xfe\xa3\xda\xdd\x85\x88\xae\x83S\xee\x19\x14\x1c\xbd\xc7\xee\xe0co\x9a\xd2\xa9P\x02R\xd2\xd1\xa3_\x07\x1d\xfa8<%\x82\xf3\xb94\xf3\xcd\xbbY\xee\xff3\xe2\xa0l\xf6\xfd\xc5\xe1V:\xa9i\x19g\xf1\xf8E\xaa\xc6+\xd6~\xcbo%\x1f\x8f\x1f,\x91\x94\x95\xc5:s\xe7\xd2:.&\x1d_[\x1d\xe5s\xa8g\x1bo\x902\'\x91h\x9f\x07\xef\xc2\xd6\xc4^\xdc<\x1b6s\x1b1\xa7\x1b\x04O\xcd)\x86\x87\xa4\xb2\xdb`\x02\x05\x00\x00\xed\xbf\xad\xa2 \x05\x00\x03\x00\xc0\x10\x08\x18 )\x00\x19\x00\x90\x00\x0e\x08\xa7A\x00\t\x00\x80\n\x1bV\x18\x00\x02\x80\x04\x06\xb5\x99\xd0\x00\x02\x00\'\x1f\xfd\x8b\xda\x91@\x884\xd5\xd17\xa6Q\xc2\xd2H\xe2v\xbbE\xe1\xf3\x00\x9d\x19)bz\xed\xffX\xe7\xe2\x80#\x81\xf6\x89\xca\x7f\xdb\xe3\x84\x00\xfc\x1a\xaer\xe2\xbfX\xcd\xf8\x8f8@\xa8\xea9\x1f\xe6\xf9\xfe\x054\xcaf\xe5\xf7\xbf\xec\xb9-dd\xd3\x86\x903&\xb7M,\x00\xc1\xb2\x13j9\xc8\x13\x85\xce\xaa\xee\x05\xfb\xc5\xaf\x89>\xdaC\xc6({\x16\xcer\x94\xde = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[float32-rgba-out-out-mode0-omp] ___________________ dtype = dtype('float32'), itype = 'rgba', enout = 'out', deout = 'out' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00:\x05pfz\x00\x07e\xfd\x88\x00\x01\xf0 \x07`\x00\x8e@\x10(\x01\xc6 8\x000\xc0\x80\x1c\x03\x0e@\xc0\x0c\x02\x0f7\x80\xfc> @\x80g\xce\xfaH\xf8< \x13`\xc6\x1b\xc8\xe1\xd8\x06\xc9\x80\xe7>q\xfc\xc0\x8fH\xf0\x10,\x07\xe5\xf0\x89\xd7\xf1w-\x80\xd9p`\x1b\x9c0\xdd\x8f=L\xcb\xe4`\xb6<\x01\x05\xa1Z\xe1 \xb0\x19\xb78\xcd\xbaT\x9c/\t\xb0\xc0\xcd:\xc7.\x81\xd7\xc19\xcf\xc83oA\xd7\xf8\x05\xcb\x19\xb4n\xc0\x1d\xb6\x04\x12\x17\xa0\xb3\xbf\xcd\x8f\xfc\x80\xaav\xbe\x1f\xff\xf1\xc4Q\x15\xea\xb0\x06\xfc9%\xb8_\xd3\xc0O\xd5\xb18 \x1c\'M\xd6\xe6@\xe0\xb0\x15\xb4~\x00\x0e\xd3\xfa\xf8\x90\xdb\x90@\x0c\x00\x00\x02\x80\x00P\xd0\x01\x00\x82\x12P\x01\x80\x06]\xd2`\x01\x00\x80\xec)\n\rf@\x01\xc0\r\x9e!V\xc8hP \xc0\xc9\x9e^\xd4\xbf\x8cL\x80\xd6p\xd2\xe0:\x89\xba\x17P\xca\xbe\xff\x14\xa3JcP\x06\xbf`)\xdb\xd7\xdb~\x87\xb6)\x08f/&\xecp\xecb\x05\xe6\xe1\x03\xee\xf2\xc3\xc3t\xd1@\xe1\x01\n;\x0f3\xb4Y\x0f`\t\x1f\xd3;\xfek\xc6\xb0O\xcc\x12\x03z\xc1r1l`7\xb9\x1b~#\x8fxxvZo@B\x19\x99\x7f%\x9e\xb66\xdd\x10\xc8M\xa8\x8e6\xd8\x9c\xa4\xa6\x7fQN\xfd\xd9\xa5\xfc\xbc.Pu\xc8\x0e\x17\x00\x00\x00\x00?\x02\x96_\xd05\xb4\xfe\xdc\x90\x81\x00\x00@\x00@\n\x00\x00`N\x00\x08\x00\xa0\x00\xact"\x06\x08\xd0\x01\xc0Cy\\\xc7\x...\x00\x00@\xa0\x18\x19\x01\xc0A\xa8(\x01\xc0\x00\x92\x02\x85\x11\xf6\\\x00\x04,\x02\xe1\xcd\x08\xf4\x1c\x00\x81E\xbd\t\xb0\x89\x82e\xf0\xf2\x7f\xe0n\xe8\x8ea\xbf\xfe\xa3\xda\xdd\x85\x88\xae\x83S\xee\x19\x14\x1c\xbd\xc7\xee\xe0co\x9a\xd2\xa9P\x02R\xd2\xd1\xa3_\x07\x1d\xfa8<%\x82\xf3\xb94\xf3\xcd\xbbY\xee\xff3\xe2\xa0l\xf6\xfd\xc5\xe1V:\xa9i\x19g\xf1\xf8E\xaa\xc6+\xd6~\xcbo%\x1f\x8f\x1f,\x91\x94\x95\xc5:s\xe7\xd2:.&\x1d_[\x1d\xe5s\xa8g\x1bo\x902\'\x91h\x9f\x07\xef\xc2\xd6\xc4^\xdc<\x1b6s\x1b1\xa7\x1b\x04O\xcd)\x86\x87\xa4\xb2\xdb`\x02\x05\x00\x00\xed\xbf\xad\xa2 \x05\x00\x03\x00\xc0\x10\x08\x18 )\x00\x19\x00\x90\x00\x0e\x08\xa7A\x00\t\x00\x80\n\x1bV\x18\x00\x02\x80\x04\x06\xb5\x99\xd0\x00\x02\x00\'\x1f\xfd\x8b\xda\x91@\x884\xd5\xd17\xa6Q\xc2\xd2H\xe2v\xbbE\xe1\xf3\x00\x9d\x19)bz\xed\xffX\xe7\xe2\x80#\x81\xf6\x89\xca\x7f\xdb\xe3\x84\x00\xfc\x1a\xaer\xe2\xbfX\xcd\xf8\x8f8@\xa8\xea9\x1f\xe6\xf9\xfe\x054\xcaf\xe5\xf7\xbf\xec\xb9-dd\xd3\x86\x903&\xb7M,\x00\xc1\xb2\x13j9\xc8\x13\x85\xce\xaa\xee\x05\xfb\xc5\xaf\x89>\xdaC\xc6({\x16\xcer\x94\xde = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError __________________ test_zfp[float32-rgba-out-out-mode1-None] ___________________ dtype = dtype('float32'), itype = 'rgba', enout = 'out', deout = 'out' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00:\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\xe80\x07\n\xcf\xf7\x87\xaf@0Y\xa8\x1b)\x01\x05\xa01z`9\x12\x83\xce`\xc2f\x00\x14\x06@\t\nl\xc4\xf0\xbb\x804h\xb2\x16 \xa0\xc8\xdd\xbd4\xa9\xe1\x89\xa6F\xf0\x0b\xb4\xbc\xa7\x7f\xc9\x89-\xab\xb1\x07:\xdc\x16D\xb2L\xec\xab\xd8d\xc4$0G\x0f\x83\xf3\xfb\xe7\xc4L\x18\x90\x1a\x8ca\x08\xf5\xa7\x02n\xab!\xeby\xe0=\xcd\x1a\x86J\xc3R!#\x7f\xd4\xfc\x10Q\xdf3\xc3e\x8a\xcd\xcf\xa95\x92\xe0m\x84\xa9\xfd\xaa*P\xea\x9b\x98\xaaQ\xb6D%\xafEL\x90\xd0\xcb\xb5\xe1\x80\xca\x96?R\x17\x13D\x88\xe3\x9b|U\xa5\x93\x14\xc0\x16\xf1R\x80`a\xb1\xfeN4\xb0K\x03\x92k\xa3\xcc\x9d\xb3\xff\xb0\x84\xa4\x0c0\xf3(d\x01\x08\x800\xa8\x1a\x90\xa5\xa4\x00-B\x80a\x80\x16-\xb8h\xe0\x07B\x11\x00\x05\x005\x86\xebQW.\xc0J\xd81\xd6\x81\x8d\x10A\xa0\xe8l\x02EV]\x87C\x80\x99!3Bb\xf6\xec`V<\\\x95N;\x8a\x06f\x1d\x8a\xb6\xf1-\xdc#\xda\\\x03\xe4\x08\x18\xf5\xf2\x06\xb9\x12\xda/C\xf6pP\xa9\xf1@\xc7\xeeFB,\x12RbC\x90\xc1W&\xbf\xc2\xfcf4\x1c\xa6`\x0b-\xc5\xc1\xe1e\xff\x12dr?\x13\x83>D\x15!\xb1\x9d\xf2\xa0\x8135\x94\x1e\x92\x8b5\xdd\xe7\xdd\x96\xa4\x98\xaa\x9d\x9dO\xe0\xa42\xde\xb8%0\x15&\x85a\t\x902`\x0cv\xeb\x9be\x87\x9a\x81\xdazQs\x81\x0b?\xc6\x02\xfc\x8e\xc2:\x01\x80\x81P\x04\r\x061...:\r\x83Wi\xcbDx3\xe3LW\xeex\xe4v%t\xfd\xd4\x01\x86A\xc2\xcf\xf5R\x01\xe8\x00(^\x80@\x06\xd4\x00\x18\x04\x12\xf4\x00B\x81\x12\x8fV@:\x04\xb4"1\t\x07[\xfa\xe0\x00U\x19\x0f\x9e-\xa35\x100\n\x0e\x8e\xc7r>4hC\x18\xf8\x1e7=Q\x8a$\xc2=\x0eD\xa2\xb1\xf2\x92\x11$U\x17\xddDw\x00\x17\xe4\xdb\xfcN\x18\xed\xfb\xf1\xbc\x8bG\xc1zM9\xed\xb9]UHs\x1d\x1ak\xd3~\x8a\xe9^\xb6=\xb6B9\x8d\x02\xb6\x95\\\xf9.\xed\'\x86E\xf6\xb2t-\xee%z\x9e\xda\xe2\xd3\xfc\xa27[\t@\xfb\xf5}\x94C[\xbfF\xf1\xf8e1\xc8\x17K\n\xae0*\xe1*\xb0\xc9\xd3]\xe1\x96\xf1\xd5\x9c\xdc\rQI\xbcI\xfb\x97n<\xc1\x14\x85\x05N\xe8p\xe3\x08$\x01\x02\x80\x00K?\x03\x00Q \x03 \x95\x84\xf4\xc0\n\x06b\xaa@5\xd6\x05f\x88\x02 C8\x98\xd4\x14\xc5\xa0\x02`\x04\xb5[\x88\x86\x0b\x90\x19h \xa4\xf5\xd3;\x88\xd8$adC\xa8KU\x1c\x10\xc7\x84\x00\xe4\xfa\x9a!\x82$&\xc2\x00\xa6v\xe8@\x17\xaax\xb5V]\xd3\xe8u\xbc6\xba\xd9vs\x9a\xd4\xbfT\xe4\xabO\xfa\xdaT\xa3\xf0E\x90\xb4\xf4\xf5\xa0vWU\x99\x03q\x14\xb5\xd9\xbe\xccm\x07_\x93\xaf\xe5\xe5y\xc4e\xd4\x14\xb8\xb2\x0e(E\xdf\xcf}.P\x16\xbb\x83n\xbeV\xb2\xf6M\xbeU0\xf7\xe6\xb1\xa9\\\xce\xadi\x81\xe6\x1c\xae\x96\xf0\x84\xbe\x92\xa2\xb8\x1d\x02\xa8\x0e\xb4lh\xfbTC\xc4 = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[float32-rgba-out-out-mode1-omp] ___________________ dtype = dtype('float32'), itype = 'rgba', enout = 'out', deout = 'out' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00:\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\xe80\x07\n\xcf\xf7\x87\xaf@0Y\xa8\x1b)\x01\x05\xa01z`9\x12\x83\xce`\xc2f\x00\x14\x06@\t\nl\xc4\xf0\xbb\x804h\xb2\x16 \xa0\xc8\xdd\xbd4\xa9\xe1\x89\xa6F\xf0\x0b\xb4\xbc\xa7\x7f\xc9\x89-\xab\xb1\x07:\xdc\x16D\xb2L\xec\xab\xd8d\xc4$0G\x0f\x83\xf3\xfb\xe7\xc4L\x18\x90\x1a\x8ca\x08\xf5\xa7\x02n\xab!\xeby\xe0=\xcd\x1a\x86J\xc3R!#\x7f\xd4\xfc\x10Q\xdf3\xc3e\x8a\xcd\xcf\xa95\x92\xe0m\x84\xa9\xfd\xaa*P\xea\x9b\x98\xaaQ\xb6D%\xafEL\x90\xd0\xcb\xb5\xe1\x80\xca\x96?R\x17\x13D\x88\xe3\x9b|U\xa5\x93\x14\xc0\x16\xf1R\x80`a\xb1\xfeN4\xb0K\x03\x92k\xa3\xcc\x9d\xb3\xff\xb0\x84\xa4\x0c0\xf3(d\x01\x08\x800\xa8\x1a\x90\xa5\xa4\x00-B\x80a\x80\x16-\xb8h\xe0\x07B\x11\x00\x05\x005\x86\xebQW.\xc0J\xd81\xd6\x81\x8d\x10A\xa0\xe8l\x02EV]\x87C\x80\x99!3Bb\xf6\xec`V<\\\x95N;\x8a\x06f\x1d\x8a\xb6\xf1-\xdc#\xda\\\x03\xe4\x08\x18\xf5\xf2\x06\xb9\x12\xda/C\xf6pP\xa9\xf1@\xc7\xeeFB,\x12RbC\x90\xc1W&\xbf\xc2\xfcf4\x1c\xa6`\x0b-\xc5\xc1\xe1e\xff\x12dr?\x13\x83>D\x15!\xb1\x9d\xf2\xa0\x8135\x94\x1e\x92\x8b5\xdd\xe7\xdd\x96\xa4\x98\xaa\x9d\x9dO\xe0\xa42\xde\xb8%0\x15&\x85a\t\x902`\x0cv\xeb\x9be\x87\x9a\x81\xdazQs\x81\x0b?\xc6\x02\xfc\x8e\xc2:\x01\x80\x81P\x04\r\x061...:\r\x83Wi\xcbDx3\xe3LW\xeex\xe4v%t\xfd\xd4\x01\x86A\xc2\xcf\xf5R\x01\xe8\x00(^\x80@\x06\xd4\x00\x18\x04\x12\xf4\x00B\x81\x12\x8fV@:\x04\xb4"1\t\x07[\xfa\xe0\x00U\x19\x0f\x9e-\xa35\x100\n\x0e\x8e\xc7r>4hC\x18\xf8\x1e7=Q\x8a$\xc2=\x0eD\xa2\xb1\xf2\x92\x11$U\x17\xddDw\x00\x17\xe4\xdb\xfcN\x18\xed\xfb\xf1\xbc\x8bG\xc1zM9\xed\xb9]UHs\x1d\x1ak\xd3~\x8a\xe9^\xb6=\xb6B9\x8d\x02\xb6\x95\\\xf9.\xed\'\x86E\xf6\xb2t-\xee%z\x9e\xda\xe2\xd3\xfc\xa27[\t@\xfb\xf5}\x94C[\xbfF\xf1\xf8e1\xc8\x17K\n\xae0*\xe1*\xb0\xc9\xd3]\xe1\x96\xf1\xd5\x9c\xdc\rQI\xbcI\xfb\x97n<\xc1\x14\x85\x05N\xe8p\xe3\x08$\x01\x02\x80\x00K?\x03\x00Q \x03 \x95\x84\xf4\xc0\n\x06b\xaa@5\xd6\x05f\x88\x02 C8\x98\xd4\x14\xc5\xa0\x02`\x04\xb5[\x88\x86\x0b\x90\x19h \xa4\xf5\xd3;\x88\xd8$adC\xa8KU\x1c\x10\xc7\x84\x00\xe4\xfa\x9a!\x82$&\xc2\x00\xa6v\xe8@\x17\xaax\xb5V]\xd3\xe8u\xbc6\xba\xd9vs\x9a\xd4\xbfT\xe4\xabO\xfa\xdaT\xa3\xf0E\x90\xb4\xf4\xf5\xa0vWU\x99\x03q\x14\xb5\xd9\xbe\xccm\x07_\x93\xaf\xe5\xe5y\xc4e\xd4\x14\xb8\xb2\x0e(E\xdf\xcf}.P\x16\xbb\x83n\xbeV\xb2\xf6M\xbeU0\xf7\xe6\xb1\xa9\\\xce\xadi\x81\xe6\x1c\xae\x96\xf0\x84\xbe\x92\xa2\xb8\x1d\x02\xa8\x0e\xb4lh\xfbTC\xc4 = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _______________ test_zfp[float32-rgba-out-bytearray-mode0-None] ________________ dtype = dtype('float32'), itype = 'rgba', enout = 'out', deout = 'bytearray' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00:\x05pfz\x00\x07e\xfd\x88\x00\x01\xf0 \x07`\x00\x8e@\x10(\x01\xc6 8\x000\xc0\x80\x1c\x03\x0e@\xc0\x0c\x02\x0f7\x80\xfc> @\x80g\xce\xfaH\xf8< \x13`\xc6\x1b\xc8\xe1\xd8\x06\xc9\x80\xe7>q\xfc\xc0\x8fH\xf0\x10,\x07\xe5\xf0\x89\xd7\xf1w-\x80\xd9p`\x1b\x9c0\xdd\x8f=L\xcb\xe4`\xb6<\x01\x05\xa1Z\xe1 \xb0\x19\xb78\xcd\xbaT\x9c/\t\xb0\xc0\xcd:\xc7.\x81\xd7\xc19\xcf\xc83oA\xd7\xf8\x05\xcb\x19\xb4n\xc0\x1d\xb6\x04\x12\x17\xa0\xb3\xbf\xcd\x8f\xfc\x80\xaav\xbe\x1f\xff\xf1\xc4Q\x15\xea\xb0\x06\xfc9%\xb8_\xd3\xc0O\xd5\xb18 \x1c\'M\xd6\xe6@\xe0\xb0\x15\xb4~\x00\x0e\xd3\xfa\xf8\x90\xdb\x90@\x0c\x00\x00\x02\x80\x00P\xd0\x01\x00\x82\x12P\x01\x80\x06]\xd2`\x01\x00\x80\xec)\n\rf@\x01\xc0\r\x9e!V\xc8hP \xc0\xc9\x9e^\xd4\xbf\x8cL\x80\xd6p\xd2\xe0:\x89\xba\x17P\xca\xbe\xff\x14\xa3JcP\x06\xbf`)\xdb\xd7\xdb~\x87\xb6)\x08f/&\xecp\xecb\x05\xe6\xe1\x03\xee\xf2\xc3\xc3t\xd1@\xe1\x01\n;\x0f3\xb4Y\x0f`\t\x1f\xd3;\xfek\xc6\xb0O\xcc\x12\x03z\xc1r1l`7\xb9\x1b~#\x8fxxvZo@B\x19\x99\x7f%\x9e\xb66\xdd\x10\xc8M\xa8\x8e6\xd8\x9c\xa4\xa6\x7fQN\xfd\xd9\xa5\xfc\xbc.Pu\xc8\x0e\x17\x00\x00\x00\x00?\x02\x96_\xd05\xb4\xfe\xdc\x90\x81\x00\x00@\x00@\n\x00\x00`N\x00\x08\x00\xa0\x00\xact"\x06\x08\xd0\x01\xc0Cy\\\xc7\x...\x00\x00@\xa0\x18\x19\x01\xc0A\xa8(\x01\xc0\x00\x92\x02\x85\x11\xf6\\\x00\x04,\x02\xe1\xcd\x08\xf4\x1c\x00\x81E\xbd\t\xb0\x89\x82e\xf0\xf2\x7f\xe0n\xe8\x8ea\xbf\xfe\xa3\xda\xdd\x85\x88\xae\x83S\xee\x19\x14\x1c\xbd\xc7\xee\xe0co\x9a\xd2\xa9P\x02R\xd2\xd1\xa3_\x07\x1d\xfa8<%\x82\xf3\xb94\xf3\xcd\xbbY\xee\xff3\xe2\xa0l\xf6\xfd\xc5\xe1V:\xa9i\x19g\xf1\xf8E\xaa\xc6+\xd6~\xcbo%\x1f\x8f\x1f,\x91\x94\x95\xc5:s\xe7\xd2:.&\x1d_[\x1d\xe5s\xa8g\x1bo\x902\'\x91h\x9f\x07\xef\xc2\xd6\xc4^\xdc<\x1b6s\x1b1\xa7\x1b\x04O\xcd)\x86\x87\xa4\xb2\xdb`\x02\x05\x00\x00\xed\xbf\xad\xa2 \x05\x00\x03\x00\xc0\x10\x08\x18 )\x00\x19\x00\x90\x00\x0e\x08\xa7A\x00\t\x00\x80\n\x1bV\x18\x00\x02\x80\x04\x06\xb5\x99\xd0\x00\x02\x00\'\x1f\xfd\x8b\xda\x91@\x884\xd5\xd17\xa6Q\xc2\xd2H\xe2v\xbbE\xe1\xf3\x00\x9d\x19)bz\xed\xffX\xe7\xe2\x80#\x81\xf6\x89\xca\x7f\xdb\xe3\x84\x00\xfc\x1a\xaer\xe2\xbfX\xcd\xf8\x8f8@\xa8\xea9\x1f\xe6\xf9\xfe\x054\xcaf\xe5\xf7\xbf\xec\xb9-dd\xd3\x86\x903&\xb7M,\x00\xc1\xb2\x13j9\xc8\x13\x85\xce\xaa\xee\x05\xfb\xc5\xaf\x89>\xdaC\xc6({\x16\xcer\x94\xde = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[float32-rgba-out-bytearray-mode0-omp] ________________ dtype = dtype('float32'), itype = 'rgba', enout = 'out', deout = 'bytearray' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00:\x05pfz\x00\x07e\xfd\x88\x00\x01\xf0 \x07`\x00\x8e@\x10(\x01\xc6 8\x000\xc0\x80\x1c\x03\x0e@\xc0\x0c\x02\x0f7\x80\xfc> @\x80g\xce\xfaH\xf8< \x13`\xc6\x1b\xc8\xe1\xd8\x06\xc9\x80\xe7>q\xfc\xc0\x8fH\xf0\x10,\x07\xe5\xf0\x89\xd7\xf1w-\x80\xd9p`\x1b\x9c0\xdd\x8f=L\xcb\xe4`\xb6<\x01\x05\xa1Z\xe1 \xb0\x19\xb78\xcd\xbaT\x9c/\t\xb0\xc0\xcd:\xc7.\x81\xd7\xc19\xcf\xc83oA\xd7\xf8\x05\xcb\x19\xb4n\xc0\x1d\xb6\x04\x12\x17\xa0\xb3\xbf\xcd\x8f\xfc\x80\xaav\xbe\x1f\xff\xf1\xc4Q\x15\xea\xb0\x06\xfc9%\xb8_\xd3\xc0O\xd5\xb18 \x1c\'M\xd6\xe6@\xe0\xb0\x15\xb4~\x00\x0e\xd3\xfa\xf8\x90\xdb\x90@\x0c\x00\x00\x02\x80\x00P\xd0\x01\x00\x82\x12P\x01\x80\x06]\xd2`\x01\x00\x80\xec)\n\rf@\x01\xc0\r\x9e!V\xc8hP \xc0\xc9\x9e^\xd4\xbf\x8cL\x80\xd6p\xd2\xe0:\x89\xba\x17P\xca\xbe\xff\x14\xa3JcP\x06\xbf`)\xdb\xd7\xdb~\x87\xb6)\x08f/&\xecp\xecb\x05\xe6\xe1\x03\xee\xf2\xc3\xc3t\xd1@\xe1\x01\n;\x0f3\xb4Y\x0f`\t\x1f\xd3;\xfek\xc6\xb0O\xcc\x12\x03z\xc1r1l`7\xb9\x1b~#\x8fxxvZo@B\x19\x99\x7f%\x9e\xb66\xdd\x10\xc8M\xa8\x8e6\xd8\x9c\xa4\xa6\x7fQN\xfd\xd9\xa5\xfc\xbc.Pu\xc8\x0e\x17\x00\x00\x00\x00?\x02\x96_\xd05\xb4\xfe\xdc\x90\x81\x00\x00@\x00@\n\x00\x00`N\x00\x08\x00\xa0\x00\xact"\x06\x08\xd0\x01\xc0Cy\\\xc7\x...\x00\x00@\xa0\x18\x19\x01\xc0A\xa8(\x01\xc0\x00\x92\x02\x85\x11\xf6\\\x00\x04,\x02\xe1\xcd\x08\xf4\x1c\x00\x81E\xbd\t\xb0\x89\x82e\xf0\xf2\x7f\xe0n\xe8\x8ea\xbf\xfe\xa3\xda\xdd\x85\x88\xae\x83S\xee\x19\x14\x1c\xbd\xc7\xee\xe0co\x9a\xd2\xa9P\x02R\xd2\xd1\xa3_\x07\x1d\xfa8<%\x82\xf3\xb94\xf3\xcd\xbbY\xee\xff3\xe2\xa0l\xf6\xfd\xc5\xe1V:\xa9i\x19g\xf1\xf8E\xaa\xc6+\xd6~\xcbo%\x1f\x8f\x1f,\x91\x94\x95\xc5:s\xe7\xd2:.&\x1d_[\x1d\xe5s\xa8g\x1bo\x902\'\x91h\x9f\x07\xef\xc2\xd6\xc4^\xdc<\x1b6s\x1b1\xa7\x1b\x04O\xcd)\x86\x87\xa4\xb2\xdb`\x02\x05\x00\x00\xed\xbf\xad\xa2 \x05\x00\x03\x00\xc0\x10\x08\x18 )\x00\x19\x00\x90\x00\x0e\x08\xa7A\x00\t\x00\x80\n\x1bV\x18\x00\x02\x80\x04\x06\xb5\x99\xd0\x00\x02\x00\'\x1f\xfd\x8b\xda\x91@\x884\xd5\xd17\xa6Q\xc2\xd2H\xe2v\xbbE\xe1\xf3\x00\x9d\x19)bz\xed\xffX\xe7\xe2\x80#\x81\xf6\x89\xca\x7f\xdb\xe3\x84\x00\xfc\x1a\xaer\xe2\xbfX\xcd\xf8\x8f8@\xa8\xea9\x1f\xe6\xf9\xfe\x054\xcaf\xe5\xf7\xbf\xec\xb9-dd\xd3\x86\x903&\xb7M,\x00\xc1\xb2\x13j9\xc8\x13\x85\xce\xaa\xee\x05\xfb\xc5\xaf\x89>\xdaC\xc6({\x16\xcer\x94\xde = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _______________ test_zfp[float32-rgba-out-bytearray-mode1-None] ________________ dtype = dtype('float32'), itype = 'rgba', enout = 'out', deout = 'bytearray' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00:\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\xe80\x07\n\xcf\xf7\x87\xaf@0Y\xa8\x1b)\x01\x05\xa01z`9\x12\x83\xce`\xc2f\x00\x14\x06@\t\nl\xc4\xf0\xbb\x804h\xb2\x16 \xa0\xc8\xdd\xbd4\xa9\xe1\x89\xa6F\xf0\x0b\xb4\xbc\xa7\x7f\xc9\x89-\xab\xb1\x07:\xdc\x16D\xb2L\xec\xab\xd8d\xc4$0G\x0f\x83\xf3\xfb\xe7\xc4L\x18\x90\x1a\x8ca\x08\xf5\xa7\x02n\xab!\xeby\xe0=\xcd\x1a\x86J\xc3R!#\x7f\xd4\xfc\x10Q\xdf3\xc3e\x8a\xcd\xcf\xa95\x92\xe0m\x84\xa9\xfd\xaa*P\xea\x9b\x98\xaaQ\xb6D%\xafEL\x90\xd0\xcb\xb5\xe1\x80\xca\x96?R\x17\x13D\x88\xe3\x9b|U\xa5\x93\x14\xc0\x16\xf1R\x80`a\xb1\xfeN4\xb0K\x03\x92k\xa3\xcc\x9d\xb3\xff\xb0\x84\xa4\x0c0\xf3(d\x01\x08\x800\xa8\x1a\x90\xa5\xa4\x00-B\x80a\x80\x16-\xb8h\xe0\x07B\x11\x00\x05\x005\x86\xebQW.\xc0J\xd81\xd6\x81\x8d\x10A\xa0\xe8l\x02EV]\x87C\x80\x99!3Bb\xf6\xec`V<\\\x95N;\x8a\x06f\x1d\x8a\xb6\xf1-\xdc#\xda\\\x03\xe4\x08\x18\xf5\xf2\x06\xb9\x12\xda/C\xf6pP\xa9\xf1@\xc7\xeeFB,\x12RbC\x90\xc1W&\xbf\xc2\xfcf4\x1c\xa6`\x0b-\xc5\xc1\xe1e\xff\x12dr?\x13\x83>D\x15!\xb1\x9d\xf2\xa0\x8135\x94\x1e\x92\x8b5\xdd\xe7\xdd\x96\xa4\x98\xaa\x9d\x9dO\xe0\xa42\xde\xb8%0\x15&\x85a\t\x902`\x0cv\xeb\x9be\x87\x9a\x81\xdazQs\x81\x0b?\xc6\x02\xfc\x8e\xc2:\x01\x80\x81P\x04\r\x061...:\r\x83Wi\xcbDx3\xe3LW\xeex\xe4v%t\xfd\xd4\x01\x86A\xc2\xcf\xf5R\x01\xe8\x00(^\x80@\x06\xd4\x00\x18\x04\x12\xf4\x00B\x81\x12\x8fV@:\x04\xb4"1\t\x07[\xfa\xe0\x00U\x19\x0f\x9e-\xa35\x100\n\x0e\x8e\xc7r>4hC\x18\xf8\x1e7=Q\x8a$\xc2=\x0eD\xa2\xb1\xf2\x92\x11$U\x17\xddDw\x00\x17\xe4\xdb\xfcN\x18\xed\xfb\xf1\xbc\x8bG\xc1zM9\xed\xb9]UHs\x1d\x1ak\xd3~\x8a\xe9^\xb6=\xb6B9\x8d\x02\xb6\x95\\\xf9.\xed\'\x86E\xf6\xb2t-\xee%z\x9e\xda\xe2\xd3\xfc\xa27[\t@\xfb\xf5}\x94C[\xbfF\xf1\xf8e1\xc8\x17K\n\xae0*\xe1*\xb0\xc9\xd3]\xe1\x96\xf1\xd5\x9c\xdc\rQI\xbcI\xfb\x97n<\xc1\x14\x85\x05N\xe8p\xe3\x08$\x01\x02\x80\x00K?\x03\x00Q \x03 \x95\x84\xf4\xc0\n\x06b\xaa@5\xd6\x05f\x88\x02 C8\x98\xd4\x14\xc5\xa0\x02`\x04\xb5[\x88\x86\x0b\x90\x19h \xa4\xf5\xd3;\x88\xd8$adC\xa8KU\x1c\x10\xc7\x84\x00\xe4\xfa\x9a!\x82$&\xc2\x00\xa6v\xe8@\x17\xaax\xb5V]\xd3\xe8u\xbc6\xba\xd9vs\x9a\xd4\xbfT\xe4\xabO\xfa\xdaT\xa3\xf0E\x90\xb4\xf4\xf5\xa0vWU\x99\x03q\x14\xb5\xd9\xbe\xccm\x07_\x93\xaf\xe5\xe5y\xc4e\xd4\x14\xb8\xb2\x0e(E\xdf\xcf}.P\x16\xbb\x83n\xbeV\xb2\xf6M\xbeU0\xf7\xe6\xb1\xa9\\\xce\xadi\x81\xe6\x1c\xae\x96\xf0\x84\xbe\x92\xa2\xb8\x1d\x02\xa8\x0e\xb4lh\xfbTC\xc4 = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[float32-rgba-out-bytearray-mode1-omp] ________________ dtype = dtype('float32'), itype = 'rgba', enout = 'out', deout = 'bytearray' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00:\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\xe80\x07\n\xcf\xf7\x87\xaf@0Y\xa8\x1b)\x01\x05\xa01z`9\x12\x83\xce`\xc2f\x00\x14\x06@\t\nl\xc4\xf0\xbb\x804h\xb2\x16 \xa0\xc8\xdd\xbd4\xa9\xe1\x89\xa6F\xf0\x0b\xb4\xbc\xa7\x7f\xc9\x89-\xab\xb1\x07:\xdc\x16D\xb2L\xec\xab\xd8d\xc4$0G\x0f\x83\xf3\xfb\xe7\xc4L\x18\x90\x1a\x8ca\x08\xf5\xa7\x02n\xab!\xeby\xe0=\xcd\x1a\x86J\xc3R!#\x7f\xd4\xfc\x10Q\xdf3\xc3e\x8a\xcd\xcf\xa95\x92\xe0m\x84\xa9\xfd\xaa*P\xea\x9b\x98\xaaQ\xb6D%\xafEL\x90\xd0\xcb\xb5\xe1\x80\xca\x96?R\x17\x13D\x88\xe3\x9b|U\xa5\x93\x14\xc0\x16\xf1R\x80`a\xb1\xfeN4\xb0K\x03\x92k\xa3\xcc\x9d\xb3\xff\xb0\x84\xa4\x0c0\xf3(d\x01\x08\x800\xa8\x1a\x90\xa5\xa4\x00-B\x80a\x80\x16-\xb8h\xe0\x07B\x11\x00\x05\x005\x86\xebQW.\xc0J\xd81\xd6\x81\x8d\x10A\xa0\xe8l\x02EV]\x87C\x80\x99!3Bb\xf6\xec`V<\\\x95N;\x8a\x06f\x1d\x8a\xb6\xf1-\xdc#\xda\\\x03\xe4\x08\x18\xf5\xf2\x06\xb9\x12\xda/C\xf6pP\xa9\xf1@\xc7\xeeFB,\x12RbC\x90\xc1W&\xbf\xc2\xfcf4\x1c\xa6`\x0b-\xc5\xc1\xe1e\xff\x12dr?\x13\x83>D\x15!\xb1\x9d\xf2\xa0\x8135\x94\x1e\x92\x8b5\xdd\xe7\xdd\x96\xa4\x98\xaa\x9d\x9dO\xe0\xa42\xde\xb8%0\x15&\x85a\t\x902`\x0cv\xeb\x9be\x87\x9a\x81\xdazQs\x81\x0b?\xc6\x02\xfc\x8e\xc2:\x01\x80\x81P\x04\r\x061...:\r\x83Wi\xcbDx3\xe3LW\xeex\xe4v%t\xfd\xd4\x01\x86A\xc2\xcf\xf5R\x01\xe8\x00(^\x80@\x06\xd4\x00\x18\x04\x12\xf4\x00B\x81\x12\x8fV@:\x04\xb4"1\t\x07[\xfa\xe0\x00U\x19\x0f\x9e-\xa35\x100\n\x0e\x8e\xc7r>4hC\x18\xf8\x1e7=Q\x8a$\xc2=\x0eD\xa2\xb1\xf2\x92\x11$U\x17\xddDw\x00\x17\xe4\xdb\xfcN\x18\xed\xfb\xf1\xbc\x8bG\xc1zM9\xed\xb9]UHs\x1d\x1ak\xd3~\x8a\xe9^\xb6=\xb6B9\x8d\x02\xb6\x95\\\xf9.\xed\'\x86E\xf6\xb2t-\xee%z\x9e\xda\xe2\xd3\xfc\xa27[\t@\xfb\xf5}\x94C[\xbfF\xf1\xf8e1\xc8\x17K\n\xae0*\xe1*\xb0\xc9\xd3]\xe1\x96\xf1\xd5\x9c\xdc\rQI\xbcI\xfb\x97n<\xc1\x14\x85\x05N\xe8p\xe3\x08$\x01\x02\x80\x00K?\x03\x00Q \x03 \x95\x84\xf4\xc0\n\x06b\xaa@5\xd6\x05f\x88\x02 C8\x98\xd4\x14\xc5\xa0\x02`\x04\xb5[\x88\x86\x0b\x90\x19h \xa4\xf5\xd3;\x88\xd8$adC\xa8KU\x1c\x10\xc7\x84\x00\xe4\xfa\x9a!\x82$&\xc2\x00\xa6v\xe8@\x17\xaax\xb5V]\xd3\xe8u\xbc6\xba\xd9vs\x9a\xd4\xbfT\xe4\xabO\xfa\xdaT\xa3\xf0E\x90\xb4\xf4\xf5\xa0vWU\x99\x03q\x14\xb5\xd9\xbe\xccm\x07_\x93\xaf\xe5\xe5y\xc4e\xd4\x14\xb8\xb2\x0e(E\xdf\xcf}.P\x16\xbb\x83n\xbeV\xb2\xf6M\xbeU0\xf7\xe6\xb1\xa9\\\xce\xadi\x81\xe6\x1c\xae\x96\xf0\x84\xbe\x92\xa2\xb8\x1d\x02\xa8\x0e\xb4lh\xfbTC\xc4 = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _______________ test_zfp[float32-rgba-bytearray-new-mode0-None] ________________ dtype = dtype('float32'), itype = 'rgba', enout = 'bytearray', deout = 'new' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00:\x05pfz\x00\x07e\xfd\x88\x00\x01\xf0 \x07`\x00\x8e@\x10(\x01\xc6 8\x000\xc0\x80\x1c\x03\x0e@\xc0\x0c\x02\x0f7\x80\xfc> @\x80g\xce\xfaH\xf8< \x13`\xc6\x1b\xc8\xe1\xd8\x06\xc9\x80\xe7>q\xfc\xc0\x8fH\xf0\x10,\x07\xe5\xf0\x89\xd7\xf1w-\x80\xd9p`\x1b\x9c0\xdd\x8f=L\xcb\xe4`\xb6<\x01\x05\xa1Z\xe1 \xb0\x19\xb78\xcd\xbaT\x9c/\t\xb0\xc0\xcd:\xc7.\x81\xd7\xc19\xcf\xc83oA\xd7\xf8\x05\xcb\x19\xb4n\xc0\x1d\xb6\x04\x12\x17\xa0\xb3\xbf\xcd\x8f\xfc\x80\xaav\xbe\x1f\xff\xf1\xc4Q\x15\xea\xb0\x06\xfc9%\xb8_\xd3\xc0O\xd5\xb18 \x1c\'M\xd6\xe6@\xe0\xb0\x15\xb4~\x00\x0e\xd3\xfa\xf8\x90\xdb\x90@\x0c\x00\x00\x02\x80\x00P\xd0\x01\x00\x82\x12P\x01\x80\x06]\xd2`\x01\x00\x80\xec)\n\rf@\x01\xc0\r\x9e!V\xc8hP \xc0\xc9\x9e^\xd4\xbf\x8cL\x80\xd6p\xd2\xe0:\x89\xba\x17P\xca\xbe\xff\x14\xa3JcP\x06\xbf`)\xdb\xd7\xdb~\x87\xb6)\x08f/&\xecp\xecb\x05\xe6\xe1\x03\xee\xf2\xc3\xc3t\xd1@\xe1\x01\n;\x0f3\xb4Y\x0f`\t\x1f\xd3;\xfek\xc6\xb0O\xcc\x12\x03z\xc1r1l`7\xb9\x1b~#\x8fxxvZo@B\x19\x99\x7f%\x9e\xb66\xdd\x10\xc8M\xa8\x8e6\xd8\x9c\xa4\xa6\x7fQN\xfd\xd9\xa5\xfc\xbc.Pu\xc8\x0e\x17\x00\x00\x00\x00?\x02\x96_\xd05\xb4\xfe\xdc\x90\x81\x00\x00@\x00@\n\x00\x00`N\x00\x08\x00\xa0\x00\xact"\x06\x08\xd0\x01\xc0Cy\\\xc7\x...\x00\x00@\xa0\x18\x19\x01\xc0A\xa8(\x01\xc0\x00\x92\x02\x85\x11\xf6\\\x00\x04,\x02\xe1\xcd\x08\xf4\x1c\x00\x81E\xbd\t\xb0\x89\x82e\xf0\xf2\x7f\xe0n\xe8\x8ea\xbf\xfe\xa3\xda\xdd\x85\x88\xae\x83S\xee\x19\x14\x1c\xbd\xc7\xee\xe0co\x9a\xd2\xa9P\x02R\xd2\xd1\xa3_\x07\x1d\xfa8<%\x82\xf3\xb94\xf3\xcd\xbbY\xee\xff3\xe2\xa0l\xf6\xfd\xc5\xe1V:\xa9i\x19g\xf1\xf8E\xaa\xc6+\xd6~\xcbo%\x1f\x8f\x1f,\x91\x94\x95\xc5:s\xe7\xd2:.&\x1d_[\x1d\xe5s\xa8g\x1bo\x902\'\x91h\x9f\x07\xef\xc2\xd6\xc4^\xdc<\x1b6s\x1b1\xa7\x1b\x04O\xcd)\x86\x87\xa4\xb2\xdb`\x02\x05\x00\x00\xed\xbf\xad\xa2 \x05\x00\x03\x00\xc0\x10\x08\x18 )\x00\x19\x00\x90\x00\x0e\x08\xa7A\x00\t\x00\x80\n\x1bV\x18\x00\x02\x80\x04\x06\xb5\x99\xd0\x00\x02\x00\'\x1f\xfd\x8b\xda\x91@\x884\xd5\xd17\xa6Q\xc2\xd2H\xe2v\xbbE\xe1\xf3\x00\x9d\x19)bz\xed\xffX\xe7\xe2\x80#\x81\xf6\x89\xca\x7f\xdb\xe3\x84\x00\xfc\x1a\xaer\xe2\xbfX\xcd\xf8\x8f8@\xa8\xea9\x1f\xe6\xf9\xfe\x054\xcaf\xe5\xf7\xbf\xec\xb9-dd\xd3\x86\x903&\xb7M,\x00\xc1\xb2\x13j9\xc8\x13\x85\xce\xaa\xee\x05\xfb\xc5\xaf\x89>\xdaC\xc6({\x16\xcer\x94\xde = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[float32-rgba-bytearray-new-mode0-omp] ________________ dtype = dtype('float32'), itype = 'rgba', enout = 'bytearray', deout = 'new' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00:\x05pfz\x00\x07e\xfd\x88\x00\x01\xf0 \x07`\x00\x8e@\x10(\x01\xc6 8\x000\xc0\x80\x1c\x03\x0e@\xc0\x0c\x02\x0f7\x80\xfc> @\x80g\xce\xfaH\xf8< \x13`\xc6\x1b\xc8\xe1\xd8\x06\xc9\x80\xe7>q\xfc\xc0\x8fH\xf0\x10,\x07\xe5\xf0\x89\xd7\xf1w-\x80\xd9p`\x1b\x9c0\xdd\x8f=L\xcb\xe4`\xb6<\x01\x05\xa1Z\xe1 \xb0\x19\xb78\xcd\xbaT\x9c/\t\xb0\xc0\xcd:\xc7.\x81\xd7\xc19\xcf\xc83oA\xd7\xf8\x05\xcb\x19\xb4n\xc0\x1d\xb6\x04\x12\x17\xa0\xb3\xbf\xcd\x8f\xfc\x80\xaav\xbe\x1f\xff\xf1\xc4Q\x15\xea\xb0\x06\xfc9%\xb8_\xd3\xc0O\xd5\xb18 \x1c\'M\xd6\xe6@\xe0\xb0\x15\xb4~\x00\x0e\xd3\xfa\xf8\x90\xdb\x90@\x0c\x00\x00\x02\x80\x00P\xd0\x01\x00\x82\x12P\x01\x80\x06]\xd2`\x01\x00\x80\xec)\n\rf@\x01\xc0\r\x9e!V\xc8hP \xc0\xc9\x9e^\xd4\xbf\x8cL\x80\xd6p\xd2\xe0:\x89\xba\x17P\xca\xbe\xff\x14\xa3JcP\x06\xbf`)\xdb\xd7\xdb~\x87\xb6)\x08f/&\xecp\xecb\x05\xe6\xe1\x03\xee\xf2\xc3\xc3t\xd1@\xe1\x01\n;\x0f3\xb4Y\x0f`\t\x1f\xd3;\xfek\xc6\xb0O\xcc\x12\x03z\xc1r1l`7\xb9\x1b~#\x8fxxvZo@B\x19\x99\x7f%\x9e\xb66\xdd\x10\xc8M\xa8\x8e6\xd8\x9c\xa4\xa6\x7fQN\xfd\xd9\xa5\xfc\xbc.Pu\xc8\x0e\x17\x00\x00\x00\x00?\x02\x96_\xd05\xb4\xfe\xdc\x90\x81\x00\x00@\x00@\n\x00\x00`N\x00\x08\x00\xa0\x00\xact"\x06\x08\xd0\x01\xc0Cy\\\xc7\x...\x00\x00@\xa0\x18\x19\x01\xc0A\xa8(\x01\xc0\x00\x92\x02\x85\x11\xf6\\\x00\x04,\x02\xe1\xcd\x08\xf4\x1c\x00\x81E\xbd\t\xb0\x89\x82e\xf0\xf2\x7f\xe0n\xe8\x8ea\xbf\xfe\xa3\xda\xdd\x85\x88\xae\x83S\xee\x19\x14\x1c\xbd\xc7\xee\xe0co\x9a\xd2\xa9P\x02R\xd2\xd1\xa3_\x07\x1d\xfa8<%\x82\xf3\xb94\xf3\xcd\xbbY\xee\xff3\xe2\xa0l\xf6\xfd\xc5\xe1V:\xa9i\x19g\xf1\xf8E\xaa\xc6+\xd6~\xcbo%\x1f\x8f\x1f,\x91\x94\x95\xc5:s\xe7\xd2:.&\x1d_[\x1d\xe5s\xa8g\x1bo\x902\'\x91h\x9f\x07\xef\xc2\xd6\xc4^\xdc<\x1b6s\x1b1\xa7\x1b\x04O\xcd)\x86\x87\xa4\xb2\xdb`\x02\x05\x00\x00\xed\xbf\xad\xa2 \x05\x00\x03\x00\xc0\x10\x08\x18 )\x00\x19\x00\x90\x00\x0e\x08\xa7A\x00\t\x00\x80\n\x1bV\x18\x00\x02\x80\x04\x06\xb5\x99\xd0\x00\x02\x00\'\x1f\xfd\x8b\xda\x91@\x884\xd5\xd17\xa6Q\xc2\xd2H\xe2v\xbbE\xe1\xf3\x00\x9d\x19)bz\xed\xffX\xe7\xe2\x80#\x81\xf6\x89\xca\x7f\xdb\xe3\x84\x00\xfc\x1a\xaer\xe2\xbfX\xcd\xf8\x8f8@\xa8\xea9\x1f\xe6\xf9\xfe\x054\xcaf\xe5\xf7\xbf\xec\xb9-dd\xd3\x86\x903&\xb7M,\x00\xc1\xb2\x13j9\xc8\x13\x85\xce\xaa\xee\x05\xfb\xc5\xaf\x89>\xdaC\xc6({\x16\xcer\x94\xde = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _______________ test_zfp[float32-rgba-bytearray-new-mode1-None] ________________ dtype = dtype('float32'), itype = 'rgba', enout = 'bytearray', deout = 'new' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00:\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\xe80\x07\n\xcf\xf7\x87\xaf@0Y\xa8\x1b)\x01\x05\xa01z`9\x12\x83\xce`\xc2f\x00\x14\x06@\t\nl\xc4\xf0\xbb\x804h\xb2\x16 \xa0\xc8\xdd\xbd4\xa9\xe1\x89\xa6F\xf0\x0b\xb4\xbc\xa7\x7f\xc9\x89-\xab\xb1\x07:\xdc\x16D\xb2L\xec\xab\xd8d\xc4$0G\x0f\x83\xf3\xfb\xe7\xc4L\x18\x90\x1a\x8ca\x08\xf5\xa7\x02n\xab!\xeby\xe0=\xcd\x1a\x86J\xc3R!#\x7f\xd4\xfc\x10Q\xdf3\xc3e\x8a\xcd\xcf\xa95\x92\xe0m\x84\xa9\xfd\xaa*P\xea\x9b\x98\xaaQ\xb6D%\xafEL\x90\xd0\xcb\xb5\xe1\x80\xca\x96?R\x17\x13D\x88\xe3\x9b|U\xa5\x93\x14\xc0\x16\xf1R\x80`a\xb1\xfeN4\xb0K\x03\x92k\xa3\xcc\x9d\xb3\xff\xb0\x84\xa4\x0c0\xf3(d\x01\x08\x800\xa8\x1a\x90\xa5\xa4\x00-B\x80a\x80\x16-\xb8h\xe0\x07B\x11\x00\x05\x005\x86\xebQW.\xc0J\xd81\xd6\x81\x8d\x10A\xa0\xe8l\x02EV]\x87C\x80\x99!3Bb\xf6\xec`V<\\\x95N;\x8a\x06f\x1d\x8a\xb6\xf1-\xdc#\xda\\\x03\xe4\x08\x18\xf5\xf2\x06\xb9\x12\xda/C\xf6pP\xa9\xf1@\xc7\xeeFB,\x12RbC\x90\xc1W&\xbf\xc2\xfcf4\x1c\xa6`\x0b-\xc5\xc1\xe1e\xff\x12dr?\x13\x83>D\x15!\xb1\x9d\xf2\xa0\x8135\x94\x1e\x92\x8b5\xdd\xe7\xdd\x96\xa4\x98\xaa\x9d\x9dO\xe0\xa42\xde\xb8%0\x15&\x85a\t\x902`\x0cv\xeb\x9be\x87\x9a\x81\xdazQs\x81\x0b?\xc6\x02\xfc\x8e\xc2:\x01\x80\x81P\x04\r\x061...:\r\x83Wi\xcbDx3\xe3LW\xeex\xe4v%t\xfd\xd4\x01\x86A\xc2\xcf\xf5R\x01\xe8\x00(^\x80@\x06\xd4\x00\x18\x04\x12\xf4\x00B\x81\x12\x8fV@:\x04\xb4"1\t\x07[\xfa\xe0\x00U\x19\x0f\x9e-\xa35\x100\n\x0e\x8e\xc7r>4hC\x18\xf8\x1e7=Q\x8a$\xc2=\x0eD\xa2\xb1\xf2\x92\x11$U\x17\xddDw\x00\x17\xe4\xdb\xfcN\x18\xed\xfb\xf1\xbc\x8bG\xc1zM9\xed\xb9]UHs\x1d\x1ak\xd3~\x8a\xe9^\xb6=\xb6B9\x8d\x02\xb6\x95\\\xf9.\xed\'\x86E\xf6\xb2t-\xee%z\x9e\xda\xe2\xd3\xfc\xa27[\t@\xfb\xf5}\x94C[\xbfF\xf1\xf8e1\xc8\x17K\n\xae0*\xe1*\xb0\xc9\xd3]\xe1\x96\xf1\xd5\x9c\xdc\rQI\xbcI\xfb\x97n<\xc1\x14\x85\x05N\xe8p\xe3\x08$\x01\x02\x80\x00K?\x03\x00Q \x03 \x95\x84\xf4\xc0\n\x06b\xaa@5\xd6\x05f\x88\x02 C8\x98\xd4\x14\xc5\xa0\x02`\x04\xb5[\x88\x86\x0b\x90\x19h \xa4\xf5\xd3;\x88\xd8$adC\xa8KU\x1c\x10\xc7\x84\x00\xe4\xfa\x9a!\x82$&\xc2\x00\xa6v\xe8@\x17\xaax\xb5V]\xd3\xe8u\xbc6\xba\xd9vs\x9a\xd4\xbfT\xe4\xabO\xfa\xdaT\xa3\xf0E\x90\xb4\xf4\xf5\xa0vWU\x99\x03q\x14\xb5\xd9\xbe\xccm\x07_\x93\xaf\xe5\xe5y\xc4e\xd4\x14\xb8\xb2\x0e(E\xdf\xcf}.P\x16\xbb\x83n\xbeV\xb2\xf6M\xbeU0\xf7\xe6\xb1\xa9\\\xce\xadi\x81\xe6\x1c\xae\x96\xf0\x84\xbe\x92\xa2\xb8\x1d\x02\xa8\x0e\xb4lh\xfbTC\xc4 = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[float32-rgba-bytearray-new-mode1-omp] ________________ dtype = dtype('float32'), itype = 'rgba', enout = 'bytearray', deout = 'new' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00:\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\xe80\x07\n\xcf\xf7\x87\xaf@0Y\xa8\x1b)\x01\x05\xa01z`9\x12\x83\xce`\xc2f\x00\x14\x06@\t\nl\xc4\xf0\xbb\x804h\xb2\x16 \xa0\xc8\xdd\xbd4\xa9\xe1\x89\xa6F\xf0\x0b\xb4\xbc\xa7\x7f\xc9\x89-\xab\xb1\x07:\xdc\x16D\xb2L\xec\xab\xd8d\xc4$0G\x0f\x83\xf3\xfb\xe7\xc4L\x18\x90\x1a\x8ca\x08\xf5\xa7\x02n\xab!\xeby\xe0=\xcd\x1a\x86J\xc3R!#\x7f\xd4\xfc\x10Q\xdf3\xc3e\x8a\xcd\xcf\xa95\x92\xe0m\x84\xa9\xfd\xaa*P\xea\x9b\x98\xaaQ\xb6D%\xafEL\x90\xd0\xcb\xb5\xe1\x80\xca\x96?R\x17\x13D\x88\xe3\x9b|U\xa5\x93\x14\xc0\x16\xf1R\x80`a\xb1\xfeN4\xb0K\x03\x92k\xa3\xcc\x9d\xb3\xff\xb0\x84\xa4\x0c0\xf3(d\x01\x08\x800\xa8\x1a\x90\xa5\xa4\x00-B\x80a\x80\x16-\xb8h\xe0\x07B\x11\x00\x05\x005\x86\xebQW.\xc0J\xd81\xd6\x81\x8d\x10A\xa0\xe8l\x02EV]\x87C\x80\x99!3Bb\xf6\xec`V<\\\x95N;\x8a\x06f\x1d\x8a\xb6\xf1-\xdc#\xda\\\x03\xe4\x08\x18\xf5\xf2\x06\xb9\x12\xda/C\xf6pP\xa9\xf1@\xc7\xeeFB,\x12RbC\x90\xc1W&\xbf\xc2\xfcf4\x1c\xa6`\x0b-\xc5\xc1\xe1e\xff\x12dr?\x13\x83>D\x15!\xb1\x9d\xf2\xa0\x8135\x94\x1e\x92\x8b5\xdd\xe7\xdd\x96\xa4\x98\xaa\x9d\x9dO\xe0\xa42\xde\xb8%0\x15&\x85a\t\x902`\x0cv\xeb\x9be\x87\x9a\x81\xdazQs\x81\x0b?\xc6\x02\xfc\x8e\xc2:\x01\x80\x81P\x04\r\x061...:\r\x83Wi\xcbDx3\xe3LW\xeex\xe4v%t\xfd\xd4\x01\x86A\xc2\xcf\xf5R\x01\xe8\x00(^\x80@\x06\xd4\x00\x18\x04\x12\xf4\x00B\x81\x12\x8fV@:\x04\xb4"1\t\x07[\xfa\xe0\x00U\x19\x0f\x9e-\xa35\x100\n\x0e\x8e\xc7r>4hC\x18\xf8\x1e7=Q\x8a$\xc2=\x0eD\xa2\xb1\xf2\x92\x11$U\x17\xddDw\x00\x17\xe4\xdb\xfcN\x18\xed\xfb\xf1\xbc\x8bG\xc1zM9\xed\xb9]UHs\x1d\x1ak\xd3~\x8a\xe9^\xb6=\xb6B9\x8d\x02\xb6\x95\\\xf9.\xed\'\x86E\xf6\xb2t-\xee%z\x9e\xda\xe2\xd3\xfc\xa27[\t@\xfb\xf5}\x94C[\xbfF\xf1\xf8e1\xc8\x17K\n\xae0*\xe1*\xb0\xc9\xd3]\xe1\x96\xf1\xd5\x9c\xdc\rQI\xbcI\xfb\x97n<\xc1\x14\x85\x05N\xe8p\xe3\x08$\x01\x02\x80\x00K?\x03\x00Q \x03 \x95\x84\xf4\xc0\n\x06b\xaa@5\xd6\x05f\x88\x02 C8\x98\xd4\x14\xc5\xa0\x02`\x04\xb5[\x88\x86\x0b\x90\x19h \xa4\xf5\xd3;\x88\xd8$adC\xa8KU\x1c\x10\xc7\x84\x00\xe4\xfa\x9a!\x82$&\xc2\x00\xa6v\xe8@\x17\xaax\xb5V]\xd3\xe8u\xbc6\xba\xd9vs\x9a\xd4\xbfT\xe4\xabO\xfa\xdaT\xa3\xf0E\x90\xb4\xf4\xf5\xa0vWU\x99\x03q\x14\xb5\xd9\xbe\xccm\x07_\x93\xaf\xe5\xe5y\xc4e\xd4\x14\xb8\xb2\x0e(E\xdf\xcf}.P\x16\xbb\x83n\xbeV\xb2\xf6M\xbeU0\xf7\xe6\xb1\xa9\\\xce\xadi\x81\xe6\x1c\xae\x96\xf0\x84\xbe\x92\xa2\xb8\x1d\x02\xa8\x0e\xb4lh\xfbTC\xc4 = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _______________ test_zfp[float32-rgba-bytearray-out-mode0-None] ________________ dtype = dtype('float32'), itype = 'rgba', enout = 'bytearray', deout = 'out' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00:\x05pfz\x00\x07e\xfd\x88\x00\x01\xf0 \x07`\x00\x8e@\x10(\x01\xc6 8\x000\xc0\x80\x1c\x03\x0e@\xc0\x0c\x02\x0f7\x80\xfc> @\x80g\xce\xfaH\xf8< \x13`\xc6\x1b\xc8\xe1\xd8\x06\xc9\x80\xe7>q\xfc\xc0\x8fH\xf0\x10,\x07\xe5\xf0\x89\xd7\xf1w-\x80\xd9p`\x1b\x9c0\xdd\x8f=L\xcb\xe4`\xb6<\x01\x05\xa1Z\xe1 \xb0\x19\xb78\xcd\xbaT\x9c/\t\xb0\xc0\xcd:\xc7.\x81\xd7\xc19\xcf\xc83oA\xd7\xf8\x05\xcb\x19\xb4n\xc0\x1d\xb6\x04\x12\x17\xa0\xb3\xbf\xcd\x8f\xfc\x80\xaav\xbe\x1f\xff\xf1\xc4Q\x15\xea\xb0\x06\xfc9%\xb8_\xd3\xc0O\xd5\xb18 \x1c\'M\xd6\xe6@\xe0\xb0\x15\xb4~\x00\x0e\xd3\xfa\xf8\x90\xdb\x90@\x0c\x00\x00\x02\x80\x00P\xd0\x01\x00\x82\x12P\x01\x80\x06]\xd2`\x01\x00\x80\xec)\n\rf@\x01\xc0\r\x9e!V\xc8hP \xc0\xc9\x9e^\xd4\xbf\x8cL\x80\xd6p\xd2\xe0:\x89\xba\x17P\xca\xbe\xff\x14\xa3JcP\x06\xbf`)\xdb\xd7\xdb~\x87\xb6)\x08f/&\xecp\xecb\x05\xe6\xe1\x03\xee\xf2\xc3\xc3t\xd1@\xe1\x01\n;\x0f3\xb4Y\x0f`\t\x1f\xd3;\xfek\xc6\xb0O\xcc\x12\x03z\xc1r1l`7\xb9\x1b~#\x8fxxvZo@B\x19\x99\x7f%\x9e\xb66\xdd\x10\xc8M\xa8\x8e6\xd8\x9c\xa4\xa6\x7fQN\xfd\xd9\xa5\xfc\xbc.Pu\xc8\x0e\x17\x00\x00\x00\x00?\x02\x96_\xd05\xb4\xfe\xdc\x90\x81\x00\x00@\x00@\n\x00\x00`N\x00\x08\x00\xa0\x00\xact"\x06\x08\xd0\x01\xc0Cy\\\xc7\x...\x00\x00@\xa0\x18\x19\x01\xc0A\xa8(\x01\xc0\x00\x92\x02\x85\x11\xf6\\\x00\x04,\x02\xe1\xcd\x08\xf4\x1c\x00\x81E\xbd\t\xb0\x89\x82e\xf0\xf2\x7f\xe0n\xe8\x8ea\xbf\xfe\xa3\xda\xdd\x85\x88\xae\x83S\xee\x19\x14\x1c\xbd\xc7\xee\xe0co\x9a\xd2\xa9P\x02R\xd2\xd1\xa3_\x07\x1d\xfa8<%\x82\xf3\xb94\xf3\xcd\xbbY\xee\xff3\xe2\xa0l\xf6\xfd\xc5\xe1V:\xa9i\x19g\xf1\xf8E\xaa\xc6+\xd6~\xcbo%\x1f\x8f\x1f,\x91\x94\x95\xc5:s\xe7\xd2:.&\x1d_[\x1d\xe5s\xa8g\x1bo\x902\'\x91h\x9f\x07\xef\xc2\xd6\xc4^\xdc<\x1b6s\x1b1\xa7\x1b\x04O\xcd)\x86\x87\xa4\xb2\xdb`\x02\x05\x00\x00\xed\xbf\xad\xa2 \x05\x00\x03\x00\xc0\x10\x08\x18 )\x00\x19\x00\x90\x00\x0e\x08\xa7A\x00\t\x00\x80\n\x1bV\x18\x00\x02\x80\x04\x06\xb5\x99\xd0\x00\x02\x00\'\x1f\xfd\x8b\xda\x91@\x884\xd5\xd17\xa6Q\xc2\xd2H\xe2v\xbbE\xe1\xf3\x00\x9d\x19)bz\xed\xffX\xe7\xe2\x80#\x81\xf6\x89\xca\x7f\xdb\xe3\x84\x00\xfc\x1a\xaer\xe2\xbfX\xcd\xf8\x8f8@\xa8\xea9\x1f\xe6\xf9\xfe\x054\xcaf\xe5\xf7\xbf\xec\xb9-dd\xd3\x86\x903&\xb7M,\x00\xc1\xb2\x13j9\xc8\x13\x85\xce\xaa\xee\x05\xfb\xc5\xaf\x89>\xdaC\xc6({\x16\xcer\x94\xde = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[float32-rgba-bytearray-out-mode0-omp] ________________ dtype = dtype('float32'), itype = 'rgba', enout = 'bytearray', deout = 'out' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00:\x05pfz\x00\x07e\xfd\x88\x00\x01\xf0 \x07`\x00\x8e@\x10(\x01\xc6 8\x000\xc0\x80\x1c\x03\x0e@\xc0\x0c\x02\x0f7\x80\xfc> @\x80g\xce\xfaH\xf8< \x13`\xc6\x1b\xc8\xe1\xd8\x06\xc9\x80\xe7>q\xfc\xc0\x8fH\xf0\x10,\x07\xe5\xf0\x89\xd7\xf1w-\x80\xd9p`\x1b\x9c0\xdd\x8f=L\xcb\xe4`\xb6<\x01\x05\xa1Z\xe1 \xb0\x19\xb78\xcd\xbaT\x9c/\t\xb0\xc0\xcd:\xc7.\x81\xd7\xc19\xcf\xc83oA\xd7\xf8\x05\xcb\x19\xb4n\xc0\x1d\xb6\x04\x12\x17\xa0\xb3\xbf\xcd\x8f\xfc\x80\xaav\xbe\x1f\xff\xf1\xc4Q\x15\xea\xb0\x06\xfc9%\xb8_\xd3\xc0O\xd5\xb18 \x1c\'M\xd6\xe6@\xe0\xb0\x15\xb4~\x00\x0e\xd3\xfa\xf8\x90\xdb\x90@\x0c\x00\x00\x02\x80\x00P\xd0\x01\x00\x82\x12P\x01\x80\x06]\xd2`\x01\x00\x80\xec)\n\rf@\x01\xc0\r\x9e!V\xc8hP \xc0\xc9\x9e^\xd4\xbf\x8cL\x80\xd6p\xd2\xe0:\x89\xba\x17P\xca\xbe\xff\x14\xa3JcP\x06\xbf`)\xdb\xd7\xdb~\x87\xb6)\x08f/&\xecp\xecb\x05\xe6\xe1\x03\xee\xf2\xc3\xc3t\xd1@\xe1\x01\n;\x0f3\xb4Y\x0f`\t\x1f\xd3;\xfek\xc6\xb0O\xcc\x12\x03z\xc1r1l`7\xb9\x1b~#\x8fxxvZo@B\x19\x99\x7f%\x9e\xb66\xdd\x10\xc8M\xa8\x8e6\xd8\x9c\xa4\xa6\x7fQN\xfd\xd9\xa5\xfc\xbc.Pu\xc8\x0e\x17\x00\x00\x00\x00?\x02\x96_\xd05\xb4\xfe\xdc\x90\x81\x00\x00@\x00@\n\x00\x00`N\x00\x08\x00\xa0\x00\xact"\x06\x08\xd0\x01\xc0Cy\\\xc7\x...\x00\x00@\xa0\x18\x19\x01\xc0A\xa8(\x01\xc0\x00\x92\x02\x85\x11\xf6\\\x00\x04,\x02\xe1\xcd\x08\xf4\x1c\x00\x81E\xbd\t\xb0\x89\x82e\xf0\xf2\x7f\xe0n\xe8\x8ea\xbf\xfe\xa3\xda\xdd\x85\x88\xae\x83S\xee\x19\x14\x1c\xbd\xc7\xee\xe0co\x9a\xd2\xa9P\x02R\xd2\xd1\xa3_\x07\x1d\xfa8<%\x82\xf3\xb94\xf3\xcd\xbbY\xee\xff3\xe2\xa0l\xf6\xfd\xc5\xe1V:\xa9i\x19g\xf1\xf8E\xaa\xc6+\xd6~\xcbo%\x1f\x8f\x1f,\x91\x94\x95\xc5:s\xe7\xd2:.&\x1d_[\x1d\xe5s\xa8g\x1bo\x902\'\x91h\x9f\x07\xef\xc2\xd6\xc4^\xdc<\x1b6s\x1b1\xa7\x1b\x04O\xcd)\x86\x87\xa4\xb2\xdb`\x02\x05\x00\x00\xed\xbf\xad\xa2 \x05\x00\x03\x00\xc0\x10\x08\x18 )\x00\x19\x00\x90\x00\x0e\x08\xa7A\x00\t\x00\x80\n\x1bV\x18\x00\x02\x80\x04\x06\xb5\x99\xd0\x00\x02\x00\'\x1f\xfd\x8b\xda\x91@\x884\xd5\xd17\xa6Q\xc2\xd2H\xe2v\xbbE\xe1\xf3\x00\x9d\x19)bz\xed\xffX\xe7\xe2\x80#\x81\xf6\x89\xca\x7f\xdb\xe3\x84\x00\xfc\x1a\xaer\xe2\xbfX\xcd\xf8\x8f8@\xa8\xea9\x1f\xe6\xf9\xfe\x054\xcaf\xe5\xf7\xbf\xec\xb9-dd\xd3\x86\x903&\xb7M,\x00\xc1\xb2\x13j9\xc8\x13\x85\xce\xaa\xee\x05\xfb\xc5\xaf\x89>\xdaC\xc6({\x16\xcer\x94\xde = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _______________ test_zfp[float32-rgba-bytearray-out-mode1-None] ________________ dtype = dtype('float32'), itype = 'rgba', enout = 'bytearray', deout = 'out' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00:\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\xe80\x07\n\xcf\xf7\x87\xaf@0Y\xa8\x1b)\x01\x05\xa01z`9\x12\x83\xce`\xc2f\x00\x14\x06@\t\nl\xc4\xf0\xbb\x804h\xb2\x16 \xa0\xc8\xdd\xbd4\xa9\xe1\x89\xa6F\xf0\x0b\xb4\xbc\xa7\x7f\xc9\x89-\xab\xb1\x07:\xdc\x16D\xb2L\xec\xab\xd8d\xc4$0G\x0f\x83\xf3\xfb\xe7\xc4L\x18\x90\x1a\x8ca\x08\xf5\xa7\x02n\xab!\xeby\xe0=\xcd\x1a\x86J\xc3R!#\x7f\xd4\xfc\x10Q\xdf3\xc3e\x8a\xcd\xcf\xa95\x92\xe0m\x84\xa9\xfd\xaa*P\xea\x9b\x98\xaaQ\xb6D%\xafEL\x90\xd0\xcb\xb5\xe1\x80\xca\x96?R\x17\x13D\x88\xe3\x9b|U\xa5\x93\x14\xc0\x16\xf1R\x80`a\xb1\xfeN4\xb0K\x03\x92k\xa3\xcc\x9d\xb3\xff\xb0\x84\xa4\x0c0\xf3(d\x01\x08\x800\xa8\x1a\x90\xa5\xa4\x00-B\x80a\x80\x16-\xb8h\xe0\x07B\x11\x00\x05\x005\x86\xebQW.\xc0J\xd81\xd6\x81\x8d\x10A\xa0\xe8l\x02EV]\x87C\x80\x99!3Bb\xf6\xec`V<\\\x95N;\x8a\x06f\x1d\x8a\xb6\xf1-\xdc#\xda\\\x03\xe4\x08\x18\xf5\xf2\x06\xb9\x12\xda/C\xf6pP\xa9\xf1@\xc7\xeeFB,\x12RbC\x90\xc1W&\xbf\xc2\xfcf4\x1c\xa6`\x0b-\xc5\xc1\xe1e\xff\x12dr?\x13\x83>D\x15!\xb1\x9d\xf2\xa0\x8135\x94\x1e\x92\x8b5\xdd\xe7\xdd\x96\xa4\x98\xaa\x9d\x9dO\xe0\xa42\xde\xb8%0\x15&\x85a\t\x902`\x0cv\xeb\x9be\x87\x9a\x81\xdazQs\x81\x0b?\xc6\x02\xfc\x8e\xc2:\x01\x80\x81P\x04\r\x061...:\r\x83Wi\xcbDx3\xe3LW\xeex\xe4v%t\xfd\xd4\x01\x86A\xc2\xcf\xf5R\x01\xe8\x00(^\x80@\x06\xd4\x00\x18\x04\x12\xf4\x00B\x81\x12\x8fV@:\x04\xb4"1\t\x07[\xfa\xe0\x00U\x19\x0f\x9e-\xa35\x100\n\x0e\x8e\xc7r>4hC\x18\xf8\x1e7=Q\x8a$\xc2=\x0eD\xa2\xb1\xf2\x92\x11$U\x17\xddDw\x00\x17\xe4\xdb\xfcN\x18\xed\xfb\xf1\xbc\x8bG\xc1zM9\xed\xb9]UHs\x1d\x1ak\xd3~\x8a\xe9^\xb6=\xb6B9\x8d\x02\xb6\x95\\\xf9.\xed\'\x86E\xf6\xb2t-\xee%z\x9e\xda\xe2\xd3\xfc\xa27[\t@\xfb\xf5}\x94C[\xbfF\xf1\xf8e1\xc8\x17K\n\xae0*\xe1*\xb0\xc9\xd3]\xe1\x96\xf1\xd5\x9c\xdc\rQI\xbcI\xfb\x97n<\xc1\x14\x85\x05N\xe8p\xe3\x08$\x01\x02\x80\x00K?\x03\x00Q \x03 \x95\x84\xf4\xc0\n\x06b\xaa@5\xd6\x05f\x88\x02 C8\x98\xd4\x14\xc5\xa0\x02`\x04\xb5[\x88\x86\x0b\x90\x19h \xa4\xf5\xd3;\x88\xd8$adC\xa8KU\x1c\x10\xc7\x84\x00\xe4\xfa\x9a!\x82$&\xc2\x00\xa6v\xe8@\x17\xaax\xb5V]\xd3\xe8u\xbc6\xba\xd9vs\x9a\xd4\xbfT\xe4\xabO\xfa\xdaT\xa3\xf0E\x90\xb4\xf4\xf5\xa0vWU\x99\x03q\x14\xb5\xd9\xbe\xccm\x07_\x93\xaf\xe5\xe5y\xc4e\xd4\x14\xb8\xb2\x0e(E\xdf\xcf}.P\x16\xbb\x83n\xbeV\xb2\xf6M\xbeU0\xf7\xe6\xb1\xa9\\\xce\xadi\x81\xe6\x1c\xae\x96\xf0\x84\xbe\x92\xa2\xb8\x1d\x02\xa8\x0e\xb4lh\xfbTC\xc4 = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[float32-rgba-bytearray-out-mode1-omp] ________________ dtype = dtype('float32'), itype = 'rgba', enout = 'bytearray', deout = 'out' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00:\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\xe80\x07\n\xcf\xf7\x87\xaf@0Y\xa8\x1b)\x01\x05\xa01z`9\x12\x83\xce`\xc2f\x00\x14\x06@\t\nl\xc4\xf0\xbb\x804h\xb2\x16 \xa0\xc8\xdd\xbd4\xa9\xe1\x89\xa6F\xf0\x0b\xb4\xbc\xa7\x7f\xc9\x89-\xab\xb1\x07:\xdc\x16D\xb2L\xec\xab\xd8d\xc4$0G\x0f\x83\xf3\xfb\xe7\xc4L\x18\x90\x1a\x8ca\x08\xf5\xa7\x02n\xab!\xeby\xe0=\xcd\x1a\x86J\xc3R!#\x7f\xd4\xfc\x10Q\xdf3\xc3e\x8a\xcd\xcf\xa95\x92\xe0m\x84\xa9\xfd\xaa*P\xea\x9b\x98\xaaQ\xb6D%\xafEL\x90\xd0\xcb\xb5\xe1\x80\xca\x96?R\x17\x13D\x88\xe3\x9b|U\xa5\x93\x14\xc0\x16\xf1R\x80`a\xb1\xfeN4\xb0K\x03\x92k\xa3\xcc\x9d\xb3\xff\xb0\x84\xa4\x0c0\xf3(d\x01\x08\x800\xa8\x1a\x90\xa5\xa4\x00-B\x80a\x80\x16-\xb8h\xe0\x07B\x11\x00\x05\x005\x86\xebQW.\xc0J\xd81\xd6\x81\x8d\x10A\xa0\xe8l\x02EV]\x87C\x80\x99!3Bb\xf6\xec`V<\\\x95N;\x8a\x06f\x1d\x8a\xb6\xf1-\xdc#\xda\\\x03\xe4\x08\x18\xf5\xf2\x06\xb9\x12\xda/C\xf6pP\xa9\xf1@\xc7\xeeFB,\x12RbC\x90\xc1W&\xbf\xc2\xfcf4\x1c\xa6`\x0b-\xc5\xc1\xe1e\xff\x12dr?\x13\x83>D\x15!\xb1\x9d\xf2\xa0\x8135\x94\x1e\x92\x8b5\xdd\xe7\xdd\x96\xa4\x98\xaa\x9d\x9dO\xe0\xa42\xde\xb8%0\x15&\x85a\t\x902`\x0cv\xeb\x9be\x87\x9a\x81\xdazQs\x81\x0b?\xc6\x02\xfc\x8e\xc2:\x01\x80\x81P\x04\r\x061...:\r\x83Wi\xcbDx3\xe3LW\xeex\xe4v%t\xfd\xd4\x01\x86A\xc2\xcf\xf5R\x01\xe8\x00(^\x80@\x06\xd4\x00\x18\x04\x12\xf4\x00B\x81\x12\x8fV@:\x04\xb4"1\t\x07[\xfa\xe0\x00U\x19\x0f\x9e-\xa35\x100\n\x0e\x8e\xc7r>4hC\x18\xf8\x1e7=Q\x8a$\xc2=\x0eD\xa2\xb1\xf2\x92\x11$U\x17\xddDw\x00\x17\xe4\xdb\xfcN\x18\xed\xfb\xf1\xbc\x8bG\xc1zM9\xed\xb9]UHs\x1d\x1ak\xd3~\x8a\xe9^\xb6=\xb6B9\x8d\x02\xb6\x95\\\xf9.\xed\'\x86E\xf6\xb2t-\xee%z\x9e\xda\xe2\xd3\xfc\xa27[\t@\xfb\xf5}\x94C[\xbfF\xf1\xf8e1\xc8\x17K\n\xae0*\xe1*\xb0\xc9\xd3]\xe1\x96\xf1\xd5\x9c\xdc\rQI\xbcI\xfb\x97n<\xc1\x14\x85\x05N\xe8p\xe3\x08$\x01\x02\x80\x00K?\x03\x00Q \x03 \x95\x84\xf4\xc0\n\x06b\xaa@5\xd6\x05f\x88\x02 C8\x98\xd4\x14\xc5\xa0\x02`\x04\xb5[\x88\x86\x0b\x90\x19h \xa4\xf5\xd3;\x88\xd8$adC\xa8KU\x1c\x10\xc7\x84\x00\xe4\xfa\x9a!\x82$&\xc2\x00\xa6v\xe8@\x17\xaax\xb5V]\xd3\xe8u\xbc6\xba\xd9vs\x9a\xd4\xbfT\xe4\xabO\xfa\xdaT\xa3\xf0E\x90\xb4\xf4\xf5\xa0vWU\x99\x03q\x14\xb5\xd9\xbe\xccm\x07_\x93\xaf\xe5\xe5y\xc4e\xd4\x14\xb8\xb2\x0e(E\xdf\xcf}.P\x16\xbb\x83n\xbeV\xb2\xf6M\xbeU0\xf7\xe6\xb1\xa9\\\xce\xadi\x81\xe6\x1c\xae\x96\xf0\x84\xbe\x92\xa2\xb8\x1d\x02\xa8\x0e\xb4lh\xfbTC\xc4 = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ____________ test_zfp[float32-rgba-bytearray-bytearray-mode0-None] _____________ dtype = dtype('float32'), itype = 'rgba', enout = 'bytearray' deout = 'bytearray', mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00:\x05pfz\x00\x07e\xfd\x88\x00\x01\xf0 \x07`\x00\x8e@\x10(\x01\xc6 8\x000\xc0\x80\x1c\x03\x0e@\xc0\x0c\x02\x0f7\x80\xfc> @\x80g\xce\xfaH\xf8< \x13`\xc6\x1b\xc8\xe1\xd8\x06\xc9\x80\xe7>q\xfc\xc0\x8fH\xf0\x10,\x07\xe5\xf0\x89\xd7\xf1w-\x80\xd9p`\x1b\x9c0\xdd\x8f=L\xcb\xe4`\xb6<\x01\x05\xa1Z\xe1 \xb0\x19\xb78\xcd\xbaT\x9c/\t\xb0\xc0\xcd:\xc7.\x81\xd7\xc19\xcf\xc83oA\xd7\xf8\x05\xcb\x19\xb4n\xc0\x1d\xb6\x04\x12\x17\xa0\xb3\xbf\xcd\x8f\xfc\x80\xaav\xbe\x1f\xff\xf1\xc4Q\x15\xea\xb0\x06\xfc9%\xb8_\xd3\xc0O\xd5\xb18 \x1c\'M\xd6\xe6@\xe0\xb0\x15\xb4~\x00\x0e\xd3\xfa\xf8\x90\xdb\x90@\x0c\x00\x00\x02\x80\x00P\xd0\x01\x00\x82\x12P\x01\x80\x06]\xd2`\x01\x00\x80\xec)\n\rf@\x01\xc0\r\x9e!V\xc8hP \xc0\xc9\x9e^\xd4\xbf\x8cL\x80\xd6p\xd2\xe0:\x89\xba\x17P\xca\xbe\xff\x14\xa3JcP\x06\xbf`)\xdb\xd7\xdb~\x87\xb6)\x08f/&\xecp\xecb\x05\xe6\xe1\x03\xee\xf2\xc3\xc3t\xd1@\xe1\x01\n;\x0f3\xb4Y\x0f`\t\x1f\xd3;\xfek\xc6\xb0O\xcc\x12\x03z\xc1r1l`7\xb9\x1b~#\x8fxxvZo@B\x19\x99\x7f%\x9e\xb66\xdd\x10\xc8M\xa8\x8e6\xd8\x9c\xa4\xa6\x7fQN\xfd\xd9\xa5\xfc\xbc.Pu\xc8\x0e\x17\x00\x00\x00\x00?\x02\x96_\xd05\xb4\xfe\xdc\x90\x81\x00\x00@\x00@\n\x00\x00`N\x00\x08\x00\xa0\x00\xact"\x06\x08\xd0\x01\xc0Cy\\\xc7\x...\x00\x00@\xa0\x18\x19\x01\xc0A\xa8(\x01\xc0\x00\x92\x02\x85\x11\xf6\\\x00\x04,\x02\xe1\xcd\x08\xf4\x1c\x00\x81E\xbd\t\xb0\x89\x82e\xf0\xf2\x7f\xe0n\xe8\x8ea\xbf\xfe\xa3\xda\xdd\x85\x88\xae\x83S\xee\x19\x14\x1c\xbd\xc7\xee\xe0co\x9a\xd2\xa9P\x02R\xd2\xd1\xa3_\x07\x1d\xfa8<%\x82\xf3\xb94\xf3\xcd\xbbY\xee\xff3\xe2\xa0l\xf6\xfd\xc5\xe1V:\xa9i\x19g\xf1\xf8E\xaa\xc6+\xd6~\xcbo%\x1f\x8f\x1f,\x91\x94\x95\xc5:s\xe7\xd2:.&\x1d_[\x1d\xe5s\xa8g\x1bo\x902\'\x91h\x9f\x07\xef\xc2\xd6\xc4^\xdc<\x1b6s\x1b1\xa7\x1b\x04O\xcd)\x86\x87\xa4\xb2\xdb`\x02\x05\x00\x00\xed\xbf\xad\xa2 \x05\x00\x03\x00\xc0\x10\x08\x18 )\x00\x19\x00\x90\x00\x0e\x08\xa7A\x00\t\x00\x80\n\x1bV\x18\x00\x02\x80\x04\x06\xb5\x99\xd0\x00\x02\x00\'\x1f\xfd\x8b\xda\x91@\x884\xd5\xd17\xa6Q\xc2\xd2H\xe2v\xbbE\xe1\xf3\x00\x9d\x19)bz\xed\xffX\xe7\xe2\x80#\x81\xf6\x89\xca\x7f\xdb\xe3\x84\x00\xfc\x1a\xaer\xe2\xbfX\xcd\xf8\x8f8@\xa8\xea9\x1f\xe6\xf9\xfe\x054\xcaf\xe5\xf7\xbf\xec\xb9-dd\xd3\x86\x903&\xb7M,\x00\xc1\xb2\x13j9\xc8\x13\x85\xce\xaa\xee\x05\xfb\xc5\xaf\x89>\xdaC\xc6({\x16\xcer\x94\xde = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _____________ test_zfp[float32-rgba-bytearray-bytearray-mode0-omp] _____________ dtype = dtype('float32'), itype = 'rgba', enout = 'bytearray' deout = 'bytearray', mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00:\x05pfz\x00\x07e\xfd\x88\x00\x01\xf0 \x07`\x00\x8e@\x10(\x01\xc6 8\x000\xc0\x80\x1c\x03\x0e@\xc0\x0c\x02\x0f7\x80\xfc> @\x80g\xce\xfaH\xf8< \x13`\xc6\x1b\xc8\xe1\xd8\x06\xc9\x80\xe7>q\xfc\xc0\x8fH\xf0\x10,\x07\xe5\xf0\x89\xd7\xf1w-\x80\xd9p`\x1b\x9c0\xdd\x8f=L\xcb\xe4`\xb6<\x01\x05\xa1Z\xe1 \xb0\x19\xb78\xcd\xbaT\x9c/\t\xb0\xc0\xcd:\xc7.\x81\xd7\xc19\xcf\xc83oA\xd7\xf8\x05\xcb\x19\xb4n\xc0\x1d\xb6\x04\x12\x17\xa0\xb3\xbf\xcd\x8f\xfc\x80\xaav\xbe\x1f\xff\xf1\xc4Q\x15\xea\xb0\x06\xfc9%\xb8_\xd3\xc0O\xd5\xb18 \x1c\'M\xd6\xe6@\xe0\xb0\x15\xb4~\x00\x0e\xd3\xfa\xf8\x90\xdb\x90@\x0c\x00\x00\x02\x80\x00P\xd0\x01\x00\x82\x12P\x01\x80\x06]\xd2`\x01\x00\x80\xec)\n\rf@\x01\xc0\r\x9e!V\xc8hP \xc0\xc9\x9e^\xd4\xbf\x8cL\x80\xd6p\xd2\xe0:\x89\xba\x17P\xca\xbe\xff\x14\xa3JcP\x06\xbf`)\xdb\xd7\xdb~\x87\xb6)\x08f/&\xecp\xecb\x05\xe6\xe1\x03\xee\xf2\xc3\xc3t\xd1@\xe1\x01\n;\x0f3\xb4Y\x0f`\t\x1f\xd3;\xfek\xc6\xb0O\xcc\x12\x03z\xc1r1l`7\xb9\x1b~#\x8fxxvZo@B\x19\x99\x7f%\x9e\xb66\xdd\x10\xc8M\xa8\x8e6\xd8\x9c\xa4\xa6\x7fQN\xfd\xd9\xa5\xfc\xbc.Pu\xc8\x0e\x17\x00\x00\x00\x00?\x02\x96_\xd05\xb4\xfe\xdc\x90\x81\x00\x00@\x00@\n\x00\x00`N\x00\x08\x00\xa0\x00\xact"\x06\x08\xd0\x01\xc0Cy\\\xc7\x...\x00\x00@\xa0\x18\x19\x01\xc0A\xa8(\x01\xc0\x00\x92\x02\x85\x11\xf6\\\x00\x04,\x02\xe1\xcd\x08\xf4\x1c\x00\x81E\xbd\t\xb0\x89\x82e\xf0\xf2\x7f\xe0n\xe8\x8ea\xbf\xfe\xa3\xda\xdd\x85\x88\xae\x83S\xee\x19\x14\x1c\xbd\xc7\xee\xe0co\x9a\xd2\xa9P\x02R\xd2\xd1\xa3_\x07\x1d\xfa8<%\x82\xf3\xb94\xf3\xcd\xbbY\xee\xff3\xe2\xa0l\xf6\xfd\xc5\xe1V:\xa9i\x19g\xf1\xf8E\xaa\xc6+\xd6~\xcbo%\x1f\x8f\x1f,\x91\x94\x95\xc5:s\xe7\xd2:.&\x1d_[\x1d\xe5s\xa8g\x1bo\x902\'\x91h\x9f\x07\xef\xc2\xd6\xc4^\xdc<\x1b6s\x1b1\xa7\x1b\x04O\xcd)\x86\x87\xa4\xb2\xdb`\x02\x05\x00\x00\xed\xbf\xad\xa2 \x05\x00\x03\x00\xc0\x10\x08\x18 )\x00\x19\x00\x90\x00\x0e\x08\xa7A\x00\t\x00\x80\n\x1bV\x18\x00\x02\x80\x04\x06\xb5\x99\xd0\x00\x02\x00\'\x1f\xfd\x8b\xda\x91@\x884\xd5\xd17\xa6Q\xc2\xd2H\xe2v\xbbE\xe1\xf3\x00\x9d\x19)bz\xed\xffX\xe7\xe2\x80#\x81\xf6\x89\xca\x7f\xdb\xe3\x84\x00\xfc\x1a\xaer\xe2\xbfX\xcd\xf8\x8f8@\xa8\xea9\x1f\xe6\xf9\xfe\x054\xcaf\xe5\xf7\xbf\xec\xb9-dd\xd3\x86\x903&\xb7M,\x00\xc1\xb2\x13j9\xc8\x13\x85\xce\xaa\xee\x05\xfb\xc5\xaf\x89>\xdaC\xc6({\x16\xcer\x94\xde = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ____________ test_zfp[float32-rgba-bytearray-bytearray-mode1-None] _____________ dtype = dtype('float32'), itype = 'rgba', enout = 'bytearray' deout = 'bytearray', mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00:\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\xe80\x07\n\xcf\xf7\x87\xaf@0Y\xa8\x1b)\x01\x05\xa01z`9\x12\x83\xce`\xc2f\x00\x14\x06@\t\nl\xc4\xf0\xbb\x804h\xb2\x16 \xa0\xc8\xdd\xbd4\xa9\xe1\x89\xa6F\xf0\x0b\xb4\xbc\xa7\x7f\xc9\x89-\xab\xb1\x07:\xdc\x16D\xb2L\xec\xab\xd8d\xc4$0G\x0f\x83\xf3\xfb\xe7\xc4L\x18\x90\x1a\x8ca\x08\xf5\xa7\x02n\xab!\xeby\xe0=\xcd\x1a\x86J\xc3R!#\x7f\xd4\xfc\x10Q\xdf3\xc3e\x8a\xcd\xcf\xa95\x92\xe0m\x84\xa9\xfd\xaa*P\xea\x9b\x98\xaaQ\xb6D%\xafEL\x90\xd0\xcb\xb5\xe1\x80\xca\x96?R\x17\x13D\x88\xe3\x9b|U\xa5\x93\x14\xc0\x16\xf1R\x80`a\xb1\xfeN4\xb0K\x03\x92k\xa3\xcc\x9d\xb3\xff\xb0\x84\xa4\x0c0\xf3(d\x01\x08\x800\xa8\x1a\x90\xa5\xa4\x00-B\x80a\x80\x16-\xb8h\xe0\x07B\x11\x00\x05\x005\x86\xebQW.\xc0J\xd81\xd6\x81\x8d\x10A\xa0\xe8l\x02EV]\x87C\x80\x99!3Bb\xf6\xec`V<\\\x95N;\x8a\x06f\x1d\x8a\xb6\xf1-\xdc#\xda\\\x03\xe4\x08\x18\xf5\xf2\x06\xb9\x12\xda/C\xf6pP\xa9\xf1@\xc7\xeeFB,\x12RbC\x90\xc1W&\xbf\xc2\xfcf4\x1c\xa6`\x0b-\xc5\xc1\xe1e\xff\x12dr?\x13\x83>D\x15!\xb1\x9d\xf2\xa0\x8135\x94\x1e\x92\x8b5\xdd\xe7\xdd\x96\xa4\x98\xaa\x9d\x9dO\xe0\xa42\xde\xb8%0\x15&\x85a\t\x902`\x0cv\xeb\x9be\x87\x9a\x81\xdazQs\x81\x0b?\xc6\x02\xfc\x8e\xc2:\x01\x80\x81P\x04\r\x061...:\r\x83Wi\xcbDx3\xe3LW\xeex\xe4v%t\xfd\xd4\x01\x86A\xc2\xcf\xf5R\x01\xe8\x00(^\x80@\x06\xd4\x00\x18\x04\x12\xf4\x00B\x81\x12\x8fV@:\x04\xb4"1\t\x07[\xfa\xe0\x00U\x19\x0f\x9e-\xa35\x100\n\x0e\x8e\xc7r>4hC\x18\xf8\x1e7=Q\x8a$\xc2=\x0eD\xa2\xb1\xf2\x92\x11$U\x17\xddDw\x00\x17\xe4\xdb\xfcN\x18\xed\xfb\xf1\xbc\x8bG\xc1zM9\xed\xb9]UHs\x1d\x1ak\xd3~\x8a\xe9^\xb6=\xb6B9\x8d\x02\xb6\x95\\\xf9.\xed\'\x86E\xf6\xb2t-\xee%z\x9e\xda\xe2\xd3\xfc\xa27[\t@\xfb\xf5}\x94C[\xbfF\xf1\xf8e1\xc8\x17K\n\xae0*\xe1*\xb0\xc9\xd3]\xe1\x96\xf1\xd5\x9c\xdc\rQI\xbcI\xfb\x97n<\xc1\x14\x85\x05N\xe8p\xe3\x08$\x01\x02\x80\x00K?\x03\x00Q \x03 \x95\x84\xf4\xc0\n\x06b\xaa@5\xd6\x05f\x88\x02 C8\x98\xd4\x14\xc5\xa0\x02`\x04\xb5[\x88\x86\x0b\x90\x19h \xa4\xf5\xd3;\x88\xd8$adC\xa8KU\x1c\x10\xc7\x84\x00\xe4\xfa\x9a!\x82$&\xc2\x00\xa6v\xe8@\x17\xaax\xb5V]\xd3\xe8u\xbc6\xba\xd9vs\x9a\xd4\xbfT\xe4\xabO\xfa\xdaT\xa3\xf0E\x90\xb4\xf4\xf5\xa0vWU\x99\x03q\x14\xb5\xd9\xbe\xccm\x07_\x93\xaf\xe5\xe5y\xc4e\xd4\x14\xb8\xb2\x0e(E\xdf\xcf}.P\x16\xbb\x83n\xbeV\xb2\xf6M\xbeU0\xf7\xe6\xb1\xa9\\\xce\xadi\x81\xe6\x1c\xae\x96\xf0\x84\xbe\x92\xa2\xb8\x1d\x02\xa8\x0e\xb4lh\xfbTC\xc4 = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _____________ test_zfp[float32-rgba-bytearray-bytearray-mode1-omp] _____________ dtype = dtype('float32'), itype = 'rgba', enout = 'bytearray' deout = 'bytearray', mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00:\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\xe80\x07\n\xcf\xf7\x87\xaf@0Y\xa8\x1b)\x01\x05\xa01z`9\x12\x83\xce`\xc2f\x00\x14\x06@\t\nl\xc4\xf0\xbb\x804h\xb2\x16 \xa0\xc8\xdd\xbd4\xa9\xe1\x89\xa6F\xf0\x0b\xb4\xbc\xa7\x7f\xc9\x89-\xab\xb1\x07:\xdc\x16D\xb2L\xec\xab\xd8d\xc4$0G\x0f\x83\xf3\xfb\xe7\xc4L\x18\x90\x1a\x8ca\x08\xf5\xa7\x02n\xab!\xeby\xe0=\xcd\x1a\x86J\xc3R!#\x7f\xd4\xfc\x10Q\xdf3\xc3e\x8a\xcd\xcf\xa95\x92\xe0m\x84\xa9\xfd\xaa*P\xea\x9b\x98\xaaQ\xb6D%\xafEL\x90\xd0\xcb\xb5\xe1\x80\xca\x96?R\x17\x13D\x88\xe3\x9b|U\xa5\x93\x14\xc0\x16\xf1R\x80`a\xb1\xfeN4\xb0K\x03\x92k\xa3\xcc\x9d\xb3\xff\xb0\x84\xa4\x0c0\xf3(d\x01\x08\x800\xa8\x1a\x90\xa5\xa4\x00-B\x80a\x80\x16-\xb8h\xe0\x07B\x11\x00\x05\x005\x86\xebQW.\xc0J\xd81\xd6\x81\x8d\x10A\xa0\xe8l\x02EV]\x87C\x80\x99!3Bb\xf6\xec`V<\\\x95N;\x8a\x06f\x1d\x8a\xb6\xf1-\xdc#\xda\\\x03\xe4\x08\x18\xf5\xf2\x06\xb9\x12\xda/C\xf6pP\xa9\xf1@\xc7\xeeFB,\x12RbC\x90\xc1W&\xbf\xc2\xfcf4\x1c\xa6`\x0b-\xc5\xc1\xe1e\xff\x12dr?\x13\x83>D\x15!\xb1\x9d\xf2\xa0\x8135\x94\x1e\x92\x8b5\xdd\xe7\xdd\x96\xa4\x98\xaa\x9d\x9dO\xe0\xa42\xde\xb8%0\x15&\x85a\t\x902`\x0cv\xeb\x9be\x87\x9a\x81\xdazQs\x81\x0b?\xc6\x02\xfc\x8e\xc2:\x01\x80\x81P\x04\r\x061...:\r\x83Wi\xcbDx3\xe3LW\xeex\xe4v%t\xfd\xd4\x01\x86A\xc2\xcf\xf5R\x01\xe8\x00(^\x80@\x06\xd4\x00\x18\x04\x12\xf4\x00B\x81\x12\x8fV@:\x04\xb4"1\t\x07[\xfa\xe0\x00U\x19\x0f\x9e-\xa35\x100\n\x0e\x8e\xc7r>4hC\x18\xf8\x1e7=Q\x8a$\xc2=\x0eD\xa2\xb1\xf2\x92\x11$U\x17\xddDw\x00\x17\xe4\xdb\xfcN\x18\xed\xfb\xf1\xbc\x8bG\xc1zM9\xed\xb9]UHs\x1d\x1ak\xd3~\x8a\xe9^\xb6=\xb6B9\x8d\x02\xb6\x95\\\xf9.\xed\'\x86E\xf6\xb2t-\xee%z\x9e\xda\xe2\xd3\xfc\xa27[\t@\xfb\xf5}\x94C[\xbfF\xf1\xf8e1\xc8\x17K\n\xae0*\xe1*\xb0\xc9\xd3]\xe1\x96\xf1\xd5\x9c\xdc\rQI\xbcI\xfb\x97n<\xc1\x14\x85\x05N\xe8p\xe3\x08$\x01\x02\x80\x00K?\x03\x00Q \x03 \x95\x84\xf4\xc0\n\x06b\xaa@5\xd6\x05f\x88\x02 C8\x98\xd4\x14\xc5\xa0\x02`\x04\xb5[\x88\x86\x0b\x90\x19h \xa4\xf5\xd3;\x88\xd8$adC\xa8KU\x1c\x10\xc7\x84\x00\xe4\xfa\x9a!\x82$&\xc2\x00\xa6v\xe8@\x17\xaax\xb5V]\xd3\xe8u\xbc6\xba\xd9vs\x9a\xd4\xbfT\xe4\xabO\xfa\xdaT\xa3\xf0E\x90\xb4\xf4\xf5\xa0vWU\x99\x03q\x14\xb5\xd9\xbe\xccm\x07_\x93\xaf\xe5\xe5y\xc4e\xd4\x14\xb8\xb2\x0e(E\xdf\xcf}.P\x16\xbb\x83n\xbeV\xb2\xf6M\xbeU0\xf7\xe6\xb1\xa9\\\xce\xadi\x81\xe6\x1c\xae\x96\xf0\x84\xbe\x92\xa2\xb8\x1d\x02\xa8\x0e\xb4lh\xfbTC\xc4 = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError __________________ test_zfp[float32-view-new-new-mode0-None] ___________________ dtype = dtype('float32'), itype = 'view', enout = 'new', deout = 'new' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00*\x05pfz\x00\x07e\xfd\x88\x00\x01\xf0\x10\x07`\x00\x8e@\x10(\x07\x80\xe3\x10\x1e\x01\x86\x181\x8f\x01\x878\x00\x06\x03\xb2\x18\xc0~\x1f\x18\x00\x00\x99\r\xef\xa4\x8f\x8e\x10\x19\x181\x87\xf28;\x86`\x98\x7f\xce\x9c\x7fp\x1b\xf2\xe3\x06\x0b\x01\xf98\x1aEx\x1f\xca`6886l\x086c\xcf\x07"\xf9g)\x8e\x00A\x08~\x88\x8f\xa8\x07m\xce\x01~\xb5\xff\xc9\xc3l0Wf\xb1\x1b\xa6t\xf0Nq\xc2\x0c\x08\xd6t\xfe\x01\x16\xde}\xeb\xb6\x07m\x81\x16\x85\xc8\xec)\xf2c\xff\x16\x02\x8d\xf4\x07\xfe\xfcqVeJ\xf7A\xbe\x0eI\x18\x1f\xf4\x1b\x97\xf5lN\x1a\x1f\t\xe47\xb8\x908l\rM\x14\x00\x03\xb4\xfe\xc8\x146\xa0\x10\x03\x00\x00\x00\xa0\x00\x02\x00@vn\x00\x04$\x04\x06\x83.\xe9 \x01\xe62\x0bB\x03Y\x90x\x00!>B\xad\x90\xc6\x0c\x089\xe6\xcf\xafjn\x1c\x991\xe98ip\x0eH\xdd\xcf\xa8e\xdf\x7f\xa8Y\xad\x83(\x03\xdf\xb0?\xe1\xf3\xb3\xbdC\xdb\x14\xbd;\x1fB\xf68v10\xf3x\x97\xf6ya\xe1\x99x\xb0\xd3\x03\x85\x1d\x87\x90\xc6<\xbb2\x04\x0f\xe9\x9d\xe75\x01\xd8\'\xe6\t\n\xb1`\x01\x18\xb60\x1b\xec\x8d\xb7~\xc7\xbc\xbc;\x06;\xa0L\r\xcc?\x92\xdeC\x0b\xd2\x8bd&\xd4T\x07|\x19\xd3S?\xa8\x84r\xf4=\xfd^\x97(1\xec\x17\x80\x00\x00\x00\x00\r\x99C@\x18\x1a\xda\x7fnH@\x01\x80\x01\x00(\x06\x00\x838\x000\x03\x80\x82\xb1\xd0\x88\x183 \x05\x00\...83\x9b\x8f\xa1\xef\xb35\x13\xc0\xf4\xef]\xb0\x04\x06\x0e\x93]L)0@\x1a/x\x8e\x00\tm?\xbb%\x91\x82\x00\x04\x1a\x00\x00@\xa0\x00\x18\x01@\x01\xa8(\x01\xc0\x08Y\x00\xc2\x88\xfb(0#\x00\x12Ap\xf6\x84z\xdd\x0e\x82 Q\x0fBlbq\x8c\xbe\x1eO\xfc\r\x04n\xd8o\xff\xc8\xf6\xb7\xb3\xea\xeb\xa4\xd4\xfb\x86E\xd2\xa3s\xf9\xf8X\xdb\xe6\xbb\x8dW\x02\xd4\xb4\xa4h\xb9\xedD|\xceO\x19`{\x14\r>\xf3.\xd6{xqy\xa8\x1b\x1d\xafq\xd9\xabM\xa8\x1a\x06Y\xfc!0\xea\xb3\xca\x95\x9f\xb2\x8a\xa4D\xe5\x87\xcb$e\x1f\xe4\xcd\x9c\xb9\xb4\x8e\x8b\'\x81W\xd4\x879L\xea\x08gY\xe6L\x89\xe4Z\xc1S\xfb\xf4\xb5\x91\x17\xb7\xb2\x9b\x8d\x9c\xc6\xcci\xc6\xe8)0H!\x81\xe9,\x00\x06\x00\x81@\x00;O\x00\x04\x02\x00\x80@\x00\x00\x01 \x12\x01\x04\x00\xa0\x02\xe0\x00\x90\x0b\x01\x82\x02\x90\xc0\n\x00P\x00\x01\x81\x14:\x06\x00P\x04aCjbT,\x10\x06\x80\x96\xb3\xecL4KI\x03\xbf\xb1p8>p\x13\xba\xba&N\xd5\xbf\xeb\x1d\xfcN\xd7x\xb6\xd1!O\xe3%,\x8d\x9b\x87M\xcf\xdc\x10\x04\x00;\x11\xff\t\x9b = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[float32-view-new-new-mode0-omp] ___________________ dtype = dtype('float32'), itype = 'view', enout = 'new', deout = 'new' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00*\x05pfz\x00\x07e\xfd\x88\x00\x01\xf0\x10\x07`\x00\x8e@\x10(\x07\x80\xe3\x10\x1e\x01\x86\x181\x8f\x01\x878\x00\x06\x03\xb2\x18\xc0~\x1f\x18\x00\x00\x99\r\xef\xa4\x8f\x8e\x10\x19\x181\x87\xf28;\x86`\x98\x7f\xce\x9c\x7fp\x1b\xf2\xe3\x06\x0b\x01\xf98\x1aEx\x1f\xca`6886l\x086c\xcf\x07"\xf9g)\x8e\x00A\x08~\x88\x8f\xa8\x07m\xce\x01~\xb5\xff\xc9\xc3l0Wf\xb1\x1b\xa6t\xf0Nq\xc2\x0c\x08\xd6t\xfe\x01\x16\xde}\xeb\xb6\x07m\x81\x16\x85\xc8\xec)\xf2c\xff\x16\x02\x8d\xf4\x07\xfe\xfcqVeJ\xf7A\xbe\x0eI\x18\x1f\xf4\x1b\x97\xf5lN\x1a\x1f\t\xe47\xb8\x908l\rM\x14\x00\x03\xb4\xfe\xc8\x146\xa0\x10\x03\x00\x00\x00\xa0\x00\x02\x00@vn\x00\x04$\x04\x06\x83.\xe9 \x01\xe62\x0bB\x03Y\x90x\x00!>B\xad\x90\xc6\x0c\x089\xe6\xcf\xafjn\x1c\x991\xe98ip\x0eH\xdd\xcf\xa8e\xdf\x7f\xa8Y\xad\x83(\x03\xdf\xb0?\xe1\xf3\xb3\xbdC\xdb\x14\xbd;\x1fB\xf68v10\xf3x\x97\xf6ya\xe1\x99x\xb0\xd3\x03\x85\x1d\x87\x90\xc6<\xbb2\x04\x0f\xe9\x9d\xe75\x01\xd8\'\xe6\t\n\xb1`\x01\x18\xb60\x1b\xec\x8d\xb7~\xc7\xbc\xbc;\x06;\xa0L\r\xcc?\x92\xdeC\x0b\xd2\x8bd&\xd4T\x07|\x19\xd3S?\xa8\x84r\xf4=\xfd^\x97(1\xec\x17\x80\x00\x00\x00\x00\r\x99C@\x18\x1a\xda\x7fnH@\x01\x80\x01\x00(\x06\x00\x838\x000\x03\x80\x82\xb1\xd0\x88\x183 \x05\x00\...83\x9b\x8f\xa1\xef\xb35\x13\xc0\xf4\xef]\xb0\x04\x06\x0e\x93]L)0@\x1a/x\x8e\x00\tm?\xbb%\x91\x82\x00\x04\x1a\x00\x00@\xa0\x00\x18\x01@\x01\xa8(\x01\xc0\x08Y\x00\xc2\x88\xfb(0#\x00\x12Ap\xf6\x84z\xdd\x0e\x82 Q\x0fBlbq\x8c\xbe\x1eO\xfc\r\x04n\xd8o\xff\xc8\xf6\xb7\xb3\xea\xeb\xa4\xd4\xfb\x86E\xd2\xa3s\xf9\xf8X\xdb\xe6\xbb\x8dW\x02\xd4\xb4\xa4h\xb9\xedD|\xceO\x19`{\x14\r>\xf3.\xd6{xqy\xa8\x1b\x1d\xafq\xd9\xabM\xa8\x1a\x06Y\xfc!0\xea\xb3\xca\x95\x9f\xb2\x8a\xa4D\xe5\x87\xcb$e\x1f\xe4\xcd\x9c\xb9\xb4\x8e\x8b\'\x81W\xd4\x879L\xea\x08gY\xe6L\x89\xe4Z\xc1S\xfb\xf4\xb5\x91\x17\xb7\xb2\x9b\x8d\x9c\xc6\xcci\xc6\xe8)0H!\x81\xe9,\x00\x06\x00\x81@\x00;O\x00\x04\x02\x00\x80@\x00\x00\x01 \x12\x01\x04\x00\xa0\x02\xe0\x00\x90\x0b\x01\x82\x02\x90\xc0\n\x00P\x00\x01\x81\x14:\x06\x00P\x04aCjbT,\x10\x06\x80\x96\xb3\xecL4KI\x03\xbf\xb1p8>p\x13\xba\xba&N\xd5\xbf\xeb\x1d\xfcN\xd7x\xb6\xd1!O\xe3%,\x8d\x9b\x87M\xcf\xdc\x10\x04\x00;\x11\xff\t\x9b = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError __________________ test_zfp[float32-view-new-new-mode1-None] ___________________ dtype = dtype('float32'), itype = 'view', enout = 'new', deout = 'new' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00*\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x88x\x01\n\xcf\xf7\x87\xaf\xc0 \x18\x98\x03\x82\x03\x11\x00\x1f\x8e\x00pHn\t\x07\x81\x01\xf8\xb88\x01\xe0Cd\x07\x8e\x9cI\xb3\x07\xb0f\xce\x0f\x93\xfc`p\xc1\xc0\x08\x03~6\x0f\xb8\xe7w\xf0\xd8\x01\x9b$\xbc\xe9\xdd\xf0\x00\x06\x0c\x10\xf3%\x81\xcd\x88-\xbd\xc7mJ\x02\xc8(\x1c9\x1f\xcc\x17\xc3\xe80\xdb\x89G\x16\xc0<\x1a[\x1b\xf8\xafZhy\x08+\xc6K\x03\x93@#l}\x1c\x1c\xcfr4\x89\xc0\xe7\x9e]tx)&\xc5d\xa9<\xad\xb1Eo\x98\xea\xdd\xbf\x1b/\x12\xb6\x16L\xa8\x9c,\x88\xb4\x9d;\x12\x900\xc1Y\x0c\x90}\xe6\xaeP\xcaEV\x11\x8f\xb9p\x07\xb1d\x17\xf5\xd9E\xab3\xb2c\xfc2\xeb\xde\xee^{\xced\x01\x08\x800\xa8\x1a\xb3\xf4H@HI\x06a \x02,\x07\xb2\xe0\x02\x81\x84\x06\x06\x10\x00\x06\xafu\x98=\x82\x94P(<*\x8a\xbecL\xd00\x10E\x99\x820\x87\x18\x06F\xbc\x9c+\xf4\xc0\x84a\x8a\xf0\xc11f\x914\xd14\xe6\x86\xf8\xfd\xf4\xa7\tl\x92\x9a\xcd\xee\xeaS1\xdf\xa1\x1a\x91\xcd@\x1d\x1d\x7f\x80\x00\x9f\x8aR\xee~y|\xc9]\xa0Zd\xdc\t\xa6-\x94M\x01Ez?x\xde\xad\xea\xdc\x8e=\xde=\x91\xd9s\x07g\x0b-`\x11\xf7y`T\x8a\xe8xNu\xef\xb5B@\xae\xf444u.\t\xe7\xd6\x87\x1e\xba\xe7\x0b\xc2\xc7\xbc \xa6\x04\xf0\xa1Ks\xb8\xc8\xdf\x1d\xa2\xe5\x16\xab\x83G\xb8B\xcf\xf0l\'\x1f\xa8\xd9\xc2 \x00\x1b\x0...73\x1c%\x97\xab\xbe\xa2&Il\xd1g\xfa\xcb\x15*\x9fK\x10\x96@0DB\x0c\x00H\ru\xc1\x00\xa54\x00@\x80\xc0\x0b\x00\x08\xd9\xb0\x18\xf52\x81\x04\x02\x08B\x97\x83\xfbhA\x01\x84\x1a\x80!\x936\xc5\x10DF\x9b\xa2\xa0\xc5\xc2q\x98\x843\x88\xaf)\x99\x94ttZ\x13\xc7\xbaI\x10\x93E0\xd9\x8e\xd5\xb5B\xaa\x89\x13y\xcd\xda\xdd\xf8l\x1bwD8H\xb2\x91\xd9\x00E\x9a\xaca\'\x0b\x07\xa2\xd1\xc60\xf0\x9fU\xa6\xe3\xbc\xe5 \x94g\xd7\xach\x8awJs%\xbf\xd0\xd5\xa5\x87B}7\xc8\xe4\x087J\xfd\xfd\xb4\xba\x96g\x11k\x12F{_\xf0B\x83^\xe7\xf1&?f\xa6?y\x9a\xfbx\xd0\x12\xe0V\xf9\xff\xe7_V@\xde\xde\xc9\xa4\x82\x14M\x8a\xd1 \x08\x94\x00\x02Y\xfft\x00\xc0\x01H@\x00\x08D\x00 \x02\x80\x0c\xe2P\x00h\x00 \x02\x81\x98\x80\x90\x1a4\x00\x18\x04\xc1\xcatF\x9cB\x02lC`\x8d\x105z\x83\x894\x00\x1c`\xae\x16\x10\xa2\x06\x00!\x14Y\x9e$\x08\x0eA\x04\x8fQ\xe10x\x15\x02\x9bT\xd5\x1fpHv\xce!XW\x8d\x844\xfc\x02\x1aF\x1d8\xc7\x08\x92.\xad\xfeu%\xe7\x16\x14ae\x176\x12ST\x87 = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[float32-view-new-new-mode1-omp] ___________________ dtype = dtype('float32'), itype = 'view', enout = 'new', deout = 'new' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00*\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x88x\x01\n\xcf\xf7\x87\xaf\xc0 \x18\x98\x03\x82\x03\x11\x00\x1f\x8e\x00pHn\t\x07\x81\x01\xf8\xb88\x01\xe0Cd\x07\x8e\x9cI\xb3\x07\xb0f\xce\x0f\x93\xfc`p\xc1\xc0\x08\x03~6\x0f\xb8\xe7w\xf0\xd8\x01\x9b$\xbc\xe9\xdd\xf0\x00\x06\x0c\x10\xf3%\x81\xcd\x88-\xbd\xc7mJ\x02\xc8(\x1c9\x1f\xcc\x17\xc3\xe80\xdb\x89G\x16\xc0<\x1a[\x1b\xf8\xafZhy\x08+\xc6K\x03\x93@#l}\x1c\x1c\xcfr4\x89\xc0\xe7\x9e]tx)&\xc5d\xa9<\xad\xb1Eo\x98\xea\xdd\xbf\x1b/\x12\xb6\x16L\xa8\x9c,\x88\xb4\x9d;\x12\x900\xc1Y\x0c\x90}\xe6\xaeP\xcaEV\x11\x8f\xb9p\x07\xb1d\x17\xf5\xd9E\xab3\xb2c\xfc2\xeb\xde\xee^{\xced\x01\x08\x800\xa8\x1a\xb3\xf4H@HI\x06a \x02,\x07\xb2\xe0\x02\x81\x84\x06\x06\x10\x00\x06\xafu\x98=\x82\x94P(<*\x8a\xbecL\xd00\x10E\x99\x820\x87\x18\x06F\xbc\x9c+\xf4\xc0\x84a\x8a\xf0\xc11f\x914\xd14\xe6\x86\xf8\xfd\xf4\xa7\tl\x92\x9a\xcd\xee\xeaS1\xdf\xa1\x1a\x91\xcd@\x1d\x1d\x7f\x80\x00\x9f\x8aR\xee~y|\xc9]\xa0Zd\xdc\t\xa6-\x94M\x01Ez?x\xde\xad\xea\xdc\x8e=\xde=\x91\xd9s\x07g\x0b-`\x11\xf7y`T\x8a\xe8xNu\xef\xb5B@\xae\xf444u.\t\xe7\xd6\x87\x1e\xba\xe7\x0b\xc2\xc7\xbc \xa6\x04\xf0\xa1Ks\xb8\xc8\xdf\x1d\xa2\xe5\x16\xab\x83G\xb8B\xcf\xf0l\'\x1f\xa8\xd9\xc2 \x00\x1b\x0...73\x1c%\x97\xab\xbe\xa2&Il\xd1g\xfa\xcb\x15*\x9fK\x10\x96@0DB\x0c\x00H\ru\xc1\x00\xa54\x00@\x80\xc0\x0b\x00\x08\xd9\xb0\x18\xf52\x81\x04\x02\x08B\x97\x83\xfbhA\x01\x84\x1a\x80!\x936\xc5\x10DF\x9b\xa2\xa0\xc5\xc2q\x98\x843\x88\xaf)\x99\x94ttZ\x13\xc7\xbaI\x10\x93E0\xd9\x8e\xd5\xb5B\xaa\x89\x13y\xcd\xda\xdd\xf8l\x1bwD8H\xb2\x91\xd9\x00E\x9a\xaca\'\x0b\x07\xa2\xd1\xc60\xf0\x9fU\xa6\xe3\xbc\xe5 \x94g\xd7\xach\x8awJs%\xbf\xd0\xd5\xa5\x87B}7\xc8\xe4\x087J\xfd\xfd\xb4\xba\x96g\x11k\x12F{_\xf0B\x83^\xe7\xf1&?f\xa6?y\x9a\xfbx\xd0\x12\xe0V\xf9\xff\xe7_V@\xde\xde\xc9\xa4\x82\x14M\x8a\xd1 \x08\x94\x00\x02Y\xfft\x00\xc0\x01H@\x00\x08D\x00 \x02\x80\x0c\xe2P\x00h\x00 \x02\x81\x98\x80\x90\x1a4\x00\x18\x04\xc1\xcatF\x9cB\x02lC`\x8d\x105z\x83\x894\x00\x1c`\xae\x16\x10\xa2\x06\x00!\x14Y\x9e$\x08\x0eA\x04\x8fQ\xe10x\x15\x02\x9bT\xd5\x1fpHv\xce!XW\x8d\x844\xfc\x02\x1aF\x1d8\xc7\x08\x92.\xad\xfeu%\xe7\x16\x14ae\x176\x12ST\x87 = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError __________________ test_zfp[float32-view-new-out-mode0-None] ___________________ dtype = dtype('float32'), itype = 'view', enout = 'new', deout = 'out' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00*\x05pfz\x00\x07e\xfd\x88\x00\x01\xf0\x10\x07`\x00\x8e@\x10(\x07\x80\xe3\x10\x1e\x01\x86\x181\x8f\x01\x878\x00\x06\x03\xb2\x18\xc0~\x1f\x18\x00\x00\x99\r\xef\xa4\x8f\x8e\x10\x19\x181\x87\xf28;\x86`\x98\x7f\xce\x9c\x7fp\x1b\xf2\xe3\x06\x0b\x01\xf98\x1aEx\x1f\xca`6886l\x086c\xcf\x07"\xf9g)\x8e\x00A\x08~\x88\x8f\xa8\x07m\xce\x01~\xb5\xff\xc9\xc3l0Wf\xb1\x1b\xa6t\xf0Nq\xc2\x0c\x08\xd6t\xfe\x01\x16\xde}\xeb\xb6\x07m\x81\x16\x85\xc8\xec)\xf2c\xff\x16\x02\x8d\xf4\x07\xfe\xfcqVeJ\xf7A\xbe\x0eI\x18\x1f\xf4\x1b\x97\xf5lN\x1a\x1f\t\xe47\xb8\x908l\rM\x14\x00\x03\xb4\xfe\xc8\x146\xa0\x10\x03\x00\x00\x00\xa0\x00\x02\x00@vn\x00\x04$\x04\x06\x83.\xe9 \x01\xe62\x0bB\x03Y\x90x\x00!>B\xad\x90\xc6\x0c\x089\xe6\xcf\xafjn\x1c\x991\xe98ip\x0eH\xdd\xcf\xa8e\xdf\x7f\xa8Y\xad\x83(\x03\xdf\xb0?\xe1\xf3\xb3\xbdC\xdb\x14\xbd;\x1fB\xf68v10\xf3x\x97\xf6ya\xe1\x99x\xb0\xd3\x03\x85\x1d\x87\x90\xc6<\xbb2\x04\x0f\xe9\x9d\xe75\x01\xd8\'\xe6\t\n\xb1`\x01\x18\xb60\x1b\xec\x8d\xb7~\xc7\xbc\xbc;\x06;\xa0L\r\xcc?\x92\xdeC\x0b\xd2\x8bd&\xd4T\x07|\x19\xd3S?\xa8\x84r\xf4=\xfd^\x97(1\xec\x17\x80\x00\x00\x00\x00\r\x99C@\x18\x1a\xda\x7fnH@\x01\x80\x01\x00(\x06\x00\x838\x000\x03\x80\x82\xb1\xd0\x88\x183 \x05\x00\...83\x9b\x8f\xa1\xef\xb35\x13\xc0\xf4\xef]\xb0\x04\x06\x0e\x93]L)0@\x1a/x\x8e\x00\tm?\xbb%\x91\x82\x00\x04\x1a\x00\x00@\xa0\x00\x18\x01@\x01\xa8(\x01\xc0\x08Y\x00\xc2\x88\xfb(0#\x00\x12Ap\xf6\x84z\xdd\x0e\x82 Q\x0fBlbq\x8c\xbe\x1eO\xfc\r\x04n\xd8o\xff\xc8\xf6\xb7\xb3\xea\xeb\xa4\xd4\xfb\x86E\xd2\xa3s\xf9\xf8X\xdb\xe6\xbb\x8dW\x02\xd4\xb4\xa4h\xb9\xedD|\xceO\x19`{\x14\r>\xf3.\xd6{xqy\xa8\x1b\x1d\xafq\xd9\xabM\xa8\x1a\x06Y\xfc!0\xea\xb3\xca\x95\x9f\xb2\x8a\xa4D\xe5\x87\xcb$e\x1f\xe4\xcd\x9c\xb9\xb4\x8e\x8b\'\x81W\xd4\x879L\xea\x08gY\xe6L\x89\xe4Z\xc1S\xfb\xf4\xb5\x91\x17\xb7\xb2\x9b\x8d\x9c\xc6\xcci\xc6\xe8)0H!\x81\xe9,\x00\x06\x00\x81@\x00;O\x00\x04\x02\x00\x80@\x00\x00\x01 \x12\x01\x04\x00\xa0\x02\xe0\x00\x90\x0b\x01\x82\x02\x90\xc0\n\x00P\x00\x01\x81\x14:\x06\x00P\x04aCjbT,\x10\x06\x80\x96\xb3\xecL4KI\x03\xbf\xb1p8>p\x13\xba\xba&N\xd5\xbf\xeb\x1d\xfcN\xd7x\xb6\xd1!O\xe3%,\x8d\x9b\x87M\xcf\xdc\x10\x04\x00;\x11\xff\t\x9b = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[float32-view-new-out-mode0-omp] ___________________ dtype = dtype('float32'), itype = 'view', enout = 'new', deout = 'out' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00*\x05pfz\x00\x07e\xfd\x88\x00\x01\xf0\x10\x07`\x00\x8e@\x10(\x07\x80\xe3\x10\x1e\x01\x86\x181\x8f\x01\x878\x00\x06\x03\xb2\x18\xc0~\x1f\x18\x00\x00\x99\r\xef\xa4\x8f\x8e\x10\x19\x181\x87\xf28;\x86`\x98\x7f\xce\x9c\x7fp\x1b\xf2\xe3\x06\x0b\x01\xf98\x1aEx\x1f\xca`6886l\x086c\xcf\x07"\xf9g)\x8e\x00A\x08~\x88\x8f\xa8\x07m\xce\x01~\xb5\xff\xc9\xc3l0Wf\xb1\x1b\xa6t\xf0Nq\xc2\x0c\x08\xd6t\xfe\x01\x16\xde}\xeb\xb6\x07m\x81\x16\x85\xc8\xec)\xf2c\xff\x16\x02\x8d\xf4\x07\xfe\xfcqVeJ\xf7A\xbe\x0eI\x18\x1f\xf4\x1b\x97\xf5lN\x1a\x1f\t\xe47\xb8\x908l\rM\x14\x00\x03\xb4\xfe\xc8\x146\xa0\x10\x03\x00\x00\x00\xa0\x00\x02\x00@vn\x00\x04$\x04\x06\x83.\xe9 \x01\xe62\x0bB\x03Y\x90x\x00!>B\xad\x90\xc6\x0c\x089\xe6\xcf\xafjn\x1c\x991\xe98ip\x0eH\xdd\xcf\xa8e\xdf\x7f\xa8Y\xad\x83(\x03\xdf\xb0?\xe1\xf3\xb3\xbdC\xdb\x14\xbd;\x1fB\xf68v10\xf3x\x97\xf6ya\xe1\x99x\xb0\xd3\x03\x85\x1d\x87\x90\xc6<\xbb2\x04\x0f\xe9\x9d\xe75\x01\xd8\'\xe6\t\n\xb1`\x01\x18\xb60\x1b\xec\x8d\xb7~\xc7\xbc\xbc;\x06;\xa0L\r\xcc?\x92\xdeC\x0b\xd2\x8bd&\xd4T\x07|\x19\xd3S?\xa8\x84r\xf4=\xfd^\x97(1\xec\x17\x80\x00\x00\x00\x00\r\x99C@\x18\x1a\xda\x7fnH@\x01\x80\x01\x00(\x06\x00\x838\x000\x03\x80\x82\xb1\xd0\x88\x183 \x05\x00\...83\x9b\x8f\xa1\xef\xb35\x13\xc0\xf4\xef]\xb0\x04\x06\x0e\x93]L)0@\x1a/x\x8e\x00\tm?\xbb%\x91\x82\x00\x04\x1a\x00\x00@\xa0\x00\x18\x01@\x01\xa8(\x01\xc0\x08Y\x00\xc2\x88\xfb(0#\x00\x12Ap\xf6\x84z\xdd\x0e\x82 Q\x0fBlbq\x8c\xbe\x1eO\xfc\r\x04n\xd8o\xff\xc8\xf6\xb7\xb3\xea\xeb\xa4\xd4\xfb\x86E\xd2\xa3s\xf9\xf8X\xdb\xe6\xbb\x8dW\x02\xd4\xb4\xa4h\xb9\xedD|\xceO\x19`{\x14\r>\xf3.\xd6{xqy\xa8\x1b\x1d\xafq\xd9\xabM\xa8\x1a\x06Y\xfc!0\xea\xb3\xca\x95\x9f\xb2\x8a\xa4D\xe5\x87\xcb$e\x1f\xe4\xcd\x9c\xb9\xb4\x8e\x8b\'\x81W\xd4\x879L\xea\x08gY\xe6L\x89\xe4Z\xc1S\xfb\xf4\xb5\x91\x17\xb7\xb2\x9b\x8d\x9c\xc6\xcci\xc6\xe8)0H!\x81\xe9,\x00\x06\x00\x81@\x00;O\x00\x04\x02\x00\x80@\x00\x00\x01 \x12\x01\x04\x00\xa0\x02\xe0\x00\x90\x0b\x01\x82\x02\x90\xc0\n\x00P\x00\x01\x81\x14:\x06\x00P\x04aCjbT,\x10\x06\x80\x96\xb3\xecL4KI\x03\xbf\xb1p8>p\x13\xba\xba&N\xd5\xbf\xeb\x1d\xfcN\xd7x\xb6\xd1!O\xe3%,\x8d\x9b\x87M\xcf\xdc\x10\x04\x00;\x11\xff\t\x9b = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError __________________ test_zfp[float32-view-new-out-mode1-None] ___________________ dtype = dtype('float32'), itype = 'view', enout = 'new', deout = 'out' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00*\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x88x\x01\n\xcf\xf7\x87\xaf\xc0 \x18\x98\x03\x82\x03\x11\x00\x1f\x8e\x00pHn\t\x07\x81\x01\xf8\xb88\x01\xe0Cd\x07\x8e\x9cI\xb3\x07\xb0f\xce\x0f\x93\xfc`p\xc1\xc0\x08\x03~6\x0f\xb8\xe7w\xf0\xd8\x01\x9b$\xbc\xe9\xdd\xf0\x00\x06\x0c\x10\xf3%\x81\xcd\x88-\xbd\xc7mJ\x02\xc8(\x1c9\x1f\xcc\x17\xc3\xe80\xdb\x89G\x16\xc0<\x1a[\x1b\xf8\xafZhy\x08+\xc6K\x03\x93@#l}\x1c\x1c\xcfr4\x89\xc0\xe7\x9e]tx)&\xc5d\xa9<\xad\xb1Eo\x98\xea\xdd\xbf\x1b/\x12\xb6\x16L\xa8\x9c,\x88\xb4\x9d;\x12\x900\xc1Y\x0c\x90}\xe6\xaeP\xcaEV\x11\x8f\xb9p\x07\xb1d\x17\xf5\xd9E\xab3\xb2c\xfc2\xeb\xde\xee^{\xced\x01\x08\x800\xa8\x1a\xb3\xf4H@HI\x06a \x02,\x07\xb2\xe0\x02\x81\x84\x06\x06\x10\x00\x06\xafu\x98=\x82\x94P(<*\x8a\xbecL\xd00\x10E\x99\x820\x87\x18\x06F\xbc\x9c+\xf4\xc0\x84a\x8a\xf0\xc11f\x914\xd14\xe6\x86\xf8\xfd\xf4\xa7\tl\x92\x9a\xcd\xee\xeaS1\xdf\xa1\x1a\x91\xcd@\x1d\x1d\x7f\x80\x00\x9f\x8aR\xee~y|\xc9]\xa0Zd\xdc\t\xa6-\x94M\x01Ez?x\xde\xad\xea\xdc\x8e=\xde=\x91\xd9s\x07g\x0b-`\x11\xf7y`T\x8a\xe8xNu\xef\xb5B@\xae\xf444u.\t\xe7\xd6\x87\x1e\xba\xe7\x0b\xc2\xc7\xbc \xa6\x04\xf0\xa1Ks\xb8\xc8\xdf\x1d\xa2\xe5\x16\xab\x83G\xb8B\xcf\xf0l\'\x1f\xa8\xd9\xc2 \x00\x1b\x0...73\x1c%\x97\xab\xbe\xa2&Il\xd1g\xfa\xcb\x15*\x9fK\x10\x96@0DB\x0c\x00H\ru\xc1\x00\xa54\x00@\x80\xc0\x0b\x00\x08\xd9\xb0\x18\xf52\x81\x04\x02\x08B\x97\x83\xfbhA\x01\x84\x1a\x80!\x936\xc5\x10DF\x9b\xa2\xa0\xc5\xc2q\x98\x843\x88\xaf)\x99\x94ttZ\x13\xc7\xbaI\x10\x93E0\xd9\x8e\xd5\xb5B\xaa\x89\x13y\xcd\xda\xdd\xf8l\x1bwD8H\xb2\x91\xd9\x00E\x9a\xaca\'\x0b\x07\xa2\xd1\xc60\xf0\x9fU\xa6\xe3\xbc\xe5 \x94g\xd7\xach\x8awJs%\xbf\xd0\xd5\xa5\x87B}7\xc8\xe4\x087J\xfd\xfd\xb4\xba\x96g\x11k\x12F{_\xf0B\x83^\xe7\xf1&?f\xa6?y\x9a\xfbx\xd0\x12\xe0V\xf9\xff\xe7_V@\xde\xde\xc9\xa4\x82\x14M\x8a\xd1 \x08\x94\x00\x02Y\xfft\x00\xc0\x01H@\x00\x08D\x00 \x02\x80\x0c\xe2P\x00h\x00 \x02\x81\x98\x80\x90\x1a4\x00\x18\x04\xc1\xcatF\x9cB\x02lC`\x8d\x105z\x83\x894\x00\x1c`\xae\x16\x10\xa2\x06\x00!\x14Y\x9e$\x08\x0eA\x04\x8fQ\xe10x\x15\x02\x9bT\xd5\x1fpHv\xce!XW\x8d\x844\xfc\x02\x1aF\x1d8\xc7\x08\x92.\xad\xfeu%\xe7\x16\x14ae\x176\x12ST\x87 = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[float32-view-new-out-mode1-omp] ___________________ dtype = dtype('float32'), itype = 'view', enout = 'new', deout = 'out' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00*\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x88x\x01\n\xcf\xf7\x87\xaf\xc0 \x18\x98\x03\x82\x03\x11\x00\x1f\x8e\x00pHn\t\x07\x81\x01\xf8\xb88\x01\xe0Cd\x07\x8e\x9cI\xb3\x07\xb0f\xce\x0f\x93\xfc`p\xc1\xc0\x08\x03~6\x0f\xb8\xe7w\xf0\xd8\x01\x9b$\xbc\xe9\xdd\xf0\x00\x06\x0c\x10\xf3%\x81\xcd\x88-\xbd\xc7mJ\x02\xc8(\x1c9\x1f\xcc\x17\xc3\xe80\xdb\x89G\x16\xc0<\x1a[\x1b\xf8\xafZhy\x08+\xc6K\x03\x93@#l}\x1c\x1c\xcfr4\x89\xc0\xe7\x9e]tx)&\xc5d\xa9<\xad\xb1Eo\x98\xea\xdd\xbf\x1b/\x12\xb6\x16L\xa8\x9c,\x88\xb4\x9d;\x12\x900\xc1Y\x0c\x90}\xe6\xaeP\xcaEV\x11\x8f\xb9p\x07\xb1d\x17\xf5\xd9E\xab3\xb2c\xfc2\xeb\xde\xee^{\xced\x01\x08\x800\xa8\x1a\xb3\xf4H@HI\x06a \x02,\x07\xb2\xe0\x02\x81\x84\x06\x06\x10\x00\x06\xafu\x98=\x82\x94P(<*\x8a\xbecL\xd00\x10E\x99\x820\x87\x18\x06F\xbc\x9c+\xf4\xc0\x84a\x8a\xf0\xc11f\x914\xd14\xe6\x86\xf8\xfd\xf4\xa7\tl\x92\x9a\xcd\xee\xeaS1\xdf\xa1\x1a\x91\xcd@\x1d\x1d\x7f\x80\x00\x9f\x8aR\xee~y|\xc9]\xa0Zd\xdc\t\xa6-\x94M\x01Ez?x\xde\xad\xea\xdc\x8e=\xde=\x91\xd9s\x07g\x0b-`\x11\xf7y`T\x8a\xe8xNu\xef\xb5B@\xae\xf444u.\t\xe7\xd6\x87\x1e\xba\xe7\x0b\xc2\xc7\xbc \xa6\x04\xf0\xa1Ks\xb8\xc8\xdf\x1d\xa2\xe5\x16\xab\x83G\xb8B\xcf\xf0l\'\x1f\xa8\xd9\xc2 \x00\x1b\x0...73\x1c%\x97\xab\xbe\xa2&Il\xd1g\xfa\xcb\x15*\x9fK\x10\x96@0DB\x0c\x00H\ru\xc1\x00\xa54\x00@\x80\xc0\x0b\x00\x08\xd9\xb0\x18\xf52\x81\x04\x02\x08B\x97\x83\xfbhA\x01\x84\x1a\x80!\x936\xc5\x10DF\x9b\xa2\xa0\xc5\xc2q\x98\x843\x88\xaf)\x99\x94ttZ\x13\xc7\xbaI\x10\x93E0\xd9\x8e\xd5\xb5B\xaa\x89\x13y\xcd\xda\xdd\xf8l\x1bwD8H\xb2\x91\xd9\x00E\x9a\xaca\'\x0b\x07\xa2\xd1\xc60\xf0\x9fU\xa6\xe3\xbc\xe5 \x94g\xd7\xach\x8awJs%\xbf\xd0\xd5\xa5\x87B}7\xc8\xe4\x087J\xfd\xfd\xb4\xba\x96g\x11k\x12F{_\xf0B\x83^\xe7\xf1&?f\xa6?y\x9a\xfbx\xd0\x12\xe0V\xf9\xff\xe7_V@\xde\xde\xc9\xa4\x82\x14M\x8a\xd1 \x08\x94\x00\x02Y\xfft\x00\xc0\x01H@\x00\x08D\x00 \x02\x80\x0c\xe2P\x00h\x00 \x02\x81\x98\x80\x90\x1a4\x00\x18\x04\xc1\xcatF\x9cB\x02lC`\x8d\x105z\x83\x894\x00\x1c`\xae\x16\x10\xa2\x06\x00!\x14Y\x9e$\x08\x0eA\x04\x8fQ\xe10x\x15\x02\x9bT\xd5\x1fpHv\xce!XW\x8d\x844\xfc\x02\x1aF\x1d8\xc7\x08\x92.\xad\xfeu%\xe7\x16\x14ae\x176\x12ST\x87 = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _______________ test_zfp[float32-view-new-bytearray-mode0-None] ________________ dtype = dtype('float32'), itype = 'view', enout = 'new', deout = 'bytearray' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00*\x05pfz\x00\x07e\xfd\x88\x00\x01\xf0\x10\x07`\x00\x8e@\x10(\x07\x80\xe3\x10\x1e\x01\x86\x181\x8f\x01\x878\x00\x06\x03\xb2\x18\xc0~\x1f\x18\x00\x00\x99\r\xef\xa4\x8f\x8e\x10\x19\x181\x87\xf28;\x86`\x98\x7f\xce\x9c\x7fp\x1b\xf2\xe3\x06\x0b\x01\xf98\x1aEx\x1f\xca`6886l\x086c\xcf\x07"\xf9g)\x8e\x00A\x08~\x88\x8f\xa8\x07m\xce\x01~\xb5\xff\xc9\xc3l0Wf\xb1\x1b\xa6t\xf0Nq\xc2\x0c\x08\xd6t\xfe\x01\x16\xde}\xeb\xb6\x07m\x81\x16\x85\xc8\xec)\xf2c\xff\x16\x02\x8d\xf4\x07\xfe\xfcqVeJ\xf7A\xbe\x0eI\x18\x1f\xf4\x1b\x97\xf5lN\x1a\x1f\t\xe47\xb8\x908l\rM\x14\x00\x03\xb4\xfe\xc8\x146\xa0\x10\x03\x00\x00\x00\xa0\x00\x02\x00@vn\x00\x04$\x04\x06\x83.\xe9 \x01\xe62\x0bB\x03Y\x90x\x00!>B\xad\x90\xc6\x0c\x089\xe6\xcf\xafjn\x1c\x991\xe98ip\x0eH\xdd\xcf\xa8e\xdf\x7f\xa8Y\xad\x83(\x03\xdf\xb0?\xe1\xf3\xb3\xbdC\xdb\x14\xbd;\x1fB\xf68v10\xf3x\x97\xf6ya\xe1\x99x\xb0\xd3\x03\x85\x1d\x87\x90\xc6<\xbb2\x04\x0f\xe9\x9d\xe75\x01\xd8\'\xe6\t\n\xb1`\x01\x18\xb60\x1b\xec\x8d\xb7~\xc7\xbc\xbc;\x06;\xa0L\r\xcc?\x92\xdeC\x0b\xd2\x8bd&\xd4T\x07|\x19\xd3S?\xa8\x84r\xf4=\xfd^\x97(1\xec\x17\x80\x00\x00\x00\x00\r\x99C@\x18\x1a\xda\x7fnH@\x01\x80\x01\x00(\x06\x00\x838\x000\x03\x80\x82\xb1\xd0\x88\x183 \x05\x00\...83\x9b\x8f\xa1\xef\xb35\x13\xc0\xf4\xef]\xb0\x04\x06\x0e\x93]L)0@\x1a/x\x8e\x00\tm?\xbb%\x91\x82\x00\x04\x1a\x00\x00@\xa0\x00\x18\x01@\x01\xa8(\x01\xc0\x08Y\x00\xc2\x88\xfb(0#\x00\x12Ap\xf6\x84z\xdd\x0e\x82 Q\x0fBlbq\x8c\xbe\x1eO\xfc\r\x04n\xd8o\xff\xc8\xf6\xb7\xb3\xea\xeb\xa4\xd4\xfb\x86E\xd2\xa3s\xf9\xf8X\xdb\xe6\xbb\x8dW\x02\xd4\xb4\xa4h\xb9\xedD|\xceO\x19`{\x14\r>\xf3.\xd6{xqy\xa8\x1b\x1d\xafq\xd9\xabM\xa8\x1a\x06Y\xfc!0\xea\xb3\xca\x95\x9f\xb2\x8a\xa4D\xe5\x87\xcb$e\x1f\xe4\xcd\x9c\xb9\xb4\x8e\x8b\'\x81W\xd4\x879L\xea\x08gY\xe6L\x89\xe4Z\xc1S\xfb\xf4\xb5\x91\x17\xb7\xb2\x9b\x8d\x9c\xc6\xcci\xc6\xe8)0H!\x81\xe9,\x00\x06\x00\x81@\x00;O\x00\x04\x02\x00\x80@\x00\x00\x01 \x12\x01\x04\x00\xa0\x02\xe0\x00\x90\x0b\x01\x82\x02\x90\xc0\n\x00P\x00\x01\x81\x14:\x06\x00P\x04aCjbT,\x10\x06\x80\x96\xb3\xecL4KI\x03\xbf\xb1p8>p\x13\xba\xba&N\xd5\xbf\xeb\x1d\xfcN\xd7x\xb6\xd1!O\xe3%,\x8d\x9b\x87M\xcf\xdc\x10\x04\x00;\x11\xff\t\x9b = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[float32-view-new-bytearray-mode0-omp] ________________ dtype = dtype('float32'), itype = 'view', enout = 'new', deout = 'bytearray' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00*\x05pfz\x00\x07e\xfd\x88\x00\x01\xf0\x10\x07`\x00\x8e@\x10(\x07\x80\xe3\x10\x1e\x01\x86\x181\x8f\x01\x878\x00\x06\x03\xb2\x18\xc0~\x1f\x18\x00\x00\x99\r\xef\xa4\x8f\x8e\x10\x19\x181\x87\xf28;\x86`\x98\x7f\xce\x9c\x7fp\x1b\xf2\xe3\x06\x0b\x01\xf98\x1aEx\x1f\xca`6886l\x086c\xcf\x07"\xf9g)\x8e\x00A\x08~\x88\x8f\xa8\x07m\xce\x01~\xb5\xff\xc9\xc3l0Wf\xb1\x1b\xa6t\xf0Nq\xc2\x0c\x08\xd6t\xfe\x01\x16\xde}\xeb\xb6\x07m\x81\x16\x85\xc8\xec)\xf2c\xff\x16\x02\x8d\xf4\x07\xfe\xfcqVeJ\xf7A\xbe\x0eI\x18\x1f\xf4\x1b\x97\xf5lN\x1a\x1f\t\xe47\xb8\x908l\rM\x14\x00\x03\xb4\xfe\xc8\x146\xa0\x10\x03\x00\x00\x00\xa0\x00\x02\x00@vn\x00\x04$\x04\x06\x83.\xe9 \x01\xe62\x0bB\x03Y\x90x\x00!>B\xad\x90\xc6\x0c\x089\xe6\xcf\xafjn\x1c\x991\xe98ip\x0eH\xdd\xcf\xa8e\xdf\x7f\xa8Y\xad\x83(\x03\xdf\xb0?\xe1\xf3\xb3\xbdC\xdb\x14\xbd;\x1fB\xf68v10\xf3x\x97\xf6ya\xe1\x99x\xb0\xd3\x03\x85\x1d\x87\x90\xc6<\xbb2\x04\x0f\xe9\x9d\xe75\x01\xd8\'\xe6\t\n\xb1`\x01\x18\xb60\x1b\xec\x8d\xb7~\xc7\xbc\xbc;\x06;\xa0L\r\xcc?\x92\xdeC\x0b\xd2\x8bd&\xd4T\x07|\x19\xd3S?\xa8\x84r\xf4=\xfd^\x97(1\xec\x17\x80\x00\x00\x00\x00\r\x99C@\x18\x1a\xda\x7fnH@\x01\x80\x01\x00(\x06\x00\x838\x000\x03\x80\x82\xb1\xd0\x88\x183 \x05\x00\...83\x9b\x8f\xa1\xef\xb35\x13\xc0\xf4\xef]\xb0\x04\x06\x0e\x93]L)0@\x1a/x\x8e\x00\tm?\xbb%\x91\x82\x00\x04\x1a\x00\x00@\xa0\x00\x18\x01@\x01\xa8(\x01\xc0\x08Y\x00\xc2\x88\xfb(0#\x00\x12Ap\xf6\x84z\xdd\x0e\x82 Q\x0fBlbq\x8c\xbe\x1eO\xfc\r\x04n\xd8o\xff\xc8\xf6\xb7\xb3\xea\xeb\xa4\xd4\xfb\x86E\xd2\xa3s\xf9\xf8X\xdb\xe6\xbb\x8dW\x02\xd4\xb4\xa4h\xb9\xedD|\xceO\x19`{\x14\r>\xf3.\xd6{xqy\xa8\x1b\x1d\xafq\xd9\xabM\xa8\x1a\x06Y\xfc!0\xea\xb3\xca\x95\x9f\xb2\x8a\xa4D\xe5\x87\xcb$e\x1f\xe4\xcd\x9c\xb9\xb4\x8e\x8b\'\x81W\xd4\x879L\xea\x08gY\xe6L\x89\xe4Z\xc1S\xfb\xf4\xb5\x91\x17\xb7\xb2\x9b\x8d\x9c\xc6\xcci\xc6\xe8)0H!\x81\xe9,\x00\x06\x00\x81@\x00;O\x00\x04\x02\x00\x80@\x00\x00\x01 \x12\x01\x04\x00\xa0\x02\xe0\x00\x90\x0b\x01\x82\x02\x90\xc0\n\x00P\x00\x01\x81\x14:\x06\x00P\x04aCjbT,\x10\x06\x80\x96\xb3\xecL4KI\x03\xbf\xb1p8>p\x13\xba\xba&N\xd5\xbf\xeb\x1d\xfcN\xd7x\xb6\xd1!O\xe3%,\x8d\x9b\x87M\xcf\xdc\x10\x04\x00;\x11\xff\t\x9b = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _______________ test_zfp[float32-view-new-bytearray-mode1-None] ________________ dtype = dtype('float32'), itype = 'view', enout = 'new', deout = 'bytearray' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00*\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x88x\x01\n\xcf\xf7\x87\xaf\xc0 \x18\x98\x03\x82\x03\x11\x00\x1f\x8e\x00pHn\t\x07\x81\x01\xf8\xb88\x01\xe0Cd\x07\x8e\x9cI\xb3\x07\xb0f\xce\x0f\x93\xfc`p\xc1\xc0\x08\x03~6\x0f\xb8\xe7w\xf0\xd8\x01\x9b$\xbc\xe9\xdd\xf0\x00\x06\x0c\x10\xf3%\x81\xcd\x88-\xbd\xc7mJ\x02\xc8(\x1c9\x1f\xcc\x17\xc3\xe80\xdb\x89G\x16\xc0<\x1a[\x1b\xf8\xafZhy\x08+\xc6K\x03\x93@#l}\x1c\x1c\xcfr4\x89\xc0\xe7\x9e]tx)&\xc5d\xa9<\xad\xb1Eo\x98\xea\xdd\xbf\x1b/\x12\xb6\x16L\xa8\x9c,\x88\xb4\x9d;\x12\x900\xc1Y\x0c\x90}\xe6\xaeP\xcaEV\x11\x8f\xb9p\x07\xb1d\x17\xf5\xd9E\xab3\xb2c\xfc2\xeb\xde\xee^{\xced\x01\x08\x800\xa8\x1a\xb3\xf4H@HI\x06a \x02,\x07\xb2\xe0\x02\x81\x84\x06\x06\x10\x00\x06\xafu\x98=\x82\x94P(<*\x8a\xbecL\xd00\x10E\x99\x820\x87\x18\x06F\xbc\x9c+\xf4\xc0\x84a\x8a\xf0\xc11f\x914\xd14\xe6\x86\xf8\xfd\xf4\xa7\tl\x92\x9a\xcd\xee\xeaS1\xdf\xa1\x1a\x91\xcd@\x1d\x1d\x7f\x80\x00\x9f\x8aR\xee~y|\xc9]\xa0Zd\xdc\t\xa6-\x94M\x01Ez?x\xde\xad\xea\xdc\x8e=\xde=\x91\xd9s\x07g\x0b-`\x11\xf7y`T\x8a\xe8xNu\xef\xb5B@\xae\xf444u.\t\xe7\xd6\x87\x1e\xba\xe7\x0b\xc2\xc7\xbc \xa6\x04\xf0\xa1Ks\xb8\xc8\xdf\x1d\xa2\xe5\x16\xab\x83G\xb8B\xcf\xf0l\'\x1f\xa8\xd9\xc2 \x00\x1b\x0...73\x1c%\x97\xab\xbe\xa2&Il\xd1g\xfa\xcb\x15*\x9fK\x10\x96@0DB\x0c\x00H\ru\xc1\x00\xa54\x00@\x80\xc0\x0b\x00\x08\xd9\xb0\x18\xf52\x81\x04\x02\x08B\x97\x83\xfbhA\x01\x84\x1a\x80!\x936\xc5\x10DF\x9b\xa2\xa0\xc5\xc2q\x98\x843\x88\xaf)\x99\x94ttZ\x13\xc7\xbaI\x10\x93E0\xd9\x8e\xd5\xb5B\xaa\x89\x13y\xcd\xda\xdd\xf8l\x1bwD8H\xb2\x91\xd9\x00E\x9a\xaca\'\x0b\x07\xa2\xd1\xc60\xf0\x9fU\xa6\xe3\xbc\xe5 \x94g\xd7\xach\x8awJs%\xbf\xd0\xd5\xa5\x87B}7\xc8\xe4\x087J\xfd\xfd\xb4\xba\x96g\x11k\x12F{_\xf0B\x83^\xe7\xf1&?f\xa6?y\x9a\xfbx\xd0\x12\xe0V\xf9\xff\xe7_V@\xde\xde\xc9\xa4\x82\x14M\x8a\xd1 \x08\x94\x00\x02Y\xfft\x00\xc0\x01H@\x00\x08D\x00 \x02\x80\x0c\xe2P\x00h\x00 \x02\x81\x98\x80\x90\x1a4\x00\x18\x04\xc1\xcatF\x9cB\x02lC`\x8d\x105z\x83\x894\x00\x1c`\xae\x16\x10\xa2\x06\x00!\x14Y\x9e$\x08\x0eA\x04\x8fQ\xe10x\x15\x02\x9bT\xd5\x1fpHv\xce!XW\x8d\x844\xfc\x02\x1aF\x1d8\xc7\x08\x92.\xad\xfeu%\xe7\x16\x14ae\x176\x12ST\x87 = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[float32-view-new-bytearray-mode1-omp] ________________ dtype = dtype('float32'), itype = 'view', enout = 'new', deout = 'bytearray' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00*\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x88x\x01\n\xcf\xf7\x87\xaf\xc0 \x18\x98\x03\x82\x03\x11\x00\x1f\x8e\x00pHn\t\x07\x81\x01\xf8\xb88\x01\xe0Cd\x07\x8e\x9cI\xb3\x07\xb0f\xce\x0f\x93\xfc`p\xc1\xc0\x08\x03~6\x0f\xb8\xe7w\xf0\xd8\x01\x9b$\xbc\xe9\xdd\xf0\x00\x06\x0c\x10\xf3%\x81\xcd\x88-\xbd\xc7mJ\x02\xc8(\x1c9\x1f\xcc\x17\xc3\xe80\xdb\x89G\x16\xc0<\x1a[\x1b\xf8\xafZhy\x08+\xc6K\x03\x93@#l}\x1c\x1c\xcfr4\x89\xc0\xe7\x9e]tx)&\xc5d\xa9<\xad\xb1Eo\x98\xea\xdd\xbf\x1b/\x12\xb6\x16L\xa8\x9c,\x88\xb4\x9d;\x12\x900\xc1Y\x0c\x90}\xe6\xaeP\xcaEV\x11\x8f\xb9p\x07\xb1d\x17\xf5\xd9E\xab3\xb2c\xfc2\xeb\xde\xee^{\xced\x01\x08\x800\xa8\x1a\xb3\xf4H@HI\x06a \x02,\x07\xb2\xe0\x02\x81\x84\x06\x06\x10\x00\x06\xafu\x98=\x82\x94P(<*\x8a\xbecL\xd00\x10E\x99\x820\x87\x18\x06F\xbc\x9c+\xf4\xc0\x84a\x8a\xf0\xc11f\x914\xd14\xe6\x86\xf8\xfd\xf4\xa7\tl\x92\x9a\xcd\xee\xeaS1\xdf\xa1\x1a\x91\xcd@\x1d\x1d\x7f\x80\x00\x9f\x8aR\xee~y|\xc9]\xa0Zd\xdc\t\xa6-\x94M\x01Ez?x\xde\xad\xea\xdc\x8e=\xde=\x91\xd9s\x07g\x0b-`\x11\xf7y`T\x8a\xe8xNu\xef\xb5B@\xae\xf444u.\t\xe7\xd6\x87\x1e\xba\xe7\x0b\xc2\xc7\xbc \xa6\x04\xf0\xa1Ks\xb8\xc8\xdf\x1d\xa2\xe5\x16\xab\x83G\xb8B\xcf\xf0l\'\x1f\xa8\xd9\xc2 \x00\x1b\x0...73\x1c%\x97\xab\xbe\xa2&Il\xd1g\xfa\xcb\x15*\x9fK\x10\x96@0DB\x0c\x00H\ru\xc1\x00\xa54\x00@\x80\xc0\x0b\x00\x08\xd9\xb0\x18\xf52\x81\x04\x02\x08B\x97\x83\xfbhA\x01\x84\x1a\x80!\x936\xc5\x10DF\x9b\xa2\xa0\xc5\xc2q\x98\x843\x88\xaf)\x99\x94ttZ\x13\xc7\xbaI\x10\x93E0\xd9\x8e\xd5\xb5B\xaa\x89\x13y\xcd\xda\xdd\xf8l\x1bwD8H\xb2\x91\xd9\x00E\x9a\xaca\'\x0b\x07\xa2\xd1\xc60\xf0\x9fU\xa6\xe3\xbc\xe5 \x94g\xd7\xach\x8awJs%\xbf\xd0\xd5\xa5\x87B}7\xc8\xe4\x087J\xfd\xfd\xb4\xba\x96g\x11k\x12F{_\xf0B\x83^\xe7\xf1&?f\xa6?y\x9a\xfbx\xd0\x12\xe0V\xf9\xff\xe7_V@\xde\xde\xc9\xa4\x82\x14M\x8a\xd1 \x08\x94\x00\x02Y\xfft\x00\xc0\x01H@\x00\x08D\x00 \x02\x80\x0c\xe2P\x00h\x00 \x02\x81\x98\x80\x90\x1a4\x00\x18\x04\xc1\xcatF\x9cB\x02lC`\x8d\x105z\x83\x894\x00\x1c`\xae\x16\x10\xa2\x06\x00!\x14Y\x9e$\x08\x0eA\x04\x8fQ\xe10x\x15\x02\x9bT\xd5\x1fpHv\xce!XW\x8d\x844\xfc\x02\x1aF\x1d8\xc7\x08\x92.\xad\xfeu%\xe7\x16\x14ae\x176\x12ST\x87 = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError __________________ test_zfp[float32-view-out-new-mode0-None] ___________________ dtype = dtype('float32'), itype = 'view', enout = 'out', deout = 'new' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00*\x05pfz\x00\x07e\xfd\x88\x00\x01\xf0\x10\x07`\x00\x8e@\x10(\x07\x80\xe3\x10\x1e\x01\x86\x181\x8f\x01\x878\x00\x06\x03\xb2\x18\xc0~\x1f\x18\x00\x00\x99\r\xef\xa4\x8f\x8e\x10\x19\x181\x87\xf28;\x86`\x98\x7f\xce\x9c\x7fp\x1b\xf2\xe3\x06\x0b\x01\xf98\x1aEx\x1f\xca`6886l\x086c\xcf\x07"\xf9g)\x8e\x00A\x08~\x88\x8f\xa8\x07m\xce\x01~\xb5\xff\xc9\xc3l0Wf\xb1\x1b\xa6t\xf0Nq\xc2\x0c\x08\xd6t\xfe\x01\x16\xde}\xeb\xb6\x07m\x81\x16\x85\xc8\xec)\xf2c\xff\x16\x02\x8d\xf4\x07\xfe\xfcqVeJ\xf7A\xbe\x0eI\x18\x1f\xf4\x1b\x97\xf5lN\x1a\x1f\t\xe47\xb8\x908l\rM\x14\x00\x03\xb4\xfe\xc8\x146\xa0\x10\x03\x00\x00\x00\xa0\x00\x02\x00@vn\x00\x04$\x04\x06\x83.\xe9 \x01\xe62\x0bB\x03Y\x90x\x00!>B\xad\x90\xc6\x0c\x089\xe6\xcf\xafjn\x1c\x991\xe98ip\x0eH\xdd\xcf\xa8e\xdf\x7f\xa8Y\xad\x83(\x03\xdf\xb0?\xe1\xf3\xb3\xbdC\xdb\x14\xbd;\x1fB\xf68v10\xf3x\x97\xf6ya\xe1\x99x\xb0\xd3\x03\x85\x1d\x87\x90\xc6<\xbb2\x04\x0f\xe9\x9d\xe75\x01\xd8\'\xe6\t\n\xb1`\x01\x18\xb60\x1b\xec\x8d\xb7~\xc7\xbc\xbc;\x06;\xa0L\r\xcc?\x92\xdeC\x0b\xd2\x8bd&\xd4T\x07|\x19\xd3S?\xa8\x84r\xf4=\xfd^\x97(1\xec\x17\x80\x00\x00\x00\x00\r\x99C@\x18\x1a\xda\x7fnH@\x01\x80\x01\x00(\x06\x00\x838\x000\x03\x80\x82\xb1\xd0\x88\x183 \x05\x00\...83\x9b\x8f\xa1\xef\xb35\x13\xc0\xf4\xef]\xb0\x04\x06\x0e\x93]L)0@\x1a/x\x8e\x00\tm?\xbb%\x91\x82\x00\x04\x1a\x00\x00@\xa0\x00\x18\x01@\x01\xa8(\x01\xc0\x08Y\x00\xc2\x88\xfb(0#\x00\x12Ap\xf6\x84z\xdd\x0e\x82 Q\x0fBlbq\x8c\xbe\x1eO\xfc\r\x04n\xd8o\xff\xc8\xf6\xb7\xb3\xea\xeb\xa4\xd4\xfb\x86E\xd2\xa3s\xf9\xf8X\xdb\xe6\xbb\x8dW\x02\xd4\xb4\xa4h\xb9\xedD|\xceO\x19`{\x14\r>\xf3.\xd6{xqy\xa8\x1b\x1d\xafq\xd9\xabM\xa8\x1a\x06Y\xfc!0\xea\xb3\xca\x95\x9f\xb2\x8a\xa4D\xe5\x87\xcb$e\x1f\xe4\xcd\x9c\xb9\xb4\x8e\x8b\'\x81W\xd4\x879L\xea\x08gY\xe6L\x89\xe4Z\xc1S\xfb\xf4\xb5\x91\x17\xb7\xb2\x9b\x8d\x9c\xc6\xcci\xc6\xe8)0H!\x81\xe9,\x00\x06\x00\x81@\x00;O\x00\x04\x02\x00\x80@\x00\x00\x01 \x12\x01\x04\x00\xa0\x02\xe0\x00\x90\x0b\x01\x82\x02\x90\xc0\n\x00P\x00\x01\x81\x14:\x06\x00P\x04aCjbT,\x10\x06\x80\x96\xb3\xecL4KI\x03\xbf\xb1p8>p\x13\xba\xba&N\xd5\xbf\xeb\x1d\xfcN\xd7x\xb6\xd1!O\xe3%,\x8d\x9b\x87M\xcf\xdc\x10\x04\x00;\x11\xff\t\x9b = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[float32-view-out-new-mode0-omp] ___________________ dtype = dtype('float32'), itype = 'view', enout = 'out', deout = 'new' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00*\x05pfz\x00\x07e\xfd\x88\x00\x01\xf0\x10\x07`\x00\x8e@\x10(\x07\x80\xe3\x10\x1e\x01\x86\x181\x8f\x01\x878\x00\x06\x03\xb2\x18\xc0~\x1f\x18\x00\x00\x99\r\xef\xa4\x8f\x8e\x10\x19\x181\x87\xf28;\x86`\x98\x7f\xce\x9c\x7fp\x1b\xf2\xe3\x06\x0b\x01\xf98\x1aEx\x1f\xca`6886l\x086c\xcf\x07"\xf9g)\x8e\x00A\x08~\x88\x8f\xa8\x07m\xce\x01~\xb5\xff\xc9\xc3l0Wf\xb1\x1b\xa6t\xf0Nq\xc2\x0c\x08\xd6t\xfe\x01\x16\xde}\xeb\xb6\x07m\x81\x16\x85\xc8\xec)\xf2c\xff\x16\x02\x8d\xf4\x07\xfe\xfcqVeJ\xf7A\xbe\x0eI\x18\x1f\xf4\x1b\x97\xf5lN\x1a\x1f\t\xe47\xb8\x908l\rM\x14\x00\x03\xb4\xfe\xc8\x146\xa0\x10\x03\x00\x00\x00\xa0\x00\x02\x00@vn\x00\x04$\x04\x06\x83.\xe9 \x01\xe62\x0bB\x03Y\x90x\x00!>B\xad\x90\xc6\x0c\x089\xe6\xcf\xafjn\x1c\x991\xe98ip\x0eH\xdd\xcf\xa8e\xdf\x7f\xa8Y\xad\x83(\x03\xdf\xb0?\xe1\xf3\xb3\xbdC\xdb\x14\xbd;\x1fB\xf68v10\xf3x\x97\xf6ya\xe1\x99x\xb0\xd3\x03\x85\x1d\x87\x90\xc6<\xbb2\x04\x0f\xe9\x9d\xe75\x01\xd8\'\xe6\t\n\xb1`\x01\x18\xb60\x1b\xec\x8d\xb7~\xc7\xbc\xbc;\x06;\xa0L\r\xcc?\x92\xdeC\x0b\xd2\x8bd&\xd4T\x07|\x19\xd3S?\xa8\x84r\xf4=\xfd^\x97(1\xec\x17\x80\x00\x00\x00\x00\r\x99C@\x18\x1a\xda\x7fnH@\x01\x80\x01\x00(\x06\x00\x838\x000\x03\x80\x82\xb1\xd0\x88\x183 \x05\x00\...83\x9b\x8f\xa1\xef\xb35\x13\xc0\xf4\xef]\xb0\x04\x06\x0e\x93]L)0@\x1a/x\x8e\x00\tm?\xbb%\x91\x82\x00\x04\x1a\x00\x00@\xa0\x00\x18\x01@\x01\xa8(\x01\xc0\x08Y\x00\xc2\x88\xfb(0#\x00\x12Ap\xf6\x84z\xdd\x0e\x82 Q\x0fBlbq\x8c\xbe\x1eO\xfc\r\x04n\xd8o\xff\xc8\xf6\xb7\xb3\xea\xeb\xa4\xd4\xfb\x86E\xd2\xa3s\xf9\xf8X\xdb\xe6\xbb\x8dW\x02\xd4\xb4\xa4h\xb9\xedD|\xceO\x19`{\x14\r>\xf3.\xd6{xqy\xa8\x1b\x1d\xafq\xd9\xabM\xa8\x1a\x06Y\xfc!0\xea\xb3\xca\x95\x9f\xb2\x8a\xa4D\xe5\x87\xcb$e\x1f\xe4\xcd\x9c\xb9\xb4\x8e\x8b\'\x81W\xd4\x879L\xea\x08gY\xe6L\x89\xe4Z\xc1S\xfb\xf4\xb5\x91\x17\xb7\xb2\x9b\x8d\x9c\xc6\xcci\xc6\xe8)0H!\x81\xe9,\x00\x06\x00\x81@\x00;O\x00\x04\x02\x00\x80@\x00\x00\x01 \x12\x01\x04\x00\xa0\x02\xe0\x00\x90\x0b\x01\x82\x02\x90\xc0\n\x00P\x00\x01\x81\x14:\x06\x00P\x04aCjbT,\x10\x06\x80\x96\xb3\xecL4KI\x03\xbf\xb1p8>p\x13\xba\xba&N\xd5\xbf\xeb\x1d\xfcN\xd7x\xb6\xd1!O\xe3%,\x8d\x9b\x87M\xcf\xdc\x10\x04\x00;\x11\xff\t\x9b = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError __________________ test_zfp[float32-view-out-new-mode1-None] ___________________ dtype = dtype('float32'), itype = 'view', enout = 'out', deout = 'new' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00*\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x88x\x01\n\xcf\xf7\x87\xaf\xc0 \x18\x98\x03\x82\x03\x11\x00\x1f\x8e\x00pHn\t\x07\x81\x01\xf8\xb88\x01\xe0Cd\x07\x8e\x9cI\xb3\x07\xb0f\xce\x0f\x93\xfc`p\xc1\xc0\x08\x03~6\x0f\xb8\xe7w\xf0\xd8\x01\x9b$\xbc\xe9\xdd\xf0\x00\x06\x0c\x10\xf3%\x81\xcd\x88-\xbd\xc7mJ\x02\xc8(\x1c9\x1f\xcc\x17\xc3\xe80\xdb\x89G\x16\xc0<\x1a[\x1b\xf8\xafZhy\x08+\xc6K\x03\x93@#l}\x1c\x1c\xcfr4\x89\xc0\xe7\x9e]tx)&\xc5d\xa9<\xad\xb1Eo\x98\xea\xdd\xbf\x1b/\x12\xb6\x16L\xa8\x9c,\x88\xb4\x9d;\x12\x900\xc1Y\x0c\x90}\xe6\xaeP\xcaEV\x11\x8f\xb9p\x07\xb1d\x17\xf5\xd9E\xab3\xb2c\xfc2\xeb\xde\xee^{\xced\x01\x08\x800\xa8\x1a\xb3\xf4H@HI\x06a \x02,\x07\xb2\xe0\x02\x81\x84\x06\x06\x10\x00\x06\xafu\x98=\x82\x94P(<*\x8a\xbecL\xd00\x10E\x99\x820\x87\x18\x06F\xbc\x9c+\xf4\xc0\x84a\x8a\xf0\xc11f\x914\xd14\xe6\x86\xf8\xfd\xf4\xa7\tl\x92\x9a\xcd\xee\xeaS1\xdf\xa1\x1a\x91\xcd@\x1d\x1d\x7f\x80\x00\x9f\x8aR\xee~y|\xc9]\xa0Zd\xdc\t\xa6-\x94M\x01Ez?x\xde\xad\xea\xdc\x8e=\xde=\x91\xd9s\x07g\x0b-`\x11\xf7y`T\x8a\xe8xNu\xef\xb5B@\xae\xf444u.\t\xe7\xd6\x87\x1e\xba\xe7\x0b\xc2\xc7\xbc \xa6\x04\xf0\xa1Ks\xb8\xc8\xdf\x1d\xa2\xe5\x16\xab\x83G\xb8B\xcf\xf0l\'\x1f\xa8\xd9\xc2 \x00\x1b\x0...73\x1c%\x97\xab\xbe\xa2&Il\xd1g\xfa\xcb\x15*\x9fK\x10\x96@0DB\x0c\x00H\ru\xc1\x00\xa54\x00@\x80\xc0\x0b\x00\x08\xd9\xb0\x18\xf52\x81\x04\x02\x08B\x97\x83\xfbhA\x01\x84\x1a\x80!\x936\xc5\x10DF\x9b\xa2\xa0\xc5\xc2q\x98\x843\x88\xaf)\x99\x94ttZ\x13\xc7\xbaI\x10\x93E0\xd9\x8e\xd5\xb5B\xaa\x89\x13y\xcd\xda\xdd\xf8l\x1bwD8H\xb2\x91\xd9\x00E\x9a\xaca\'\x0b\x07\xa2\xd1\xc60\xf0\x9fU\xa6\xe3\xbc\xe5 \x94g\xd7\xach\x8awJs%\xbf\xd0\xd5\xa5\x87B}7\xc8\xe4\x087J\xfd\xfd\xb4\xba\x96g\x11k\x12F{_\xf0B\x83^\xe7\xf1&?f\xa6?y\x9a\xfbx\xd0\x12\xe0V\xf9\xff\xe7_V@\xde\xde\xc9\xa4\x82\x14M\x8a\xd1 \x08\x94\x00\x02Y\xfft\x00\xc0\x01H@\x00\x08D\x00 \x02\x80\x0c\xe2P\x00h\x00 \x02\x81\x98\x80\x90\x1a4\x00\x18\x04\xc1\xcatF\x9cB\x02lC`\x8d\x105z\x83\x894\x00\x1c`\xae\x16\x10\xa2\x06\x00!\x14Y\x9e$\x08\x0eA\x04\x8fQ\xe10x\x15\x02\x9bT\xd5\x1fpHv\xce!XW\x8d\x844\xfc\x02\x1aF\x1d8\xc7\x08\x92.\xad\xfeu%\xe7\x16\x14ae\x176\x12ST\x87 = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[float32-view-out-new-mode1-omp] ___________________ dtype = dtype('float32'), itype = 'view', enout = 'out', deout = 'new' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00*\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x88x\x01\n\xcf\xf7\x87\xaf\xc0 \x18\x98\x03\x82\x03\x11\x00\x1f\x8e\x00pHn\t\x07\x81\x01\xf8\xb88\x01\xe0Cd\x07\x8e\x9cI\xb3\x07\xb0f\xce\x0f\x93\xfc`p\xc1\xc0\x08\x03~6\x0f\xb8\xe7w\xf0\xd8\x01\x9b$\xbc\xe9\xdd\xf0\x00\x06\x0c\x10\xf3%\x81\xcd\x88-\xbd\xc7mJ\x02\xc8(\x1c9\x1f\xcc\x17\xc3\xe80\xdb\x89G\x16\xc0<\x1a[\x1b\xf8\xafZhy\x08+\xc6K\x03\x93@#l}\x1c\x1c\xcfr4\x89\xc0\xe7\x9e]tx)&\xc5d\xa9<\xad\xb1Eo\x98\xea\xdd\xbf\x1b/\x12\xb6\x16L\xa8\x9c,\x88\xb4\x9d;\x12\x900\xc1Y\x0c\x90}\xe6\xaeP\xcaEV\x11\x8f\xb9p\x07\xb1d\x17\xf5\xd9E\xab3\xb2c\xfc2\xeb\xde\xee^{\xced\x01\x08\x800\xa8\x1a\xb3\xf4H@HI\x06a \x02,\x07\xb2\xe0\x02\x81\x84\x06\x06\x10\x00\x06\xafu\x98=\x82\x94P(<*\x8a\xbecL\xd00\x10E\x99\x820\x87\x18\x06F\xbc\x9c+\xf4\xc0\x84a\x8a\xf0\xc11f\x914\xd14\xe6\x86\xf8\xfd\xf4\xa7\tl\x92\x9a\xcd\xee\xeaS1\xdf\xa1\x1a\x91\xcd@\x1d\x1d\x7f\x80\x00\x9f\x8aR\xee~y|\xc9]\xa0Zd\xdc\t\xa6-\x94M\x01Ez?x\xde\xad\xea\xdc\x8e=\xde=\x91\xd9s\x07g\x0b-`\x11\xf7y`T\x8a\xe8xNu\xef\xb5B@\xae\xf444u.\t\xe7\xd6\x87\x1e\xba\xe7\x0b\xc2\xc7\xbc \xa6\x04\xf0\xa1Ks\xb8\xc8\xdf\x1d\xa2\xe5\x16\xab\x83G\xb8B\xcf\xf0l\'\x1f\xa8\xd9\xc2 \x00\x1b\x0...73\x1c%\x97\xab\xbe\xa2&Il\xd1g\xfa\xcb\x15*\x9fK\x10\x96@0DB\x0c\x00H\ru\xc1\x00\xa54\x00@\x80\xc0\x0b\x00\x08\xd9\xb0\x18\xf52\x81\x04\x02\x08B\x97\x83\xfbhA\x01\x84\x1a\x80!\x936\xc5\x10DF\x9b\xa2\xa0\xc5\xc2q\x98\x843\x88\xaf)\x99\x94ttZ\x13\xc7\xbaI\x10\x93E0\xd9\x8e\xd5\xb5B\xaa\x89\x13y\xcd\xda\xdd\xf8l\x1bwD8H\xb2\x91\xd9\x00E\x9a\xaca\'\x0b\x07\xa2\xd1\xc60\xf0\x9fU\xa6\xe3\xbc\xe5 \x94g\xd7\xach\x8awJs%\xbf\xd0\xd5\xa5\x87B}7\xc8\xe4\x087J\xfd\xfd\xb4\xba\x96g\x11k\x12F{_\xf0B\x83^\xe7\xf1&?f\xa6?y\x9a\xfbx\xd0\x12\xe0V\xf9\xff\xe7_V@\xde\xde\xc9\xa4\x82\x14M\x8a\xd1 \x08\x94\x00\x02Y\xfft\x00\xc0\x01H@\x00\x08D\x00 \x02\x80\x0c\xe2P\x00h\x00 \x02\x81\x98\x80\x90\x1a4\x00\x18\x04\xc1\xcatF\x9cB\x02lC`\x8d\x105z\x83\x894\x00\x1c`\xae\x16\x10\xa2\x06\x00!\x14Y\x9e$\x08\x0eA\x04\x8fQ\xe10x\x15\x02\x9bT\xd5\x1fpHv\xce!XW\x8d\x844\xfc\x02\x1aF\x1d8\xc7\x08\x92.\xad\xfeu%\xe7\x16\x14ae\x176\x12ST\x87 = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError __________________ test_zfp[float32-view-out-out-mode0-None] ___________________ dtype = dtype('float32'), itype = 'view', enout = 'out', deout = 'out' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00*\x05pfz\x00\x07e\xfd\x88\x00\x01\xf0\x10\x07`\x00\x8e@\x10(\x07\x80\xe3\x10\x1e\x01\x86\x181\x8f\x01\x878\x00\x06\x03\xb2\x18\xc0~\x1f\x18\x00\x00\x99\r\xef\xa4\x8f\x8e\x10\x19\x181\x87\xf28;\x86`\x98\x7f\xce\x9c\x7fp\x1b\xf2\xe3\x06\x0b\x01\xf98\x1aEx\x1f\xca`6886l\x086c\xcf\x07"\xf9g)\x8e\x00A\x08~\x88\x8f\xa8\x07m\xce\x01~\xb5\xff\xc9\xc3l0Wf\xb1\x1b\xa6t\xf0Nq\xc2\x0c\x08\xd6t\xfe\x01\x16\xde}\xeb\xb6\x07m\x81\x16\x85\xc8\xec)\xf2c\xff\x16\x02\x8d\xf4\x07\xfe\xfcqVeJ\xf7A\xbe\x0eI\x18\x1f\xf4\x1b\x97\xf5lN\x1a\x1f\t\xe47\xb8\x908l\rM\x14\x00\x03\xb4\xfe\xc8\x146\xa0\x10\x03\x00\x00\x00\xa0\x00\x02\x00@vn\x00\x04$\x04\x06\x83.\xe9 \x01\xe62\x0bB\x03Y\x90x\x00!>B\xad\x90\xc6\x0c\x089\xe6\xcf\xafjn\x1c\x991\xe98ip\x0eH\xdd\xcf\xa8e\xdf\x7f\xa8Y\xad\x83(\x03\xdf\xb0?\xe1\xf3\xb3\xbdC\xdb\x14\xbd;\x1fB\xf68v10\xf3x\x97\xf6ya\xe1\x99x\xb0\xd3\x03\x85\x1d\x87\x90\xc6<\xbb2\x04\x0f\xe9\x9d\xe75\x01\xd8\'\xe6\t\n\xb1`\x01\x18\xb60\x1b\xec\x8d\xb7~\xc7\xbc\xbc;\x06;\xa0L\r\xcc?\x92\xdeC\x0b\xd2\x8bd&\xd4T\x07|\x19\xd3S?\xa8\x84r\xf4=\xfd^\x97(1\xec\x17\x80\x00\x00\x00\x00\r\x99C@\x18\x1a\xda\x7fnH@\x01\x80\x01\x00(\x06\x00\x838\x000\x03\x80\x82\xb1\xd0\x88\x183 \x05\x00\...83\x9b\x8f\xa1\xef\xb35\x13\xc0\xf4\xef]\xb0\x04\x06\x0e\x93]L)0@\x1a/x\x8e\x00\tm?\xbb%\x91\x82\x00\x04\x1a\x00\x00@\xa0\x00\x18\x01@\x01\xa8(\x01\xc0\x08Y\x00\xc2\x88\xfb(0#\x00\x12Ap\xf6\x84z\xdd\x0e\x82 Q\x0fBlbq\x8c\xbe\x1eO\xfc\r\x04n\xd8o\xff\xc8\xf6\xb7\xb3\xea\xeb\xa4\xd4\xfb\x86E\xd2\xa3s\xf9\xf8X\xdb\xe6\xbb\x8dW\x02\xd4\xb4\xa4h\xb9\xedD|\xceO\x19`{\x14\r>\xf3.\xd6{xqy\xa8\x1b\x1d\xafq\xd9\xabM\xa8\x1a\x06Y\xfc!0\xea\xb3\xca\x95\x9f\xb2\x8a\xa4D\xe5\x87\xcb$e\x1f\xe4\xcd\x9c\xb9\xb4\x8e\x8b\'\x81W\xd4\x879L\xea\x08gY\xe6L\x89\xe4Z\xc1S\xfb\xf4\xb5\x91\x17\xb7\xb2\x9b\x8d\x9c\xc6\xcci\xc6\xe8)0H!\x81\xe9,\x00\x06\x00\x81@\x00;O\x00\x04\x02\x00\x80@\x00\x00\x01 \x12\x01\x04\x00\xa0\x02\xe0\x00\x90\x0b\x01\x82\x02\x90\xc0\n\x00P\x00\x01\x81\x14:\x06\x00P\x04aCjbT,\x10\x06\x80\x96\xb3\xecL4KI\x03\xbf\xb1p8>p\x13\xba\xba&N\xd5\xbf\xeb\x1d\xfcN\xd7x\xb6\xd1!O\xe3%,\x8d\x9b\x87M\xcf\xdc\x10\x04\x00;\x11\xff\t\x9b = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[float32-view-out-out-mode0-omp] ___________________ dtype = dtype('float32'), itype = 'view', enout = 'out', deout = 'out' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00*\x05pfz\x00\x07e\xfd\x88\x00\x01\xf0\x10\x07`\x00\x8e@\x10(\x07\x80\xe3\x10\x1e\x01\x86\x181\x8f\x01\x878\x00\x06\x03\xb2\x18\xc0~\x1f\x18\x00\x00\x99\r\xef\xa4\x8f\x8e\x10\x19\x181\x87\xf28;\x86`\x98\x7f\xce\x9c\x7fp\x1b\xf2\xe3\x06\x0b\x01\xf98\x1aEx\x1f\xca`6886l\x086c\xcf\x07"\xf9g)\x8e\x00A\x08~\x88\x8f\xa8\x07m\xce\x01~\xb5\xff\xc9\xc3l0Wf\xb1\x1b\xa6t\xf0Nq\xc2\x0c\x08\xd6t\xfe\x01\x16\xde}\xeb\xb6\x07m\x81\x16\x85\xc8\xec)\xf2c\xff\x16\x02\x8d\xf4\x07\xfe\xfcqVeJ\xf7A\xbe\x0eI\x18\x1f\xf4\x1b\x97\xf5lN\x1a\x1f\t\xe47\xb8\x908l\rM\x14\x00\x03\xb4\xfe\xc8\x146\xa0\x10\x03\x00\x00\x00\xa0\x00\x02\x00@vn\x00\x04$\x04\x06\x83.\xe9 \x01\xe62\x0bB\x03Y\x90x\x00!>B\xad\x90\xc6\x0c\x089\xe6\xcf\xafjn\x1c\x991\xe98ip\x0eH\xdd\xcf\xa8e\xdf\x7f\xa8Y\xad\x83(\x03\xdf\xb0?\xe1\xf3\xb3\xbdC\xdb\x14\xbd;\x1fB\xf68v10\xf3x\x97\xf6ya\xe1\x99x\xb0\xd3\x03\x85\x1d\x87\x90\xc6<\xbb2\x04\x0f\xe9\x9d\xe75\x01\xd8\'\xe6\t\n\xb1`\x01\x18\xb60\x1b\xec\x8d\xb7~\xc7\xbc\xbc;\x06;\xa0L\r\xcc?\x92\xdeC\x0b\xd2\x8bd&\xd4T\x07|\x19\xd3S?\xa8\x84r\xf4=\xfd^\x97(1\xec\x17\x80\x00\x00\x00\x00\r\x99C@\x18\x1a\xda\x7fnH@\x01\x80\x01\x00(\x06\x00\x838\x000\x03\x80\x82\xb1\xd0\x88\x183 \x05\x00\...83\x9b\x8f\xa1\xef\xb35\x13\xc0\xf4\xef]\xb0\x04\x06\x0e\x93]L)0@\x1a/x\x8e\x00\tm?\xbb%\x91\x82\x00\x04\x1a\x00\x00@\xa0\x00\x18\x01@\x01\xa8(\x01\xc0\x08Y\x00\xc2\x88\xfb(0#\x00\x12Ap\xf6\x84z\xdd\x0e\x82 Q\x0fBlbq\x8c\xbe\x1eO\xfc\r\x04n\xd8o\xff\xc8\xf6\xb7\xb3\xea\xeb\xa4\xd4\xfb\x86E\xd2\xa3s\xf9\xf8X\xdb\xe6\xbb\x8dW\x02\xd4\xb4\xa4h\xb9\xedD|\xceO\x19`{\x14\r>\xf3.\xd6{xqy\xa8\x1b\x1d\xafq\xd9\xabM\xa8\x1a\x06Y\xfc!0\xea\xb3\xca\x95\x9f\xb2\x8a\xa4D\xe5\x87\xcb$e\x1f\xe4\xcd\x9c\xb9\xb4\x8e\x8b\'\x81W\xd4\x879L\xea\x08gY\xe6L\x89\xe4Z\xc1S\xfb\xf4\xb5\x91\x17\xb7\xb2\x9b\x8d\x9c\xc6\xcci\xc6\xe8)0H!\x81\xe9,\x00\x06\x00\x81@\x00;O\x00\x04\x02\x00\x80@\x00\x00\x01 \x12\x01\x04\x00\xa0\x02\xe0\x00\x90\x0b\x01\x82\x02\x90\xc0\n\x00P\x00\x01\x81\x14:\x06\x00P\x04aCjbT,\x10\x06\x80\x96\xb3\xecL4KI\x03\xbf\xb1p8>p\x13\xba\xba&N\xd5\xbf\xeb\x1d\xfcN\xd7x\xb6\xd1!O\xe3%,\x8d\x9b\x87M\xcf\xdc\x10\x04\x00;\x11\xff\t\x9b = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError __________________ test_zfp[float32-view-out-out-mode1-None] ___________________ dtype = dtype('float32'), itype = 'view', enout = 'out', deout = 'out' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00*\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x88x\x01\n\xcf\xf7\x87\xaf\xc0 \x18\x98\x03\x82\x03\x11\x00\x1f\x8e\x00pHn\t\x07\x81\x01\xf8\xb88\x01\xe0Cd\x07\x8e\x9cI\xb3\x07\xb0f\xce\x0f\x93\xfc`p\xc1\xc0\x08\x03~6\x0f\xb8\xe7w\xf0\xd8\x01\x9b$\xbc\xe9\xdd\xf0\x00\x06\x0c\x10\xf3%\x81\xcd\x88-\xbd\xc7mJ\x02\xc8(\x1c9\x1f\xcc\x17\xc3\xe80\xdb\x89G\x16\xc0<\x1a[\x1b\xf8\xafZhy\x08+\xc6K\x03\x93@#l}\x1c\x1c\xcfr4\x89\xc0\xe7\x9e]tx)&\xc5d\xa9<\xad\xb1Eo\x98\xea\xdd\xbf\x1b/\x12\xb6\x16L\xa8\x9c,\x88\xb4\x9d;\x12\x900\xc1Y\x0c\x90}\xe6\xaeP\xcaEV\x11\x8f\xb9p\x07\xb1d\x17\xf5\xd9E\xab3\xb2c\xfc2\xeb\xde\xee^{\xced\x01\x08\x800\xa8\x1a\xb3\xf4H@HI\x06a \x02,\x07\xb2\xe0\x02\x81\x84\x06\x06\x10\x00\x06\xafu\x98=\x82\x94P(<*\x8a\xbecL\xd00\x10E\x99\x820\x87\x18\x06F\xbc\x9c+\xf4\xc0\x84a\x8a\xf0\xc11f\x914\xd14\xe6\x86\xf8\xfd\xf4\xa7\tl\x92\x9a\xcd\xee\xeaS1\xdf\xa1\x1a\x91\xcd@\x1d\x1d\x7f\x80\x00\x9f\x8aR\xee~y|\xc9]\xa0Zd\xdc\t\xa6-\x94M\x01Ez?x\xde\xad\xea\xdc\x8e=\xde=\x91\xd9s\x07g\x0b-`\x11\xf7y`T\x8a\xe8xNu\xef\xb5B@\xae\xf444u.\t\xe7\xd6\x87\x1e\xba\xe7\x0b\xc2\xc7\xbc \xa6\x04\xf0\xa1Ks\xb8\xc8\xdf\x1d\xa2\xe5\x16\xab\x83G\xb8B\xcf\xf0l\'\x1f\xa8\xd9\xc2 \x00\x1b\x0...73\x1c%\x97\xab\xbe\xa2&Il\xd1g\xfa\xcb\x15*\x9fK\x10\x96@0DB\x0c\x00H\ru\xc1\x00\xa54\x00@\x80\xc0\x0b\x00\x08\xd9\xb0\x18\xf52\x81\x04\x02\x08B\x97\x83\xfbhA\x01\x84\x1a\x80!\x936\xc5\x10DF\x9b\xa2\xa0\xc5\xc2q\x98\x843\x88\xaf)\x99\x94ttZ\x13\xc7\xbaI\x10\x93E0\xd9\x8e\xd5\xb5B\xaa\x89\x13y\xcd\xda\xdd\xf8l\x1bwD8H\xb2\x91\xd9\x00E\x9a\xaca\'\x0b\x07\xa2\xd1\xc60\xf0\x9fU\xa6\xe3\xbc\xe5 \x94g\xd7\xach\x8awJs%\xbf\xd0\xd5\xa5\x87B}7\xc8\xe4\x087J\xfd\xfd\xb4\xba\x96g\x11k\x12F{_\xf0B\x83^\xe7\xf1&?f\xa6?y\x9a\xfbx\xd0\x12\xe0V\xf9\xff\xe7_V@\xde\xde\xc9\xa4\x82\x14M\x8a\xd1 \x08\x94\x00\x02Y\xfft\x00\xc0\x01H@\x00\x08D\x00 \x02\x80\x0c\xe2P\x00h\x00 \x02\x81\x98\x80\x90\x1a4\x00\x18\x04\xc1\xcatF\x9cB\x02lC`\x8d\x105z\x83\x894\x00\x1c`\xae\x16\x10\xa2\x06\x00!\x14Y\x9e$\x08\x0eA\x04\x8fQ\xe10x\x15\x02\x9bT\xd5\x1fpHv\xce!XW\x8d\x844\xfc\x02\x1aF\x1d8\xc7\x08\x92.\xad\xfeu%\xe7\x16\x14ae\x176\x12ST\x87 = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[float32-view-out-out-mode1-omp] ___________________ dtype = dtype('float32'), itype = 'view', enout = 'out', deout = 'out' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00*\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x88x\x01\n\xcf\xf7\x87\xaf\xc0 \x18\x98\x03\x82\x03\x11\x00\x1f\x8e\x00pHn\t\x07\x81\x01\xf8\xb88\x01\xe0Cd\x07\x8e\x9cI\xb3\x07\xb0f\xce\x0f\x93\xfc`p\xc1\xc0\x08\x03~6\x0f\xb8\xe7w\xf0\xd8\x01\x9b$\xbc\xe9\xdd\xf0\x00\x06\x0c\x10\xf3%\x81\xcd\x88-\xbd\xc7mJ\x02\xc8(\x1c9\x1f\xcc\x17\xc3\xe80\xdb\x89G\x16\xc0<\x1a[\x1b\xf8\xafZhy\x08+\xc6K\x03\x93@#l}\x1c\x1c\xcfr4\x89\xc0\xe7\x9e]tx)&\xc5d\xa9<\xad\xb1Eo\x98\xea\xdd\xbf\x1b/\x12\xb6\x16L\xa8\x9c,\x88\xb4\x9d;\x12\x900\xc1Y\x0c\x90}\xe6\xaeP\xcaEV\x11\x8f\xb9p\x07\xb1d\x17\xf5\xd9E\xab3\xb2c\xfc2\xeb\xde\xee^{\xced\x01\x08\x800\xa8\x1a\xb3\xf4H@HI\x06a \x02,\x07\xb2\xe0\x02\x81\x84\x06\x06\x10\x00\x06\xafu\x98=\x82\x94P(<*\x8a\xbecL\xd00\x10E\x99\x820\x87\x18\x06F\xbc\x9c+\xf4\xc0\x84a\x8a\xf0\xc11f\x914\xd14\xe6\x86\xf8\xfd\xf4\xa7\tl\x92\x9a\xcd\xee\xeaS1\xdf\xa1\x1a\x91\xcd@\x1d\x1d\x7f\x80\x00\x9f\x8aR\xee~y|\xc9]\xa0Zd\xdc\t\xa6-\x94M\x01Ez?x\xde\xad\xea\xdc\x8e=\xde=\x91\xd9s\x07g\x0b-`\x11\xf7y`T\x8a\xe8xNu\xef\xb5B@\xae\xf444u.\t\xe7\xd6\x87\x1e\xba\xe7\x0b\xc2\xc7\xbc \xa6\x04\xf0\xa1Ks\xb8\xc8\xdf\x1d\xa2\xe5\x16\xab\x83G\xb8B\xcf\xf0l\'\x1f\xa8\xd9\xc2 \x00\x1b\x0...73\x1c%\x97\xab\xbe\xa2&Il\xd1g\xfa\xcb\x15*\x9fK\x10\x96@0DB\x0c\x00H\ru\xc1\x00\xa54\x00@\x80\xc0\x0b\x00\x08\xd9\xb0\x18\xf52\x81\x04\x02\x08B\x97\x83\xfbhA\x01\x84\x1a\x80!\x936\xc5\x10DF\x9b\xa2\xa0\xc5\xc2q\x98\x843\x88\xaf)\x99\x94ttZ\x13\xc7\xbaI\x10\x93E0\xd9\x8e\xd5\xb5B\xaa\x89\x13y\xcd\xda\xdd\xf8l\x1bwD8H\xb2\x91\xd9\x00E\x9a\xaca\'\x0b\x07\xa2\xd1\xc60\xf0\x9fU\xa6\xe3\xbc\xe5 \x94g\xd7\xach\x8awJs%\xbf\xd0\xd5\xa5\x87B}7\xc8\xe4\x087J\xfd\xfd\xb4\xba\x96g\x11k\x12F{_\xf0B\x83^\xe7\xf1&?f\xa6?y\x9a\xfbx\xd0\x12\xe0V\xf9\xff\xe7_V@\xde\xde\xc9\xa4\x82\x14M\x8a\xd1 \x08\x94\x00\x02Y\xfft\x00\xc0\x01H@\x00\x08D\x00 \x02\x80\x0c\xe2P\x00h\x00 \x02\x81\x98\x80\x90\x1a4\x00\x18\x04\xc1\xcatF\x9cB\x02lC`\x8d\x105z\x83\x894\x00\x1c`\xae\x16\x10\xa2\x06\x00!\x14Y\x9e$\x08\x0eA\x04\x8fQ\xe10x\x15\x02\x9bT\xd5\x1fpHv\xce!XW\x8d\x844\xfc\x02\x1aF\x1d8\xc7\x08\x92.\xad\xfeu%\xe7\x16\x14ae\x176\x12ST\x87 = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _______________ test_zfp[float32-view-out-bytearray-mode0-None] ________________ dtype = dtype('float32'), itype = 'view', enout = 'out', deout = 'bytearray' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00*\x05pfz\x00\x07e\xfd\x88\x00\x01\xf0\x10\x07`\x00\x8e@\x10(\x07\x80\xe3\x10\x1e\x01\x86\x181\x8f\x01\x878\x00\x06\x03\xb2\x18\xc0~\x1f\x18\x00\x00\x99\r\xef\xa4\x8f\x8e\x10\x19\x181\x87\xf28;\x86`\x98\x7f\xce\x9c\x7fp\x1b\xf2\xe3\x06\x0b\x01\xf98\x1aEx\x1f\xca`6886l\x086c\xcf\x07"\xf9g)\x8e\x00A\x08~\x88\x8f\xa8\x07m\xce\x01~\xb5\xff\xc9\xc3l0Wf\xb1\x1b\xa6t\xf0Nq\xc2\x0c\x08\xd6t\xfe\x01\x16\xde}\xeb\xb6\x07m\x81\x16\x85\xc8\xec)\xf2c\xff\x16\x02\x8d\xf4\x07\xfe\xfcqVeJ\xf7A\xbe\x0eI\x18\x1f\xf4\x1b\x97\xf5lN\x1a\x1f\t\xe47\xb8\x908l\rM\x14\x00\x03\xb4\xfe\xc8\x146\xa0\x10\x03\x00\x00\x00\xa0\x00\x02\x00@vn\x00\x04$\x04\x06\x83.\xe9 \x01\xe62\x0bB\x03Y\x90x\x00!>B\xad\x90\xc6\x0c\x089\xe6\xcf\xafjn\x1c\x991\xe98ip\x0eH\xdd\xcf\xa8e\xdf\x7f\xa8Y\xad\x83(\x03\xdf\xb0?\xe1\xf3\xb3\xbdC\xdb\x14\xbd;\x1fB\xf68v10\xf3x\x97\xf6ya\xe1\x99x\xb0\xd3\x03\x85\x1d\x87\x90\xc6<\xbb2\x04\x0f\xe9\x9d\xe75\x01\xd8\'\xe6\t\n\xb1`\x01\x18\xb60\x1b\xec\x8d\xb7~\xc7\xbc\xbc;\x06;\xa0L\r\xcc?\x92\xdeC\x0b\xd2\x8bd&\xd4T\x07|\x19\xd3S?\xa8\x84r\xf4=\xfd^\x97(1\xec\x17\x80\x00\x00\x00\x00\r\x99C@\x18\x1a\xda\x7fnH@\x01\x80\x01\x00(\x06\x00\x838\x000\x03\x80\x82\xb1\xd0\x88\x183 \x05\x00\...83\x9b\x8f\xa1\xef\xb35\x13\xc0\xf4\xef]\xb0\x04\x06\x0e\x93]L)0@\x1a/x\x8e\x00\tm?\xbb%\x91\x82\x00\x04\x1a\x00\x00@\xa0\x00\x18\x01@\x01\xa8(\x01\xc0\x08Y\x00\xc2\x88\xfb(0#\x00\x12Ap\xf6\x84z\xdd\x0e\x82 Q\x0fBlbq\x8c\xbe\x1eO\xfc\r\x04n\xd8o\xff\xc8\xf6\xb7\xb3\xea\xeb\xa4\xd4\xfb\x86E\xd2\xa3s\xf9\xf8X\xdb\xe6\xbb\x8dW\x02\xd4\xb4\xa4h\xb9\xedD|\xceO\x19`{\x14\r>\xf3.\xd6{xqy\xa8\x1b\x1d\xafq\xd9\xabM\xa8\x1a\x06Y\xfc!0\xea\xb3\xca\x95\x9f\xb2\x8a\xa4D\xe5\x87\xcb$e\x1f\xe4\xcd\x9c\xb9\xb4\x8e\x8b\'\x81W\xd4\x879L\xea\x08gY\xe6L\x89\xe4Z\xc1S\xfb\xf4\xb5\x91\x17\xb7\xb2\x9b\x8d\x9c\xc6\xcci\xc6\xe8)0H!\x81\xe9,\x00\x06\x00\x81@\x00;O\x00\x04\x02\x00\x80@\x00\x00\x01 \x12\x01\x04\x00\xa0\x02\xe0\x00\x90\x0b\x01\x82\x02\x90\xc0\n\x00P\x00\x01\x81\x14:\x06\x00P\x04aCjbT,\x10\x06\x80\x96\xb3\xecL4KI\x03\xbf\xb1p8>p\x13\xba\xba&N\xd5\xbf\xeb\x1d\xfcN\xd7x\xb6\xd1!O\xe3%,\x8d\x9b\x87M\xcf\xdc\x10\x04\x00;\x11\xff\t\x9b = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[float32-view-out-bytearray-mode0-omp] ________________ dtype = dtype('float32'), itype = 'view', enout = 'out', deout = 'bytearray' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00*\x05pfz\x00\x07e\xfd\x88\x00\x01\xf0\x10\x07`\x00\x8e@\x10(\x07\x80\xe3\x10\x1e\x01\x86\x181\x8f\x01\x878\x00\x06\x03\xb2\x18\xc0~\x1f\x18\x00\x00\x99\r\xef\xa4\x8f\x8e\x10\x19\x181\x87\xf28;\x86`\x98\x7f\xce\x9c\x7fp\x1b\xf2\xe3\x06\x0b\x01\xf98\x1aEx\x1f\xca`6886l\x086c\xcf\x07"\xf9g)\x8e\x00A\x08~\x88\x8f\xa8\x07m\xce\x01~\xb5\xff\xc9\xc3l0Wf\xb1\x1b\xa6t\xf0Nq\xc2\x0c\x08\xd6t\xfe\x01\x16\xde}\xeb\xb6\x07m\x81\x16\x85\xc8\xec)\xf2c\xff\x16\x02\x8d\xf4\x07\xfe\xfcqVeJ\xf7A\xbe\x0eI\x18\x1f\xf4\x1b\x97\xf5lN\x1a\x1f\t\xe47\xb8\x908l\rM\x14\x00\x03\xb4\xfe\xc8\x146\xa0\x10\x03\x00\x00\x00\xa0\x00\x02\x00@vn\x00\x04$\x04\x06\x83.\xe9 \x01\xe62\x0bB\x03Y\x90x\x00!>B\xad\x90\xc6\x0c\x089\xe6\xcf\xafjn\x1c\x991\xe98ip\x0eH\xdd\xcf\xa8e\xdf\x7f\xa8Y\xad\x83(\x03\xdf\xb0?\xe1\xf3\xb3\xbdC\xdb\x14\xbd;\x1fB\xf68v10\xf3x\x97\xf6ya\xe1\x99x\xb0\xd3\x03\x85\x1d\x87\x90\xc6<\xbb2\x04\x0f\xe9\x9d\xe75\x01\xd8\'\xe6\t\n\xb1`\x01\x18\xb60\x1b\xec\x8d\xb7~\xc7\xbc\xbc;\x06;\xa0L\r\xcc?\x92\xdeC\x0b\xd2\x8bd&\xd4T\x07|\x19\xd3S?\xa8\x84r\xf4=\xfd^\x97(1\xec\x17\x80\x00\x00\x00\x00\r\x99C@\x18\x1a\xda\x7fnH@\x01\x80\x01\x00(\x06\x00\x838\x000\x03\x80\x82\xb1\xd0\x88\x183 \x05\x00\...83\x9b\x8f\xa1\xef\xb35\x13\xc0\xf4\xef]\xb0\x04\x06\x0e\x93]L)0@\x1a/x\x8e\x00\tm?\xbb%\x91\x82\x00\x04\x1a\x00\x00@\xa0\x00\x18\x01@\x01\xa8(\x01\xc0\x08Y\x00\xc2\x88\xfb(0#\x00\x12Ap\xf6\x84z\xdd\x0e\x82 Q\x0fBlbq\x8c\xbe\x1eO\xfc\r\x04n\xd8o\xff\xc8\xf6\xb7\xb3\xea\xeb\xa4\xd4\xfb\x86E\xd2\xa3s\xf9\xf8X\xdb\xe6\xbb\x8dW\x02\xd4\xb4\xa4h\xb9\xedD|\xceO\x19`{\x14\r>\xf3.\xd6{xqy\xa8\x1b\x1d\xafq\xd9\xabM\xa8\x1a\x06Y\xfc!0\xea\xb3\xca\x95\x9f\xb2\x8a\xa4D\xe5\x87\xcb$e\x1f\xe4\xcd\x9c\xb9\xb4\x8e\x8b\'\x81W\xd4\x879L\xea\x08gY\xe6L\x89\xe4Z\xc1S\xfb\xf4\xb5\x91\x17\xb7\xb2\x9b\x8d\x9c\xc6\xcci\xc6\xe8)0H!\x81\xe9,\x00\x06\x00\x81@\x00;O\x00\x04\x02\x00\x80@\x00\x00\x01 \x12\x01\x04\x00\xa0\x02\xe0\x00\x90\x0b\x01\x82\x02\x90\xc0\n\x00P\x00\x01\x81\x14:\x06\x00P\x04aCjbT,\x10\x06\x80\x96\xb3\xecL4KI\x03\xbf\xb1p8>p\x13\xba\xba&N\xd5\xbf\xeb\x1d\xfcN\xd7x\xb6\xd1!O\xe3%,\x8d\x9b\x87M\xcf\xdc\x10\x04\x00;\x11\xff\t\x9b = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _______________ test_zfp[float32-view-out-bytearray-mode1-None] ________________ dtype = dtype('float32'), itype = 'view', enout = 'out', deout = 'bytearray' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00*\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x88x\x01\n\xcf\xf7\x87\xaf\xc0 \x18\x98\x03\x82\x03\x11\x00\x1f\x8e\x00pHn\t\x07\x81\x01\xf8\xb88\x01\xe0Cd\x07\x8e\x9cI\xb3\x07\xb0f\xce\x0f\x93\xfc`p\xc1\xc0\x08\x03~6\x0f\xb8\xe7w\xf0\xd8\x01\x9b$\xbc\xe9\xdd\xf0\x00\x06\x0c\x10\xf3%\x81\xcd\x88-\xbd\xc7mJ\x02\xc8(\x1c9\x1f\xcc\x17\xc3\xe80\xdb\x89G\x16\xc0<\x1a[\x1b\xf8\xafZhy\x08+\xc6K\x03\x93@#l}\x1c\x1c\xcfr4\x89\xc0\xe7\x9e]tx)&\xc5d\xa9<\xad\xb1Eo\x98\xea\xdd\xbf\x1b/\x12\xb6\x16L\xa8\x9c,\x88\xb4\x9d;\x12\x900\xc1Y\x0c\x90}\xe6\xaeP\xcaEV\x11\x8f\xb9p\x07\xb1d\x17\xf5\xd9E\xab3\xb2c\xfc2\xeb\xde\xee^{\xced\x01\x08\x800\xa8\x1a\xb3\xf4H@HI\x06a \x02,\x07\xb2\xe0\x02\x81\x84\x06\x06\x10\x00\x06\xafu\x98=\x82\x94P(<*\x8a\xbecL\xd00\x10E\x99\x820\x87\x18\x06F\xbc\x9c+\xf4\xc0\x84a\x8a\xf0\xc11f\x914\xd14\xe6\x86\xf8\xfd\xf4\xa7\tl\x92\x9a\xcd\xee\xeaS1\xdf\xa1\x1a\x91\xcd@\x1d\x1d\x7f\x80\x00\x9f\x8aR\xee~y|\xc9]\xa0Zd\xdc\t\xa6-\x94M\x01Ez?x\xde\xad\xea\xdc\x8e=\xde=\x91\xd9s\x07g\x0b-`\x11\xf7y`T\x8a\xe8xNu\xef\xb5B@\xae\xf444u.\t\xe7\xd6\x87\x1e\xba\xe7\x0b\xc2\xc7\xbc \xa6\x04\xf0\xa1Ks\xb8\xc8\xdf\x1d\xa2\xe5\x16\xab\x83G\xb8B\xcf\xf0l\'\x1f\xa8\xd9\xc2 \x00\x1b\x0...73\x1c%\x97\xab\xbe\xa2&Il\xd1g\xfa\xcb\x15*\x9fK\x10\x96@0DB\x0c\x00H\ru\xc1\x00\xa54\x00@\x80\xc0\x0b\x00\x08\xd9\xb0\x18\xf52\x81\x04\x02\x08B\x97\x83\xfbhA\x01\x84\x1a\x80!\x936\xc5\x10DF\x9b\xa2\xa0\xc5\xc2q\x98\x843\x88\xaf)\x99\x94ttZ\x13\xc7\xbaI\x10\x93E0\xd9\x8e\xd5\xb5B\xaa\x89\x13y\xcd\xda\xdd\xf8l\x1bwD8H\xb2\x91\xd9\x00E\x9a\xaca\'\x0b\x07\xa2\xd1\xc60\xf0\x9fU\xa6\xe3\xbc\xe5 \x94g\xd7\xach\x8awJs%\xbf\xd0\xd5\xa5\x87B}7\xc8\xe4\x087J\xfd\xfd\xb4\xba\x96g\x11k\x12F{_\xf0B\x83^\xe7\xf1&?f\xa6?y\x9a\xfbx\xd0\x12\xe0V\xf9\xff\xe7_V@\xde\xde\xc9\xa4\x82\x14M\x8a\xd1 \x08\x94\x00\x02Y\xfft\x00\xc0\x01H@\x00\x08D\x00 \x02\x80\x0c\xe2P\x00h\x00 \x02\x81\x98\x80\x90\x1a4\x00\x18\x04\xc1\xcatF\x9cB\x02lC`\x8d\x105z\x83\x894\x00\x1c`\xae\x16\x10\xa2\x06\x00!\x14Y\x9e$\x08\x0eA\x04\x8fQ\xe10x\x15\x02\x9bT\xd5\x1fpHv\xce!XW\x8d\x844\xfc\x02\x1aF\x1d8\xc7\x08\x92.\xad\xfeu%\xe7\x16\x14ae\x176\x12ST\x87 = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[float32-view-out-bytearray-mode1-omp] ________________ dtype = dtype('float32'), itype = 'view', enout = 'out', deout = 'bytearray' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00*\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x88x\x01\n\xcf\xf7\x87\xaf\xc0 \x18\x98\x03\x82\x03\x11\x00\x1f\x8e\x00pHn\t\x07\x81\x01\xf8\xb88\x01\xe0Cd\x07\x8e\x9cI\xb3\x07\xb0f\xce\x0f\x93\xfc`p\xc1\xc0\x08\x03~6\x0f\xb8\xe7w\xf0\xd8\x01\x9b$\xbc\xe9\xdd\xf0\x00\x06\x0c\x10\xf3%\x81\xcd\x88-\xbd\xc7mJ\x02\xc8(\x1c9\x1f\xcc\x17\xc3\xe80\xdb\x89G\x16\xc0<\x1a[\x1b\xf8\xafZhy\x08+\xc6K\x03\x93@#l}\x1c\x1c\xcfr4\x89\xc0\xe7\x9e]tx)&\xc5d\xa9<\xad\xb1Eo\x98\xea\xdd\xbf\x1b/\x12\xb6\x16L\xa8\x9c,\x88\xb4\x9d;\x12\x900\xc1Y\x0c\x90}\xe6\xaeP\xcaEV\x11\x8f\xb9p\x07\xb1d\x17\xf5\xd9E\xab3\xb2c\xfc2\xeb\xde\xee^{\xced\x01\x08\x800\xa8\x1a\xb3\xf4H@HI\x06a \x02,\x07\xb2\xe0\x02\x81\x84\x06\x06\x10\x00\x06\xafu\x98=\x82\x94P(<*\x8a\xbecL\xd00\x10E\x99\x820\x87\x18\x06F\xbc\x9c+\xf4\xc0\x84a\x8a\xf0\xc11f\x914\xd14\xe6\x86\xf8\xfd\xf4\xa7\tl\x92\x9a\xcd\xee\xeaS1\xdf\xa1\x1a\x91\xcd@\x1d\x1d\x7f\x80\x00\x9f\x8aR\xee~y|\xc9]\xa0Zd\xdc\t\xa6-\x94M\x01Ez?x\xde\xad\xea\xdc\x8e=\xde=\x91\xd9s\x07g\x0b-`\x11\xf7y`T\x8a\xe8xNu\xef\xb5B@\xae\xf444u.\t\xe7\xd6\x87\x1e\xba\xe7\x0b\xc2\xc7\xbc \xa6\x04\xf0\xa1Ks\xb8\xc8\xdf\x1d\xa2\xe5\x16\xab\x83G\xb8B\xcf\xf0l\'\x1f\xa8\xd9\xc2 \x00\x1b\x0...73\x1c%\x97\xab\xbe\xa2&Il\xd1g\xfa\xcb\x15*\x9fK\x10\x96@0DB\x0c\x00H\ru\xc1\x00\xa54\x00@\x80\xc0\x0b\x00\x08\xd9\xb0\x18\xf52\x81\x04\x02\x08B\x97\x83\xfbhA\x01\x84\x1a\x80!\x936\xc5\x10DF\x9b\xa2\xa0\xc5\xc2q\x98\x843\x88\xaf)\x99\x94ttZ\x13\xc7\xbaI\x10\x93E0\xd9\x8e\xd5\xb5B\xaa\x89\x13y\xcd\xda\xdd\xf8l\x1bwD8H\xb2\x91\xd9\x00E\x9a\xaca\'\x0b\x07\xa2\xd1\xc60\xf0\x9fU\xa6\xe3\xbc\xe5 \x94g\xd7\xach\x8awJs%\xbf\xd0\xd5\xa5\x87B}7\xc8\xe4\x087J\xfd\xfd\xb4\xba\x96g\x11k\x12F{_\xf0B\x83^\xe7\xf1&?f\xa6?y\x9a\xfbx\xd0\x12\xe0V\xf9\xff\xe7_V@\xde\xde\xc9\xa4\x82\x14M\x8a\xd1 \x08\x94\x00\x02Y\xfft\x00\xc0\x01H@\x00\x08D\x00 \x02\x80\x0c\xe2P\x00h\x00 \x02\x81\x98\x80\x90\x1a4\x00\x18\x04\xc1\xcatF\x9cB\x02lC`\x8d\x105z\x83\x894\x00\x1c`\xae\x16\x10\xa2\x06\x00!\x14Y\x9e$\x08\x0eA\x04\x8fQ\xe10x\x15\x02\x9bT\xd5\x1fpHv\xce!XW\x8d\x844\xfc\x02\x1aF\x1d8\xc7\x08\x92.\xad\xfeu%\xe7\x16\x14ae\x176\x12ST\x87 = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _______________ test_zfp[float32-view-bytearray-new-mode0-None] ________________ dtype = dtype('float32'), itype = 'view', enout = 'bytearray', deout = 'new' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00*\x05pfz\x00\x07e\xfd\x88\x00\x01\xf0\x10\x07`\x00\x8e@\x10(\x07\x80\xe3\x10\x1e\x01\x86\x181\x8f\x01\x878\x00\x06\x03\xb2\x18\xc0~\x1f\x18\x00\x00\x99\r\xef\xa4\x8f\x8e\x10\x19\x181\x87\xf28;\x86`\x98\x7f\xce\x9c\x7fp\x1b\xf2\xe3\x06\x0b\x01\xf98\x1aEx\x1f\xca`6886l\x086c\xcf\x07"\xf9g)\x8e\x00A\x08~\x88\x8f\xa8\x07m\xce\x01~\xb5\xff\xc9\xc3l0Wf\xb1\x1b\xa6t\xf0Nq\xc2\x0c\x08\xd6t\xfe\x01\x16\xde}\xeb\xb6\x07m\x81\x16\x85\xc8\xec)\xf2c\xff\x16\x02\x8d\xf4\x07\xfe\xfcqVeJ\xf7A\xbe\x0eI\x18\x1f\xf4\x1b\x97\xf5lN\x1a\x1f\t\xe47\xb8\x908l\rM\x14\x00\x03\xb4\xfe\xc8\x146\xa0\x10\x03\x00\x00\x00\xa0\x00\x02\x00@vn\x00\x04$\x04\x06\x83.\xe9 \x01\xe62\x0bB\x03Y\x90x\x00!>B\xad\x90\xc6\x0c\x089\xe6\xcf\xafjn\x1c\x991\xe98ip\x0eH\xdd\xcf\xa8e\xdf\x7f\xa8Y\xad\x83(\x03\xdf\xb0?\xe1\xf3\xb3\xbdC\xdb\x14\xbd;\x1fB\xf68v10\xf3x\x97\xf6ya\xe1\x99x\xb0\xd3\x03\x85\x1d\x87\x90\xc6<\xbb2\x04\x0f\xe9\x9d\xe75\x01\xd8\'\xe6\t\n\xb1`\x01\x18\xb60\x1b\xec\x8d\xb7~\xc7\xbc\xbc;\x06;\xa0L\r\xcc?\x92\xdeC\x0b\xd2\x8bd&\xd4T\x07|\x19\xd3S?\xa8\x84r\xf4=\xfd^\x97(1\xec\x17\x80\x00\x00\x00\x00\r\x99C@\x18\x1a\xda\x7fnH@\x01\x80\x01\x00(\x06\x00\x838\x000\x03\x80\x82\xb1\xd0\x88\x183 \x05\x00\...83\x9b\x8f\xa1\xef\xb35\x13\xc0\xf4\xef]\xb0\x04\x06\x0e\x93]L)0@\x1a/x\x8e\x00\tm?\xbb%\x91\x82\x00\x04\x1a\x00\x00@\xa0\x00\x18\x01@\x01\xa8(\x01\xc0\x08Y\x00\xc2\x88\xfb(0#\x00\x12Ap\xf6\x84z\xdd\x0e\x82 Q\x0fBlbq\x8c\xbe\x1eO\xfc\r\x04n\xd8o\xff\xc8\xf6\xb7\xb3\xea\xeb\xa4\xd4\xfb\x86E\xd2\xa3s\xf9\xf8X\xdb\xe6\xbb\x8dW\x02\xd4\xb4\xa4h\xb9\xedD|\xceO\x19`{\x14\r>\xf3.\xd6{xqy\xa8\x1b\x1d\xafq\xd9\xabM\xa8\x1a\x06Y\xfc!0\xea\xb3\xca\x95\x9f\xb2\x8a\xa4D\xe5\x87\xcb$e\x1f\xe4\xcd\x9c\xb9\xb4\x8e\x8b\'\x81W\xd4\x879L\xea\x08gY\xe6L\x89\xe4Z\xc1S\xfb\xf4\xb5\x91\x17\xb7\xb2\x9b\x8d\x9c\xc6\xcci\xc6\xe8)0H!\x81\xe9,\x00\x06\x00\x81@\x00;O\x00\x04\x02\x00\x80@\x00\x00\x01 \x12\x01\x04\x00\xa0\x02\xe0\x00\x90\x0b\x01\x82\x02\x90\xc0\n\x00P\x00\x01\x81\x14:\x06\x00P\x04aCjbT,\x10\x06\x80\x96\xb3\xecL4KI\x03\xbf\xb1p8>p\x13\xba\xba&N\xd5\xbf\xeb\x1d\xfcN\xd7x\xb6\xd1!O\xe3%,\x8d\x9b\x87M\xcf\xdc\x10\x04\x00;\x11\xff\t\x9b = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[float32-view-bytearray-new-mode0-omp] ________________ dtype = dtype('float32'), itype = 'view', enout = 'bytearray', deout = 'new' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00*\x05pfz\x00\x07e\xfd\x88\x00\x01\xf0\x10\x07`\x00\x8e@\x10(\x07\x80\xe3\x10\x1e\x01\x86\x181\x8f\x01\x878\x00\x06\x03\xb2\x18\xc0~\x1f\x18\x00\x00\x99\r\xef\xa4\x8f\x8e\x10\x19\x181\x87\xf28;\x86`\x98\x7f\xce\x9c\x7fp\x1b\xf2\xe3\x06\x0b\x01\xf98\x1aEx\x1f\xca`6886l\x086c\xcf\x07"\xf9g)\x8e\x00A\x08~\x88\x8f\xa8\x07m\xce\x01~\xb5\xff\xc9\xc3l0Wf\xb1\x1b\xa6t\xf0Nq\xc2\x0c\x08\xd6t\xfe\x01\x16\xde}\xeb\xb6\x07m\x81\x16\x85\xc8\xec)\xf2c\xff\x16\x02\x8d\xf4\x07\xfe\xfcqVeJ\xf7A\xbe\x0eI\x18\x1f\xf4\x1b\x97\xf5lN\x1a\x1f\t\xe47\xb8\x908l\rM\x14\x00\x03\xb4\xfe\xc8\x146\xa0\x10\x03\x00\x00\x00\xa0\x00\x02\x00@vn\x00\x04$\x04\x06\x83.\xe9 \x01\xe62\x0bB\x03Y\x90x\x00!>B\xad\x90\xc6\x0c\x089\xe6\xcf\xafjn\x1c\x991\xe98ip\x0eH\xdd\xcf\xa8e\xdf\x7f\xa8Y\xad\x83(\x03\xdf\xb0?\xe1\xf3\xb3\xbdC\xdb\x14\xbd;\x1fB\xf68v10\xf3x\x97\xf6ya\xe1\x99x\xb0\xd3\x03\x85\x1d\x87\x90\xc6<\xbb2\x04\x0f\xe9\x9d\xe75\x01\xd8\'\xe6\t\n\xb1`\x01\x18\xb60\x1b\xec\x8d\xb7~\xc7\xbc\xbc;\x06;\xa0L\r\xcc?\x92\xdeC\x0b\xd2\x8bd&\xd4T\x07|\x19\xd3S?\xa8\x84r\xf4=\xfd^\x97(1\xec\x17\x80\x00\x00\x00\x00\r\x99C@\x18\x1a\xda\x7fnH@\x01\x80\x01\x00(\x06\x00\x838\x000\x03\x80\x82\xb1\xd0\x88\x183 \x05\x00\...83\x9b\x8f\xa1\xef\xb35\x13\xc0\xf4\xef]\xb0\x04\x06\x0e\x93]L)0@\x1a/x\x8e\x00\tm?\xbb%\x91\x82\x00\x04\x1a\x00\x00@\xa0\x00\x18\x01@\x01\xa8(\x01\xc0\x08Y\x00\xc2\x88\xfb(0#\x00\x12Ap\xf6\x84z\xdd\x0e\x82 Q\x0fBlbq\x8c\xbe\x1eO\xfc\r\x04n\xd8o\xff\xc8\xf6\xb7\xb3\xea\xeb\xa4\xd4\xfb\x86E\xd2\xa3s\xf9\xf8X\xdb\xe6\xbb\x8dW\x02\xd4\xb4\xa4h\xb9\xedD|\xceO\x19`{\x14\r>\xf3.\xd6{xqy\xa8\x1b\x1d\xafq\xd9\xabM\xa8\x1a\x06Y\xfc!0\xea\xb3\xca\x95\x9f\xb2\x8a\xa4D\xe5\x87\xcb$e\x1f\xe4\xcd\x9c\xb9\xb4\x8e\x8b\'\x81W\xd4\x879L\xea\x08gY\xe6L\x89\xe4Z\xc1S\xfb\xf4\xb5\x91\x17\xb7\xb2\x9b\x8d\x9c\xc6\xcci\xc6\xe8)0H!\x81\xe9,\x00\x06\x00\x81@\x00;O\x00\x04\x02\x00\x80@\x00\x00\x01 \x12\x01\x04\x00\xa0\x02\xe0\x00\x90\x0b\x01\x82\x02\x90\xc0\n\x00P\x00\x01\x81\x14:\x06\x00P\x04aCjbT,\x10\x06\x80\x96\xb3\xecL4KI\x03\xbf\xb1p8>p\x13\xba\xba&N\xd5\xbf\xeb\x1d\xfcN\xd7x\xb6\xd1!O\xe3%,\x8d\x9b\x87M\xcf\xdc\x10\x04\x00;\x11\xff\t\x9b = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _______________ test_zfp[float32-view-bytearray-new-mode1-None] ________________ dtype = dtype('float32'), itype = 'view', enout = 'bytearray', deout = 'new' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00*\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x88x\x01\n\xcf\xf7\x87\xaf\xc0 \x18\x98\x03\x82\x03\x11\x00\x1f\x8e\x00pHn\t\x07\x81\x01\xf8\xb88\x01\xe0Cd\x07\x8e\x9cI\xb3\x07\xb0f\xce\x0f\x93\xfc`p\xc1\xc0\x08\x03~6\x0f\xb8\xe7w\xf0\xd8\x01\x9b$\xbc\xe9\xdd\xf0\x00\x06\x0c\x10\xf3%\x81\xcd\x88-\xbd\xc7mJ\x02\xc8(\x1c9\x1f\xcc\x17\xc3\xe80\xdb\x89G\x16\xc0<\x1a[\x1b\xf8\xafZhy\x08+\xc6K\x03\x93@#l}\x1c\x1c\xcfr4\x89\xc0\xe7\x9e]tx)&\xc5d\xa9<\xad\xb1Eo\x98\xea\xdd\xbf\x1b/\x12\xb6\x16L\xa8\x9c,\x88\xb4\x9d;\x12\x900\xc1Y\x0c\x90}\xe6\xaeP\xcaEV\x11\x8f\xb9p\x07\xb1d\x17\xf5\xd9E\xab3\xb2c\xfc2\xeb\xde\xee^{\xced\x01\x08\x800\xa8\x1a\xb3\xf4H@HI\x06a \x02,\x07\xb2\xe0\x02\x81\x84\x06\x06\x10\x00\x06\xafu\x98=\x82\x94P(<*\x8a\xbecL\xd00\x10E\x99\x820\x87\x18\x06F\xbc\x9c+\xf4\xc0\x84a\x8a\xf0\xc11f\x914\xd14\xe6\x86\xf8\xfd\xf4\xa7\tl\x92\x9a\xcd\xee\xeaS1\xdf\xa1\x1a\x91\xcd@\x1d\x1d\x7f\x80\x00\x9f\x8aR\xee~y|\xc9]\xa0Zd\xdc\t\xa6-\x94M\x01Ez?x\xde\xad\xea\xdc\x8e=\xde=\x91\xd9s\x07g\x0b-`\x11\xf7y`T\x8a\xe8xNu\xef\xb5B@\xae\xf444u.\t\xe7\xd6\x87\x1e\xba\xe7\x0b\xc2\xc7\xbc \xa6\x04\xf0\xa1Ks\xb8\xc8\xdf\x1d\xa2\xe5\x16\xab\x83G\xb8B\xcf\xf0l\'\x1f\xa8\xd9\xc2 \x00\x1b\x0...73\x1c%\x97\xab\xbe\xa2&Il\xd1g\xfa\xcb\x15*\x9fK\x10\x96@0DB\x0c\x00H\ru\xc1\x00\xa54\x00@\x80\xc0\x0b\x00\x08\xd9\xb0\x18\xf52\x81\x04\x02\x08B\x97\x83\xfbhA\x01\x84\x1a\x80!\x936\xc5\x10DF\x9b\xa2\xa0\xc5\xc2q\x98\x843\x88\xaf)\x99\x94ttZ\x13\xc7\xbaI\x10\x93E0\xd9\x8e\xd5\xb5B\xaa\x89\x13y\xcd\xda\xdd\xf8l\x1bwD8H\xb2\x91\xd9\x00E\x9a\xaca\'\x0b\x07\xa2\xd1\xc60\xf0\x9fU\xa6\xe3\xbc\xe5 \x94g\xd7\xach\x8awJs%\xbf\xd0\xd5\xa5\x87B}7\xc8\xe4\x087J\xfd\xfd\xb4\xba\x96g\x11k\x12F{_\xf0B\x83^\xe7\xf1&?f\xa6?y\x9a\xfbx\xd0\x12\xe0V\xf9\xff\xe7_V@\xde\xde\xc9\xa4\x82\x14M\x8a\xd1 \x08\x94\x00\x02Y\xfft\x00\xc0\x01H@\x00\x08D\x00 \x02\x80\x0c\xe2P\x00h\x00 \x02\x81\x98\x80\x90\x1a4\x00\x18\x04\xc1\xcatF\x9cB\x02lC`\x8d\x105z\x83\x894\x00\x1c`\xae\x16\x10\xa2\x06\x00!\x14Y\x9e$\x08\x0eA\x04\x8fQ\xe10x\x15\x02\x9bT\xd5\x1fpHv\xce!XW\x8d\x844\xfc\x02\x1aF\x1d8\xc7\x08\x92.\xad\xfeu%\xe7\x16\x14ae\x176\x12ST\x87 = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[float32-view-bytearray-new-mode1-omp] ________________ dtype = dtype('float32'), itype = 'view', enout = 'bytearray', deout = 'new' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00*\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x88x\x01\n\xcf\xf7\x87\xaf\xc0 \x18\x98\x03\x82\x03\x11\x00\x1f\x8e\x00pHn\t\x07\x81\x01\xf8\xb88\x01\xe0Cd\x07\x8e\x9cI\xb3\x07\xb0f\xce\x0f\x93\xfc`p\xc1\xc0\x08\x03~6\x0f\xb8\xe7w\xf0\xd8\x01\x9b$\xbc\xe9\xdd\xf0\x00\x06\x0c\x10\xf3%\x81\xcd\x88-\xbd\xc7mJ\x02\xc8(\x1c9\x1f\xcc\x17\xc3\xe80\xdb\x89G\x16\xc0<\x1a[\x1b\xf8\xafZhy\x08+\xc6K\x03\x93@#l}\x1c\x1c\xcfr4\x89\xc0\xe7\x9e]tx)&\xc5d\xa9<\xad\xb1Eo\x98\xea\xdd\xbf\x1b/\x12\xb6\x16L\xa8\x9c,\x88\xb4\x9d;\x12\x900\xc1Y\x0c\x90}\xe6\xaeP\xcaEV\x11\x8f\xb9p\x07\xb1d\x17\xf5\xd9E\xab3\xb2c\xfc2\xeb\xde\xee^{\xced\x01\x08\x800\xa8\x1a\xb3\xf4H@HI\x06a \x02,\x07\xb2\xe0\x02\x81\x84\x06\x06\x10\x00\x06\xafu\x98=\x82\x94P(<*\x8a\xbecL\xd00\x10E\x99\x820\x87\x18\x06F\xbc\x9c+\xf4\xc0\x84a\x8a\xf0\xc11f\x914\xd14\xe6\x86\xf8\xfd\xf4\xa7\tl\x92\x9a\xcd\xee\xeaS1\xdf\xa1\x1a\x91\xcd@\x1d\x1d\x7f\x80\x00\x9f\x8aR\xee~y|\xc9]\xa0Zd\xdc\t\xa6-\x94M\x01Ez?x\xde\xad\xea\xdc\x8e=\xde=\x91\xd9s\x07g\x0b-`\x11\xf7y`T\x8a\xe8xNu\xef\xb5B@\xae\xf444u.\t\xe7\xd6\x87\x1e\xba\xe7\x0b\xc2\xc7\xbc \xa6\x04\xf0\xa1Ks\xb8\xc8\xdf\x1d\xa2\xe5\x16\xab\x83G\xb8B\xcf\xf0l\'\x1f\xa8\xd9\xc2 \x00\x1b\x0...73\x1c%\x97\xab\xbe\xa2&Il\xd1g\xfa\xcb\x15*\x9fK\x10\x96@0DB\x0c\x00H\ru\xc1\x00\xa54\x00@\x80\xc0\x0b\x00\x08\xd9\xb0\x18\xf52\x81\x04\x02\x08B\x97\x83\xfbhA\x01\x84\x1a\x80!\x936\xc5\x10DF\x9b\xa2\xa0\xc5\xc2q\x98\x843\x88\xaf)\x99\x94ttZ\x13\xc7\xbaI\x10\x93E0\xd9\x8e\xd5\xb5B\xaa\x89\x13y\xcd\xda\xdd\xf8l\x1bwD8H\xb2\x91\xd9\x00E\x9a\xaca\'\x0b\x07\xa2\xd1\xc60\xf0\x9fU\xa6\xe3\xbc\xe5 \x94g\xd7\xach\x8awJs%\xbf\xd0\xd5\xa5\x87B}7\xc8\xe4\x087J\xfd\xfd\xb4\xba\x96g\x11k\x12F{_\xf0B\x83^\xe7\xf1&?f\xa6?y\x9a\xfbx\xd0\x12\xe0V\xf9\xff\xe7_V@\xde\xde\xc9\xa4\x82\x14M\x8a\xd1 \x08\x94\x00\x02Y\xfft\x00\xc0\x01H@\x00\x08D\x00 \x02\x80\x0c\xe2P\x00h\x00 \x02\x81\x98\x80\x90\x1a4\x00\x18\x04\xc1\xcatF\x9cB\x02lC`\x8d\x105z\x83\x894\x00\x1c`\xae\x16\x10\xa2\x06\x00!\x14Y\x9e$\x08\x0eA\x04\x8fQ\xe10x\x15\x02\x9bT\xd5\x1fpHv\xce!XW\x8d\x844\xfc\x02\x1aF\x1d8\xc7\x08\x92.\xad\xfeu%\xe7\x16\x14ae\x176\x12ST\x87 = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _______________ test_zfp[float32-view-bytearray-out-mode0-None] ________________ dtype = dtype('float32'), itype = 'view', enout = 'bytearray', deout = 'out' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00*\x05pfz\x00\x07e\xfd\x88\x00\x01\xf0\x10\x07`\x00\x8e@\x10(\x07\x80\xe3\x10\x1e\x01\x86\x181\x8f\x01\x878\x00\x06\x03\xb2\x18\xc0~\x1f\x18\x00\x00\x99\r\xef\xa4\x8f\x8e\x10\x19\x181\x87\xf28;\x86`\x98\x7f\xce\x9c\x7fp\x1b\xf2\xe3\x06\x0b\x01\xf98\x1aEx\x1f\xca`6886l\x086c\xcf\x07"\xf9g)\x8e\x00A\x08~\x88\x8f\xa8\x07m\xce\x01~\xb5\xff\xc9\xc3l0Wf\xb1\x1b\xa6t\xf0Nq\xc2\x0c\x08\xd6t\xfe\x01\x16\xde}\xeb\xb6\x07m\x81\x16\x85\xc8\xec)\xf2c\xff\x16\x02\x8d\xf4\x07\xfe\xfcqVeJ\xf7A\xbe\x0eI\x18\x1f\xf4\x1b\x97\xf5lN\x1a\x1f\t\xe47\xb8\x908l\rM\x14\x00\x03\xb4\xfe\xc8\x146\xa0\x10\x03\x00\x00\x00\xa0\x00\x02\x00@vn\x00\x04$\x04\x06\x83.\xe9 \x01\xe62\x0bB\x03Y\x90x\x00!>B\xad\x90\xc6\x0c\x089\xe6\xcf\xafjn\x1c\x991\xe98ip\x0eH\xdd\xcf\xa8e\xdf\x7f\xa8Y\xad\x83(\x03\xdf\xb0?\xe1\xf3\xb3\xbdC\xdb\x14\xbd;\x1fB\xf68v10\xf3x\x97\xf6ya\xe1\x99x\xb0\xd3\x03\x85\x1d\x87\x90\xc6<\xbb2\x04\x0f\xe9\x9d\xe75\x01\xd8\'\xe6\t\n\xb1`\x01\x18\xb60\x1b\xec\x8d\xb7~\xc7\xbc\xbc;\x06;\xa0L\r\xcc?\x92\xdeC\x0b\xd2\x8bd&\xd4T\x07|\x19\xd3S?\xa8\x84r\xf4=\xfd^\x97(1\xec\x17\x80\x00\x00\x00\x00\r\x99C@\x18\x1a\xda\x7fnH@\x01\x80\x01\x00(\x06\x00\x838\x000\x03\x80\x82\xb1\xd0\x88\x183 \x05\x00\...83\x9b\x8f\xa1\xef\xb35\x13\xc0\xf4\xef]\xb0\x04\x06\x0e\x93]L)0@\x1a/x\x8e\x00\tm?\xbb%\x91\x82\x00\x04\x1a\x00\x00@\xa0\x00\x18\x01@\x01\xa8(\x01\xc0\x08Y\x00\xc2\x88\xfb(0#\x00\x12Ap\xf6\x84z\xdd\x0e\x82 Q\x0fBlbq\x8c\xbe\x1eO\xfc\r\x04n\xd8o\xff\xc8\xf6\xb7\xb3\xea\xeb\xa4\xd4\xfb\x86E\xd2\xa3s\xf9\xf8X\xdb\xe6\xbb\x8dW\x02\xd4\xb4\xa4h\xb9\xedD|\xceO\x19`{\x14\r>\xf3.\xd6{xqy\xa8\x1b\x1d\xafq\xd9\xabM\xa8\x1a\x06Y\xfc!0\xea\xb3\xca\x95\x9f\xb2\x8a\xa4D\xe5\x87\xcb$e\x1f\xe4\xcd\x9c\xb9\xb4\x8e\x8b\'\x81W\xd4\x879L\xea\x08gY\xe6L\x89\xe4Z\xc1S\xfb\xf4\xb5\x91\x17\xb7\xb2\x9b\x8d\x9c\xc6\xcci\xc6\xe8)0H!\x81\xe9,\x00\x06\x00\x81@\x00;O\x00\x04\x02\x00\x80@\x00\x00\x01 \x12\x01\x04\x00\xa0\x02\xe0\x00\x90\x0b\x01\x82\x02\x90\xc0\n\x00P\x00\x01\x81\x14:\x06\x00P\x04aCjbT,\x10\x06\x80\x96\xb3\xecL4KI\x03\xbf\xb1p8>p\x13\xba\xba&N\xd5\xbf\xeb\x1d\xfcN\xd7x\xb6\xd1!O\xe3%,\x8d\x9b\x87M\xcf\xdc\x10\x04\x00;\x11\xff\t\x9b = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[float32-view-bytearray-out-mode0-omp] ________________ dtype = dtype('float32'), itype = 'view', enout = 'bytearray', deout = 'out' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00*\x05pfz\x00\x07e\xfd\x88\x00\x01\xf0\x10\x07`\x00\x8e@\x10(\x07\x80\xe3\x10\x1e\x01\x86\x181\x8f\x01\x878\x00\x06\x03\xb2\x18\xc0~\x1f\x18\x00\x00\x99\r\xef\xa4\x8f\x8e\x10\x19\x181\x87\xf28;\x86`\x98\x7f\xce\x9c\x7fp\x1b\xf2\xe3\x06\x0b\x01\xf98\x1aEx\x1f\xca`6886l\x086c\xcf\x07"\xf9g)\x8e\x00A\x08~\x88\x8f\xa8\x07m\xce\x01~\xb5\xff\xc9\xc3l0Wf\xb1\x1b\xa6t\xf0Nq\xc2\x0c\x08\xd6t\xfe\x01\x16\xde}\xeb\xb6\x07m\x81\x16\x85\xc8\xec)\xf2c\xff\x16\x02\x8d\xf4\x07\xfe\xfcqVeJ\xf7A\xbe\x0eI\x18\x1f\xf4\x1b\x97\xf5lN\x1a\x1f\t\xe47\xb8\x908l\rM\x14\x00\x03\xb4\xfe\xc8\x146\xa0\x10\x03\x00\x00\x00\xa0\x00\x02\x00@vn\x00\x04$\x04\x06\x83.\xe9 \x01\xe62\x0bB\x03Y\x90x\x00!>B\xad\x90\xc6\x0c\x089\xe6\xcf\xafjn\x1c\x991\xe98ip\x0eH\xdd\xcf\xa8e\xdf\x7f\xa8Y\xad\x83(\x03\xdf\xb0?\xe1\xf3\xb3\xbdC\xdb\x14\xbd;\x1fB\xf68v10\xf3x\x97\xf6ya\xe1\x99x\xb0\xd3\x03\x85\x1d\x87\x90\xc6<\xbb2\x04\x0f\xe9\x9d\xe75\x01\xd8\'\xe6\t\n\xb1`\x01\x18\xb60\x1b\xec\x8d\xb7~\xc7\xbc\xbc;\x06;\xa0L\r\xcc?\x92\xdeC\x0b\xd2\x8bd&\xd4T\x07|\x19\xd3S?\xa8\x84r\xf4=\xfd^\x97(1\xec\x17\x80\x00\x00\x00\x00\r\x99C@\x18\x1a\xda\x7fnH@\x01\x80\x01\x00(\x06\x00\x838\x000\x03\x80\x82\xb1\xd0\x88\x183 \x05\x00\...83\x9b\x8f\xa1\xef\xb35\x13\xc0\xf4\xef]\xb0\x04\x06\x0e\x93]L)0@\x1a/x\x8e\x00\tm?\xbb%\x91\x82\x00\x04\x1a\x00\x00@\xa0\x00\x18\x01@\x01\xa8(\x01\xc0\x08Y\x00\xc2\x88\xfb(0#\x00\x12Ap\xf6\x84z\xdd\x0e\x82 Q\x0fBlbq\x8c\xbe\x1eO\xfc\r\x04n\xd8o\xff\xc8\xf6\xb7\xb3\xea\xeb\xa4\xd4\xfb\x86E\xd2\xa3s\xf9\xf8X\xdb\xe6\xbb\x8dW\x02\xd4\xb4\xa4h\xb9\xedD|\xceO\x19`{\x14\r>\xf3.\xd6{xqy\xa8\x1b\x1d\xafq\xd9\xabM\xa8\x1a\x06Y\xfc!0\xea\xb3\xca\x95\x9f\xb2\x8a\xa4D\xe5\x87\xcb$e\x1f\xe4\xcd\x9c\xb9\xb4\x8e\x8b\'\x81W\xd4\x879L\xea\x08gY\xe6L\x89\xe4Z\xc1S\xfb\xf4\xb5\x91\x17\xb7\xb2\x9b\x8d\x9c\xc6\xcci\xc6\xe8)0H!\x81\xe9,\x00\x06\x00\x81@\x00;O\x00\x04\x02\x00\x80@\x00\x00\x01 \x12\x01\x04\x00\xa0\x02\xe0\x00\x90\x0b\x01\x82\x02\x90\xc0\n\x00P\x00\x01\x81\x14:\x06\x00P\x04aCjbT,\x10\x06\x80\x96\xb3\xecL4KI\x03\xbf\xb1p8>p\x13\xba\xba&N\xd5\xbf\xeb\x1d\xfcN\xd7x\xb6\xd1!O\xe3%,\x8d\x9b\x87M\xcf\xdc\x10\x04\x00;\x11\xff\t\x9b = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _______________ test_zfp[float32-view-bytearray-out-mode1-None] ________________ dtype = dtype('float32'), itype = 'view', enout = 'bytearray', deout = 'out' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00*\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x88x\x01\n\xcf\xf7\x87\xaf\xc0 \x18\x98\x03\x82\x03\x11\x00\x1f\x8e\x00pHn\t\x07\x81\x01\xf8\xb88\x01\xe0Cd\x07\x8e\x9cI\xb3\x07\xb0f\xce\x0f\x93\xfc`p\xc1\xc0\x08\x03~6\x0f\xb8\xe7w\xf0\xd8\x01\x9b$\xbc\xe9\xdd\xf0\x00\x06\x0c\x10\xf3%\x81\xcd\x88-\xbd\xc7mJ\x02\xc8(\x1c9\x1f\xcc\x17\xc3\xe80\xdb\x89G\x16\xc0<\x1a[\x1b\xf8\xafZhy\x08+\xc6K\x03\x93@#l}\x1c\x1c\xcfr4\x89\xc0\xe7\x9e]tx)&\xc5d\xa9<\xad\xb1Eo\x98\xea\xdd\xbf\x1b/\x12\xb6\x16L\xa8\x9c,\x88\xb4\x9d;\x12\x900\xc1Y\x0c\x90}\xe6\xaeP\xcaEV\x11\x8f\xb9p\x07\xb1d\x17\xf5\xd9E\xab3\xb2c\xfc2\xeb\xde\xee^{\xced\x01\x08\x800\xa8\x1a\xb3\xf4H@HI\x06a \x02,\x07\xb2\xe0\x02\x81\x84\x06\x06\x10\x00\x06\xafu\x98=\x82\x94P(<*\x8a\xbecL\xd00\x10E\x99\x820\x87\x18\x06F\xbc\x9c+\xf4\xc0\x84a\x8a\xf0\xc11f\x914\xd14\xe6\x86\xf8\xfd\xf4\xa7\tl\x92\x9a\xcd\xee\xeaS1\xdf\xa1\x1a\x91\xcd@\x1d\x1d\x7f\x80\x00\x9f\x8aR\xee~y|\xc9]\xa0Zd\xdc\t\xa6-\x94M\x01Ez?x\xde\xad\xea\xdc\x8e=\xde=\x91\xd9s\x07g\x0b-`\x11\xf7y`T\x8a\xe8xNu\xef\xb5B@\xae\xf444u.\t\xe7\xd6\x87\x1e\xba\xe7\x0b\xc2\xc7\xbc \xa6\x04\xf0\xa1Ks\xb8\xc8\xdf\x1d\xa2\xe5\x16\xab\x83G\xb8B\xcf\xf0l\'\x1f\xa8\xd9\xc2 \x00\x1b\x0...73\x1c%\x97\xab\xbe\xa2&Il\xd1g\xfa\xcb\x15*\x9fK\x10\x96@0DB\x0c\x00H\ru\xc1\x00\xa54\x00@\x80\xc0\x0b\x00\x08\xd9\xb0\x18\xf52\x81\x04\x02\x08B\x97\x83\xfbhA\x01\x84\x1a\x80!\x936\xc5\x10DF\x9b\xa2\xa0\xc5\xc2q\x98\x843\x88\xaf)\x99\x94ttZ\x13\xc7\xbaI\x10\x93E0\xd9\x8e\xd5\xb5B\xaa\x89\x13y\xcd\xda\xdd\xf8l\x1bwD8H\xb2\x91\xd9\x00E\x9a\xaca\'\x0b\x07\xa2\xd1\xc60\xf0\x9fU\xa6\xe3\xbc\xe5 \x94g\xd7\xach\x8awJs%\xbf\xd0\xd5\xa5\x87B}7\xc8\xe4\x087J\xfd\xfd\xb4\xba\x96g\x11k\x12F{_\xf0B\x83^\xe7\xf1&?f\xa6?y\x9a\xfbx\xd0\x12\xe0V\xf9\xff\xe7_V@\xde\xde\xc9\xa4\x82\x14M\x8a\xd1 \x08\x94\x00\x02Y\xfft\x00\xc0\x01H@\x00\x08D\x00 \x02\x80\x0c\xe2P\x00h\x00 \x02\x81\x98\x80\x90\x1a4\x00\x18\x04\xc1\xcatF\x9cB\x02lC`\x8d\x105z\x83\x894\x00\x1c`\xae\x16\x10\xa2\x06\x00!\x14Y\x9e$\x08\x0eA\x04\x8fQ\xe10x\x15\x02\x9bT\xd5\x1fpHv\xce!XW\x8d\x844\xfc\x02\x1aF\x1d8\xc7\x08\x92.\xad\xfeu%\xe7\x16\x14ae\x176\x12ST\x87 = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[float32-view-bytearray-out-mode1-omp] ________________ dtype = dtype('float32'), itype = 'view', enout = 'bytearray', deout = 'out' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00*\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x88x\x01\n\xcf\xf7\x87\xaf\xc0 \x18\x98\x03\x82\x03\x11\x00\x1f\x8e\x00pHn\t\x07\x81\x01\xf8\xb88\x01\xe0Cd\x07\x8e\x9cI\xb3\x07\xb0f\xce\x0f\x93\xfc`p\xc1\xc0\x08\x03~6\x0f\xb8\xe7w\xf0\xd8\x01\x9b$\xbc\xe9\xdd\xf0\x00\x06\x0c\x10\xf3%\x81\xcd\x88-\xbd\xc7mJ\x02\xc8(\x1c9\x1f\xcc\x17\xc3\xe80\xdb\x89G\x16\xc0<\x1a[\x1b\xf8\xafZhy\x08+\xc6K\x03\x93@#l}\x1c\x1c\xcfr4\x89\xc0\xe7\x9e]tx)&\xc5d\xa9<\xad\xb1Eo\x98\xea\xdd\xbf\x1b/\x12\xb6\x16L\xa8\x9c,\x88\xb4\x9d;\x12\x900\xc1Y\x0c\x90}\xe6\xaeP\xcaEV\x11\x8f\xb9p\x07\xb1d\x17\xf5\xd9E\xab3\xb2c\xfc2\xeb\xde\xee^{\xced\x01\x08\x800\xa8\x1a\xb3\xf4H@HI\x06a \x02,\x07\xb2\xe0\x02\x81\x84\x06\x06\x10\x00\x06\xafu\x98=\x82\x94P(<*\x8a\xbecL\xd00\x10E\x99\x820\x87\x18\x06F\xbc\x9c+\xf4\xc0\x84a\x8a\xf0\xc11f\x914\xd14\xe6\x86\xf8\xfd\xf4\xa7\tl\x92\x9a\xcd\xee\xeaS1\xdf\xa1\x1a\x91\xcd@\x1d\x1d\x7f\x80\x00\x9f\x8aR\xee~y|\xc9]\xa0Zd\xdc\t\xa6-\x94M\x01Ez?x\xde\xad\xea\xdc\x8e=\xde=\x91\xd9s\x07g\x0b-`\x11\xf7y`T\x8a\xe8xNu\xef\xb5B@\xae\xf444u.\t\xe7\xd6\x87\x1e\xba\xe7\x0b\xc2\xc7\xbc \xa6\x04\xf0\xa1Ks\xb8\xc8\xdf\x1d\xa2\xe5\x16\xab\x83G\xb8B\xcf\xf0l\'\x1f\xa8\xd9\xc2 \x00\x1b\x0...73\x1c%\x97\xab\xbe\xa2&Il\xd1g\xfa\xcb\x15*\x9fK\x10\x96@0DB\x0c\x00H\ru\xc1\x00\xa54\x00@\x80\xc0\x0b\x00\x08\xd9\xb0\x18\xf52\x81\x04\x02\x08B\x97\x83\xfbhA\x01\x84\x1a\x80!\x936\xc5\x10DF\x9b\xa2\xa0\xc5\xc2q\x98\x843\x88\xaf)\x99\x94ttZ\x13\xc7\xbaI\x10\x93E0\xd9\x8e\xd5\xb5B\xaa\x89\x13y\xcd\xda\xdd\xf8l\x1bwD8H\xb2\x91\xd9\x00E\x9a\xaca\'\x0b\x07\xa2\xd1\xc60\xf0\x9fU\xa6\xe3\xbc\xe5 \x94g\xd7\xach\x8awJs%\xbf\xd0\xd5\xa5\x87B}7\xc8\xe4\x087J\xfd\xfd\xb4\xba\x96g\x11k\x12F{_\xf0B\x83^\xe7\xf1&?f\xa6?y\x9a\xfbx\xd0\x12\xe0V\xf9\xff\xe7_V@\xde\xde\xc9\xa4\x82\x14M\x8a\xd1 \x08\x94\x00\x02Y\xfft\x00\xc0\x01H@\x00\x08D\x00 \x02\x80\x0c\xe2P\x00h\x00 \x02\x81\x98\x80\x90\x1a4\x00\x18\x04\xc1\xcatF\x9cB\x02lC`\x8d\x105z\x83\x894\x00\x1c`\xae\x16\x10\xa2\x06\x00!\x14Y\x9e$\x08\x0eA\x04\x8fQ\xe10x\x15\x02\x9bT\xd5\x1fpHv\xce!XW\x8d\x844\xfc\x02\x1aF\x1d8\xc7\x08\x92.\xad\xfeu%\xe7\x16\x14ae\x176\x12ST\x87 = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ____________ test_zfp[float32-view-bytearray-bytearray-mode0-None] _____________ dtype = dtype('float32'), itype = 'view', enout = 'bytearray' deout = 'bytearray', mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00*\x05pfz\x00\x07e\xfd\x88\x00\x01\xf0\x10\x07`\x00\x8e@\x10(\x07\x80\xe3\x10\x1e\x01\x86\x181\x8f\x01\x878\x00\x06\x03\xb2\x18\xc0~\x1f\x18\x00\x00\x99\r\xef\xa4\x8f\x8e\x10\x19\x181\x87\xf28;\x86`\x98\x7f\xce\x9c\x7fp\x1b\xf2\xe3\x06\x0b\x01\xf98\x1aEx\x1f\xca`6886l\x086c\xcf\x07"\xf9g)\x8e\x00A\x08~\x88\x8f\xa8\x07m\xce\x01~\xb5\xff\xc9\xc3l0Wf\xb1\x1b\xa6t\xf0Nq\xc2\x0c\x08\xd6t\xfe\x01\x16\xde}\xeb\xb6\x07m\x81\x16\x85\xc8\xec)\xf2c\xff\x16\x02\x8d\xf4\x07\xfe\xfcqVeJ\xf7A\xbe\x0eI\x18\x1f\xf4\x1b\x97\xf5lN\x1a\x1f\t\xe47\xb8\x908l\rM\x14\x00\x03\xb4\xfe\xc8\x146\xa0\x10\x03\x00\x00\x00\xa0\x00\x02\x00@vn\x00\x04$\x04\x06\x83.\xe9 \x01\xe62\x0bB\x03Y\x90x\x00!>B\xad\x90\xc6\x0c\x089\xe6\xcf\xafjn\x1c\x991\xe98ip\x0eH\xdd\xcf\xa8e\xdf\x7f\xa8Y\xad\x83(\x03\xdf\xb0?\xe1\xf3\xb3\xbdC\xdb\x14\xbd;\x1fB\xf68v10\xf3x\x97\xf6ya\xe1\x99x\xb0\xd3\x03\x85\x1d\x87\x90\xc6<\xbb2\x04\x0f\xe9\x9d\xe75\x01\xd8\'\xe6\t\n\xb1`\x01\x18\xb60\x1b\xec\x8d\xb7~\xc7\xbc\xbc;\x06;\xa0L\r\xcc?\x92\xdeC\x0b\xd2\x8bd&\xd4T\x07|\x19\xd3S?\xa8\x84r\xf4=\xfd^\x97(1\xec\x17\x80\x00\x00\x00\x00\r\x99C@\x18\x1a\xda\x7fnH@\x01\x80\x01\x00(\x06\x00\x838\x000\x03\x80\x82\xb1\xd0\x88\x183 \x05\x00\...83\x9b\x8f\xa1\xef\xb35\x13\xc0\xf4\xef]\xb0\x04\x06\x0e\x93]L)0@\x1a/x\x8e\x00\tm?\xbb%\x91\x82\x00\x04\x1a\x00\x00@\xa0\x00\x18\x01@\x01\xa8(\x01\xc0\x08Y\x00\xc2\x88\xfb(0#\x00\x12Ap\xf6\x84z\xdd\x0e\x82 Q\x0fBlbq\x8c\xbe\x1eO\xfc\r\x04n\xd8o\xff\xc8\xf6\xb7\xb3\xea\xeb\xa4\xd4\xfb\x86E\xd2\xa3s\xf9\xf8X\xdb\xe6\xbb\x8dW\x02\xd4\xb4\xa4h\xb9\xedD|\xceO\x19`{\x14\r>\xf3.\xd6{xqy\xa8\x1b\x1d\xafq\xd9\xabM\xa8\x1a\x06Y\xfc!0\xea\xb3\xca\x95\x9f\xb2\x8a\xa4D\xe5\x87\xcb$e\x1f\xe4\xcd\x9c\xb9\xb4\x8e\x8b\'\x81W\xd4\x879L\xea\x08gY\xe6L\x89\xe4Z\xc1S\xfb\xf4\xb5\x91\x17\xb7\xb2\x9b\x8d\x9c\xc6\xcci\xc6\xe8)0H!\x81\xe9,\x00\x06\x00\x81@\x00;O\x00\x04\x02\x00\x80@\x00\x00\x01 \x12\x01\x04\x00\xa0\x02\xe0\x00\x90\x0b\x01\x82\x02\x90\xc0\n\x00P\x00\x01\x81\x14:\x06\x00P\x04aCjbT,\x10\x06\x80\x96\xb3\xecL4KI\x03\xbf\xb1p8>p\x13\xba\xba&N\xd5\xbf\xeb\x1d\xfcN\xd7x\xb6\xd1!O\xe3%,\x8d\x9b\x87M\xcf\xdc\x10\x04\x00;\x11\xff\t\x9b = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _____________ test_zfp[float32-view-bytearray-bytearray-mode0-omp] _____________ dtype = dtype('float32'), itype = 'view', enout = 'bytearray' deout = 'bytearray', mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00*\x05pfz\x00\x07e\xfd\x88\x00\x01\xf0\x10\x07`\x00\x8e@\x10(\x07\x80\xe3\x10\x1e\x01\x86\x181\x8f\x01\x878\x00\x06\x03\xb2\x18\xc0~\x1f\x18\x00\x00\x99\r\xef\xa4\x8f\x8e\x10\x19\x181\x87\xf28;\x86`\x98\x7f\xce\x9c\x7fp\x1b\xf2\xe3\x06\x0b\x01\xf98\x1aEx\x1f\xca`6886l\x086c\xcf\x07"\xf9g)\x8e\x00A\x08~\x88\x8f\xa8\x07m\xce\x01~\xb5\xff\xc9\xc3l0Wf\xb1\x1b\xa6t\xf0Nq\xc2\x0c\x08\xd6t\xfe\x01\x16\xde}\xeb\xb6\x07m\x81\x16\x85\xc8\xec)\xf2c\xff\x16\x02\x8d\xf4\x07\xfe\xfcqVeJ\xf7A\xbe\x0eI\x18\x1f\xf4\x1b\x97\xf5lN\x1a\x1f\t\xe47\xb8\x908l\rM\x14\x00\x03\xb4\xfe\xc8\x146\xa0\x10\x03\x00\x00\x00\xa0\x00\x02\x00@vn\x00\x04$\x04\x06\x83.\xe9 \x01\xe62\x0bB\x03Y\x90x\x00!>B\xad\x90\xc6\x0c\x089\xe6\xcf\xafjn\x1c\x991\xe98ip\x0eH\xdd\xcf\xa8e\xdf\x7f\xa8Y\xad\x83(\x03\xdf\xb0?\xe1\xf3\xb3\xbdC\xdb\x14\xbd;\x1fB\xf68v10\xf3x\x97\xf6ya\xe1\x99x\xb0\xd3\x03\x85\x1d\x87\x90\xc6<\xbb2\x04\x0f\xe9\x9d\xe75\x01\xd8\'\xe6\t\n\xb1`\x01\x18\xb60\x1b\xec\x8d\xb7~\xc7\xbc\xbc;\x06;\xa0L\r\xcc?\x92\xdeC\x0b\xd2\x8bd&\xd4T\x07|\x19\xd3S?\xa8\x84r\xf4=\xfd^\x97(1\xec\x17\x80\x00\x00\x00\x00\r\x99C@\x18\x1a\xda\x7fnH@\x01\x80\x01\x00(\x06\x00\x838\x000\x03\x80\x82\xb1\xd0\x88\x183 \x05\x00\...83\x9b\x8f\xa1\xef\xb35\x13\xc0\xf4\xef]\xb0\x04\x06\x0e\x93]L)0@\x1a/x\x8e\x00\tm?\xbb%\x91\x82\x00\x04\x1a\x00\x00@\xa0\x00\x18\x01@\x01\xa8(\x01\xc0\x08Y\x00\xc2\x88\xfb(0#\x00\x12Ap\xf6\x84z\xdd\x0e\x82 Q\x0fBlbq\x8c\xbe\x1eO\xfc\r\x04n\xd8o\xff\xc8\xf6\xb7\xb3\xea\xeb\xa4\xd4\xfb\x86E\xd2\xa3s\xf9\xf8X\xdb\xe6\xbb\x8dW\x02\xd4\xb4\xa4h\xb9\xedD|\xceO\x19`{\x14\r>\xf3.\xd6{xqy\xa8\x1b\x1d\xafq\xd9\xabM\xa8\x1a\x06Y\xfc!0\xea\xb3\xca\x95\x9f\xb2\x8a\xa4D\xe5\x87\xcb$e\x1f\xe4\xcd\x9c\xb9\xb4\x8e\x8b\'\x81W\xd4\x879L\xea\x08gY\xe6L\x89\xe4Z\xc1S\xfb\xf4\xb5\x91\x17\xb7\xb2\x9b\x8d\x9c\xc6\xcci\xc6\xe8)0H!\x81\xe9,\x00\x06\x00\x81@\x00;O\x00\x04\x02\x00\x80@\x00\x00\x01 \x12\x01\x04\x00\xa0\x02\xe0\x00\x90\x0b\x01\x82\x02\x90\xc0\n\x00P\x00\x01\x81\x14:\x06\x00P\x04aCjbT,\x10\x06\x80\x96\xb3\xecL4KI\x03\xbf\xb1p8>p\x13\xba\xba&N\xd5\xbf\xeb\x1d\xfcN\xd7x\xb6\xd1!O\xe3%,\x8d\x9b\x87M\xcf\xdc\x10\x04\x00;\x11\xff\t\x9b = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ____________ test_zfp[float32-view-bytearray-bytearray-mode1-None] _____________ dtype = dtype('float32'), itype = 'view', enout = 'bytearray' deout = 'bytearray', mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00*\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x88x\x01\n\xcf\xf7\x87\xaf\xc0 \x18\x98\x03\x82\x03\x11\x00\x1f\x8e\x00pHn\t\x07\x81\x01\xf8\xb88\x01\xe0Cd\x07\x8e\x9cI\xb3\x07\xb0f\xce\x0f\x93\xfc`p\xc1\xc0\x08\x03~6\x0f\xb8\xe7w\xf0\xd8\x01\x9b$\xbc\xe9\xdd\xf0\x00\x06\x0c\x10\xf3%\x81\xcd\x88-\xbd\xc7mJ\x02\xc8(\x1c9\x1f\xcc\x17\xc3\xe80\xdb\x89G\x16\xc0<\x1a[\x1b\xf8\xafZhy\x08+\xc6K\x03\x93@#l}\x1c\x1c\xcfr4\x89\xc0\xe7\x9e]tx)&\xc5d\xa9<\xad\xb1Eo\x98\xea\xdd\xbf\x1b/\x12\xb6\x16L\xa8\x9c,\x88\xb4\x9d;\x12\x900\xc1Y\x0c\x90}\xe6\xaeP\xcaEV\x11\x8f\xb9p\x07\xb1d\x17\xf5\xd9E\xab3\xb2c\xfc2\xeb\xde\xee^{\xced\x01\x08\x800\xa8\x1a\xb3\xf4H@HI\x06a \x02,\x07\xb2\xe0\x02\x81\x84\x06\x06\x10\x00\x06\xafu\x98=\x82\x94P(<*\x8a\xbecL\xd00\x10E\x99\x820\x87\x18\x06F\xbc\x9c+\xf4\xc0\x84a\x8a\xf0\xc11f\x914\xd14\xe6\x86\xf8\xfd\xf4\xa7\tl\x92\x9a\xcd\xee\xeaS1\xdf\xa1\x1a\x91\xcd@\x1d\x1d\x7f\x80\x00\x9f\x8aR\xee~y|\xc9]\xa0Zd\xdc\t\xa6-\x94M\x01Ez?x\xde\xad\xea\xdc\x8e=\xde=\x91\xd9s\x07g\x0b-`\x11\xf7y`T\x8a\xe8xNu\xef\xb5B@\xae\xf444u.\t\xe7\xd6\x87\x1e\xba\xe7\x0b\xc2\xc7\xbc \xa6\x04\xf0\xa1Ks\xb8\xc8\xdf\x1d\xa2\xe5\x16\xab\x83G\xb8B\xcf\xf0l\'\x1f\xa8\xd9\xc2 \x00\x1b\x0...73\x1c%\x97\xab\xbe\xa2&Il\xd1g\xfa\xcb\x15*\x9fK\x10\x96@0DB\x0c\x00H\ru\xc1\x00\xa54\x00@\x80\xc0\x0b\x00\x08\xd9\xb0\x18\xf52\x81\x04\x02\x08B\x97\x83\xfbhA\x01\x84\x1a\x80!\x936\xc5\x10DF\x9b\xa2\xa0\xc5\xc2q\x98\x843\x88\xaf)\x99\x94ttZ\x13\xc7\xbaI\x10\x93E0\xd9\x8e\xd5\xb5B\xaa\x89\x13y\xcd\xda\xdd\xf8l\x1bwD8H\xb2\x91\xd9\x00E\x9a\xaca\'\x0b\x07\xa2\xd1\xc60\xf0\x9fU\xa6\xe3\xbc\xe5 \x94g\xd7\xach\x8awJs%\xbf\xd0\xd5\xa5\x87B}7\xc8\xe4\x087J\xfd\xfd\xb4\xba\x96g\x11k\x12F{_\xf0B\x83^\xe7\xf1&?f\xa6?y\x9a\xfbx\xd0\x12\xe0V\xf9\xff\xe7_V@\xde\xde\xc9\xa4\x82\x14M\x8a\xd1 \x08\x94\x00\x02Y\xfft\x00\xc0\x01H@\x00\x08D\x00 \x02\x80\x0c\xe2P\x00h\x00 \x02\x81\x98\x80\x90\x1a4\x00\x18\x04\xc1\xcatF\x9cB\x02lC`\x8d\x105z\x83\x894\x00\x1c`\xae\x16\x10\xa2\x06\x00!\x14Y\x9e$\x08\x0eA\x04\x8fQ\xe10x\x15\x02\x9bT\xd5\x1fpHv\xce!XW\x8d\x844\xfc\x02\x1aF\x1d8\xc7\x08\x92.\xad\xfeu%\xe7\x16\x14ae\x176\x12ST\x87 = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _____________ test_zfp[float32-view-bytearray-bytearray-mode1-omp] _____________ dtype = dtype('float32'), itype = 'view', enout = 'bytearray' deout = 'bytearray', mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00*\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x88x\x01\n\xcf\xf7\x87\xaf\xc0 \x18\x98\x03\x82\x03\x11\x00\x1f\x8e\x00pHn\t\x07\x81\x01\xf8\xb88\x01\xe0Cd\x07\x8e\x9cI\xb3\x07\xb0f\xce\x0f\x93\xfc`p\xc1\xc0\x08\x03~6\x0f\xb8\xe7w\xf0\xd8\x01\x9b$\xbc\xe9\xdd\xf0\x00\x06\x0c\x10\xf3%\x81\xcd\x88-\xbd\xc7mJ\x02\xc8(\x1c9\x1f\xcc\x17\xc3\xe80\xdb\x89G\x16\xc0<\x1a[\x1b\xf8\xafZhy\x08+\xc6K\x03\x93@#l}\x1c\x1c\xcfr4\x89\xc0\xe7\x9e]tx)&\xc5d\xa9<\xad\xb1Eo\x98\xea\xdd\xbf\x1b/\x12\xb6\x16L\xa8\x9c,\x88\xb4\x9d;\x12\x900\xc1Y\x0c\x90}\xe6\xaeP\xcaEV\x11\x8f\xb9p\x07\xb1d\x17\xf5\xd9E\xab3\xb2c\xfc2\xeb\xde\xee^{\xced\x01\x08\x800\xa8\x1a\xb3\xf4H@HI\x06a \x02,\x07\xb2\xe0\x02\x81\x84\x06\x06\x10\x00\x06\xafu\x98=\x82\x94P(<*\x8a\xbecL\xd00\x10E\x99\x820\x87\x18\x06F\xbc\x9c+\xf4\xc0\x84a\x8a\xf0\xc11f\x914\xd14\xe6\x86\xf8\xfd\xf4\xa7\tl\x92\x9a\xcd\xee\xeaS1\xdf\xa1\x1a\x91\xcd@\x1d\x1d\x7f\x80\x00\x9f\x8aR\xee~y|\xc9]\xa0Zd\xdc\t\xa6-\x94M\x01Ez?x\xde\xad\xea\xdc\x8e=\xde=\x91\xd9s\x07g\x0b-`\x11\xf7y`T\x8a\xe8xNu\xef\xb5B@\xae\xf444u.\t\xe7\xd6\x87\x1e\xba\xe7\x0b\xc2\xc7\xbc \xa6\x04\xf0\xa1Ks\xb8\xc8\xdf\x1d\xa2\xe5\x16\xab\x83G\xb8B\xcf\xf0l\'\x1f\xa8\xd9\xc2 \x00\x1b\x0...73\x1c%\x97\xab\xbe\xa2&Il\xd1g\xfa\xcb\x15*\x9fK\x10\x96@0DB\x0c\x00H\ru\xc1\x00\xa54\x00@\x80\xc0\x0b\x00\x08\xd9\xb0\x18\xf52\x81\x04\x02\x08B\x97\x83\xfbhA\x01\x84\x1a\x80!\x936\xc5\x10DF\x9b\xa2\xa0\xc5\xc2q\x98\x843\x88\xaf)\x99\x94ttZ\x13\xc7\xbaI\x10\x93E0\xd9\x8e\xd5\xb5B\xaa\x89\x13y\xcd\xda\xdd\xf8l\x1bwD8H\xb2\x91\xd9\x00E\x9a\xaca\'\x0b\x07\xa2\xd1\xc60\xf0\x9fU\xa6\xe3\xbc\xe5 \x94g\xd7\xach\x8awJs%\xbf\xd0\xd5\xa5\x87B}7\xc8\xe4\x087J\xfd\xfd\xb4\xba\x96g\x11k\x12F{_\xf0B\x83^\xe7\xf1&?f\xa6?y\x9a\xfbx\xd0\x12\xe0V\xf9\xff\xe7_V@\xde\xde\xc9\xa4\x82\x14M\x8a\xd1 \x08\x94\x00\x02Y\xfft\x00\xc0\x01H@\x00\x08D\x00 \x02\x80\x0c\xe2P\x00h\x00 \x02\x81\x98\x80\x90\x1a4\x00\x18\x04\xc1\xcatF\x9cB\x02lC`\x8d\x105z\x83\x894\x00\x1c`\xae\x16\x10\xa2\x06\x00!\x14Y\x9e$\x08\x0eA\x04\x8fQ\xe10x\x15\x02\x9bT\xd5\x1fpHv\xce!XW\x8d\x844\xfc\x02\x1aF\x1d8\xc7\x08\x92.\xad\xfeu%\xe7\x16\x14ae\x176\x12ST\x87 = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError __________________ test_zfp[float32-gray-new-new-mode0-None] ___________________ dtype = dtype('float32'), itype = 'gray', enout = 'new', deout = 'new' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\xc7Ke\xfd\x88\x00\x01\xf0\x01\xc6\x01\x868\x07\x87\x00\x00\xe3H\x04\x1a@8\x12\x00\x80b\t\x80f\x18\xe9\x00\x00B\x10\x001 \x00\x00\x08\x08\x00\x08\x06\x01\x8e0\x0cq\x01\x00\x02\x01\x80HB\x00\x00 \x04\x00@\x80\x00\x08\x92\x01\xc0\x04\x80\x10\x00\x01\x01\x12@\x00\x80\x18\xe0\x02@\x00\x03\x00\xc0\x8d \x00@\x08\x00\x84 \x10\x01\x80\x02\x08\t\x00\x00 \x00\x02 \x00q\x00 \xd4\x04\x80\x00\x00\x90\x08 \x10\n \xe3\x8ab\xb6_\x84\xa6\x01\x82 \x16\x00A8\x80\x81!\x00H\x06\x10\r"\x00L\x03\x01\nB$\x03H\x04\x10\x18\x00\x80\x08\x04\x84\x08\x00"\x00\x00\x88\x00\x00\x90\x85\x03\x04\x00\x8c\x11\x00 \x00\x00\x84CF\x80\x02\x00\x00\x02\x00\x00\x00\x08\x80\x00\xd0\x04\x00\x00\x12\x00!\x00@\x18\x80\x00\x8a\x00@\x04\x00\x08\x82P"\x00@\x08\x00\x04\x00\x18\x01\x00\x00\x00\x08\x00\x00\x0c\x03j\xad\x97\xf4\x01\x00\x12\x00\xf0\x841\x00\xc0\x0c!\x18\x8a\x002\x10\x00\x01(\x90\r#\t@\x00\x04(T \x12\x01\x84"\xa1\x00@\x91\x02\x80\x00\x00\x04\x88\x00\x11\x00!\xa8\x08\x00\x08$\x00\x00\x04\x044\x00\x00\x84\x00\x80@\x06\x81\x08\x80F(\x80\x10\x01\x00\x92\x01"\x08\xc3\x10\x12\x01!\x12\x00\x84i\x18\xea\x00@$\x08\x00\x00\x80\x02\x10\x00H\x14\x01\x00\x02\x00$\x03\xa8\xb2\xfe\xa0\x00\x02B\x00\x0c!\x05@\x1...x0c\x00\x000\x80\x00\xa4\x02(\x00\x00\x00\x05\x00\x024\x88D\x01\x00\x10\x04\x00\x08@\x11\x00 $\x12\x80\x10\x00\x08\x921\x04\x08\x05@\x02\x01!\x1aD\x04)\x10\xea\x00\x00 #\x00\x90\x89#\x04\x00\x00\x04\x00 \x10\x10\xa0 \x80\x00\x86\xa0$\x00\x020\x04Q\x92\x11\x94\x04\x80\x08F\x01!\x08\x04\x00\x00\x80\x00\x08\x00\x00\x02@\x80\x00\x10\x00\x1e2\x80\xd4[O\xea\x02\x8a\xa3\x00 \x8e\x00\x06\xa0\x0c\x02\x0cL\x030\xc6\x81$\x00\x00\x00\x10\x19\x00\x90H\x00\x00I\x00\xa2\x00\x00\xa8\x00\x00\x90\x84\x01\x18@\x0cU\x01 \x10\x10$\x02B\x91\x06\x80\x04\x00\x02 \x00\x08\x920\xd4\x00\x80\x00\x00\x00!\x02D2\x80\x10\x8a\x02\x00$\x01\x00\x01\x10\x01\x01@\x08\x00\x84\x08\x08\x01\x80`\x88\x08\x00\x80\t\x02@\x00\x88\x05\x01\x00\x12\x00\x80HF\x90\x0c \xfa\x00\x90\x01\x00\xd2\x11@\x1c\x00\x05@\x00\xc9\x16\xd3\x84%\x00\xa1\x08\xca\x00\xc5\x94\x030\x85\x01\x15\x004\x08\x02\x030\x08\x08\x02!\x80\x00\x01\x00H\x00\x80I\x00\x11$`\x88\x08\x00\x10$\x00\x02\x00\x8ca\x01 @\x04\x80HD\x11\x0c\x80@\x08\x00\x00\x00\x00@ !@C\x00\x00\x00\x00\x1a\x04\x00H\x00\x8a\x02\x00\x00\x00\x00\x10\x89\x01\r@@`\x01 \x12\x01\x04b\x80\x11\x08 \x00@\x14\x04\x08\xc20\x80\x00\x00@B\x00\x01\x18\x06\x12\x00\x90\t\x00\x00\x00\x00\x00\x00\x00\x02') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[float32-gray-new-new-mode0-omp] ___________________ dtype = dtype('float32'), itype = 'gray', enout = 'new', deout = 'new' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\xc7Ke\xfd\x88\x00\x01\xf0\x01\xc6\x01\x868\x07\x87\x00\x00\xe3H\x04\x1a@8\x12\x00\x80b\t\x80f\x18\xe9\x00\x00B\x10\x001 \x00\x00\x08\x08\x00\x08\x06\x01\x8e0\x0cq\x01\x00\x02\x01\x80HB\x00\x00 \x04\x00@\x80\x00\x08\x92\x01\xc0\x04\x80\x10\x00\x01\x01\x12@\x00\x80\x18\xe0\x02@\x00\x03\x00\xc0\x8d \x00@\x08\x00\x84 \x10\x01\x80\x02\x08\t\x00\x00 \x00\x02 \x00q\x00 \xd4\x04\x80\x00\x00\x90\x08 \x10\n \xe3\x8ab\xb6_\x84\xa6\x01\x82 \x16\x00A8\x80\x81!\x00H\x06\x10\r"\x00L\x03\x01\nB$\x03H\x04\x10\x18\x00\x80\x08\x04\x84\x08\x00"\x00\x00\x88\x00\x00\x90\x85\x03\x04\x00\x8c\x11\x00 \x00\x00\x84CF\x80\x02\x00\x00\x02\x00\x00\x00\x08\x80\x00\xd0\x04\x00\x00\x12\x00!\x00@\x18\x80\x00\x8a\x00@\x04\x00\x08\x82P"\x00@\x08\x00\x04\x00\x18\x01\x00\x00\x00\x08\x00\x00\x0c\x03j\xad\x97\xf4\x01\x00\x12\x00\xf0\x841\x00\xc0\x0c!\x18\x8a\x002\x10\x00\x01(\x90\r#\t@\x00\x04(T \x12\x01\x84"\xa1\x00@\x91\x02\x80\x00\x00\x04\x88\x00\x11\x00!\xa8\x08\x00\x08$\x00\x00\x04\x044\x00\x00\x84\x00\x80@\x06\x81\x08\x80F(\x80\x10\x01\x00\x92\x01"\x08\xc3\x10\x12\x01!\x12\x00\x84i\x18\xea\x00@$\x08\x00\x00\x80\x02\x10\x00H\x14\x01\x00\x02\x00$\x03\xa8\xb2\xfe\xa0\x00\x02B\x00\x0c!\x05@\x1...x0c\x00\x000\x80\x00\xa4\x02(\x00\x00\x00\x05\x00\x024\x88D\x01\x00\x10\x04\x00\x08@\x11\x00 $\x12\x80\x10\x00\x08\x921\x04\x08\x05@\x02\x01!\x1aD\x04)\x10\xea\x00\x00 #\x00\x90\x89#\x04\x00\x00\x04\x00 \x10\x10\xa0 \x80\x00\x86\xa0$\x00\x020\x04Q\x92\x11\x94\x04\x80\x08F\x01!\x08\x04\x00\x00\x80\x00\x08\x00\x00\x02@\x80\x00\x10\x00\x1e2\x80\xd4[O\xea\x02\x8a\xa3\x00 \x8e\x00\x06\xa0\x0c\x02\x0cL\x030\xc6\x81$\x00\x00\x00\x10\x19\x00\x90H\x00\x00I\x00\xa2\x00\x00\xa8\x00\x00\x90\x84\x01\x18@\x0cU\x01 \x10\x10$\x02B\x91\x06\x80\x04\x00\x02 \x00\x08\x920\xd4\x00\x80\x00\x00\x00!\x02D2\x80\x10\x8a\x02\x00$\x01\x00\x01\x10\x01\x01@\x08\x00\x84\x08\x08\x01\x80`\x88\x08\x00\x80\t\x02@\x00\x88\x05\x01\x00\x12\x00\x80HF\x90\x0c \xfa\x00\x90\x01\x00\xd2\x11@\x1c\x00\x05@\x00\xc9\x16\xd3\x84%\x00\xa1\x08\xca\x00\xc5\x94\x030\x85\x01\x15\x004\x08\x02\x030\x08\x08\x02!\x80\x00\x01\x00H\x00\x80I\x00\x11$`\x88\x08\x00\x10$\x00\x02\x00\x8ca\x01 @\x04\x80HD\x11\x0c\x80@\x08\x00\x00\x00\x00@ !@C\x00\x00\x00\x00\x1a\x04\x00H\x00\x8a\x02\x00\x00\x00\x00\x10\x89\x01\r@@`\x01 \x12\x01\x04b\x80\x11\x08 \x00@\x14\x04\x08\xc20\x80\x00\x00@B\x00\x01\x18\x06\x12\x00\x90\t\x00\x00\x00\x00\x00\x00\x00\x02') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError __________________ test_zfp[float32-gray-new-new-mode1-None] ___________________ dtype = dtype('float32'), itype = 'gray', enout = 'new', deout = 'new' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf01`\xc7J\xcf\xf7\x87\xaf\x01\xc7f8\xe8\x1c\x01\xaeF \x98cH\x07\x11\xd2\x18\x08\x024\x8cu \x1a`\x11\x00P1\x94\x84\x00\x02\x00\x00\x00\x80 \x00*\x00\x11\x80! \x00\x80\x08@`\x00\x00\x10\x8c4 a\x08\x08\x00\x80\x08"\x11\x10\x085\x01\x00\x10\x11\x80H@\x81\x8e\x00$\x02\x00\x10\t\x08\xd0\x11\xd4\x00\x80\x00\x00\x01!\x08\x02\x12\x80\x18J\x02\x00 "H\x86\x80#\x1d@\x08\x04\x84\t\x00\x01\x80\x00\x08\x00\x00\x90\x00\x00@\x04\x80q\x01 \x10\x07\x1e>\xacV\x7f\xa0\x02\x020\x84a\x08b\x0c \x12\x04\x18\x98\x07\x00b\x84\x01\x18\xc2\x00\x04\x88U\x15@\x00\x02\x08@P\x0c!\x00FR\x00\x80\r#\xc0\x00\x04!\x10J@ P\x00\x00!\x08\x020\x80\x10@\x00\x00\x00"\x00D\r\x02\x11@\x08\x00\x84A\x00\x10\xa0\x02\x88\x08\x00\x00\x00\x02\x02 \x8cT\x00\x00D\x04\x00@\x00\x00\x0c\x80\x04 \x80\x80\t\x08\xd0\x01\x03H\x00\x10\x12\x00!\x00\x04\x80\x01\x00\xe2\x02\x00$\x00\x00\x00\x00\x00\x10\x00\x00T\x00\xe0(\x08U\x9f\xe0\x88E\xc20\x04\x03\x021i\x18B\x18\xc21T`\n\x002\x01\x80!\x89\x04\x89!\x1c\x00\x04\x84a\x08\x00\x10\x01\x04!!\x00\x10\x11\x06\xa0\x02@$\x88q\x08\x08\xc20\xd0\x80\x00B\x04\x00\x02\x14\x8cA\x01\x80\x90\x04\x00@\x04\x10\x82\x00\x06\x12\x80\x00\x08\x08\x820 H\x07P\x10\...\t\x00\x90\x85"\x02\x14\x0ct\x00 \x00\x11\x00@\x02\x80\x06\xa0 \x02\x80\x00\x08\x00\x80\x11T\x04A@\x12\x01!\x08\x068!\x18*\x00@$\x01\x08\x10\x05 \x1c\x00\x08\x04\x80\x00\x10\x10$\x02\xa0\x00\x00 \x04\x00@4\x0c%\x001\x94\x00\x00\x08B\x91\x02\x18@\x18\x00\x80\x01\x08\xd2 \x00H\x07\x00\x12\x00 \x85\xacRQg\xfa\x00\x00\x04p\x8c\x01\x00a\x86\n\x19L \x00A\x88R!\x02\x00\x10\x04\x02\x00\x80\x00#\t\x00\x00\x88!\x11L`\x10j\x02\x00\x02\x01\x04\x80\x89\x02\x19@H\x00\x00 \x02\x00\xa0\x01(\x00\x00\xa0\x04\x02B \x84Q\x011P\x04\x00HD\x01\x8a\n\x00(\x80\x90\x08\x08\x00$\x02\x00GP\x02\x01\x00\x08\x04\x00)\x10\xe2\x02\x00\x88\t\x00\x80\x89"\x01@\x08e\x01 \x00\x11\x80#\x02\x80\x02 \x04\x02\x00\x10\t\x00\x12\x01D\x04\x80H\x08!\tLY\xfe\x00\x00\x08"\x00@\x00\xc6\x00\x8f\x08\x80 \x10\x03\x08\x82P0\x0c\x02\x04\x02\x10\x00Q\n@\x04\x01\x00\x81P\x00\x01\x02\x04@\x00\x00`\x00\x00"@\x85P\x18\x00\x00H\x04\x84i\x10H\x00\x00\x08\t\x00\x90\x81!\x1d@\x80@\x00\x00\x12\x01 \x00\x06\x11\x08\x00 \x00\x020\x01\x00\xc0 P\x04\x00\x00\x10\x00\x01\x08\x04*\x00\x00j\x00@\x00 \x08BP\x02\x05\x00\x00\x04\x00@\x18\x10\x80A\x80\x01\x00\x90\r\x02@\x00\x80Q\x01\x00\x02\x00\x00\x00\x00\x80\x08\x00\x04\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[float32-gray-new-new-mode1-omp] ___________________ dtype = dtype('float32'), itype = 'gray', enout = 'new', deout = 'new' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf01`\xc7J\xcf\xf7\x87\xaf\x01\xc7f8\xe8\x1c\x01\xaeF \x98cH\x07\x11\xd2\x18\x08\x024\x8cu \x1a`\x11\x00P1\x94\x84\x00\x02\x00\x00\x00\x80 \x00*\x00\x11\x80! \x00\x80\x08@`\x00\x00\x10\x8c4 a\x08\x08\x00\x80\x08"\x11\x10\x085\x01\x00\x10\x11\x80H@\x81\x8e\x00$\x02\x00\x10\t\x08\xd0\x11\xd4\x00\x80\x00\x00\x01!\x08\x02\x12\x80\x18J\x02\x00 "H\x86\x80#\x1d@\x08\x04\x84\t\x00\x01\x80\x00\x08\x00\x00\x90\x00\x00@\x04\x80q\x01 \x10\x07\x1e>\xacV\x7f\xa0\x02\x020\x84a\x08b\x0c \x12\x04\x18\x98\x07\x00b\x84\x01\x18\xc2\x00\x04\x88U\x15@\x00\x02\x08@P\x0c!\x00FR\x00\x80\r#\xc0\x00\x04!\x10J@ P\x00\x00!\x08\x020\x80\x10@\x00\x00\x00"\x00D\r\x02\x11@\x08\x00\x84A\x00\x10\xa0\x02\x88\x08\x00\x00\x00\x02\x02 \x8cT\x00\x00D\x04\x00@\x00\x00\x0c\x80\x04 \x80\x80\t\x08\xd0\x01\x03H\x00\x10\x12\x00!\x00\x04\x80\x01\x00\xe2\x02\x00$\x00\x00\x00\x00\x00\x10\x00\x00T\x00\xe0(\x08U\x9f\xe0\x88E\xc20\x04\x03\x021i\x18B\x18\xc21T`\n\x002\x01\x80!\x89\x04\x89!\x1c\x00\x04\x84a\x08\x00\x10\x01\x04!!\x00\x10\x11\x06\xa0\x02@$\x88q\x08\x08\xc20\xd0\x80\x00B\x04\x00\x02\x14\x8cA\x01\x80\x90\x04\x00@\x04\x10\x82\x00\x06\x12\x80\x00\x08\x08\x820 H\x07P\x10\...\t\x00\x90\x85"\x02\x14\x0ct\x00 \x00\x11\x00@\x02\x80\x06\xa0 \x02\x80\x00\x08\x00\x80\x11T\x04A@\x12\x01!\x08\x068!\x18*\x00@$\x01\x08\x10\x05 \x1c\x00\x08\x04\x80\x00\x10\x10$\x02\xa0\x00\x00 \x04\x00@4\x0c%\x001\x94\x00\x00\x08B\x91\x02\x18@\x18\x00\x80\x01\x08\xd2 \x00H\x07\x00\x12\x00 \x85\xacRQg\xfa\x00\x00\x04p\x8c\x01\x00a\x86\n\x19L \x00A\x88R!\x02\x00\x10\x04\x02\x00\x80\x00#\t\x00\x00\x88!\x11L`\x10j\x02\x00\x02\x01\x04\x80\x89\x02\x19@H\x00\x00 \x02\x00\xa0\x01(\x00\x00\xa0\x04\x02B \x84Q\x011P\x04\x00HD\x01\x8a\n\x00(\x80\x90\x08\x08\x00$\x02\x00GP\x02\x01\x00\x08\x04\x00)\x10\xe2\x02\x00\x88\t\x00\x80\x89"\x01@\x08e\x01 \x00\x11\x80#\x02\x80\x02 \x04\x02\x00\x10\t\x00\x12\x01D\x04\x80H\x08!\tLY\xfe\x00\x00\x08"\x00@\x00\xc6\x00\x8f\x08\x80 \x10\x03\x08\x82P0\x0c\x02\x04\x02\x10\x00Q\n@\x04\x01\x00\x81P\x00\x01\x02\x04@\x00\x00`\x00\x00"@\x85P\x18\x00\x00H\x04\x84i\x10H\x00\x00\x08\t\x00\x90\x81!\x1d@\x80@\x00\x00\x12\x01 \x00\x06\x11\x08\x00 \x00\x020\x01\x00\xc0 P\x04\x00\x00\x10\x00\x01\x08\x04*\x00\x00j\x00@\x00 \x08BP\x02\x05\x00\x00\x04\x00@\x18\x10\x80A\x80\x01\x00\x90\r\x02@\x00\x80Q\x01\x00\x02\x00\x00\x00\x00\x80\x08\x00\x04\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError __________________ test_zfp[float32-gray-new-out-mode0-None] ___________________ dtype = dtype('float32'), itype = 'gray', enout = 'new', deout = 'out' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\xc7Ke\xfd\x88\x00\x01\xf0\x01\xc6\x01\x868\x07\x87\x00\x00\xe3H\x04\x1a@8\x12\x00\x80b\t\x80f\x18\xe9\x00\x00B\x10\x001 \x00\x00\x08\x08\x00\x08\x06\x01\x8e0\x0cq\x01\x00\x02\x01\x80HB\x00\x00 \x04\x00@\x80\x00\x08\x92\x01\xc0\x04\x80\x10\x00\x01\x01\x12@\x00\x80\x18\xe0\x02@\x00\x03\x00\xc0\x8d \x00@\x08\x00\x84 \x10\x01\x80\x02\x08\t\x00\x00 \x00\x02 \x00q\x00 \xd4\x04\x80\x00\x00\x90\x08 \x10\n \xe3\x8ab\xb6_\x84\xa6\x01\x82 \x16\x00A8\x80\x81!\x00H\x06\x10\r"\x00L\x03\x01\nB$\x03H\x04\x10\x18\x00\x80\x08\x04\x84\x08\x00"\x00\x00\x88\x00\x00\x90\x85\x03\x04\x00\x8c\x11\x00 \x00\x00\x84CF\x80\x02\x00\x00\x02\x00\x00\x00\x08\x80\x00\xd0\x04\x00\x00\x12\x00!\x00@\x18\x80\x00\x8a\x00@\x04\x00\x08\x82P"\x00@\x08\x00\x04\x00\x18\x01\x00\x00\x00\x08\x00\x00\x0c\x03j\xad\x97\xf4\x01\x00\x12\x00\xf0\x841\x00\xc0\x0c!\x18\x8a\x002\x10\x00\x01(\x90\r#\t@\x00\x04(T \x12\x01\x84"\xa1\x00@\x91\x02\x80\x00\x00\x04\x88\x00\x11\x00!\xa8\x08\x00\x08$\x00\x00\x04\x044\x00\x00\x84\x00\x80@\x06\x81\x08\x80F(\x80\x10\x01\x00\x92\x01"\x08\xc3\x10\x12\x01!\x12\x00\x84i\x18\xea\x00@$\x08\x00\x00\x80\x02\x10\x00H\x14\x01\x00\x02\x00$\x03\xa8\xb2\xfe\xa0\x00\x02B\x00\x0c!\x05@\x1...x0c\x00\x000\x80\x00\xa4\x02(\x00\x00\x00\x05\x00\x024\x88D\x01\x00\x10\x04\x00\x08@\x11\x00 $\x12\x80\x10\x00\x08\x921\x04\x08\x05@\x02\x01!\x1aD\x04)\x10\xea\x00\x00 #\x00\x90\x89#\x04\x00\x00\x04\x00 \x10\x10\xa0 \x80\x00\x86\xa0$\x00\x020\x04Q\x92\x11\x94\x04\x80\x08F\x01!\x08\x04\x00\x00\x80\x00\x08\x00\x00\x02@\x80\x00\x10\x00\x1e2\x80\xd4[O\xea\x02\x8a\xa3\x00 \x8e\x00\x06\xa0\x0c\x02\x0cL\x030\xc6\x81$\x00\x00\x00\x10\x19\x00\x90H\x00\x00I\x00\xa2\x00\x00\xa8\x00\x00\x90\x84\x01\x18@\x0cU\x01 \x10\x10$\x02B\x91\x06\x80\x04\x00\x02 \x00\x08\x920\xd4\x00\x80\x00\x00\x00!\x02D2\x80\x10\x8a\x02\x00$\x01\x00\x01\x10\x01\x01@\x08\x00\x84\x08\x08\x01\x80`\x88\x08\x00\x80\t\x02@\x00\x88\x05\x01\x00\x12\x00\x80HF\x90\x0c \xfa\x00\x90\x01\x00\xd2\x11@\x1c\x00\x05@\x00\xc9\x16\xd3\x84%\x00\xa1\x08\xca\x00\xc5\x94\x030\x85\x01\x15\x004\x08\x02\x030\x08\x08\x02!\x80\x00\x01\x00H\x00\x80I\x00\x11$`\x88\x08\x00\x10$\x00\x02\x00\x8ca\x01 @\x04\x80HD\x11\x0c\x80@\x08\x00\x00\x00\x00@ !@C\x00\x00\x00\x00\x1a\x04\x00H\x00\x8a\x02\x00\x00\x00\x00\x10\x89\x01\r@@`\x01 \x12\x01\x04b\x80\x11\x08 \x00@\x14\x04\x08\xc20\x80\x00\x00@B\x00\x01\x18\x06\x12\x00\x90\t\x00\x00\x00\x00\x00\x00\x00\x02') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[float32-gray-new-out-mode0-omp] ___________________ dtype = dtype('float32'), itype = 'gray', enout = 'new', deout = 'out' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\xc7Ke\xfd\x88\x00\x01\xf0\x01\xc6\x01\x868\x07\x87\x00\x00\xe3H\x04\x1a@8\x12\x00\x80b\t\x80f\x18\xe9\x00\x00B\x10\x001 \x00\x00\x08\x08\x00\x08\x06\x01\x8e0\x0cq\x01\x00\x02\x01\x80HB\x00\x00 \x04\x00@\x80\x00\x08\x92\x01\xc0\x04\x80\x10\x00\x01\x01\x12@\x00\x80\x18\xe0\x02@\x00\x03\x00\xc0\x8d \x00@\x08\x00\x84 \x10\x01\x80\x02\x08\t\x00\x00 \x00\x02 \x00q\x00 \xd4\x04\x80\x00\x00\x90\x08 \x10\n \xe3\x8ab\xb6_\x84\xa6\x01\x82 \x16\x00A8\x80\x81!\x00H\x06\x10\r"\x00L\x03\x01\nB$\x03H\x04\x10\x18\x00\x80\x08\x04\x84\x08\x00"\x00\x00\x88\x00\x00\x90\x85\x03\x04\x00\x8c\x11\x00 \x00\x00\x84CF\x80\x02\x00\x00\x02\x00\x00\x00\x08\x80\x00\xd0\x04\x00\x00\x12\x00!\x00@\x18\x80\x00\x8a\x00@\x04\x00\x08\x82P"\x00@\x08\x00\x04\x00\x18\x01\x00\x00\x00\x08\x00\x00\x0c\x03j\xad\x97\xf4\x01\x00\x12\x00\xf0\x841\x00\xc0\x0c!\x18\x8a\x002\x10\x00\x01(\x90\r#\t@\x00\x04(T \x12\x01\x84"\xa1\x00@\x91\x02\x80\x00\x00\x04\x88\x00\x11\x00!\xa8\x08\x00\x08$\x00\x00\x04\x044\x00\x00\x84\x00\x80@\x06\x81\x08\x80F(\x80\x10\x01\x00\x92\x01"\x08\xc3\x10\x12\x01!\x12\x00\x84i\x18\xea\x00@$\x08\x00\x00\x80\x02\x10\x00H\x14\x01\x00\x02\x00$\x03\xa8\xb2\xfe\xa0\x00\x02B\x00\x0c!\x05@\x1...x0c\x00\x000\x80\x00\xa4\x02(\x00\x00\x00\x05\x00\x024\x88D\x01\x00\x10\x04\x00\x08@\x11\x00 $\x12\x80\x10\x00\x08\x921\x04\x08\x05@\x02\x01!\x1aD\x04)\x10\xea\x00\x00 #\x00\x90\x89#\x04\x00\x00\x04\x00 \x10\x10\xa0 \x80\x00\x86\xa0$\x00\x020\x04Q\x92\x11\x94\x04\x80\x08F\x01!\x08\x04\x00\x00\x80\x00\x08\x00\x00\x02@\x80\x00\x10\x00\x1e2\x80\xd4[O\xea\x02\x8a\xa3\x00 \x8e\x00\x06\xa0\x0c\x02\x0cL\x030\xc6\x81$\x00\x00\x00\x10\x19\x00\x90H\x00\x00I\x00\xa2\x00\x00\xa8\x00\x00\x90\x84\x01\x18@\x0cU\x01 \x10\x10$\x02B\x91\x06\x80\x04\x00\x02 \x00\x08\x920\xd4\x00\x80\x00\x00\x00!\x02D2\x80\x10\x8a\x02\x00$\x01\x00\x01\x10\x01\x01@\x08\x00\x84\x08\x08\x01\x80`\x88\x08\x00\x80\t\x02@\x00\x88\x05\x01\x00\x12\x00\x80HF\x90\x0c \xfa\x00\x90\x01\x00\xd2\x11@\x1c\x00\x05@\x00\xc9\x16\xd3\x84%\x00\xa1\x08\xca\x00\xc5\x94\x030\x85\x01\x15\x004\x08\x02\x030\x08\x08\x02!\x80\x00\x01\x00H\x00\x80I\x00\x11$`\x88\x08\x00\x10$\x00\x02\x00\x8ca\x01 @\x04\x80HD\x11\x0c\x80@\x08\x00\x00\x00\x00@ !@C\x00\x00\x00\x00\x1a\x04\x00H\x00\x8a\x02\x00\x00\x00\x00\x10\x89\x01\r@@`\x01 \x12\x01\x04b\x80\x11\x08 \x00@\x14\x04\x08\xc20\x80\x00\x00@B\x00\x01\x18\x06\x12\x00\x90\t\x00\x00\x00\x00\x00\x00\x00\x02') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError __________________ test_zfp[float32-gray-new-out-mode1-None] ___________________ dtype = dtype('float32'), itype = 'gray', enout = 'new', deout = 'out' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf01`\xc7J\xcf\xf7\x87\xaf\x01\xc7f8\xe8\x1c\x01\xaeF \x98cH\x07\x11\xd2\x18\x08\x024\x8cu \x1a`\x11\x00P1\x94\x84\x00\x02\x00\x00\x00\x80 \x00*\x00\x11\x80! \x00\x80\x08@`\x00\x00\x10\x8c4 a\x08\x08\x00\x80\x08"\x11\x10\x085\x01\x00\x10\x11\x80H@\x81\x8e\x00$\x02\x00\x10\t\x08\xd0\x11\xd4\x00\x80\x00\x00\x01!\x08\x02\x12\x80\x18J\x02\x00 "H\x86\x80#\x1d@\x08\x04\x84\t\x00\x01\x80\x00\x08\x00\x00\x90\x00\x00@\x04\x80q\x01 \x10\x07\x1e>\xacV\x7f\xa0\x02\x020\x84a\x08b\x0c \x12\x04\x18\x98\x07\x00b\x84\x01\x18\xc2\x00\x04\x88U\x15@\x00\x02\x08@P\x0c!\x00FR\x00\x80\r#\xc0\x00\x04!\x10J@ P\x00\x00!\x08\x020\x80\x10@\x00\x00\x00"\x00D\r\x02\x11@\x08\x00\x84A\x00\x10\xa0\x02\x88\x08\x00\x00\x00\x02\x02 \x8cT\x00\x00D\x04\x00@\x00\x00\x0c\x80\x04 \x80\x80\t\x08\xd0\x01\x03H\x00\x10\x12\x00!\x00\x04\x80\x01\x00\xe2\x02\x00$\x00\x00\x00\x00\x00\x10\x00\x00T\x00\xe0(\x08U\x9f\xe0\x88E\xc20\x04\x03\x021i\x18B\x18\xc21T`\n\x002\x01\x80!\x89\x04\x89!\x1c\x00\x04\x84a\x08\x00\x10\x01\x04!!\x00\x10\x11\x06\xa0\x02@$\x88q\x08\x08\xc20\xd0\x80\x00B\x04\x00\x02\x14\x8cA\x01\x80\x90\x04\x00@\x04\x10\x82\x00\x06\x12\x80\x00\x08\x08\x820 H\x07P\x10\...\t\x00\x90\x85"\x02\x14\x0ct\x00 \x00\x11\x00@\x02\x80\x06\xa0 \x02\x80\x00\x08\x00\x80\x11T\x04A@\x12\x01!\x08\x068!\x18*\x00@$\x01\x08\x10\x05 \x1c\x00\x08\x04\x80\x00\x10\x10$\x02\xa0\x00\x00 \x04\x00@4\x0c%\x001\x94\x00\x00\x08B\x91\x02\x18@\x18\x00\x80\x01\x08\xd2 \x00H\x07\x00\x12\x00 \x85\xacRQg\xfa\x00\x00\x04p\x8c\x01\x00a\x86\n\x19L \x00A\x88R!\x02\x00\x10\x04\x02\x00\x80\x00#\t\x00\x00\x88!\x11L`\x10j\x02\x00\x02\x01\x04\x80\x89\x02\x19@H\x00\x00 \x02\x00\xa0\x01(\x00\x00\xa0\x04\x02B \x84Q\x011P\x04\x00HD\x01\x8a\n\x00(\x80\x90\x08\x08\x00$\x02\x00GP\x02\x01\x00\x08\x04\x00)\x10\xe2\x02\x00\x88\t\x00\x80\x89"\x01@\x08e\x01 \x00\x11\x80#\x02\x80\x02 \x04\x02\x00\x10\t\x00\x12\x01D\x04\x80H\x08!\tLY\xfe\x00\x00\x08"\x00@\x00\xc6\x00\x8f\x08\x80 \x10\x03\x08\x82P0\x0c\x02\x04\x02\x10\x00Q\n@\x04\x01\x00\x81P\x00\x01\x02\x04@\x00\x00`\x00\x00"@\x85P\x18\x00\x00H\x04\x84i\x10H\x00\x00\x08\t\x00\x90\x81!\x1d@\x80@\x00\x00\x12\x01 \x00\x06\x11\x08\x00 \x00\x020\x01\x00\xc0 P\x04\x00\x00\x10\x00\x01\x08\x04*\x00\x00j\x00@\x00 \x08BP\x02\x05\x00\x00\x04\x00@\x18\x10\x80A\x80\x01\x00\x90\r\x02@\x00\x80Q\x01\x00\x02\x00\x00\x00\x00\x80\x08\x00\x04\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[float32-gray-new-out-mode1-omp] ___________________ dtype = dtype('float32'), itype = 'gray', enout = 'new', deout = 'out' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf01`\xc7J\xcf\xf7\x87\xaf\x01\xc7f8\xe8\x1c\x01\xaeF \x98cH\x07\x11\xd2\x18\x08\x024\x8cu \x1a`\x11\x00P1\x94\x84\x00\x02\x00\x00\x00\x80 \x00*\x00\x11\x80! \x00\x80\x08@`\x00\x00\x10\x8c4 a\x08\x08\x00\x80\x08"\x11\x10\x085\x01\x00\x10\x11\x80H@\x81\x8e\x00$\x02\x00\x10\t\x08\xd0\x11\xd4\x00\x80\x00\x00\x01!\x08\x02\x12\x80\x18J\x02\x00 "H\x86\x80#\x1d@\x08\x04\x84\t\x00\x01\x80\x00\x08\x00\x00\x90\x00\x00@\x04\x80q\x01 \x10\x07\x1e>\xacV\x7f\xa0\x02\x020\x84a\x08b\x0c \x12\x04\x18\x98\x07\x00b\x84\x01\x18\xc2\x00\x04\x88U\x15@\x00\x02\x08@P\x0c!\x00FR\x00\x80\r#\xc0\x00\x04!\x10J@ P\x00\x00!\x08\x020\x80\x10@\x00\x00\x00"\x00D\r\x02\x11@\x08\x00\x84A\x00\x10\xa0\x02\x88\x08\x00\x00\x00\x02\x02 \x8cT\x00\x00D\x04\x00@\x00\x00\x0c\x80\x04 \x80\x80\t\x08\xd0\x01\x03H\x00\x10\x12\x00!\x00\x04\x80\x01\x00\xe2\x02\x00$\x00\x00\x00\x00\x00\x10\x00\x00T\x00\xe0(\x08U\x9f\xe0\x88E\xc20\x04\x03\x021i\x18B\x18\xc21T`\n\x002\x01\x80!\x89\x04\x89!\x1c\x00\x04\x84a\x08\x00\x10\x01\x04!!\x00\x10\x11\x06\xa0\x02@$\x88q\x08\x08\xc20\xd0\x80\x00B\x04\x00\x02\x14\x8cA\x01\x80\x90\x04\x00@\x04\x10\x82\x00\x06\x12\x80\x00\x08\x08\x820 H\x07P\x10\...\t\x00\x90\x85"\x02\x14\x0ct\x00 \x00\x11\x00@\x02\x80\x06\xa0 \x02\x80\x00\x08\x00\x80\x11T\x04A@\x12\x01!\x08\x068!\x18*\x00@$\x01\x08\x10\x05 \x1c\x00\x08\x04\x80\x00\x10\x10$\x02\xa0\x00\x00 \x04\x00@4\x0c%\x001\x94\x00\x00\x08B\x91\x02\x18@\x18\x00\x80\x01\x08\xd2 \x00H\x07\x00\x12\x00 \x85\xacRQg\xfa\x00\x00\x04p\x8c\x01\x00a\x86\n\x19L \x00A\x88R!\x02\x00\x10\x04\x02\x00\x80\x00#\t\x00\x00\x88!\x11L`\x10j\x02\x00\x02\x01\x04\x80\x89\x02\x19@H\x00\x00 \x02\x00\xa0\x01(\x00\x00\xa0\x04\x02B \x84Q\x011P\x04\x00HD\x01\x8a\n\x00(\x80\x90\x08\x08\x00$\x02\x00GP\x02\x01\x00\x08\x04\x00)\x10\xe2\x02\x00\x88\t\x00\x80\x89"\x01@\x08e\x01 \x00\x11\x80#\x02\x80\x02 \x04\x02\x00\x10\t\x00\x12\x01D\x04\x80H\x08!\tLY\xfe\x00\x00\x08"\x00@\x00\xc6\x00\x8f\x08\x80 \x10\x03\x08\x82P0\x0c\x02\x04\x02\x10\x00Q\n@\x04\x01\x00\x81P\x00\x01\x02\x04@\x00\x00`\x00\x00"@\x85P\x18\x00\x00H\x04\x84i\x10H\x00\x00\x08\t\x00\x90\x81!\x1d@\x80@\x00\x00\x12\x01 \x00\x06\x11\x08\x00 \x00\x020\x01\x00\xc0 P\x04\x00\x00\x10\x00\x01\x08\x04*\x00\x00j\x00@\x00 \x08BP\x02\x05\x00\x00\x04\x00@\x18\x10\x80A\x80\x01\x00\x90\r\x02@\x00\x80Q\x01\x00\x02\x00\x00\x00\x00\x80\x08\x00\x04\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _______________ test_zfp[float32-gray-new-bytearray-mode0-None] ________________ dtype = dtype('float32'), itype = 'gray', enout = 'new', deout = 'bytearray' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\xc7Ke\xfd\x88\x00\x01\xf0\x01\xc6\x01\x868\x07\x87\x00\x00\xe3H\x04\x1a@8\x12\x00\x80b\t\x80f\x18\xe9\x00\x00B\x10\x001 \x00\x00\x08\x08\x00\x08\x06\x01\x8e0\x0cq\x01\x00\x02\x01\x80HB\x00\x00 \x04\x00@\x80\x00\x08\x92\x01\xc0\x04\x80\x10\x00\x01\x01\x12@\x00\x80\x18\xe0\x02@\x00\x03\x00\xc0\x8d \x00@\x08\x00\x84 \x10\x01\x80\x02\x08\t\x00\x00 \x00\x02 \x00q\x00 \xd4\x04\x80\x00\x00\x90\x08 \x10\n \xe3\x8ab\xb6_\x84\xa6\x01\x82 \x16\x00A8\x80\x81!\x00H\x06\x10\r"\x00L\x03\x01\nB$\x03H\x04\x10\x18\x00\x80\x08\x04\x84\x08\x00"\x00\x00\x88\x00\x00\x90\x85\x03\x04\x00\x8c\x11\x00 \x00\x00\x84CF\x80\x02\x00\x00\x02\x00\x00\x00\x08\x80\x00\xd0\x04\x00\x00\x12\x00!\x00@\x18\x80\x00\x8a\x00@\x04\x00\x08\x82P"\x00@\x08\x00\x04\x00\x18\x01\x00\x00\x00\x08\x00\x00\x0c\x03j\xad\x97\xf4\x01\x00\x12\x00\xf0\x841\x00\xc0\x0c!\x18\x8a\x002\x10\x00\x01(\x90\r#\t@\x00\x04(T \x12\x01\x84"\xa1\x00@\x91\x02\x80\x00\x00\x04\x88\x00\x11\x00!\xa8\x08\x00\x08$\x00\x00\x04\x044\x00\x00\x84\x00\x80@\x06\x81\x08\x80F(\x80\x10\x01\x00\x92\x01"\x08\xc3\x10\x12\x01!\x12\x00\x84i\x18\xea\x00@$\x08\x00\x00\x80\x02\x10\x00H\x14\x01\x00\x02\x00$\x03\xa8\xb2\xfe\xa0\x00\x02B\x00\x0c!\x05@\x1...x0c\x00\x000\x80\x00\xa4\x02(\x00\x00\x00\x05\x00\x024\x88D\x01\x00\x10\x04\x00\x08@\x11\x00 $\x12\x80\x10\x00\x08\x921\x04\x08\x05@\x02\x01!\x1aD\x04)\x10\xea\x00\x00 #\x00\x90\x89#\x04\x00\x00\x04\x00 \x10\x10\xa0 \x80\x00\x86\xa0$\x00\x020\x04Q\x92\x11\x94\x04\x80\x08F\x01!\x08\x04\x00\x00\x80\x00\x08\x00\x00\x02@\x80\x00\x10\x00\x1e2\x80\xd4[O\xea\x02\x8a\xa3\x00 \x8e\x00\x06\xa0\x0c\x02\x0cL\x030\xc6\x81$\x00\x00\x00\x10\x19\x00\x90H\x00\x00I\x00\xa2\x00\x00\xa8\x00\x00\x90\x84\x01\x18@\x0cU\x01 \x10\x10$\x02B\x91\x06\x80\x04\x00\x02 \x00\x08\x920\xd4\x00\x80\x00\x00\x00!\x02D2\x80\x10\x8a\x02\x00$\x01\x00\x01\x10\x01\x01@\x08\x00\x84\x08\x08\x01\x80`\x88\x08\x00\x80\t\x02@\x00\x88\x05\x01\x00\x12\x00\x80HF\x90\x0c \xfa\x00\x90\x01\x00\xd2\x11@\x1c\x00\x05@\x00\xc9\x16\xd3\x84%\x00\xa1\x08\xca\x00\xc5\x94\x030\x85\x01\x15\x004\x08\x02\x030\x08\x08\x02!\x80\x00\x01\x00H\x00\x80I\x00\x11$`\x88\x08\x00\x10$\x00\x02\x00\x8ca\x01 @\x04\x80HD\x11\x0c\x80@\x08\x00\x00\x00\x00@ !@C\x00\x00\x00\x00\x1a\x04\x00H\x00\x8a\x02\x00\x00\x00\x00\x10\x89\x01\r@@`\x01 \x12\x01\x04b\x80\x11\x08 \x00@\x14\x04\x08\xc20\x80\x00\x00@B\x00\x01\x18\x06\x12\x00\x90\t\x00\x00\x00\x00\x00\x00\x00\x02') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[float32-gray-new-bytearray-mode0-omp] ________________ dtype = dtype('float32'), itype = 'gray', enout = 'new', deout = 'bytearray' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\xc7Ke\xfd\x88\x00\x01\xf0\x01\xc6\x01\x868\x07\x87\x00\x00\xe3H\x04\x1a@8\x12\x00\x80b\t\x80f\x18\xe9\x00\x00B\x10\x001 \x00\x00\x08\x08\x00\x08\x06\x01\x8e0\x0cq\x01\x00\x02\x01\x80HB\x00\x00 \x04\x00@\x80\x00\x08\x92\x01\xc0\x04\x80\x10\x00\x01\x01\x12@\x00\x80\x18\xe0\x02@\x00\x03\x00\xc0\x8d \x00@\x08\x00\x84 \x10\x01\x80\x02\x08\t\x00\x00 \x00\x02 \x00q\x00 \xd4\x04\x80\x00\x00\x90\x08 \x10\n \xe3\x8ab\xb6_\x84\xa6\x01\x82 \x16\x00A8\x80\x81!\x00H\x06\x10\r"\x00L\x03\x01\nB$\x03H\x04\x10\x18\x00\x80\x08\x04\x84\x08\x00"\x00\x00\x88\x00\x00\x90\x85\x03\x04\x00\x8c\x11\x00 \x00\x00\x84CF\x80\x02\x00\x00\x02\x00\x00\x00\x08\x80\x00\xd0\x04\x00\x00\x12\x00!\x00@\x18\x80\x00\x8a\x00@\x04\x00\x08\x82P"\x00@\x08\x00\x04\x00\x18\x01\x00\x00\x00\x08\x00\x00\x0c\x03j\xad\x97\xf4\x01\x00\x12\x00\xf0\x841\x00\xc0\x0c!\x18\x8a\x002\x10\x00\x01(\x90\r#\t@\x00\x04(T \x12\x01\x84"\xa1\x00@\x91\x02\x80\x00\x00\x04\x88\x00\x11\x00!\xa8\x08\x00\x08$\x00\x00\x04\x044\x00\x00\x84\x00\x80@\x06\x81\x08\x80F(\x80\x10\x01\x00\x92\x01"\x08\xc3\x10\x12\x01!\x12\x00\x84i\x18\xea\x00@$\x08\x00\x00\x80\x02\x10\x00H\x14\x01\x00\x02\x00$\x03\xa8\xb2\xfe\xa0\x00\x02B\x00\x0c!\x05@\x1...x0c\x00\x000\x80\x00\xa4\x02(\x00\x00\x00\x05\x00\x024\x88D\x01\x00\x10\x04\x00\x08@\x11\x00 $\x12\x80\x10\x00\x08\x921\x04\x08\x05@\x02\x01!\x1aD\x04)\x10\xea\x00\x00 #\x00\x90\x89#\x04\x00\x00\x04\x00 \x10\x10\xa0 \x80\x00\x86\xa0$\x00\x020\x04Q\x92\x11\x94\x04\x80\x08F\x01!\x08\x04\x00\x00\x80\x00\x08\x00\x00\x02@\x80\x00\x10\x00\x1e2\x80\xd4[O\xea\x02\x8a\xa3\x00 \x8e\x00\x06\xa0\x0c\x02\x0cL\x030\xc6\x81$\x00\x00\x00\x10\x19\x00\x90H\x00\x00I\x00\xa2\x00\x00\xa8\x00\x00\x90\x84\x01\x18@\x0cU\x01 \x10\x10$\x02B\x91\x06\x80\x04\x00\x02 \x00\x08\x920\xd4\x00\x80\x00\x00\x00!\x02D2\x80\x10\x8a\x02\x00$\x01\x00\x01\x10\x01\x01@\x08\x00\x84\x08\x08\x01\x80`\x88\x08\x00\x80\t\x02@\x00\x88\x05\x01\x00\x12\x00\x80HF\x90\x0c \xfa\x00\x90\x01\x00\xd2\x11@\x1c\x00\x05@\x00\xc9\x16\xd3\x84%\x00\xa1\x08\xca\x00\xc5\x94\x030\x85\x01\x15\x004\x08\x02\x030\x08\x08\x02!\x80\x00\x01\x00H\x00\x80I\x00\x11$`\x88\x08\x00\x10$\x00\x02\x00\x8ca\x01 @\x04\x80HD\x11\x0c\x80@\x08\x00\x00\x00\x00@ !@C\x00\x00\x00\x00\x1a\x04\x00H\x00\x8a\x02\x00\x00\x00\x00\x10\x89\x01\r@@`\x01 \x12\x01\x04b\x80\x11\x08 \x00@\x14\x04\x08\xc20\x80\x00\x00@B\x00\x01\x18\x06\x12\x00\x90\t\x00\x00\x00\x00\x00\x00\x00\x02') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _______________ test_zfp[float32-gray-new-bytearray-mode1-None] ________________ dtype = dtype('float32'), itype = 'gray', enout = 'new', deout = 'bytearray' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf01`\xc7J\xcf\xf7\x87\xaf\x01\xc7f8\xe8\x1c\x01\xaeF \x98cH\x07\x11\xd2\x18\x08\x024\x8cu \x1a`\x11\x00P1\x94\x84\x00\x02\x00\x00\x00\x80 \x00*\x00\x11\x80! \x00\x80\x08@`\x00\x00\x10\x8c4 a\x08\x08\x00\x80\x08"\x11\x10\x085\x01\x00\x10\x11\x80H@\x81\x8e\x00$\x02\x00\x10\t\x08\xd0\x11\xd4\x00\x80\x00\x00\x01!\x08\x02\x12\x80\x18J\x02\x00 "H\x86\x80#\x1d@\x08\x04\x84\t\x00\x01\x80\x00\x08\x00\x00\x90\x00\x00@\x04\x80q\x01 \x10\x07\x1e>\xacV\x7f\xa0\x02\x020\x84a\x08b\x0c \x12\x04\x18\x98\x07\x00b\x84\x01\x18\xc2\x00\x04\x88U\x15@\x00\x02\x08@P\x0c!\x00FR\x00\x80\r#\xc0\x00\x04!\x10J@ P\x00\x00!\x08\x020\x80\x10@\x00\x00\x00"\x00D\r\x02\x11@\x08\x00\x84A\x00\x10\xa0\x02\x88\x08\x00\x00\x00\x02\x02 \x8cT\x00\x00D\x04\x00@\x00\x00\x0c\x80\x04 \x80\x80\t\x08\xd0\x01\x03H\x00\x10\x12\x00!\x00\x04\x80\x01\x00\xe2\x02\x00$\x00\x00\x00\x00\x00\x10\x00\x00T\x00\xe0(\x08U\x9f\xe0\x88E\xc20\x04\x03\x021i\x18B\x18\xc21T`\n\x002\x01\x80!\x89\x04\x89!\x1c\x00\x04\x84a\x08\x00\x10\x01\x04!!\x00\x10\x11\x06\xa0\x02@$\x88q\x08\x08\xc20\xd0\x80\x00B\x04\x00\x02\x14\x8cA\x01\x80\x90\x04\x00@\x04\x10\x82\x00\x06\x12\x80\x00\x08\x08\x820 H\x07P\x10\...\t\x00\x90\x85"\x02\x14\x0ct\x00 \x00\x11\x00@\x02\x80\x06\xa0 \x02\x80\x00\x08\x00\x80\x11T\x04A@\x12\x01!\x08\x068!\x18*\x00@$\x01\x08\x10\x05 \x1c\x00\x08\x04\x80\x00\x10\x10$\x02\xa0\x00\x00 \x04\x00@4\x0c%\x001\x94\x00\x00\x08B\x91\x02\x18@\x18\x00\x80\x01\x08\xd2 \x00H\x07\x00\x12\x00 \x85\xacRQg\xfa\x00\x00\x04p\x8c\x01\x00a\x86\n\x19L \x00A\x88R!\x02\x00\x10\x04\x02\x00\x80\x00#\t\x00\x00\x88!\x11L`\x10j\x02\x00\x02\x01\x04\x80\x89\x02\x19@H\x00\x00 \x02\x00\xa0\x01(\x00\x00\xa0\x04\x02B \x84Q\x011P\x04\x00HD\x01\x8a\n\x00(\x80\x90\x08\x08\x00$\x02\x00GP\x02\x01\x00\x08\x04\x00)\x10\xe2\x02\x00\x88\t\x00\x80\x89"\x01@\x08e\x01 \x00\x11\x80#\x02\x80\x02 \x04\x02\x00\x10\t\x00\x12\x01D\x04\x80H\x08!\tLY\xfe\x00\x00\x08"\x00@\x00\xc6\x00\x8f\x08\x80 \x10\x03\x08\x82P0\x0c\x02\x04\x02\x10\x00Q\n@\x04\x01\x00\x81P\x00\x01\x02\x04@\x00\x00`\x00\x00"@\x85P\x18\x00\x00H\x04\x84i\x10H\x00\x00\x08\t\x00\x90\x81!\x1d@\x80@\x00\x00\x12\x01 \x00\x06\x11\x08\x00 \x00\x020\x01\x00\xc0 P\x04\x00\x00\x10\x00\x01\x08\x04*\x00\x00j\x00@\x00 \x08BP\x02\x05\x00\x00\x04\x00@\x18\x10\x80A\x80\x01\x00\x90\r\x02@\x00\x80Q\x01\x00\x02\x00\x00\x00\x00\x80\x08\x00\x04\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[float32-gray-new-bytearray-mode1-omp] ________________ dtype = dtype('float32'), itype = 'gray', enout = 'new', deout = 'bytearray' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf01`\xc7J\xcf\xf7\x87\xaf\x01\xc7f8\xe8\x1c\x01\xaeF \x98cH\x07\x11\xd2\x18\x08\x024\x8cu \x1a`\x11\x00P1\x94\x84\x00\x02\x00\x00\x00\x80 \x00*\x00\x11\x80! \x00\x80\x08@`\x00\x00\x10\x8c4 a\x08\x08\x00\x80\x08"\x11\x10\x085\x01\x00\x10\x11\x80H@\x81\x8e\x00$\x02\x00\x10\t\x08\xd0\x11\xd4\x00\x80\x00\x00\x01!\x08\x02\x12\x80\x18J\x02\x00 "H\x86\x80#\x1d@\x08\x04\x84\t\x00\x01\x80\x00\x08\x00\x00\x90\x00\x00@\x04\x80q\x01 \x10\x07\x1e>\xacV\x7f\xa0\x02\x020\x84a\x08b\x0c \x12\x04\x18\x98\x07\x00b\x84\x01\x18\xc2\x00\x04\x88U\x15@\x00\x02\x08@P\x0c!\x00FR\x00\x80\r#\xc0\x00\x04!\x10J@ P\x00\x00!\x08\x020\x80\x10@\x00\x00\x00"\x00D\r\x02\x11@\x08\x00\x84A\x00\x10\xa0\x02\x88\x08\x00\x00\x00\x02\x02 \x8cT\x00\x00D\x04\x00@\x00\x00\x0c\x80\x04 \x80\x80\t\x08\xd0\x01\x03H\x00\x10\x12\x00!\x00\x04\x80\x01\x00\xe2\x02\x00$\x00\x00\x00\x00\x00\x10\x00\x00T\x00\xe0(\x08U\x9f\xe0\x88E\xc20\x04\x03\x021i\x18B\x18\xc21T`\n\x002\x01\x80!\x89\x04\x89!\x1c\x00\x04\x84a\x08\x00\x10\x01\x04!!\x00\x10\x11\x06\xa0\x02@$\x88q\x08\x08\xc20\xd0\x80\x00B\x04\x00\x02\x14\x8cA\x01\x80\x90\x04\x00@\x04\x10\x82\x00\x06\x12\x80\x00\x08\x08\x820 H\x07P\x10\...\t\x00\x90\x85"\x02\x14\x0ct\x00 \x00\x11\x00@\x02\x80\x06\xa0 \x02\x80\x00\x08\x00\x80\x11T\x04A@\x12\x01!\x08\x068!\x18*\x00@$\x01\x08\x10\x05 \x1c\x00\x08\x04\x80\x00\x10\x10$\x02\xa0\x00\x00 \x04\x00@4\x0c%\x001\x94\x00\x00\x08B\x91\x02\x18@\x18\x00\x80\x01\x08\xd2 \x00H\x07\x00\x12\x00 \x85\xacRQg\xfa\x00\x00\x04p\x8c\x01\x00a\x86\n\x19L \x00A\x88R!\x02\x00\x10\x04\x02\x00\x80\x00#\t\x00\x00\x88!\x11L`\x10j\x02\x00\x02\x01\x04\x80\x89\x02\x19@H\x00\x00 \x02\x00\xa0\x01(\x00\x00\xa0\x04\x02B \x84Q\x011P\x04\x00HD\x01\x8a\n\x00(\x80\x90\x08\x08\x00$\x02\x00GP\x02\x01\x00\x08\x04\x00)\x10\xe2\x02\x00\x88\t\x00\x80\x89"\x01@\x08e\x01 \x00\x11\x80#\x02\x80\x02 \x04\x02\x00\x10\t\x00\x12\x01D\x04\x80H\x08!\tLY\xfe\x00\x00\x08"\x00@\x00\xc6\x00\x8f\x08\x80 \x10\x03\x08\x82P0\x0c\x02\x04\x02\x10\x00Q\n@\x04\x01\x00\x81P\x00\x01\x02\x04@\x00\x00`\x00\x00"@\x85P\x18\x00\x00H\x04\x84i\x10H\x00\x00\x08\t\x00\x90\x81!\x1d@\x80@\x00\x00\x12\x01 \x00\x06\x11\x08\x00 \x00\x020\x01\x00\xc0 P\x04\x00\x00\x10\x00\x01\x08\x04*\x00\x00j\x00@\x00 \x08BP\x02\x05\x00\x00\x04\x00@\x18\x10\x80A\x80\x01\x00\x90\r\x02@\x00\x80Q\x01\x00\x02\x00\x00\x00\x00\x80\x08\x00\x04\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError __________________ test_zfp[float32-gray-out-new-mode0-None] ___________________ dtype = dtype('float32'), itype = 'gray', enout = 'out', deout = 'new' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\xc7Ke\xfd\x88\x00\x01\xf0\x01\xc6\x01\x868\x07\x87\x00\x00\xe3H\x04\x1a@8\x12\x00\x80b\t\x80f\x18\xe9\x00\x00B\x10\x001 \x00\x00\x08\x08\x00\x08\x06\x01\x8e0\x0cq\x01\x00\x02\x01\x80HB\x00\x00 \x04\x00@\x80\x00\x08\x92\x01\xc0\x04\x80\x10\x00\x01\x01\x12@\x00\x80\x18\xe0\x02@\x00\x03\x00\xc0\x8d \x00@\x08\x00\x84 \x10\x01\x80\x02\x08\t\x00\x00 \x00\x02 \x00q\x00 \xd4\x04\x80\x00\x00\x90\x08 \x10\n \xe3\x8ab\xb6_\x84\xa6\x01\x82 \x16\x00A8\x80\x81!\x00H\x06\x10\r"\x00L\x03\x01\nB$\x03H\x04\x10\x18\x00\x80\x08\x04\x84\x08\x00"\x00\x00\x88\x00\x00\x90\x85\x03\x04\x00\x8c\x11\x00 \x00\x00\x84CF\x80\x02\x00\x00\x02\x00\x00\x00\x08\x80\x00\xd0\x04\x00\x00\x12\x00!\x00@\x18\x80\x00\x8a\x00@\x04\x00\x08\x82P"\x00@\x08\x00\x04\x00\x18\x01\x00\x00\x00\x08\x00\x00\x0c\x03j\xad\x97\xf4\x01\x00\x12\x00\xf0\x841\x00\xc0\x0c!\x18\x8a\x002\x10\x00\x01(\x90\r#\t@\x00\x04(T \x12\x01\x84"\xa1\x00@\x91\x02\x80\x00\x00\x04\x88\x00\x11\x00!\xa8\x08\x00\x08$\x00\x00\x04\x044\x00\x00\x84\x00\x80@\x06\x81\x08\x80F(\x80\x10\x01\x00\x92\x01"\x08\xc3\x10\x12\x01!\x12\x00\x84i\x18\xea\x00@$\x08\x00\x00\x80\x02\x10\x00H\x14\x01\x00\x02\x00$\x03\xa8\xb2\xfe\xa0\x00\x02B\x00\x0c!\x05@\x1...x0c\x00\x000\x80\x00\xa4\x02(\x00\x00\x00\x05\x00\x024\x88D\x01\x00\x10\x04\x00\x08@\x11\x00 $\x12\x80\x10\x00\x08\x921\x04\x08\x05@\x02\x01!\x1aD\x04)\x10\xea\x00\x00 #\x00\x90\x89#\x04\x00\x00\x04\x00 \x10\x10\xa0 \x80\x00\x86\xa0$\x00\x020\x04Q\x92\x11\x94\x04\x80\x08F\x01!\x08\x04\x00\x00\x80\x00\x08\x00\x00\x02@\x80\x00\x10\x00\x1e2\x80\xd4[O\xea\x02\x8a\xa3\x00 \x8e\x00\x06\xa0\x0c\x02\x0cL\x030\xc6\x81$\x00\x00\x00\x10\x19\x00\x90H\x00\x00I\x00\xa2\x00\x00\xa8\x00\x00\x90\x84\x01\x18@\x0cU\x01 \x10\x10$\x02B\x91\x06\x80\x04\x00\x02 \x00\x08\x920\xd4\x00\x80\x00\x00\x00!\x02D2\x80\x10\x8a\x02\x00$\x01\x00\x01\x10\x01\x01@\x08\x00\x84\x08\x08\x01\x80`\x88\x08\x00\x80\t\x02@\x00\x88\x05\x01\x00\x12\x00\x80HF\x90\x0c \xfa\x00\x90\x01\x00\xd2\x11@\x1c\x00\x05@\x00\xc9\x16\xd3\x84%\x00\xa1\x08\xca\x00\xc5\x94\x030\x85\x01\x15\x004\x08\x02\x030\x08\x08\x02!\x80\x00\x01\x00H\x00\x80I\x00\x11$`\x88\x08\x00\x10$\x00\x02\x00\x8ca\x01 @\x04\x80HD\x11\x0c\x80@\x08\x00\x00\x00\x00@ !@C\x00\x00\x00\x00\x1a\x04\x00H\x00\x8a\x02\x00\x00\x00\x00\x10\x89\x01\r@@`\x01 \x12\x01\x04b\x80\x11\x08 \x00@\x14\x04\x08\xc20\x80\x00\x00@B\x00\x01\x18\x06\x12\x00\x90\t\x00\x00\x00\x00\x00\x00\x00\x02') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[float32-gray-out-new-mode0-omp] ___________________ dtype = dtype('float32'), itype = 'gray', enout = 'out', deout = 'new' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\xc7Ke\xfd\x88\x00\x01\xf0\x01\xc6\x01\x868\x07\x87\x00\x00\xe3H\x04\x1a@8\x12\x00\x80b\t\x80f\x18\xe9\x00\x00B\x10\x001 \x00\x00\x08\x08\x00\x08\x06\x01\x8e0\x0cq\x01\x00\x02\x01\x80HB\x00\x00 \x04\x00@\x80\x00\x08\x92\x01\xc0\x04\x80\x10\x00\x01\x01\x12@\x00\x80\x18\xe0\x02@\x00\x03\x00\xc0\x8d \x00@\x08\x00\x84 \x10\x01\x80\x02\x08\t\x00\x00 \x00\x02 \x00q\x00 \xd4\x04\x80\x00\x00\x90\x08 \x10\n \xe3\x8ab\xb6_\x84\xa6\x01\x82 \x16\x00A8\x80\x81!\x00H\x06\x10\r"\x00L\x03\x01\nB$\x03H\x04\x10\x18\x00\x80\x08\x04\x84\x08\x00"\x00\x00\x88\x00\x00\x90\x85\x03\x04\x00\x8c\x11\x00 \x00\x00\x84CF\x80\x02\x00\x00\x02\x00\x00\x00\x08\x80\x00\xd0\x04\x00\x00\x12\x00!\x00@\x18\x80\x00\x8a\x00@\x04\x00\x08\x82P"\x00@\x08\x00\x04\x00\x18\x01\x00\x00\x00\x08\x00\x00\x0c\x03j\xad\x97\xf4\x01\x00\x12\x00\xf0\x841\x00\xc0\x0c!\x18\x8a\x002\x10\x00\x01(\x90\r#\t@\x00\x04(T \x12\x01\x84"\xa1\x00@\x91\x02\x80\x00\x00\x04\x88\x00\x11\x00!\xa8\x08\x00\x08$\x00\x00\x04\x044\x00\x00\x84\x00\x80@\x06\x81\x08\x80F(\x80\x10\x01\x00\x92\x01"\x08\xc3\x10\x12\x01!\x12\x00\x84i\x18\xea\x00@$\x08\x00\x00\x80\x02\x10\x00H\x14\x01\x00\x02\x00$\x03\xa8\xb2\xfe\xa0\x00\x02B\x00\x0c!\x05@\x1...x0c\x00\x000\x80\x00\xa4\x02(\x00\x00\x00\x05\x00\x024\x88D\x01\x00\x10\x04\x00\x08@\x11\x00 $\x12\x80\x10\x00\x08\x921\x04\x08\x05@\x02\x01!\x1aD\x04)\x10\xea\x00\x00 #\x00\x90\x89#\x04\x00\x00\x04\x00 \x10\x10\xa0 \x80\x00\x86\xa0$\x00\x020\x04Q\x92\x11\x94\x04\x80\x08F\x01!\x08\x04\x00\x00\x80\x00\x08\x00\x00\x02@\x80\x00\x10\x00\x1e2\x80\xd4[O\xea\x02\x8a\xa3\x00 \x8e\x00\x06\xa0\x0c\x02\x0cL\x030\xc6\x81$\x00\x00\x00\x10\x19\x00\x90H\x00\x00I\x00\xa2\x00\x00\xa8\x00\x00\x90\x84\x01\x18@\x0cU\x01 \x10\x10$\x02B\x91\x06\x80\x04\x00\x02 \x00\x08\x920\xd4\x00\x80\x00\x00\x00!\x02D2\x80\x10\x8a\x02\x00$\x01\x00\x01\x10\x01\x01@\x08\x00\x84\x08\x08\x01\x80`\x88\x08\x00\x80\t\x02@\x00\x88\x05\x01\x00\x12\x00\x80HF\x90\x0c \xfa\x00\x90\x01\x00\xd2\x11@\x1c\x00\x05@\x00\xc9\x16\xd3\x84%\x00\xa1\x08\xca\x00\xc5\x94\x030\x85\x01\x15\x004\x08\x02\x030\x08\x08\x02!\x80\x00\x01\x00H\x00\x80I\x00\x11$`\x88\x08\x00\x10$\x00\x02\x00\x8ca\x01 @\x04\x80HD\x11\x0c\x80@\x08\x00\x00\x00\x00@ !@C\x00\x00\x00\x00\x1a\x04\x00H\x00\x8a\x02\x00\x00\x00\x00\x10\x89\x01\r@@`\x01 \x12\x01\x04b\x80\x11\x08 \x00@\x14\x04\x08\xc20\x80\x00\x00@B\x00\x01\x18\x06\x12\x00\x90\t\x00\x00\x00\x00\x00\x00\x00\x02') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError __________________ test_zfp[float32-gray-out-new-mode1-None] ___________________ dtype = dtype('float32'), itype = 'gray', enout = 'out', deout = 'new' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf01`\xc7J\xcf\xf7\x87\xaf\x01\xc7f8\xe8\x1c\x01\xaeF \x98cH\x07\x11\xd2\x18\x08\x024\x8cu \x1a`\x11\x00P1\x94\x84\x00\x02\x00\x00\x00\x80 \x00*\x00\x11\x80! \x00\x80\x08@`\x00\x00\x10\x8c4 a\x08\x08\x00\x80\x08"\x11\x10\x085\x01\x00\x10\x11\x80H@\x81\x8e\x00$\x02\x00\x10\t\x08\xd0\x11\xd4\x00\x80\x00\x00\x01!\x08\x02\x12\x80\x18J\x02\x00 "H\x86\x80#\x1d@\x08\x04\x84\t\x00\x01\x80\x00\x08\x00\x00\x90\x00\x00@\x04\x80q\x01 \x10\x07\x1e>\xacV\x7f\xa0\x02\x020\x84a\x08b\x0c \x12\x04\x18\x98\x07\x00b\x84\x01\x18\xc2\x00\x04\x88U\x15@\x00\x02\x08@P\x0c!\x00FR\x00\x80\r#\xc0\x00\x04!\x10J@ P\x00\x00!\x08\x020\x80\x10@\x00\x00\x00"\x00D\r\x02\x11@\x08\x00\x84A\x00\x10\xa0\x02\x88\x08\x00\x00\x00\x02\x02 \x8cT\x00\x00D\x04\x00@\x00\x00\x0c\x80\x04 \x80\x80\t\x08\xd0\x01\x03H\x00\x10\x12\x00!\x00\x04\x80\x01\x00\xe2\x02\x00$\x00\x00\x00\x00\x00\x10\x00\x00T\x00\xe0(\x08U\x9f\xe0\x88E\xc20\x04\x03\x021i\x18B\x18\xc21T`\n\x002\x01\x80!\x89\x04\x89!\x1c\x00\x04\x84a\x08\x00\x10\x01\x04!!\x00\x10\x11\x06\xa0\x02@$\x88q\x08\x08\xc20\xd0\x80\x00B\x04\x00\x02\x14\x8cA\x01\x80\x90\x04\x00@\x04\x10\x82\x00\x06\x12\x80\x00\x08\x08\x820 H\x07P\x10\...\t\x00\x90\x85"\x02\x14\x0ct\x00 \x00\x11\x00@\x02\x80\x06\xa0 \x02\x80\x00\x08\x00\x80\x11T\x04A@\x12\x01!\x08\x068!\x18*\x00@$\x01\x08\x10\x05 \x1c\x00\x08\x04\x80\x00\x10\x10$\x02\xa0\x00\x00 \x04\x00@4\x0c%\x001\x94\x00\x00\x08B\x91\x02\x18@\x18\x00\x80\x01\x08\xd2 \x00H\x07\x00\x12\x00 \x85\xacRQg\xfa\x00\x00\x04p\x8c\x01\x00a\x86\n\x19L \x00A\x88R!\x02\x00\x10\x04\x02\x00\x80\x00#\t\x00\x00\x88!\x11L`\x10j\x02\x00\x02\x01\x04\x80\x89\x02\x19@H\x00\x00 \x02\x00\xa0\x01(\x00\x00\xa0\x04\x02B \x84Q\x011P\x04\x00HD\x01\x8a\n\x00(\x80\x90\x08\x08\x00$\x02\x00GP\x02\x01\x00\x08\x04\x00)\x10\xe2\x02\x00\x88\t\x00\x80\x89"\x01@\x08e\x01 \x00\x11\x80#\x02\x80\x02 \x04\x02\x00\x10\t\x00\x12\x01D\x04\x80H\x08!\tLY\xfe\x00\x00\x08"\x00@\x00\xc6\x00\x8f\x08\x80 \x10\x03\x08\x82P0\x0c\x02\x04\x02\x10\x00Q\n@\x04\x01\x00\x81P\x00\x01\x02\x04@\x00\x00`\x00\x00"@\x85P\x18\x00\x00H\x04\x84i\x10H\x00\x00\x08\t\x00\x90\x81!\x1d@\x80@\x00\x00\x12\x01 \x00\x06\x11\x08\x00 \x00\x020\x01\x00\xc0 P\x04\x00\x00\x10\x00\x01\x08\x04*\x00\x00j\x00@\x00 \x08BP\x02\x05\x00\x00\x04\x00@\x18\x10\x80A\x80\x01\x00\x90\r\x02@\x00\x80Q\x01\x00\x02\x00\x00\x00\x00\x80\x08\x00\x04\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[float32-gray-out-new-mode1-omp] ___________________ dtype = dtype('float32'), itype = 'gray', enout = 'out', deout = 'new' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf01`\xc7J\xcf\xf7\x87\xaf\x01\xc7f8\xe8\x1c\x01\xaeF \x98cH\x07\x11\xd2\x18\x08\x024\x8cu \x1a`\x11\x00P1\x94\x84\x00\x02\x00\x00\x00\x80 \x00*\x00\x11\x80! \x00\x80\x08@`\x00\x00\x10\x8c4 a\x08\x08\x00\x80\x08"\x11\x10\x085\x01\x00\x10\x11\x80H@\x81\x8e\x00$\x02\x00\x10\t\x08\xd0\x11\xd4\x00\x80\x00\x00\x01!\x08\x02\x12\x80\x18J\x02\x00 "H\x86\x80#\x1d@\x08\x04\x84\t\x00\x01\x80\x00\x08\x00\x00\x90\x00\x00@\x04\x80q\x01 \x10\x07\x1e>\xacV\x7f\xa0\x02\x020\x84a\x08b\x0c \x12\x04\x18\x98\x07\x00b\x84\x01\x18\xc2\x00\x04\x88U\x15@\x00\x02\x08@P\x0c!\x00FR\x00\x80\r#\xc0\x00\x04!\x10J@ P\x00\x00!\x08\x020\x80\x10@\x00\x00\x00"\x00D\r\x02\x11@\x08\x00\x84A\x00\x10\xa0\x02\x88\x08\x00\x00\x00\x02\x02 \x8cT\x00\x00D\x04\x00@\x00\x00\x0c\x80\x04 \x80\x80\t\x08\xd0\x01\x03H\x00\x10\x12\x00!\x00\x04\x80\x01\x00\xe2\x02\x00$\x00\x00\x00\x00\x00\x10\x00\x00T\x00\xe0(\x08U\x9f\xe0\x88E\xc20\x04\x03\x021i\x18B\x18\xc21T`\n\x002\x01\x80!\x89\x04\x89!\x1c\x00\x04\x84a\x08\x00\x10\x01\x04!!\x00\x10\x11\x06\xa0\x02@$\x88q\x08\x08\xc20\xd0\x80\x00B\x04\x00\x02\x14\x8cA\x01\x80\x90\x04\x00@\x04\x10\x82\x00\x06\x12\x80\x00\x08\x08\x820 H\x07P\x10\...\t\x00\x90\x85"\x02\x14\x0ct\x00 \x00\x11\x00@\x02\x80\x06\xa0 \x02\x80\x00\x08\x00\x80\x11T\x04A@\x12\x01!\x08\x068!\x18*\x00@$\x01\x08\x10\x05 \x1c\x00\x08\x04\x80\x00\x10\x10$\x02\xa0\x00\x00 \x04\x00@4\x0c%\x001\x94\x00\x00\x08B\x91\x02\x18@\x18\x00\x80\x01\x08\xd2 \x00H\x07\x00\x12\x00 \x85\xacRQg\xfa\x00\x00\x04p\x8c\x01\x00a\x86\n\x19L \x00A\x88R!\x02\x00\x10\x04\x02\x00\x80\x00#\t\x00\x00\x88!\x11L`\x10j\x02\x00\x02\x01\x04\x80\x89\x02\x19@H\x00\x00 \x02\x00\xa0\x01(\x00\x00\xa0\x04\x02B \x84Q\x011P\x04\x00HD\x01\x8a\n\x00(\x80\x90\x08\x08\x00$\x02\x00GP\x02\x01\x00\x08\x04\x00)\x10\xe2\x02\x00\x88\t\x00\x80\x89"\x01@\x08e\x01 \x00\x11\x80#\x02\x80\x02 \x04\x02\x00\x10\t\x00\x12\x01D\x04\x80H\x08!\tLY\xfe\x00\x00\x08"\x00@\x00\xc6\x00\x8f\x08\x80 \x10\x03\x08\x82P0\x0c\x02\x04\x02\x10\x00Q\n@\x04\x01\x00\x81P\x00\x01\x02\x04@\x00\x00`\x00\x00"@\x85P\x18\x00\x00H\x04\x84i\x10H\x00\x00\x08\t\x00\x90\x81!\x1d@\x80@\x00\x00\x12\x01 \x00\x06\x11\x08\x00 \x00\x020\x01\x00\xc0 P\x04\x00\x00\x10\x00\x01\x08\x04*\x00\x00j\x00@\x00 \x08BP\x02\x05\x00\x00\x04\x00@\x18\x10\x80A\x80\x01\x00\x90\r\x02@\x00\x80Q\x01\x00\x02\x00\x00\x00\x00\x80\x08\x00\x04\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError __________________ test_zfp[float32-gray-out-out-mode0-None] ___________________ dtype = dtype('float32'), itype = 'gray', enout = 'out', deout = 'out' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\xc7Ke\xfd\x88\x00\x01\xf0\x01\xc6\x01\x868\x07\x87\x00\x00\xe3H\x04\x1a@8\x12\x00\x80b\t\x80f\x18\xe9\x00\x00B\x10\x001 \x00\x00\x08\x08\x00\x08\x06\x01\x8e0\x0cq\x01\x00\x02\x01\x80HB\x00\x00 \x04\x00@\x80\x00\x08\x92\x01\xc0\x04\x80\x10\x00\x01\x01\x12@\x00\x80\x18\xe0\x02@\x00\x03\x00\xc0\x8d \x00@\x08\x00\x84 \x10\x01\x80\x02\x08\t\x00\x00 \x00\x02 \x00q\x00 \xd4\x04\x80\x00\x00\x90\x08 \x10\n \xe3\x8ab\xb6_\x84\xa6\x01\x82 \x16\x00A8\x80\x81!\x00H\x06\x10\r"\x00L\x03\x01\nB$\x03H\x04\x10\x18\x00\x80\x08\x04\x84\x08\x00"\x00\x00\x88\x00\x00\x90\x85\x03\x04\x00\x8c\x11\x00 \x00\x00\x84CF\x80\x02\x00\x00\x02\x00\x00\x00\x08\x80\x00\xd0\x04\x00\x00\x12\x00!\x00@\x18\x80\x00\x8a\x00@\x04\x00\x08\x82P"\x00@\x08\x00\x04\x00\x18\x01\x00\x00\x00\x08\x00\x00\x0c\x03j\xad\x97\xf4\x01\x00\x12\x00\xf0\x841\x00\xc0\x0c!\x18\x8a\x002\x10\x00\x01(\x90\r#\t@\x00\x04(T \x12\x01\x84"\xa1\x00@\x91\x02\x80\x00\x00\x04\x88\x00\x11\x00!\xa8\x08\x00\x08$\x00\x00\x04\x044\x00\x00\x84\x00\x80@\x06\x81\x08\x80F(\x80\x10\x01\x00\x92\x01"\x08\xc3\x10\x12\x01!\x12\x00\x84i\x18\xea\x00@$\x08\x00\x00\x80\x02\x10\x00H\x14\x01\x00\x02\x00$\x03\xa8\xb2\xfe\xa0\x00\x02B\x00\x0c!\x05@\x1...x0c\x00\x000\x80\x00\xa4\x02(\x00\x00\x00\x05\x00\x024\x88D\x01\x00\x10\x04\x00\x08@\x11\x00 $\x12\x80\x10\x00\x08\x921\x04\x08\x05@\x02\x01!\x1aD\x04)\x10\xea\x00\x00 #\x00\x90\x89#\x04\x00\x00\x04\x00 \x10\x10\xa0 \x80\x00\x86\xa0$\x00\x020\x04Q\x92\x11\x94\x04\x80\x08F\x01!\x08\x04\x00\x00\x80\x00\x08\x00\x00\x02@\x80\x00\x10\x00\x1e2\x80\xd4[O\xea\x02\x8a\xa3\x00 \x8e\x00\x06\xa0\x0c\x02\x0cL\x030\xc6\x81$\x00\x00\x00\x10\x19\x00\x90H\x00\x00I\x00\xa2\x00\x00\xa8\x00\x00\x90\x84\x01\x18@\x0cU\x01 \x10\x10$\x02B\x91\x06\x80\x04\x00\x02 \x00\x08\x920\xd4\x00\x80\x00\x00\x00!\x02D2\x80\x10\x8a\x02\x00$\x01\x00\x01\x10\x01\x01@\x08\x00\x84\x08\x08\x01\x80`\x88\x08\x00\x80\t\x02@\x00\x88\x05\x01\x00\x12\x00\x80HF\x90\x0c \xfa\x00\x90\x01\x00\xd2\x11@\x1c\x00\x05@\x00\xc9\x16\xd3\x84%\x00\xa1\x08\xca\x00\xc5\x94\x030\x85\x01\x15\x004\x08\x02\x030\x08\x08\x02!\x80\x00\x01\x00H\x00\x80I\x00\x11$`\x88\x08\x00\x10$\x00\x02\x00\x8ca\x01 @\x04\x80HD\x11\x0c\x80@\x08\x00\x00\x00\x00@ !@C\x00\x00\x00\x00\x1a\x04\x00H\x00\x8a\x02\x00\x00\x00\x00\x10\x89\x01\r@@`\x01 \x12\x01\x04b\x80\x11\x08 \x00@\x14\x04\x08\xc20\x80\x00\x00@B\x00\x01\x18\x06\x12\x00\x90\t\x00\x00\x00\x00\x00\x00\x00\x02') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[float32-gray-out-out-mode0-omp] ___________________ dtype = dtype('float32'), itype = 'gray', enout = 'out', deout = 'out' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\xc7Ke\xfd\x88\x00\x01\xf0\x01\xc6\x01\x868\x07\x87\x00\x00\xe3H\x04\x1a@8\x12\x00\x80b\t\x80f\x18\xe9\x00\x00B\x10\x001 \x00\x00\x08\x08\x00\x08\x06\x01\x8e0\x0cq\x01\x00\x02\x01\x80HB\x00\x00 \x04\x00@\x80\x00\x08\x92\x01\xc0\x04\x80\x10\x00\x01\x01\x12@\x00\x80\x18\xe0\x02@\x00\x03\x00\xc0\x8d \x00@\x08\x00\x84 \x10\x01\x80\x02\x08\t\x00\x00 \x00\x02 \x00q\x00 \xd4\x04\x80\x00\x00\x90\x08 \x10\n \xe3\x8ab\xb6_\x84\xa6\x01\x82 \x16\x00A8\x80\x81!\x00H\x06\x10\r"\x00L\x03\x01\nB$\x03H\x04\x10\x18\x00\x80\x08\x04\x84\x08\x00"\x00\x00\x88\x00\x00\x90\x85\x03\x04\x00\x8c\x11\x00 \x00\x00\x84CF\x80\x02\x00\x00\x02\x00\x00\x00\x08\x80\x00\xd0\x04\x00\x00\x12\x00!\x00@\x18\x80\x00\x8a\x00@\x04\x00\x08\x82P"\x00@\x08\x00\x04\x00\x18\x01\x00\x00\x00\x08\x00\x00\x0c\x03j\xad\x97\xf4\x01\x00\x12\x00\xf0\x841\x00\xc0\x0c!\x18\x8a\x002\x10\x00\x01(\x90\r#\t@\x00\x04(T \x12\x01\x84"\xa1\x00@\x91\x02\x80\x00\x00\x04\x88\x00\x11\x00!\xa8\x08\x00\x08$\x00\x00\x04\x044\x00\x00\x84\x00\x80@\x06\x81\x08\x80F(\x80\x10\x01\x00\x92\x01"\x08\xc3\x10\x12\x01!\x12\x00\x84i\x18\xea\x00@$\x08\x00\x00\x80\x02\x10\x00H\x14\x01\x00\x02\x00$\x03\xa8\xb2\xfe\xa0\x00\x02B\x00\x0c!\x05@\x1...x0c\x00\x000\x80\x00\xa4\x02(\x00\x00\x00\x05\x00\x024\x88D\x01\x00\x10\x04\x00\x08@\x11\x00 $\x12\x80\x10\x00\x08\x921\x04\x08\x05@\x02\x01!\x1aD\x04)\x10\xea\x00\x00 #\x00\x90\x89#\x04\x00\x00\x04\x00 \x10\x10\xa0 \x80\x00\x86\xa0$\x00\x020\x04Q\x92\x11\x94\x04\x80\x08F\x01!\x08\x04\x00\x00\x80\x00\x08\x00\x00\x02@\x80\x00\x10\x00\x1e2\x80\xd4[O\xea\x02\x8a\xa3\x00 \x8e\x00\x06\xa0\x0c\x02\x0cL\x030\xc6\x81$\x00\x00\x00\x10\x19\x00\x90H\x00\x00I\x00\xa2\x00\x00\xa8\x00\x00\x90\x84\x01\x18@\x0cU\x01 \x10\x10$\x02B\x91\x06\x80\x04\x00\x02 \x00\x08\x920\xd4\x00\x80\x00\x00\x00!\x02D2\x80\x10\x8a\x02\x00$\x01\x00\x01\x10\x01\x01@\x08\x00\x84\x08\x08\x01\x80`\x88\x08\x00\x80\t\x02@\x00\x88\x05\x01\x00\x12\x00\x80HF\x90\x0c \xfa\x00\x90\x01\x00\xd2\x11@\x1c\x00\x05@\x00\xc9\x16\xd3\x84%\x00\xa1\x08\xca\x00\xc5\x94\x030\x85\x01\x15\x004\x08\x02\x030\x08\x08\x02!\x80\x00\x01\x00H\x00\x80I\x00\x11$`\x88\x08\x00\x10$\x00\x02\x00\x8ca\x01 @\x04\x80HD\x11\x0c\x80@\x08\x00\x00\x00\x00@ !@C\x00\x00\x00\x00\x1a\x04\x00H\x00\x8a\x02\x00\x00\x00\x00\x10\x89\x01\r@@`\x01 \x12\x01\x04b\x80\x11\x08 \x00@\x14\x04\x08\xc20\x80\x00\x00@B\x00\x01\x18\x06\x12\x00\x90\t\x00\x00\x00\x00\x00\x00\x00\x02') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError __________________ test_zfp[float32-gray-out-out-mode1-None] ___________________ dtype = dtype('float32'), itype = 'gray', enout = 'out', deout = 'out' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf01`\xc7J\xcf\xf7\x87\xaf\x01\xc7f8\xe8\x1c\x01\xaeF \x98cH\x07\x11\xd2\x18\x08\x024\x8cu \x1a`\x11\x00P1\x94\x84\x00\x02\x00\x00\x00\x80 \x00*\x00\x11\x80! \x00\x80\x08@`\x00\x00\x10\x8c4 a\x08\x08\x00\x80\x08"\x11\x10\x085\x01\x00\x10\x11\x80H@\x81\x8e\x00$\x02\x00\x10\t\x08\xd0\x11\xd4\x00\x80\x00\x00\x01!\x08\x02\x12\x80\x18J\x02\x00 "H\x86\x80#\x1d@\x08\x04\x84\t\x00\x01\x80\x00\x08\x00\x00\x90\x00\x00@\x04\x80q\x01 \x10\x07\x1e>\xacV\x7f\xa0\x02\x020\x84a\x08b\x0c \x12\x04\x18\x98\x07\x00b\x84\x01\x18\xc2\x00\x04\x88U\x15@\x00\x02\x08@P\x0c!\x00FR\x00\x80\r#\xc0\x00\x04!\x10J@ P\x00\x00!\x08\x020\x80\x10@\x00\x00\x00"\x00D\r\x02\x11@\x08\x00\x84A\x00\x10\xa0\x02\x88\x08\x00\x00\x00\x02\x02 \x8cT\x00\x00D\x04\x00@\x00\x00\x0c\x80\x04 \x80\x80\t\x08\xd0\x01\x03H\x00\x10\x12\x00!\x00\x04\x80\x01\x00\xe2\x02\x00$\x00\x00\x00\x00\x00\x10\x00\x00T\x00\xe0(\x08U\x9f\xe0\x88E\xc20\x04\x03\x021i\x18B\x18\xc21T`\n\x002\x01\x80!\x89\x04\x89!\x1c\x00\x04\x84a\x08\x00\x10\x01\x04!!\x00\x10\x11\x06\xa0\x02@$\x88q\x08\x08\xc20\xd0\x80\x00B\x04\x00\x02\x14\x8cA\x01\x80\x90\x04\x00@\x04\x10\x82\x00\x06\x12\x80\x00\x08\x08\x820 H\x07P\x10\...\t\x00\x90\x85"\x02\x14\x0ct\x00 \x00\x11\x00@\x02\x80\x06\xa0 \x02\x80\x00\x08\x00\x80\x11T\x04A@\x12\x01!\x08\x068!\x18*\x00@$\x01\x08\x10\x05 \x1c\x00\x08\x04\x80\x00\x10\x10$\x02\xa0\x00\x00 \x04\x00@4\x0c%\x001\x94\x00\x00\x08B\x91\x02\x18@\x18\x00\x80\x01\x08\xd2 \x00H\x07\x00\x12\x00 \x85\xacRQg\xfa\x00\x00\x04p\x8c\x01\x00a\x86\n\x19L \x00A\x88R!\x02\x00\x10\x04\x02\x00\x80\x00#\t\x00\x00\x88!\x11L`\x10j\x02\x00\x02\x01\x04\x80\x89\x02\x19@H\x00\x00 \x02\x00\xa0\x01(\x00\x00\xa0\x04\x02B \x84Q\x011P\x04\x00HD\x01\x8a\n\x00(\x80\x90\x08\x08\x00$\x02\x00GP\x02\x01\x00\x08\x04\x00)\x10\xe2\x02\x00\x88\t\x00\x80\x89"\x01@\x08e\x01 \x00\x11\x80#\x02\x80\x02 \x04\x02\x00\x10\t\x00\x12\x01D\x04\x80H\x08!\tLY\xfe\x00\x00\x08"\x00@\x00\xc6\x00\x8f\x08\x80 \x10\x03\x08\x82P0\x0c\x02\x04\x02\x10\x00Q\n@\x04\x01\x00\x81P\x00\x01\x02\x04@\x00\x00`\x00\x00"@\x85P\x18\x00\x00H\x04\x84i\x10H\x00\x00\x08\t\x00\x90\x81!\x1d@\x80@\x00\x00\x12\x01 \x00\x06\x11\x08\x00 \x00\x020\x01\x00\xc0 P\x04\x00\x00\x10\x00\x01\x08\x04*\x00\x00j\x00@\x00 \x08BP\x02\x05\x00\x00\x04\x00@\x18\x10\x80A\x80\x01\x00\x90\r\x02@\x00\x80Q\x01\x00\x02\x00\x00\x00\x00\x80\x08\x00\x04\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[float32-gray-out-out-mode1-omp] ___________________ dtype = dtype('float32'), itype = 'gray', enout = 'out', deout = 'out' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf01`\xc7J\xcf\xf7\x87\xaf\x01\xc7f8\xe8\x1c\x01\xaeF \x98cH\x07\x11\xd2\x18\x08\x024\x8cu \x1a`\x11\x00P1\x94\x84\x00\x02\x00\x00\x00\x80 \x00*\x00\x11\x80! \x00\x80\x08@`\x00\x00\x10\x8c4 a\x08\x08\x00\x80\x08"\x11\x10\x085\x01\x00\x10\x11\x80H@\x81\x8e\x00$\x02\x00\x10\t\x08\xd0\x11\xd4\x00\x80\x00\x00\x01!\x08\x02\x12\x80\x18J\x02\x00 "H\x86\x80#\x1d@\x08\x04\x84\t\x00\x01\x80\x00\x08\x00\x00\x90\x00\x00@\x04\x80q\x01 \x10\x07\x1e>\xacV\x7f\xa0\x02\x020\x84a\x08b\x0c \x12\x04\x18\x98\x07\x00b\x84\x01\x18\xc2\x00\x04\x88U\x15@\x00\x02\x08@P\x0c!\x00FR\x00\x80\r#\xc0\x00\x04!\x10J@ P\x00\x00!\x08\x020\x80\x10@\x00\x00\x00"\x00D\r\x02\x11@\x08\x00\x84A\x00\x10\xa0\x02\x88\x08\x00\x00\x00\x02\x02 \x8cT\x00\x00D\x04\x00@\x00\x00\x0c\x80\x04 \x80\x80\t\x08\xd0\x01\x03H\x00\x10\x12\x00!\x00\x04\x80\x01\x00\xe2\x02\x00$\x00\x00\x00\x00\x00\x10\x00\x00T\x00\xe0(\x08U\x9f\xe0\x88E\xc20\x04\x03\x021i\x18B\x18\xc21T`\n\x002\x01\x80!\x89\x04\x89!\x1c\x00\x04\x84a\x08\x00\x10\x01\x04!!\x00\x10\x11\x06\xa0\x02@$\x88q\x08\x08\xc20\xd0\x80\x00B\x04\x00\x02\x14\x8cA\x01\x80\x90\x04\x00@\x04\x10\x82\x00\x06\x12\x80\x00\x08\x08\x820 H\x07P\x10\...\t\x00\x90\x85"\x02\x14\x0ct\x00 \x00\x11\x00@\x02\x80\x06\xa0 \x02\x80\x00\x08\x00\x80\x11T\x04A@\x12\x01!\x08\x068!\x18*\x00@$\x01\x08\x10\x05 \x1c\x00\x08\x04\x80\x00\x10\x10$\x02\xa0\x00\x00 \x04\x00@4\x0c%\x001\x94\x00\x00\x08B\x91\x02\x18@\x18\x00\x80\x01\x08\xd2 \x00H\x07\x00\x12\x00 \x85\xacRQg\xfa\x00\x00\x04p\x8c\x01\x00a\x86\n\x19L \x00A\x88R!\x02\x00\x10\x04\x02\x00\x80\x00#\t\x00\x00\x88!\x11L`\x10j\x02\x00\x02\x01\x04\x80\x89\x02\x19@H\x00\x00 \x02\x00\xa0\x01(\x00\x00\xa0\x04\x02B \x84Q\x011P\x04\x00HD\x01\x8a\n\x00(\x80\x90\x08\x08\x00$\x02\x00GP\x02\x01\x00\x08\x04\x00)\x10\xe2\x02\x00\x88\t\x00\x80\x89"\x01@\x08e\x01 \x00\x11\x80#\x02\x80\x02 \x04\x02\x00\x10\t\x00\x12\x01D\x04\x80H\x08!\tLY\xfe\x00\x00\x08"\x00@\x00\xc6\x00\x8f\x08\x80 \x10\x03\x08\x82P0\x0c\x02\x04\x02\x10\x00Q\n@\x04\x01\x00\x81P\x00\x01\x02\x04@\x00\x00`\x00\x00"@\x85P\x18\x00\x00H\x04\x84i\x10H\x00\x00\x08\t\x00\x90\x81!\x1d@\x80@\x00\x00\x12\x01 \x00\x06\x11\x08\x00 \x00\x020\x01\x00\xc0 P\x04\x00\x00\x10\x00\x01\x08\x04*\x00\x00j\x00@\x00 \x08BP\x02\x05\x00\x00\x04\x00@\x18\x10\x80A\x80\x01\x00\x90\r\x02@\x00\x80Q\x01\x00\x02\x00\x00\x00\x00\x80\x08\x00\x04\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _______________ test_zfp[float32-gray-out-bytearray-mode0-None] ________________ dtype = dtype('float32'), itype = 'gray', enout = 'out', deout = 'bytearray' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\xc7Ke\xfd\x88\x00\x01\xf0\x01\xc6\x01\x868\x07\x87\x00\x00\xe3H\x04\x1a@8\x12\x00\x80b\t\x80f\x18\xe9\x00\x00B\x10\x001 \x00\x00\x08\x08\x00\x08\x06\x01\x8e0\x0cq\x01\x00\x02\x01\x80HB\x00\x00 \x04\x00@\x80\x00\x08\x92\x01\xc0\x04\x80\x10\x00\x01\x01\x12@\x00\x80\x18\xe0\x02@\x00\x03\x00\xc0\x8d \x00@\x08\x00\x84 \x10\x01\x80\x02\x08\t\x00\x00 \x00\x02 \x00q\x00 \xd4\x04\x80\x00\x00\x90\x08 \x10\n \xe3\x8ab\xb6_\x84\xa6\x01\x82 \x16\x00A8\x80\x81!\x00H\x06\x10\r"\x00L\x03\x01\nB$\x03H\x04\x10\x18\x00\x80\x08\x04\x84\x08\x00"\x00\x00\x88\x00\x00\x90\x85\x03\x04\x00\x8c\x11\x00 \x00\x00\x84CF\x80\x02\x00\x00\x02\x00\x00\x00\x08\x80\x00\xd0\x04\x00\x00\x12\x00!\x00@\x18\x80\x00\x8a\x00@\x04\x00\x08\x82P"\x00@\x08\x00\x04\x00\x18\x01\x00\x00\x00\x08\x00\x00\x0c\x03j\xad\x97\xf4\x01\x00\x12\x00\xf0\x841\x00\xc0\x0c!\x18\x8a\x002\x10\x00\x01(\x90\r#\t@\x00\x04(T \x12\x01\x84"\xa1\x00@\x91\x02\x80\x00\x00\x04\x88\x00\x11\x00!\xa8\x08\x00\x08$\x00\x00\x04\x044\x00\x00\x84\x00\x80@\x06\x81\x08\x80F(\x80\x10\x01\x00\x92\x01"\x08\xc3\x10\x12\x01!\x12\x00\x84i\x18\xea\x00@$\x08\x00\x00\x80\x02\x10\x00H\x14\x01\x00\x02\x00$\x03\xa8\xb2\xfe\xa0\x00\x02B\x00\x0c!\x05@\x1...x0c\x00\x000\x80\x00\xa4\x02(\x00\x00\x00\x05\x00\x024\x88D\x01\x00\x10\x04\x00\x08@\x11\x00 $\x12\x80\x10\x00\x08\x921\x04\x08\x05@\x02\x01!\x1aD\x04)\x10\xea\x00\x00 #\x00\x90\x89#\x04\x00\x00\x04\x00 \x10\x10\xa0 \x80\x00\x86\xa0$\x00\x020\x04Q\x92\x11\x94\x04\x80\x08F\x01!\x08\x04\x00\x00\x80\x00\x08\x00\x00\x02@\x80\x00\x10\x00\x1e2\x80\xd4[O\xea\x02\x8a\xa3\x00 \x8e\x00\x06\xa0\x0c\x02\x0cL\x030\xc6\x81$\x00\x00\x00\x10\x19\x00\x90H\x00\x00I\x00\xa2\x00\x00\xa8\x00\x00\x90\x84\x01\x18@\x0cU\x01 \x10\x10$\x02B\x91\x06\x80\x04\x00\x02 \x00\x08\x920\xd4\x00\x80\x00\x00\x00!\x02D2\x80\x10\x8a\x02\x00$\x01\x00\x01\x10\x01\x01@\x08\x00\x84\x08\x08\x01\x80`\x88\x08\x00\x80\t\x02@\x00\x88\x05\x01\x00\x12\x00\x80HF\x90\x0c \xfa\x00\x90\x01\x00\xd2\x11@\x1c\x00\x05@\x00\xc9\x16\xd3\x84%\x00\xa1\x08\xca\x00\xc5\x94\x030\x85\x01\x15\x004\x08\x02\x030\x08\x08\x02!\x80\x00\x01\x00H\x00\x80I\x00\x11$`\x88\x08\x00\x10$\x00\x02\x00\x8ca\x01 @\x04\x80HD\x11\x0c\x80@\x08\x00\x00\x00\x00@ !@C\x00\x00\x00\x00\x1a\x04\x00H\x00\x8a\x02\x00\x00\x00\x00\x10\x89\x01\r@@`\x01 \x12\x01\x04b\x80\x11\x08 \x00@\x14\x04\x08\xc20\x80\x00\x00@B\x00\x01\x18\x06\x12\x00\x90\t\x00\x00\x00\x00\x00\x00\x00\x02') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[float32-gray-out-bytearray-mode0-omp] ________________ dtype = dtype('float32'), itype = 'gray', enout = 'out', deout = 'bytearray' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\xc7Ke\xfd\x88\x00\x01\xf0\x01\xc6\x01\x868\x07\x87\x00\x00\xe3H\x04\x1a@8\x12\x00\x80b\t\x80f\x18\xe9\x00\x00B\x10\x001 \x00\x00\x08\x08\x00\x08\x06\x01\x8e0\x0cq\x01\x00\x02\x01\x80HB\x00\x00 \x04\x00@\x80\x00\x08\x92\x01\xc0\x04\x80\x10\x00\x01\x01\x12@\x00\x80\x18\xe0\x02@\x00\x03\x00\xc0\x8d \x00@\x08\x00\x84 \x10\x01\x80\x02\x08\t\x00\x00 \x00\x02 \x00q\x00 \xd4\x04\x80\x00\x00\x90\x08 \x10\n \xe3\x8ab\xb6_\x84\xa6\x01\x82 \x16\x00A8\x80\x81!\x00H\x06\x10\r"\x00L\x03\x01\nB$\x03H\x04\x10\x18\x00\x80\x08\x04\x84\x08\x00"\x00\x00\x88\x00\x00\x90\x85\x03\x04\x00\x8c\x11\x00 \x00\x00\x84CF\x80\x02\x00\x00\x02\x00\x00\x00\x08\x80\x00\xd0\x04\x00\x00\x12\x00!\x00@\x18\x80\x00\x8a\x00@\x04\x00\x08\x82P"\x00@\x08\x00\x04\x00\x18\x01\x00\x00\x00\x08\x00\x00\x0c\x03j\xad\x97\xf4\x01\x00\x12\x00\xf0\x841\x00\xc0\x0c!\x18\x8a\x002\x10\x00\x01(\x90\r#\t@\x00\x04(T \x12\x01\x84"\xa1\x00@\x91\x02\x80\x00\x00\x04\x88\x00\x11\x00!\xa8\x08\x00\x08$\x00\x00\x04\x044\x00\x00\x84\x00\x80@\x06\x81\x08\x80F(\x80\x10\x01\x00\x92\x01"\x08\xc3\x10\x12\x01!\x12\x00\x84i\x18\xea\x00@$\x08\x00\x00\x80\x02\x10\x00H\x14\x01\x00\x02\x00$\x03\xa8\xb2\xfe\xa0\x00\x02B\x00\x0c!\x05@\x1...x0c\x00\x000\x80\x00\xa4\x02(\x00\x00\x00\x05\x00\x024\x88D\x01\x00\x10\x04\x00\x08@\x11\x00 $\x12\x80\x10\x00\x08\x921\x04\x08\x05@\x02\x01!\x1aD\x04)\x10\xea\x00\x00 #\x00\x90\x89#\x04\x00\x00\x04\x00 \x10\x10\xa0 \x80\x00\x86\xa0$\x00\x020\x04Q\x92\x11\x94\x04\x80\x08F\x01!\x08\x04\x00\x00\x80\x00\x08\x00\x00\x02@\x80\x00\x10\x00\x1e2\x80\xd4[O\xea\x02\x8a\xa3\x00 \x8e\x00\x06\xa0\x0c\x02\x0cL\x030\xc6\x81$\x00\x00\x00\x10\x19\x00\x90H\x00\x00I\x00\xa2\x00\x00\xa8\x00\x00\x90\x84\x01\x18@\x0cU\x01 \x10\x10$\x02B\x91\x06\x80\x04\x00\x02 \x00\x08\x920\xd4\x00\x80\x00\x00\x00!\x02D2\x80\x10\x8a\x02\x00$\x01\x00\x01\x10\x01\x01@\x08\x00\x84\x08\x08\x01\x80`\x88\x08\x00\x80\t\x02@\x00\x88\x05\x01\x00\x12\x00\x80HF\x90\x0c \xfa\x00\x90\x01\x00\xd2\x11@\x1c\x00\x05@\x00\xc9\x16\xd3\x84%\x00\xa1\x08\xca\x00\xc5\x94\x030\x85\x01\x15\x004\x08\x02\x030\x08\x08\x02!\x80\x00\x01\x00H\x00\x80I\x00\x11$`\x88\x08\x00\x10$\x00\x02\x00\x8ca\x01 @\x04\x80HD\x11\x0c\x80@\x08\x00\x00\x00\x00@ !@C\x00\x00\x00\x00\x1a\x04\x00H\x00\x8a\x02\x00\x00\x00\x00\x10\x89\x01\r@@`\x01 \x12\x01\x04b\x80\x11\x08 \x00@\x14\x04\x08\xc20\x80\x00\x00@B\x00\x01\x18\x06\x12\x00\x90\t\x00\x00\x00\x00\x00\x00\x00\x02') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _______________ test_zfp[float32-gray-out-bytearray-mode1-None] ________________ dtype = dtype('float32'), itype = 'gray', enout = 'out', deout = 'bytearray' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf01`\xc7J\xcf\xf7\x87\xaf\x01\xc7f8\xe8\x1c\x01\xaeF \x98cH\x07\x11\xd2\x18\x08\x024\x8cu \x1a`\x11\x00P1\x94\x84\x00\x02\x00\x00\x00\x80 \x00*\x00\x11\x80! \x00\x80\x08@`\x00\x00\x10\x8c4 a\x08\x08\x00\x80\x08"\x11\x10\x085\x01\x00\x10\x11\x80H@\x81\x8e\x00$\x02\x00\x10\t\x08\xd0\x11\xd4\x00\x80\x00\x00\x01!\x08\x02\x12\x80\x18J\x02\x00 "H\x86\x80#\x1d@\x08\x04\x84\t\x00\x01\x80\x00\x08\x00\x00\x90\x00\x00@\x04\x80q\x01 \x10\x07\x1e>\xacV\x7f\xa0\x02\x020\x84a\x08b\x0c \x12\x04\x18\x98\x07\x00b\x84\x01\x18\xc2\x00\x04\x88U\x15@\x00\x02\x08@P\x0c!\x00FR\x00\x80\r#\xc0\x00\x04!\x10J@ P\x00\x00!\x08\x020\x80\x10@\x00\x00\x00"\x00D\r\x02\x11@\x08\x00\x84A\x00\x10\xa0\x02\x88\x08\x00\x00\x00\x02\x02 \x8cT\x00\x00D\x04\x00@\x00\x00\x0c\x80\x04 \x80\x80\t\x08\xd0\x01\x03H\x00\x10\x12\x00!\x00\x04\x80\x01\x00\xe2\x02\x00$\x00\x00\x00\x00\x00\x10\x00\x00T\x00\xe0(\x08U\x9f\xe0\x88E\xc20\x04\x03\x021i\x18B\x18\xc21T`\n\x002\x01\x80!\x89\x04\x89!\x1c\x00\x04\x84a\x08\x00\x10\x01\x04!!\x00\x10\x11\x06\xa0\x02@$\x88q\x08\x08\xc20\xd0\x80\x00B\x04\x00\x02\x14\x8cA\x01\x80\x90\x04\x00@\x04\x10\x82\x00\x06\x12\x80\x00\x08\x08\x820 H\x07P\x10\...\t\x00\x90\x85"\x02\x14\x0ct\x00 \x00\x11\x00@\x02\x80\x06\xa0 \x02\x80\x00\x08\x00\x80\x11T\x04A@\x12\x01!\x08\x068!\x18*\x00@$\x01\x08\x10\x05 \x1c\x00\x08\x04\x80\x00\x10\x10$\x02\xa0\x00\x00 \x04\x00@4\x0c%\x001\x94\x00\x00\x08B\x91\x02\x18@\x18\x00\x80\x01\x08\xd2 \x00H\x07\x00\x12\x00 \x85\xacRQg\xfa\x00\x00\x04p\x8c\x01\x00a\x86\n\x19L \x00A\x88R!\x02\x00\x10\x04\x02\x00\x80\x00#\t\x00\x00\x88!\x11L`\x10j\x02\x00\x02\x01\x04\x80\x89\x02\x19@H\x00\x00 \x02\x00\xa0\x01(\x00\x00\xa0\x04\x02B \x84Q\x011P\x04\x00HD\x01\x8a\n\x00(\x80\x90\x08\x08\x00$\x02\x00GP\x02\x01\x00\x08\x04\x00)\x10\xe2\x02\x00\x88\t\x00\x80\x89"\x01@\x08e\x01 \x00\x11\x80#\x02\x80\x02 \x04\x02\x00\x10\t\x00\x12\x01D\x04\x80H\x08!\tLY\xfe\x00\x00\x08"\x00@\x00\xc6\x00\x8f\x08\x80 \x10\x03\x08\x82P0\x0c\x02\x04\x02\x10\x00Q\n@\x04\x01\x00\x81P\x00\x01\x02\x04@\x00\x00`\x00\x00"@\x85P\x18\x00\x00H\x04\x84i\x10H\x00\x00\x08\t\x00\x90\x81!\x1d@\x80@\x00\x00\x12\x01 \x00\x06\x11\x08\x00 \x00\x020\x01\x00\xc0 P\x04\x00\x00\x10\x00\x01\x08\x04*\x00\x00j\x00@\x00 \x08BP\x02\x05\x00\x00\x04\x00@\x18\x10\x80A\x80\x01\x00\x90\r\x02@\x00\x80Q\x01\x00\x02\x00\x00\x00\x00\x80\x08\x00\x04\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[float32-gray-out-bytearray-mode1-omp] ________________ dtype = dtype('float32'), itype = 'gray', enout = 'out', deout = 'bytearray' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf01`\xc7J\xcf\xf7\x87\xaf\x01\xc7f8\xe8\x1c\x01\xaeF \x98cH\x07\x11\xd2\x18\x08\x024\x8cu \x1a`\x11\x00P1\x94\x84\x00\x02\x00\x00\x00\x80 \x00*\x00\x11\x80! \x00\x80\x08@`\x00\x00\x10\x8c4 a\x08\x08\x00\x80\x08"\x11\x10\x085\x01\x00\x10\x11\x80H@\x81\x8e\x00$\x02\x00\x10\t\x08\xd0\x11\xd4\x00\x80\x00\x00\x01!\x08\x02\x12\x80\x18J\x02\x00 "H\x86\x80#\x1d@\x08\x04\x84\t\x00\x01\x80\x00\x08\x00\x00\x90\x00\x00@\x04\x80q\x01 \x10\x07\x1e>\xacV\x7f\xa0\x02\x020\x84a\x08b\x0c \x12\x04\x18\x98\x07\x00b\x84\x01\x18\xc2\x00\x04\x88U\x15@\x00\x02\x08@P\x0c!\x00FR\x00\x80\r#\xc0\x00\x04!\x10J@ P\x00\x00!\x08\x020\x80\x10@\x00\x00\x00"\x00D\r\x02\x11@\x08\x00\x84A\x00\x10\xa0\x02\x88\x08\x00\x00\x00\x02\x02 \x8cT\x00\x00D\x04\x00@\x00\x00\x0c\x80\x04 \x80\x80\t\x08\xd0\x01\x03H\x00\x10\x12\x00!\x00\x04\x80\x01\x00\xe2\x02\x00$\x00\x00\x00\x00\x00\x10\x00\x00T\x00\xe0(\x08U\x9f\xe0\x88E\xc20\x04\x03\x021i\x18B\x18\xc21T`\n\x002\x01\x80!\x89\x04\x89!\x1c\x00\x04\x84a\x08\x00\x10\x01\x04!!\x00\x10\x11\x06\xa0\x02@$\x88q\x08\x08\xc20\xd0\x80\x00B\x04\x00\x02\x14\x8cA\x01\x80\x90\x04\x00@\x04\x10\x82\x00\x06\x12\x80\x00\x08\x08\x820 H\x07P\x10\...\t\x00\x90\x85"\x02\x14\x0ct\x00 \x00\x11\x00@\x02\x80\x06\xa0 \x02\x80\x00\x08\x00\x80\x11T\x04A@\x12\x01!\x08\x068!\x18*\x00@$\x01\x08\x10\x05 \x1c\x00\x08\x04\x80\x00\x10\x10$\x02\xa0\x00\x00 \x04\x00@4\x0c%\x001\x94\x00\x00\x08B\x91\x02\x18@\x18\x00\x80\x01\x08\xd2 \x00H\x07\x00\x12\x00 \x85\xacRQg\xfa\x00\x00\x04p\x8c\x01\x00a\x86\n\x19L \x00A\x88R!\x02\x00\x10\x04\x02\x00\x80\x00#\t\x00\x00\x88!\x11L`\x10j\x02\x00\x02\x01\x04\x80\x89\x02\x19@H\x00\x00 \x02\x00\xa0\x01(\x00\x00\xa0\x04\x02B \x84Q\x011P\x04\x00HD\x01\x8a\n\x00(\x80\x90\x08\x08\x00$\x02\x00GP\x02\x01\x00\x08\x04\x00)\x10\xe2\x02\x00\x88\t\x00\x80\x89"\x01@\x08e\x01 \x00\x11\x80#\x02\x80\x02 \x04\x02\x00\x10\t\x00\x12\x01D\x04\x80H\x08!\tLY\xfe\x00\x00\x08"\x00@\x00\xc6\x00\x8f\x08\x80 \x10\x03\x08\x82P0\x0c\x02\x04\x02\x10\x00Q\n@\x04\x01\x00\x81P\x00\x01\x02\x04@\x00\x00`\x00\x00"@\x85P\x18\x00\x00H\x04\x84i\x10H\x00\x00\x08\t\x00\x90\x81!\x1d@\x80@\x00\x00\x12\x01 \x00\x06\x11\x08\x00 \x00\x020\x01\x00\xc0 P\x04\x00\x00\x10\x00\x01\x08\x04*\x00\x00j\x00@\x00 \x08BP\x02\x05\x00\x00\x04\x00@\x18\x10\x80A\x80\x01\x00\x90\r\x02@\x00\x80Q\x01\x00\x02\x00\x00\x00\x00\x80\x08\x00\x04\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _______________ test_zfp[float32-gray-bytearray-new-mode0-None] ________________ dtype = dtype('float32'), itype = 'gray', enout = 'bytearray', deout = 'new' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\xc7Ke\xfd\x88\x00\x01\xf0\x01\xc6\x01\x868\x07\x87\x00\x00\xe3H\x04\x1a@8\x12\x00\x80b\t\x80f\x18\xe9\x00\x00B\x10\x001 \x00\x00\x08\x08\x00\x08\x06\x01\x8e0\x0cq\x01\x00\x02\x01\x80HB\x00\x00 \x04\x00@\x80\x00\x08\x92\x01\xc0\x04\x80\x10\x00\x01\x01\x12@\x00\x80\x18\xe0\x02@\x00\x03\x00\xc0\x8d \x00@\x08\x00\x84 \x10\x01\x80\x02\x08\t\x00\x00 \x00\x02 \x00q\x00 \xd4\x04\x80\x00\x00\x90\x08 \x10\n \xe3\x8ab\xb6_\x84\xa6\x01\x82 \x16\x00A8\x80\x81!\x00H\x06\x10\r"\x00L\x03\x01\nB$\x03H\x04\x10\x18\x00\x80\x08\x04\x84\x08\x00"\x00\x00\x88\x00\x00\x90\x85\x03\x04\x00\x8c\x11\x00 \x00\x00\x84CF\x80\x02\x00\x00\x02\x00\x00\x00\x08\x80\x00\xd0\x04\x00\x00\x12\x00!\x00@\x18\x80\x00\x8a\x00@\x04\x00\x08\x82P"\x00@\x08\x00\x04\x00\x18\x01\x00\x00\x00\x08\x00\x00\x0c\x03j\xad\x97\xf4\x01\x00\x12\x00\xf0\x841\x00\xc0\x0c!\x18\x8a\x002\x10\x00\x01(\x90\r#\t@\x00\x04(T \x12\x01\x84"\xa1\x00@\x91\x02\x80\x00\x00\x04\x88\x00\x11\x00!\xa8\x08\x00\x08$\x00\x00\x04\x044\x00\x00\x84\x00\x80@\x06\x81\x08\x80F(\x80\x10\x01\x00\x92\x01"\x08\xc3\x10\x12\x01!\x12\x00\x84i\x18\xea\x00@$\x08\x00\x00\x80\x02\x10\x00H\x14\x01\x00\x02\x00$\x03\xa8\xb2\xfe\xa0\x00\x02B\x00\x0c!\x05@\x1...x0c\x00\x000\x80\x00\xa4\x02(\x00\x00\x00\x05\x00\x024\x88D\x01\x00\x10\x04\x00\x08@\x11\x00 $\x12\x80\x10\x00\x08\x921\x04\x08\x05@\x02\x01!\x1aD\x04)\x10\xea\x00\x00 #\x00\x90\x89#\x04\x00\x00\x04\x00 \x10\x10\xa0 \x80\x00\x86\xa0$\x00\x020\x04Q\x92\x11\x94\x04\x80\x08F\x01!\x08\x04\x00\x00\x80\x00\x08\x00\x00\x02@\x80\x00\x10\x00\x1e2\x80\xd4[O\xea\x02\x8a\xa3\x00 \x8e\x00\x06\xa0\x0c\x02\x0cL\x030\xc6\x81$\x00\x00\x00\x10\x19\x00\x90H\x00\x00I\x00\xa2\x00\x00\xa8\x00\x00\x90\x84\x01\x18@\x0cU\x01 \x10\x10$\x02B\x91\x06\x80\x04\x00\x02 \x00\x08\x920\xd4\x00\x80\x00\x00\x00!\x02D2\x80\x10\x8a\x02\x00$\x01\x00\x01\x10\x01\x01@\x08\x00\x84\x08\x08\x01\x80`\x88\x08\x00\x80\t\x02@\x00\x88\x05\x01\x00\x12\x00\x80HF\x90\x0c \xfa\x00\x90\x01\x00\xd2\x11@\x1c\x00\x05@\x00\xc9\x16\xd3\x84%\x00\xa1\x08\xca\x00\xc5\x94\x030\x85\x01\x15\x004\x08\x02\x030\x08\x08\x02!\x80\x00\x01\x00H\x00\x80I\x00\x11$`\x88\x08\x00\x10$\x00\x02\x00\x8ca\x01 @\x04\x80HD\x11\x0c\x80@\x08\x00\x00\x00\x00@ !@C\x00\x00\x00\x00\x1a\x04\x00H\x00\x8a\x02\x00\x00\x00\x00\x10\x89\x01\r@@`\x01 \x12\x01\x04b\x80\x11\x08 \x00@\x14\x04\x08\xc20\x80\x00\x00@B\x00\x01\x18\x06\x12\x00\x90\t\x00\x00\x00\x00\x00\x00\x00\x02') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[float32-gray-bytearray-new-mode0-omp] ________________ dtype = dtype('float32'), itype = 'gray', enout = 'bytearray', deout = 'new' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\xc7Ke\xfd\x88\x00\x01\xf0\x01\xc6\x01\x868\x07\x87\x00\x00\xe3H\x04\x1a@8\x12\x00\x80b\t\x80f\x18\xe9\x00\x00B\x10\x001 \x00\x00\x08\x08\x00\x08\x06\x01\x8e0\x0cq\x01\x00\x02\x01\x80HB\x00\x00 \x04\x00@\x80\x00\x08\x92\x01\xc0\x04\x80\x10\x00\x01\x01\x12@\x00\x80\x18\xe0\x02@\x00\x03\x00\xc0\x8d \x00@\x08\x00\x84 \x10\x01\x80\x02\x08\t\x00\x00 \x00\x02 \x00q\x00 \xd4\x04\x80\x00\x00\x90\x08 \x10\n \xe3\x8ab\xb6_\x84\xa6\x01\x82 \x16\x00A8\x80\x81!\x00H\x06\x10\r"\x00L\x03\x01\nB$\x03H\x04\x10\x18\x00\x80\x08\x04\x84\x08\x00"\x00\x00\x88\x00\x00\x90\x85\x03\x04\x00\x8c\x11\x00 \x00\x00\x84CF\x80\x02\x00\x00\x02\x00\x00\x00\x08\x80\x00\xd0\x04\x00\x00\x12\x00!\x00@\x18\x80\x00\x8a\x00@\x04\x00\x08\x82P"\x00@\x08\x00\x04\x00\x18\x01\x00\x00\x00\x08\x00\x00\x0c\x03j\xad\x97\xf4\x01\x00\x12\x00\xf0\x841\x00\xc0\x0c!\x18\x8a\x002\x10\x00\x01(\x90\r#\t@\x00\x04(T \x12\x01\x84"\xa1\x00@\x91\x02\x80\x00\x00\x04\x88\x00\x11\x00!\xa8\x08\x00\x08$\x00\x00\x04\x044\x00\x00\x84\x00\x80@\x06\x81\x08\x80F(\x80\x10\x01\x00\x92\x01"\x08\xc3\x10\x12\x01!\x12\x00\x84i\x18\xea\x00@$\x08\x00\x00\x80\x02\x10\x00H\x14\x01\x00\x02\x00$\x03\xa8\xb2\xfe\xa0\x00\x02B\x00\x0c!\x05@\x1...x0c\x00\x000\x80\x00\xa4\x02(\x00\x00\x00\x05\x00\x024\x88D\x01\x00\x10\x04\x00\x08@\x11\x00 $\x12\x80\x10\x00\x08\x921\x04\x08\x05@\x02\x01!\x1aD\x04)\x10\xea\x00\x00 #\x00\x90\x89#\x04\x00\x00\x04\x00 \x10\x10\xa0 \x80\x00\x86\xa0$\x00\x020\x04Q\x92\x11\x94\x04\x80\x08F\x01!\x08\x04\x00\x00\x80\x00\x08\x00\x00\x02@\x80\x00\x10\x00\x1e2\x80\xd4[O\xea\x02\x8a\xa3\x00 \x8e\x00\x06\xa0\x0c\x02\x0cL\x030\xc6\x81$\x00\x00\x00\x10\x19\x00\x90H\x00\x00I\x00\xa2\x00\x00\xa8\x00\x00\x90\x84\x01\x18@\x0cU\x01 \x10\x10$\x02B\x91\x06\x80\x04\x00\x02 \x00\x08\x920\xd4\x00\x80\x00\x00\x00!\x02D2\x80\x10\x8a\x02\x00$\x01\x00\x01\x10\x01\x01@\x08\x00\x84\x08\x08\x01\x80`\x88\x08\x00\x80\t\x02@\x00\x88\x05\x01\x00\x12\x00\x80HF\x90\x0c \xfa\x00\x90\x01\x00\xd2\x11@\x1c\x00\x05@\x00\xc9\x16\xd3\x84%\x00\xa1\x08\xca\x00\xc5\x94\x030\x85\x01\x15\x004\x08\x02\x030\x08\x08\x02!\x80\x00\x01\x00H\x00\x80I\x00\x11$`\x88\x08\x00\x10$\x00\x02\x00\x8ca\x01 @\x04\x80HD\x11\x0c\x80@\x08\x00\x00\x00\x00@ !@C\x00\x00\x00\x00\x1a\x04\x00H\x00\x8a\x02\x00\x00\x00\x00\x10\x89\x01\r@@`\x01 \x12\x01\x04b\x80\x11\x08 \x00@\x14\x04\x08\xc20\x80\x00\x00@B\x00\x01\x18\x06\x12\x00\x90\t\x00\x00\x00\x00\x00\x00\x00\x02') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _______________ test_zfp[float32-gray-bytearray-new-mode1-None] ________________ dtype = dtype('float32'), itype = 'gray', enout = 'bytearray', deout = 'new' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf01`\xc7J\xcf\xf7\x87\xaf\x01\xc7f8\xe8\x1c\x01\xaeF \x98cH\x07\x11\xd2\x18\x08\x024\x8cu \x1a`\x11\x00P1\x94\x84\x00\x02\x00\x00\x00\x80 \x00*\x00\x11\x80! \x00\x80\x08@`\x00\x00\x10\x8c4 a\x08\x08\x00\x80\x08"\x11\x10\x085\x01\x00\x10\x11\x80H@\x81\x8e\x00$\x02\x00\x10\t\x08\xd0\x11\xd4\x00\x80\x00\x00\x01!\x08\x02\x12\x80\x18J\x02\x00 "H\x86\x80#\x1d@\x08\x04\x84\t\x00\x01\x80\x00\x08\x00\x00\x90\x00\x00@\x04\x80q\x01 \x10\x07\x1e>\xacV\x7f\xa0\x02\x020\x84a\x08b\x0c \x12\x04\x18\x98\x07\x00b\x84\x01\x18\xc2\x00\x04\x88U\x15@\x00\x02\x08@P\x0c!\x00FR\x00\x80\r#\xc0\x00\x04!\x10J@ P\x00\x00!\x08\x020\x80\x10@\x00\x00\x00"\x00D\r\x02\x11@\x08\x00\x84A\x00\x10\xa0\x02\x88\x08\x00\x00\x00\x02\x02 \x8cT\x00\x00D\x04\x00@\x00\x00\x0c\x80\x04 \x80\x80\t\x08\xd0\x01\x03H\x00\x10\x12\x00!\x00\x04\x80\x01\x00\xe2\x02\x00$\x00\x00\x00\x00\x00\x10\x00\x00T\x00\xe0(\x08U\x9f\xe0\x88E\xc20\x04\x03\x021i\x18B\x18\xc21T`\n\x002\x01\x80!\x89\x04\x89!\x1c\x00\x04\x84a\x08\x00\x10\x01\x04!!\x00\x10\x11\x06\xa0\x02@$\x88q\x08\x08\xc20\xd0\x80\x00B\x04\x00\x02\x14\x8cA\x01\x80\x90\x04\x00@\x04\x10\x82\x00\x06\x12\x80\x00\x08\x08\x820 H\x07P\x10\...\t\x00\x90\x85"\x02\x14\x0ct\x00 \x00\x11\x00@\x02\x80\x06\xa0 \x02\x80\x00\x08\x00\x80\x11T\x04A@\x12\x01!\x08\x068!\x18*\x00@$\x01\x08\x10\x05 \x1c\x00\x08\x04\x80\x00\x10\x10$\x02\xa0\x00\x00 \x04\x00@4\x0c%\x001\x94\x00\x00\x08B\x91\x02\x18@\x18\x00\x80\x01\x08\xd2 \x00H\x07\x00\x12\x00 \x85\xacRQg\xfa\x00\x00\x04p\x8c\x01\x00a\x86\n\x19L \x00A\x88R!\x02\x00\x10\x04\x02\x00\x80\x00#\t\x00\x00\x88!\x11L`\x10j\x02\x00\x02\x01\x04\x80\x89\x02\x19@H\x00\x00 \x02\x00\xa0\x01(\x00\x00\xa0\x04\x02B \x84Q\x011P\x04\x00HD\x01\x8a\n\x00(\x80\x90\x08\x08\x00$\x02\x00GP\x02\x01\x00\x08\x04\x00)\x10\xe2\x02\x00\x88\t\x00\x80\x89"\x01@\x08e\x01 \x00\x11\x80#\x02\x80\x02 \x04\x02\x00\x10\t\x00\x12\x01D\x04\x80H\x08!\tLY\xfe\x00\x00\x08"\x00@\x00\xc6\x00\x8f\x08\x80 \x10\x03\x08\x82P0\x0c\x02\x04\x02\x10\x00Q\n@\x04\x01\x00\x81P\x00\x01\x02\x04@\x00\x00`\x00\x00"@\x85P\x18\x00\x00H\x04\x84i\x10H\x00\x00\x08\t\x00\x90\x81!\x1d@\x80@\x00\x00\x12\x01 \x00\x06\x11\x08\x00 \x00\x020\x01\x00\xc0 P\x04\x00\x00\x10\x00\x01\x08\x04*\x00\x00j\x00@\x00 \x08BP\x02\x05\x00\x00\x04\x00@\x18\x10\x80A\x80\x01\x00\x90\r\x02@\x00\x80Q\x01\x00\x02\x00\x00\x00\x00\x80\x08\x00\x04\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[float32-gray-bytearray-new-mode1-omp] ________________ dtype = dtype('float32'), itype = 'gray', enout = 'bytearray', deout = 'new' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf01`\xc7J\xcf\xf7\x87\xaf\x01\xc7f8\xe8\x1c\x01\xaeF \x98cH\x07\x11\xd2\x18\x08\x024\x8cu \x1a`\x11\x00P1\x94\x84\x00\x02\x00\x00\x00\x80 \x00*\x00\x11\x80! \x00\x80\x08@`\x00\x00\x10\x8c4 a\x08\x08\x00\x80\x08"\x11\x10\x085\x01\x00\x10\x11\x80H@\x81\x8e\x00$\x02\x00\x10\t\x08\xd0\x11\xd4\x00\x80\x00\x00\x01!\x08\x02\x12\x80\x18J\x02\x00 "H\x86\x80#\x1d@\x08\x04\x84\t\x00\x01\x80\x00\x08\x00\x00\x90\x00\x00@\x04\x80q\x01 \x10\x07\x1e>\xacV\x7f\xa0\x02\x020\x84a\x08b\x0c \x12\x04\x18\x98\x07\x00b\x84\x01\x18\xc2\x00\x04\x88U\x15@\x00\x02\x08@P\x0c!\x00FR\x00\x80\r#\xc0\x00\x04!\x10J@ P\x00\x00!\x08\x020\x80\x10@\x00\x00\x00"\x00D\r\x02\x11@\x08\x00\x84A\x00\x10\xa0\x02\x88\x08\x00\x00\x00\x02\x02 \x8cT\x00\x00D\x04\x00@\x00\x00\x0c\x80\x04 \x80\x80\t\x08\xd0\x01\x03H\x00\x10\x12\x00!\x00\x04\x80\x01\x00\xe2\x02\x00$\x00\x00\x00\x00\x00\x10\x00\x00T\x00\xe0(\x08U\x9f\xe0\x88E\xc20\x04\x03\x021i\x18B\x18\xc21T`\n\x002\x01\x80!\x89\x04\x89!\x1c\x00\x04\x84a\x08\x00\x10\x01\x04!!\x00\x10\x11\x06\xa0\x02@$\x88q\x08\x08\xc20\xd0\x80\x00B\x04\x00\x02\x14\x8cA\x01\x80\x90\x04\x00@\x04\x10\x82\x00\x06\x12\x80\x00\x08\x08\x820 H\x07P\x10\...\t\x00\x90\x85"\x02\x14\x0ct\x00 \x00\x11\x00@\x02\x80\x06\xa0 \x02\x80\x00\x08\x00\x80\x11T\x04A@\x12\x01!\x08\x068!\x18*\x00@$\x01\x08\x10\x05 \x1c\x00\x08\x04\x80\x00\x10\x10$\x02\xa0\x00\x00 \x04\x00@4\x0c%\x001\x94\x00\x00\x08B\x91\x02\x18@\x18\x00\x80\x01\x08\xd2 \x00H\x07\x00\x12\x00 \x85\xacRQg\xfa\x00\x00\x04p\x8c\x01\x00a\x86\n\x19L \x00A\x88R!\x02\x00\x10\x04\x02\x00\x80\x00#\t\x00\x00\x88!\x11L`\x10j\x02\x00\x02\x01\x04\x80\x89\x02\x19@H\x00\x00 \x02\x00\xa0\x01(\x00\x00\xa0\x04\x02B \x84Q\x011P\x04\x00HD\x01\x8a\n\x00(\x80\x90\x08\x08\x00$\x02\x00GP\x02\x01\x00\x08\x04\x00)\x10\xe2\x02\x00\x88\t\x00\x80\x89"\x01@\x08e\x01 \x00\x11\x80#\x02\x80\x02 \x04\x02\x00\x10\t\x00\x12\x01D\x04\x80H\x08!\tLY\xfe\x00\x00\x08"\x00@\x00\xc6\x00\x8f\x08\x80 \x10\x03\x08\x82P0\x0c\x02\x04\x02\x10\x00Q\n@\x04\x01\x00\x81P\x00\x01\x02\x04@\x00\x00`\x00\x00"@\x85P\x18\x00\x00H\x04\x84i\x10H\x00\x00\x08\t\x00\x90\x81!\x1d@\x80@\x00\x00\x12\x01 \x00\x06\x11\x08\x00 \x00\x020\x01\x00\xc0 P\x04\x00\x00\x10\x00\x01\x08\x04*\x00\x00j\x00@\x00 \x08BP\x02\x05\x00\x00\x04\x00@\x18\x10\x80A\x80\x01\x00\x90\r\x02@\x00\x80Q\x01\x00\x02\x00\x00\x00\x00\x80\x08\x00\x04\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _______________ test_zfp[float32-gray-bytearray-out-mode0-None] ________________ dtype = dtype('float32'), itype = 'gray', enout = 'bytearray', deout = 'out' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\xc7Ke\xfd\x88\x00\x01\xf0\x01\xc6\x01\x868\x07\x87\x00\x00\xe3H\x04\x1a@8\x12\x00\x80b\t\x80f\x18\xe9\x00\x00B\x10\x001 \x00\x00\x08\x08\x00\x08\x06\x01\x8e0\x0cq\x01\x00\x02\x01\x80HB\x00\x00 \x04\x00@\x80\x00\x08\x92\x01\xc0\x04\x80\x10\x00\x01\x01\x12@\x00\x80\x18\xe0\x02@\x00\x03\x00\xc0\x8d \x00@\x08\x00\x84 \x10\x01\x80\x02\x08\t\x00\x00 \x00\x02 \x00q\x00 \xd4\x04\x80\x00\x00\x90\x08 \x10\n \xe3\x8ab\xb6_\x84\xa6\x01\x82 \x16\x00A8\x80\x81!\x00H\x06\x10\r"\x00L\x03\x01\nB$\x03H\x04\x10\x18\x00\x80\x08\x04\x84\x08\x00"\x00\x00\x88\x00\x00\x90\x85\x03\x04\x00\x8c\x11\x00 \x00\x00\x84CF\x80\x02\x00\x00\x02\x00\x00\x00\x08\x80\x00\xd0\x04\x00\x00\x12\x00!\x00@\x18\x80\x00\x8a\x00@\x04\x00\x08\x82P"\x00@\x08\x00\x04\x00\x18\x01\x00\x00\x00\x08\x00\x00\x0c\x03j\xad\x97\xf4\x01\x00\x12\x00\xf0\x841\x00\xc0\x0c!\x18\x8a\x002\x10\x00\x01(\x90\r#\t@\x00\x04(T \x12\x01\x84"\xa1\x00@\x91\x02\x80\x00\x00\x04\x88\x00\x11\x00!\xa8\x08\x00\x08$\x00\x00\x04\x044\x00\x00\x84\x00\x80@\x06\x81\x08\x80F(\x80\x10\x01\x00\x92\x01"\x08\xc3\x10\x12\x01!\x12\x00\x84i\x18\xea\x00@$\x08\x00\x00\x80\x02\x10\x00H\x14\x01\x00\x02\x00$\x03\xa8\xb2\xfe\xa0\x00\x02B\x00\x0c!\x05@\x1...x0c\x00\x000\x80\x00\xa4\x02(\x00\x00\x00\x05\x00\x024\x88D\x01\x00\x10\x04\x00\x08@\x11\x00 $\x12\x80\x10\x00\x08\x921\x04\x08\x05@\x02\x01!\x1aD\x04)\x10\xea\x00\x00 #\x00\x90\x89#\x04\x00\x00\x04\x00 \x10\x10\xa0 \x80\x00\x86\xa0$\x00\x020\x04Q\x92\x11\x94\x04\x80\x08F\x01!\x08\x04\x00\x00\x80\x00\x08\x00\x00\x02@\x80\x00\x10\x00\x1e2\x80\xd4[O\xea\x02\x8a\xa3\x00 \x8e\x00\x06\xa0\x0c\x02\x0cL\x030\xc6\x81$\x00\x00\x00\x10\x19\x00\x90H\x00\x00I\x00\xa2\x00\x00\xa8\x00\x00\x90\x84\x01\x18@\x0cU\x01 \x10\x10$\x02B\x91\x06\x80\x04\x00\x02 \x00\x08\x920\xd4\x00\x80\x00\x00\x00!\x02D2\x80\x10\x8a\x02\x00$\x01\x00\x01\x10\x01\x01@\x08\x00\x84\x08\x08\x01\x80`\x88\x08\x00\x80\t\x02@\x00\x88\x05\x01\x00\x12\x00\x80HF\x90\x0c \xfa\x00\x90\x01\x00\xd2\x11@\x1c\x00\x05@\x00\xc9\x16\xd3\x84%\x00\xa1\x08\xca\x00\xc5\x94\x030\x85\x01\x15\x004\x08\x02\x030\x08\x08\x02!\x80\x00\x01\x00H\x00\x80I\x00\x11$`\x88\x08\x00\x10$\x00\x02\x00\x8ca\x01 @\x04\x80HD\x11\x0c\x80@\x08\x00\x00\x00\x00@ !@C\x00\x00\x00\x00\x1a\x04\x00H\x00\x8a\x02\x00\x00\x00\x00\x10\x89\x01\r@@`\x01 \x12\x01\x04b\x80\x11\x08 \x00@\x14\x04\x08\xc20\x80\x00\x00@B\x00\x01\x18\x06\x12\x00\x90\t\x00\x00\x00\x00\x00\x00\x00\x02') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[float32-gray-bytearray-out-mode0-omp] ________________ dtype = dtype('float32'), itype = 'gray', enout = 'bytearray', deout = 'out' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\xc7Ke\xfd\x88\x00\x01\xf0\x01\xc6\x01\x868\x07\x87\x00\x00\xe3H\x04\x1a@8\x12\x00\x80b\t\x80f\x18\xe9\x00\x00B\x10\x001 \x00\x00\x08\x08\x00\x08\x06\x01\x8e0\x0cq\x01\x00\x02\x01\x80HB\x00\x00 \x04\x00@\x80\x00\x08\x92\x01\xc0\x04\x80\x10\x00\x01\x01\x12@\x00\x80\x18\xe0\x02@\x00\x03\x00\xc0\x8d \x00@\x08\x00\x84 \x10\x01\x80\x02\x08\t\x00\x00 \x00\x02 \x00q\x00 \xd4\x04\x80\x00\x00\x90\x08 \x10\n \xe3\x8ab\xb6_\x84\xa6\x01\x82 \x16\x00A8\x80\x81!\x00H\x06\x10\r"\x00L\x03\x01\nB$\x03H\x04\x10\x18\x00\x80\x08\x04\x84\x08\x00"\x00\x00\x88\x00\x00\x90\x85\x03\x04\x00\x8c\x11\x00 \x00\x00\x84CF\x80\x02\x00\x00\x02\x00\x00\x00\x08\x80\x00\xd0\x04\x00\x00\x12\x00!\x00@\x18\x80\x00\x8a\x00@\x04\x00\x08\x82P"\x00@\x08\x00\x04\x00\x18\x01\x00\x00\x00\x08\x00\x00\x0c\x03j\xad\x97\xf4\x01\x00\x12\x00\xf0\x841\x00\xc0\x0c!\x18\x8a\x002\x10\x00\x01(\x90\r#\t@\x00\x04(T \x12\x01\x84"\xa1\x00@\x91\x02\x80\x00\x00\x04\x88\x00\x11\x00!\xa8\x08\x00\x08$\x00\x00\x04\x044\x00\x00\x84\x00\x80@\x06\x81\x08\x80F(\x80\x10\x01\x00\x92\x01"\x08\xc3\x10\x12\x01!\x12\x00\x84i\x18\xea\x00@$\x08\x00\x00\x80\x02\x10\x00H\x14\x01\x00\x02\x00$\x03\xa8\xb2\xfe\xa0\x00\x02B\x00\x0c!\x05@\x1...x0c\x00\x000\x80\x00\xa4\x02(\x00\x00\x00\x05\x00\x024\x88D\x01\x00\x10\x04\x00\x08@\x11\x00 $\x12\x80\x10\x00\x08\x921\x04\x08\x05@\x02\x01!\x1aD\x04)\x10\xea\x00\x00 #\x00\x90\x89#\x04\x00\x00\x04\x00 \x10\x10\xa0 \x80\x00\x86\xa0$\x00\x020\x04Q\x92\x11\x94\x04\x80\x08F\x01!\x08\x04\x00\x00\x80\x00\x08\x00\x00\x02@\x80\x00\x10\x00\x1e2\x80\xd4[O\xea\x02\x8a\xa3\x00 \x8e\x00\x06\xa0\x0c\x02\x0cL\x030\xc6\x81$\x00\x00\x00\x10\x19\x00\x90H\x00\x00I\x00\xa2\x00\x00\xa8\x00\x00\x90\x84\x01\x18@\x0cU\x01 \x10\x10$\x02B\x91\x06\x80\x04\x00\x02 \x00\x08\x920\xd4\x00\x80\x00\x00\x00!\x02D2\x80\x10\x8a\x02\x00$\x01\x00\x01\x10\x01\x01@\x08\x00\x84\x08\x08\x01\x80`\x88\x08\x00\x80\t\x02@\x00\x88\x05\x01\x00\x12\x00\x80HF\x90\x0c \xfa\x00\x90\x01\x00\xd2\x11@\x1c\x00\x05@\x00\xc9\x16\xd3\x84%\x00\xa1\x08\xca\x00\xc5\x94\x030\x85\x01\x15\x004\x08\x02\x030\x08\x08\x02!\x80\x00\x01\x00H\x00\x80I\x00\x11$`\x88\x08\x00\x10$\x00\x02\x00\x8ca\x01 @\x04\x80HD\x11\x0c\x80@\x08\x00\x00\x00\x00@ !@C\x00\x00\x00\x00\x1a\x04\x00H\x00\x8a\x02\x00\x00\x00\x00\x10\x89\x01\r@@`\x01 \x12\x01\x04b\x80\x11\x08 \x00@\x14\x04\x08\xc20\x80\x00\x00@B\x00\x01\x18\x06\x12\x00\x90\t\x00\x00\x00\x00\x00\x00\x00\x02') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _______________ test_zfp[float32-gray-bytearray-out-mode1-None] ________________ dtype = dtype('float32'), itype = 'gray', enout = 'bytearray', deout = 'out' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf01`\xc7J\xcf\xf7\x87\xaf\x01\xc7f8\xe8\x1c\x01\xaeF \x98cH\x07\x11\xd2\x18\x08\x024\x8cu \x1a`\x11\x00P1\x94\x84\x00\x02\x00\x00\x00\x80 \x00*\x00\x11\x80! \x00\x80\x08@`\x00\x00\x10\x8c4 a\x08\x08\x00\x80\x08"\x11\x10\x085\x01\x00\x10\x11\x80H@\x81\x8e\x00$\x02\x00\x10\t\x08\xd0\x11\xd4\x00\x80\x00\x00\x01!\x08\x02\x12\x80\x18J\x02\x00 "H\x86\x80#\x1d@\x08\x04\x84\t\x00\x01\x80\x00\x08\x00\x00\x90\x00\x00@\x04\x80q\x01 \x10\x07\x1e>\xacV\x7f\xa0\x02\x020\x84a\x08b\x0c \x12\x04\x18\x98\x07\x00b\x84\x01\x18\xc2\x00\x04\x88U\x15@\x00\x02\x08@P\x0c!\x00FR\x00\x80\r#\xc0\x00\x04!\x10J@ P\x00\x00!\x08\x020\x80\x10@\x00\x00\x00"\x00D\r\x02\x11@\x08\x00\x84A\x00\x10\xa0\x02\x88\x08\x00\x00\x00\x02\x02 \x8cT\x00\x00D\x04\x00@\x00\x00\x0c\x80\x04 \x80\x80\t\x08\xd0\x01\x03H\x00\x10\x12\x00!\x00\x04\x80\x01\x00\xe2\x02\x00$\x00\x00\x00\x00\x00\x10\x00\x00T\x00\xe0(\x08U\x9f\xe0\x88E\xc20\x04\x03\x021i\x18B\x18\xc21T`\n\x002\x01\x80!\x89\x04\x89!\x1c\x00\x04\x84a\x08\x00\x10\x01\x04!!\x00\x10\x11\x06\xa0\x02@$\x88q\x08\x08\xc20\xd0\x80\x00B\x04\x00\x02\x14\x8cA\x01\x80\x90\x04\x00@\x04\x10\x82\x00\x06\x12\x80\x00\x08\x08\x820 H\x07P\x10\...\t\x00\x90\x85"\x02\x14\x0ct\x00 \x00\x11\x00@\x02\x80\x06\xa0 \x02\x80\x00\x08\x00\x80\x11T\x04A@\x12\x01!\x08\x068!\x18*\x00@$\x01\x08\x10\x05 \x1c\x00\x08\x04\x80\x00\x10\x10$\x02\xa0\x00\x00 \x04\x00@4\x0c%\x001\x94\x00\x00\x08B\x91\x02\x18@\x18\x00\x80\x01\x08\xd2 \x00H\x07\x00\x12\x00 \x85\xacRQg\xfa\x00\x00\x04p\x8c\x01\x00a\x86\n\x19L \x00A\x88R!\x02\x00\x10\x04\x02\x00\x80\x00#\t\x00\x00\x88!\x11L`\x10j\x02\x00\x02\x01\x04\x80\x89\x02\x19@H\x00\x00 \x02\x00\xa0\x01(\x00\x00\xa0\x04\x02B \x84Q\x011P\x04\x00HD\x01\x8a\n\x00(\x80\x90\x08\x08\x00$\x02\x00GP\x02\x01\x00\x08\x04\x00)\x10\xe2\x02\x00\x88\t\x00\x80\x89"\x01@\x08e\x01 \x00\x11\x80#\x02\x80\x02 \x04\x02\x00\x10\t\x00\x12\x01D\x04\x80H\x08!\tLY\xfe\x00\x00\x08"\x00@\x00\xc6\x00\x8f\x08\x80 \x10\x03\x08\x82P0\x0c\x02\x04\x02\x10\x00Q\n@\x04\x01\x00\x81P\x00\x01\x02\x04@\x00\x00`\x00\x00"@\x85P\x18\x00\x00H\x04\x84i\x10H\x00\x00\x08\t\x00\x90\x81!\x1d@\x80@\x00\x00\x12\x01 \x00\x06\x11\x08\x00 \x00\x020\x01\x00\xc0 P\x04\x00\x00\x10\x00\x01\x08\x04*\x00\x00j\x00@\x00 \x08BP\x02\x05\x00\x00\x04\x00@\x18\x10\x80A\x80\x01\x00\x90\r\x02@\x00\x80Q\x01\x00\x02\x00\x00\x00\x00\x80\x08\x00\x04\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[float32-gray-bytearray-out-mode1-omp] ________________ dtype = dtype('float32'), itype = 'gray', enout = 'bytearray', deout = 'out' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf01`\xc7J\xcf\xf7\x87\xaf\x01\xc7f8\xe8\x1c\x01\xaeF \x98cH\x07\x11\xd2\x18\x08\x024\x8cu \x1a`\x11\x00P1\x94\x84\x00\x02\x00\x00\x00\x80 \x00*\x00\x11\x80! \x00\x80\x08@`\x00\x00\x10\x8c4 a\x08\x08\x00\x80\x08"\x11\x10\x085\x01\x00\x10\x11\x80H@\x81\x8e\x00$\x02\x00\x10\t\x08\xd0\x11\xd4\x00\x80\x00\x00\x01!\x08\x02\x12\x80\x18J\x02\x00 "H\x86\x80#\x1d@\x08\x04\x84\t\x00\x01\x80\x00\x08\x00\x00\x90\x00\x00@\x04\x80q\x01 \x10\x07\x1e>\xacV\x7f\xa0\x02\x020\x84a\x08b\x0c \x12\x04\x18\x98\x07\x00b\x84\x01\x18\xc2\x00\x04\x88U\x15@\x00\x02\x08@P\x0c!\x00FR\x00\x80\r#\xc0\x00\x04!\x10J@ P\x00\x00!\x08\x020\x80\x10@\x00\x00\x00"\x00D\r\x02\x11@\x08\x00\x84A\x00\x10\xa0\x02\x88\x08\x00\x00\x00\x02\x02 \x8cT\x00\x00D\x04\x00@\x00\x00\x0c\x80\x04 \x80\x80\t\x08\xd0\x01\x03H\x00\x10\x12\x00!\x00\x04\x80\x01\x00\xe2\x02\x00$\x00\x00\x00\x00\x00\x10\x00\x00T\x00\xe0(\x08U\x9f\xe0\x88E\xc20\x04\x03\x021i\x18B\x18\xc21T`\n\x002\x01\x80!\x89\x04\x89!\x1c\x00\x04\x84a\x08\x00\x10\x01\x04!!\x00\x10\x11\x06\xa0\x02@$\x88q\x08\x08\xc20\xd0\x80\x00B\x04\x00\x02\x14\x8cA\x01\x80\x90\x04\x00@\x04\x10\x82\x00\x06\x12\x80\x00\x08\x08\x820 H\x07P\x10\...\t\x00\x90\x85"\x02\x14\x0ct\x00 \x00\x11\x00@\x02\x80\x06\xa0 \x02\x80\x00\x08\x00\x80\x11T\x04A@\x12\x01!\x08\x068!\x18*\x00@$\x01\x08\x10\x05 \x1c\x00\x08\x04\x80\x00\x10\x10$\x02\xa0\x00\x00 \x04\x00@4\x0c%\x001\x94\x00\x00\x08B\x91\x02\x18@\x18\x00\x80\x01\x08\xd2 \x00H\x07\x00\x12\x00 \x85\xacRQg\xfa\x00\x00\x04p\x8c\x01\x00a\x86\n\x19L \x00A\x88R!\x02\x00\x10\x04\x02\x00\x80\x00#\t\x00\x00\x88!\x11L`\x10j\x02\x00\x02\x01\x04\x80\x89\x02\x19@H\x00\x00 \x02\x00\xa0\x01(\x00\x00\xa0\x04\x02B \x84Q\x011P\x04\x00HD\x01\x8a\n\x00(\x80\x90\x08\x08\x00$\x02\x00GP\x02\x01\x00\x08\x04\x00)\x10\xe2\x02\x00\x88\t\x00\x80\x89"\x01@\x08e\x01 \x00\x11\x80#\x02\x80\x02 \x04\x02\x00\x10\t\x00\x12\x01D\x04\x80H\x08!\tLY\xfe\x00\x00\x08"\x00@\x00\xc6\x00\x8f\x08\x80 \x10\x03\x08\x82P0\x0c\x02\x04\x02\x10\x00Q\n@\x04\x01\x00\x81P\x00\x01\x02\x04@\x00\x00`\x00\x00"@\x85P\x18\x00\x00H\x04\x84i\x10H\x00\x00\x08\t\x00\x90\x81!\x1d@\x80@\x00\x00\x12\x01 \x00\x06\x11\x08\x00 \x00\x020\x01\x00\xc0 P\x04\x00\x00\x10\x00\x01\x08\x04*\x00\x00j\x00@\x00 \x08BP\x02\x05\x00\x00\x04\x00@\x18\x10\x80A\x80\x01\x00\x90\r\x02@\x00\x80Q\x01\x00\x02\x00\x00\x00\x00\x80\x08\x00\x04\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ____________ test_zfp[float32-gray-bytearray-bytearray-mode0-None] _____________ dtype = dtype('float32'), itype = 'gray', enout = 'bytearray' deout = 'bytearray', mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\xc7Ke\xfd\x88\x00\x01\xf0\x01\xc6\x01\x868\x07\x87\x00\x00\xe3H\x04\x1a@8\x12\x00\x80b\t\x80f\x18\xe9\x00\x00B\x10\x001 \x00\x00\x08\x08\x00\x08\x06\x01\x8e0\x0cq\x01\x00\x02\x01\x80HB\x00\x00 \x04\x00@\x80\x00\x08\x92\x01\xc0\x04\x80\x10\x00\x01\x01\x12@\x00\x80\x18\xe0\x02@\x00\x03\x00\xc0\x8d \x00@\x08\x00\x84 \x10\x01\x80\x02\x08\t\x00\x00 \x00\x02 \x00q\x00 \xd4\x04\x80\x00\x00\x90\x08 \x10\n \xe3\x8ab\xb6_\x84\xa6\x01\x82 \x16\x00A8\x80\x81!\x00H\x06\x10\r"\x00L\x03\x01\nB$\x03H\x04\x10\x18\x00\x80\x08\x04\x84\x08\x00"\x00\x00\x88\x00\x00\x90\x85\x03\x04\x00\x8c\x11\x00 \x00\x00\x84CF\x80\x02\x00\x00\x02\x00\x00\x00\x08\x80\x00\xd0\x04\x00\x00\x12\x00!\x00@\x18\x80\x00\x8a\x00@\x04\x00\x08\x82P"\x00@\x08\x00\x04\x00\x18\x01\x00\x00\x00\x08\x00\x00\x0c\x03j\xad\x97\xf4\x01\x00\x12\x00\xf0\x841\x00\xc0\x0c!\x18\x8a\x002\x10\x00\x01(\x90\r#\t@\x00\x04(T \x12\x01\x84"\xa1\x00@\x91\x02\x80\x00\x00\x04\x88\x00\x11\x00!\xa8\x08\x00\x08$\x00\x00\x04\x044\x00\x00\x84\x00\x80@\x06\x81\x08\x80F(\x80\x10\x01\x00\x92\x01"\x08\xc3\x10\x12\x01!\x12\x00\x84i\x18\xea\x00@$\x08\x00\x00\x80\x02\x10\x00H\x14\x01\x00\x02\x00$\x03\xa8\xb2\xfe\xa0\x00\x02B\x00\x0c!\x05@\x1...x0c\x00\x000\x80\x00\xa4\x02(\x00\x00\x00\x05\x00\x024\x88D\x01\x00\x10\x04\x00\x08@\x11\x00 $\x12\x80\x10\x00\x08\x921\x04\x08\x05@\x02\x01!\x1aD\x04)\x10\xea\x00\x00 #\x00\x90\x89#\x04\x00\x00\x04\x00 \x10\x10\xa0 \x80\x00\x86\xa0$\x00\x020\x04Q\x92\x11\x94\x04\x80\x08F\x01!\x08\x04\x00\x00\x80\x00\x08\x00\x00\x02@\x80\x00\x10\x00\x1e2\x80\xd4[O\xea\x02\x8a\xa3\x00 \x8e\x00\x06\xa0\x0c\x02\x0cL\x030\xc6\x81$\x00\x00\x00\x10\x19\x00\x90H\x00\x00I\x00\xa2\x00\x00\xa8\x00\x00\x90\x84\x01\x18@\x0cU\x01 \x10\x10$\x02B\x91\x06\x80\x04\x00\x02 \x00\x08\x920\xd4\x00\x80\x00\x00\x00!\x02D2\x80\x10\x8a\x02\x00$\x01\x00\x01\x10\x01\x01@\x08\x00\x84\x08\x08\x01\x80`\x88\x08\x00\x80\t\x02@\x00\x88\x05\x01\x00\x12\x00\x80HF\x90\x0c \xfa\x00\x90\x01\x00\xd2\x11@\x1c\x00\x05@\x00\xc9\x16\xd3\x84%\x00\xa1\x08\xca\x00\xc5\x94\x030\x85\x01\x15\x004\x08\x02\x030\x08\x08\x02!\x80\x00\x01\x00H\x00\x80I\x00\x11$`\x88\x08\x00\x10$\x00\x02\x00\x8ca\x01 @\x04\x80HD\x11\x0c\x80@\x08\x00\x00\x00\x00@ !@C\x00\x00\x00\x00\x1a\x04\x00H\x00\x8a\x02\x00\x00\x00\x00\x10\x89\x01\r@@`\x01 \x12\x01\x04b\x80\x11\x08 \x00@\x14\x04\x08\xc20\x80\x00\x00@B\x00\x01\x18\x06\x12\x00\x90\t\x00\x00\x00\x00\x00\x00\x00\x02') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _____________ test_zfp[float32-gray-bytearray-bytearray-mode0-omp] _____________ dtype = dtype('float32'), itype = 'gray', enout = 'bytearray' deout = 'bytearray', mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\xc7Ke\xfd\x88\x00\x01\xf0\x01\xc6\x01\x868\x07\x87\x00\x00\xe3H\x04\x1a@8\x12\x00\x80b\t\x80f\x18\xe9\x00\x00B\x10\x001 \x00\x00\x08\x08\x00\x08\x06\x01\x8e0\x0cq\x01\x00\x02\x01\x80HB\x00\x00 \x04\x00@\x80\x00\x08\x92\x01\xc0\x04\x80\x10\x00\x01\x01\x12@\x00\x80\x18\xe0\x02@\x00\x03\x00\xc0\x8d \x00@\x08\x00\x84 \x10\x01\x80\x02\x08\t\x00\x00 \x00\x02 \x00q\x00 \xd4\x04\x80\x00\x00\x90\x08 \x10\n \xe3\x8ab\xb6_\x84\xa6\x01\x82 \x16\x00A8\x80\x81!\x00H\x06\x10\r"\x00L\x03\x01\nB$\x03H\x04\x10\x18\x00\x80\x08\x04\x84\x08\x00"\x00\x00\x88\x00\x00\x90\x85\x03\x04\x00\x8c\x11\x00 \x00\x00\x84CF\x80\x02\x00\x00\x02\x00\x00\x00\x08\x80\x00\xd0\x04\x00\x00\x12\x00!\x00@\x18\x80\x00\x8a\x00@\x04\x00\x08\x82P"\x00@\x08\x00\x04\x00\x18\x01\x00\x00\x00\x08\x00\x00\x0c\x03j\xad\x97\xf4\x01\x00\x12\x00\xf0\x841\x00\xc0\x0c!\x18\x8a\x002\x10\x00\x01(\x90\r#\t@\x00\x04(T \x12\x01\x84"\xa1\x00@\x91\x02\x80\x00\x00\x04\x88\x00\x11\x00!\xa8\x08\x00\x08$\x00\x00\x04\x044\x00\x00\x84\x00\x80@\x06\x81\x08\x80F(\x80\x10\x01\x00\x92\x01"\x08\xc3\x10\x12\x01!\x12\x00\x84i\x18\xea\x00@$\x08\x00\x00\x80\x02\x10\x00H\x14\x01\x00\x02\x00$\x03\xa8\xb2\xfe\xa0\x00\x02B\x00\x0c!\x05@\x1...x0c\x00\x000\x80\x00\xa4\x02(\x00\x00\x00\x05\x00\x024\x88D\x01\x00\x10\x04\x00\x08@\x11\x00 $\x12\x80\x10\x00\x08\x921\x04\x08\x05@\x02\x01!\x1aD\x04)\x10\xea\x00\x00 #\x00\x90\x89#\x04\x00\x00\x04\x00 \x10\x10\xa0 \x80\x00\x86\xa0$\x00\x020\x04Q\x92\x11\x94\x04\x80\x08F\x01!\x08\x04\x00\x00\x80\x00\x08\x00\x00\x02@\x80\x00\x10\x00\x1e2\x80\xd4[O\xea\x02\x8a\xa3\x00 \x8e\x00\x06\xa0\x0c\x02\x0cL\x030\xc6\x81$\x00\x00\x00\x10\x19\x00\x90H\x00\x00I\x00\xa2\x00\x00\xa8\x00\x00\x90\x84\x01\x18@\x0cU\x01 \x10\x10$\x02B\x91\x06\x80\x04\x00\x02 \x00\x08\x920\xd4\x00\x80\x00\x00\x00!\x02D2\x80\x10\x8a\x02\x00$\x01\x00\x01\x10\x01\x01@\x08\x00\x84\x08\x08\x01\x80`\x88\x08\x00\x80\t\x02@\x00\x88\x05\x01\x00\x12\x00\x80HF\x90\x0c \xfa\x00\x90\x01\x00\xd2\x11@\x1c\x00\x05@\x00\xc9\x16\xd3\x84%\x00\xa1\x08\xca\x00\xc5\x94\x030\x85\x01\x15\x004\x08\x02\x030\x08\x08\x02!\x80\x00\x01\x00H\x00\x80I\x00\x11$`\x88\x08\x00\x10$\x00\x02\x00\x8ca\x01 @\x04\x80HD\x11\x0c\x80@\x08\x00\x00\x00\x00@ !@C\x00\x00\x00\x00\x1a\x04\x00H\x00\x8a\x02\x00\x00\x00\x00\x10\x89\x01\r@@`\x01 \x12\x01\x04b\x80\x11\x08 \x00@\x14\x04\x08\xc20\x80\x00\x00@B\x00\x01\x18\x06\x12\x00\x90\t\x00\x00\x00\x00\x00\x00\x00\x02') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ____________ test_zfp[float32-gray-bytearray-bytearray-mode1-None] _____________ dtype = dtype('float32'), itype = 'gray', enout = 'bytearray' deout = 'bytearray', mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf01`\xc7J\xcf\xf7\x87\xaf\x01\xc7f8\xe8\x1c\x01\xaeF \x98cH\x07\x11\xd2\x18\x08\x024\x8cu \x1a`\x11\x00P1\x94\x84\x00\x02\x00\x00\x00\x80 \x00*\x00\x11\x80! \x00\x80\x08@`\x00\x00\x10\x8c4 a\x08\x08\x00\x80\x08"\x11\x10\x085\x01\x00\x10\x11\x80H@\x81\x8e\x00$\x02\x00\x10\t\x08\xd0\x11\xd4\x00\x80\x00\x00\x01!\x08\x02\x12\x80\x18J\x02\x00 "H\x86\x80#\x1d@\x08\x04\x84\t\x00\x01\x80\x00\x08\x00\x00\x90\x00\x00@\x04\x80q\x01 \x10\x07\x1e>\xacV\x7f\xa0\x02\x020\x84a\x08b\x0c \x12\x04\x18\x98\x07\x00b\x84\x01\x18\xc2\x00\x04\x88U\x15@\x00\x02\x08@P\x0c!\x00FR\x00\x80\r#\xc0\x00\x04!\x10J@ P\x00\x00!\x08\x020\x80\x10@\x00\x00\x00"\x00D\r\x02\x11@\x08\x00\x84A\x00\x10\xa0\x02\x88\x08\x00\x00\x00\x02\x02 \x8cT\x00\x00D\x04\x00@\x00\x00\x0c\x80\x04 \x80\x80\t\x08\xd0\x01\x03H\x00\x10\x12\x00!\x00\x04\x80\x01\x00\xe2\x02\x00$\x00\x00\x00\x00\x00\x10\x00\x00T\x00\xe0(\x08U\x9f\xe0\x88E\xc20\x04\x03\x021i\x18B\x18\xc21T`\n\x002\x01\x80!\x89\x04\x89!\x1c\x00\x04\x84a\x08\x00\x10\x01\x04!!\x00\x10\x11\x06\xa0\x02@$\x88q\x08\x08\xc20\xd0\x80\x00B\x04\x00\x02\x14\x8cA\x01\x80\x90\x04\x00@\x04\x10\x82\x00\x06\x12\x80\x00\x08\x08\x820 H\x07P\x10\...\t\x00\x90\x85"\x02\x14\x0ct\x00 \x00\x11\x00@\x02\x80\x06\xa0 \x02\x80\x00\x08\x00\x80\x11T\x04A@\x12\x01!\x08\x068!\x18*\x00@$\x01\x08\x10\x05 \x1c\x00\x08\x04\x80\x00\x10\x10$\x02\xa0\x00\x00 \x04\x00@4\x0c%\x001\x94\x00\x00\x08B\x91\x02\x18@\x18\x00\x80\x01\x08\xd2 \x00H\x07\x00\x12\x00 \x85\xacRQg\xfa\x00\x00\x04p\x8c\x01\x00a\x86\n\x19L \x00A\x88R!\x02\x00\x10\x04\x02\x00\x80\x00#\t\x00\x00\x88!\x11L`\x10j\x02\x00\x02\x01\x04\x80\x89\x02\x19@H\x00\x00 \x02\x00\xa0\x01(\x00\x00\xa0\x04\x02B \x84Q\x011P\x04\x00HD\x01\x8a\n\x00(\x80\x90\x08\x08\x00$\x02\x00GP\x02\x01\x00\x08\x04\x00)\x10\xe2\x02\x00\x88\t\x00\x80\x89"\x01@\x08e\x01 \x00\x11\x80#\x02\x80\x02 \x04\x02\x00\x10\t\x00\x12\x01D\x04\x80H\x08!\tLY\xfe\x00\x00\x08"\x00@\x00\xc6\x00\x8f\x08\x80 \x10\x03\x08\x82P0\x0c\x02\x04\x02\x10\x00Q\n@\x04\x01\x00\x81P\x00\x01\x02\x04@\x00\x00`\x00\x00"@\x85P\x18\x00\x00H\x04\x84i\x10H\x00\x00\x08\t\x00\x90\x81!\x1d@\x80@\x00\x00\x12\x01 \x00\x06\x11\x08\x00 \x00\x020\x01\x00\xc0 P\x04\x00\x00\x10\x00\x01\x08\x04*\x00\x00j\x00@\x00 \x08BP\x02\x05\x00\x00\x04\x00@\x18\x10\x80A\x80\x01\x00\x90\r\x02@\x00\x80Q\x01\x00\x02\x00\x00\x00\x00\x80\x08\x00\x04\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _____________ test_zfp[float32-gray-bytearray-bytearray-mode1-omp] _____________ dtype = dtype('float32'), itype = 'gray', enout = 'bytearray' deout = 'bytearray', mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf01`\xc7J\xcf\xf7\x87\xaf\x01\xc7f8\xe8\x1c\x01\xaeF \x98cH\x07\x11\xd2\x18\x08\x024\x8cu \x1a`\x11\x00P1\x94\x84\x00\x02\x00\x00\x00\x80 \x00*\x00\x11\x80! \x00\x80\x08@`\x00\x00\x10\x8c4 a\x08\x08\x00\x80\x08"\x11\x10\x085\x01\x00\x10\x11\x80H@\x81\x8e\x00$\x02\x00\x10\t\x08\xd0\x11\xd4\x00\x80\x00\x00\x01!\x08\x02\x12\x80\x18J\x02\x00 "H\x86\x80#\x1d@\x08\x04\x84\t\x00\x01\x80\x00\x08\x00\x00\x90\x00\x00@\x04\x80q\x01 \x10\x07\x1e>\xacV\x7f\xa0\x02\x020\x84a\x08b\x0c \x12\x04\x18\x98\x07\x00b\x84\x01\x18\xc2\x00\x04\x88U\x15@\x00\x02\x08@P\x0c!\x00FR\x00\x80\r#\xc0\x00\x04!\x10J@ P\x00\x00!\x08\x020\x80\x10@\x00\x00\x00"\x00D\r\x02\x11@\x08\x00\x84A\x00\x10\xa0\x02\x88\x08\x00\x00\x00\x02\x02 \x8cT\x00\x00D\x04\x00@\x00\x00\x0c\x80\x04 \x80\x80\t\x08\xd0\x01\x03H\x00\x10\x12\x00!\x00\x04\x80\x01\x00\xe2\x02\x00$\x00\x00\x00\x00\x00\x10\x00\x00T\x00\xe0(\x08U\x9f\xe0\x88E\xc20\x04\x03\x021i\x18B\x18\xc21T`\n\x002\x01\x80!\x89\x04\x89!\x1c\x00\x04\x84a\x08\x00\x10\x01\x04!!\x00\x10\x11\x06\xa0\x02@$\x88q\x08\x08\xc20\xd0\x80\x00B\x04\x00\x02\x14\x8cA\x01\x80\x90\x04\x00@\x04\x10\x82\x00\x06\x12\x80\x00\x08\x08\x820 H\x07P\x10\...\t\x00\x90\x85"\x02\x14\x0ct\x00 \x00\x11\x00@\x02\x80\x06\xa0 \x02\x80\x00\x08\x00\x80\x11T\x04A@\x12\x01!\x08\x068!\x18*\x00@$\x01\x08\x10\x05 \x1c\x00\x08\x04\x80\x00\x10\x10$\x02\xa0\x00\x00 \x04\x00@4\x0c%\x001\x94\x00\x00\x08B\x91\x02\x18@\x18\x00\x80\x01\x08\xd2 \x00H\x07\x00\x12\x00 \x85\xacRQg\xfa\x00\x00\x04p\x8c\x01\x00a\x86\n\x19L \x00A\x88R!\x02\x00\x10\x04\x02\x00\x80\x00#\t\x00\x00\x88!\x11L`\x10j\x02\x00\x02\x01\x04\x80\x89\x02\x19@H\x00\x00 \x02\x00\xa0\x01(\x00\x00\xa0\x04\x02B \x84Q\x011P\x04\x00HD\x01\x8a\n\x00(\x80\x90\x08\x08\x00$\x02\x00GP\x02\x01\x00\x08\x04\x00)\x10\xe2\x02\x00\x88\t\x00\x80\x89"\x01@\x08e\x01 \x00\x11\x80#\x02\x80\x02 \x04\x02\x00\x10\t\x00\x12\x01D\x04\x80H\x08!\tLY\xfe\x00\x00\x08"\x00@\x00\xc6\x00\x8f\x08\x80 \x10\x03\x08\x82P0\x0c\x02\x04\x02\x10\x00Q\n@\x04\x01\x00\x81P\x00\x01\x02\x04@\x00\x00`\x00\x00"@\x85P\x18\x00\x00H\x04\x84i\x10H\x00\x00\x08\t\x00\x90\x81!\x1d@\x80@\x00\x00\x12\x01 \x00\x06\x11\x08\x00 \x00\x020\x01\x00\xc0 P\x04\x00\x00\x10\x00\x01\x08\x04*\x00\x00j\x00@\x00 \x08BP\x02\x05\x00\x00\x04\x00@\x18\x10\x80A\x80\x01\x00\x90\r\x02@\x00\x80Q\x01\x00\x02\x00\x00\x00\x00\x80\x08\x00\x04\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError __________________ test_zfp[float32-line-new-new-mode0-None] ___________________ dtype = dtype('float32'), itype = 'line', enout = 'new', deout = 'new' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\x11Ka\xfd\x88\x00\x00\x00\x00\x00D\x01\x04@\x180\x04\x00\x04@\x00\x04\x00\x04\x00@\x10D\x00\x04@\x10\x00D\x00\x00@\x10D\x00\x01\x04@\x10\x00\x00\x00\x00\x00\x00D\x00\x00@\x00\x04"\x00\xc0\x10\x1a+a\xfd\x80 \x08\x08\x00\x00\x80\x08\x00\x02\x00\x00 \x08 \x00\x00\x02 \x08 \x00\x02 \x00\x00*\x00\x02\x00\x08"\x00\x00\x80\x80\x00\x08\x00\x02\x01\x04-U\xb2\xfe\xa0\x00\x80\x80\x00\n\x00\x82 \x08\x00*\x00\x82\xa0\x08\n\x00\x00\x82\x80\x08(\x00\x02\x80\x00\x08 \x00\x00 \x00\x08(\x00\x00 \x08(\x00\x82U[/\xe8\x00\x82\x80\x00\x00\x80\xa0\x0c\x04\x04A\xaa \x08\x02\x00\x02\x00\x08 *\x00\x00 \x08\x02\x00\x80\x82\x00\x08"\x00\x82\xa0\x08\x00(\x00\x82\xa0\x08\x00\x00J\x85[/\xea\x00\x00 \x05\x00\x00\x04\x01\x01@\x00\x10D\x01\x04\x00\x00D\x00\x01\x00@\x10T\x01\x01@\x00\x00D\x00\x01@\x10T\x04\x00\x00@\x00\x00\x01\x04\xf9@\x10\x14\x00\x05@\x00\x10\x00\n\x80 \xd5\x83e\x00\x00\x00\x10T\x01\x01@\x00\x10P\x00\x04@\x00\x14T\x00\x05@\x10\x04\x00\x05\x05\x00\x10\x10\x01\x05\x00\x00\x10\x00\x01\x04\x00\x10P\x01\x14\x80\xb6\x9f\xd4\x01\x01@\x00P\x04\x11\x00`\x080\x00\x10\x00A\x10\x00\x00\x00\x00AP\x04\x11\x00@\x00\x00\x04\x14\x00A\x10\x00\x14\x11\x00\x01\x00\x00\x05\x00\x01\x04-\x97\xf5\x00\x01\x10\x00\x00\x00\x00\x11\x00\x01P\x00\x04\x10\x00@\x00\x04\x11\x00\x00\x00P\x00\x15\x00\x01\x10\x00\x04\x01\x00\x01P\x00\x11\x04\x00A\x00\x04\x04\x00A\x01\x10\x00\x10\x00@P\x00\x00\x01\x00@@\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[float32-line-new-new-mode0-omp] ___________________ dtype = dtype('float32'), itype = 'line', enout = 'new', deout = 'new' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\x11Ka\xfd\x88\x00\x00\x00\x00\x00D\x01\x04@\x180\x04\x00\x04@\x00\x04\x00\x04\x00@\x10D\x00\x04@\x10\x00D\x00\x00@\x10D\x00\x01\x04@\x10\x00\x00\x00\x00\x00\x00D\x00\x00@\x00\x04"\x00\xc0\x10\x1a+a\xfd\x80 \x08\x08\x00\x00\x80\x08\x00\x02\x00\x00 \x08 \x00\x00\x02 \x08 \x00\x02 \x00\x00*\x00\x02\x00\x08"\x00\x00\x80\x80\x00\x08\x00\x02\x01\x04-U\xb2\xfe\xa0\x00\x80\x80\x00\n\x00\x82 \x08\x00*\x00\x82\xa0\x08\n\x00\x00\x82\x80\x08(\x00\x02\x80\x00\x08 \x00\x00 \x00\x08(\x00\x00 \x08(\x00\x82U[/\xe8\x00\x82\x80\x00\x00\x80\xa0\x0c\x04\x04A\xaa \x08\x02\x00\x02\x00\x08 *\x00\x00 \x08\x02\x00\x80\x82\x00\x08"\x00\x82\xa0\x08\x00(\x00\x82\xa0\x08\x00\x00J\x85[/\xea\x00\x00 \x05\x00\x00\x04\x01\x01@\x00\x10D\x01\x04\x00\x00D\x00\x01\x00@\x10T\x01\x01@\x00\x00D\x00\x01@\x10T\x04\x00\x00@\x00\x00\x01\x04\xf9@\x10\x14\x00\x05@\x00\x10\x00\n\x80 \xd5\x83e\x00\x00\x00\x10T\x01\x01@\x00\x10P\x00\x04@\x00\x14T\x00\x05@\x10\x04\x00\x05\x05\x00\x10\x10\x01\x05\x00\x00\x10\x00\x01\x04\x00\x10P\x01\x14\x80\xb6\x9f\xd4\x01\x01@\x00P\x04\x11\x00`\x080\x00\x10\x00A\x10\x00\x00\x00\x00AP\x04\x11\x00@\x00\x00\x04\x14\x00A\x10\x00\x14\x11\x00\x01\x00\x00\x05\x00\x01\x04-\x97\xf5\x00\x01\x10\x00\x00\x00\x00\x11\x00\x01P\x00\x04\x10\x00@\x00\x04\x11\x00\x00\x00P\x00\x15\x00\x01\x10\x00\x04\x01\x00\x01P\x00\x11\x04\x00A\x00\x04\x04\x00A\x01\x10\x00\x10\x00@P\x00\x00\x01\x00@@\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError __________________ test_zfp[float32-line-new-new-mode1-None] ___________________ dtype = dtype('float32'), itype = 'line', enout = 'new', deout = 'new' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00\x885\x11j\xcf\xf7\x87\xaf\x15\x00\x00\x10\x04\x00\x80 @\x10\x04\x04\x00AP\x04\x00\x00\x00\x01P\x04\x10\x00\x00@\x10\x00\x10\x00A\x10\x10\x00\x00\x00@\x00\x04\x10\x00\x00\x01\x10\x00\x00\x00@\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x82\x11B\xb3\xfc\x00\x04\x00\x00\x14\x01\x05@\x18\x00\x14\x01\x01@\x00T\x01\x01\x04@\x00\x10\x00\x01@@\x10D\x01\x00\x00\x00\x10@\x01\x00\x00\x00\x04\x00\x05\x04@\x00D\x01\x05\x00\x10\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00 \xd5\x82\xac\xff\x00AP\x00\x11\x00`\x08\n\x04\x01\x00\x00@\x04\x01\x00\x00A@\x04\x04\x00A@\x00\x00\x10\x00\x01P\x04\x01\x00\x00AP\x00\x15\x00A\x00\x00\x00\x00\x00\x00\x00\x00\x04\n\xab?\xc0\x00\x00\x00\x80 \x08\x02\x05A@T\x88\x00\x08\x80\x00\xa0\x00\x08\x02\x00\x00\xa8\x02\x02\x00 \x08\x02\n\x00\x00\xa8\x00\x00\n\x80\x00\xa8\x00\x02\x00\x00\x00\x88\x00\x00\x00 \xa0\xb0Y\xfe\x00\x00\x00\x00\x00\x82 \x0c\x05\x00A*\xa8\x00\n\x00\x00 \x08*\x00\x00\x02\xa0\x00 \x00\x02\xa0 \x08\x08\x00\x80\xa0\x00(\x02\x00\x02 \x08\x00\x00\x82\x00\x00\x08\n\x00\x82\x80\x08\x00\x00\x00\x00\x00\x00"\x00\x00\x02\x82\xa05\x06~\x80\x00\x00P\x04\x02\x02\x00\x00@\x00\x15\x00A\x00\x04\x00\x10\x00AP\x00\x05\x00\x00@\x00\x04\x14\x00@P\x04\x04\x04\x00A\x00\x04\x04\x00\x00\x01\x10\x00\x00\x00A@\x00\xb3\xfc\x00\x00\x00\x00\x00\x08\x80 \xa8"\t\x14E@P\x00\x01\x00\x01P\x04\x00\x10\x00\x01\x00\x00\x00\x00\x00@P\x04\x15\x00\x01P\x10\x04\x15\x00A\x10\x04\x00\x11\x00\x00\x00\x04\x05\x00\x00\x06 \xb3\xfc\x00\x00\x00\x00\x80\x00\xa8\x00\x00\x80 \x04 \x00\x02\x00 \x00\x00\n\x02\x80 \x80\x00\x00\x80 \x00\x02\x08\x80 \x00\x00\x00\x02\x80\x00\x00\x00\x02\x00\x00\x00\x08\x02\x08\x80\x00\xa8\x00\x00\x08\x80\x00\x88\x02\n\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[float32-line-new-new-mode1-omp] ___________________ dtype = dtype('float32'), itype = 'line', enout = 'new', deout = 'new' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00\x885\x11j\xcf\xf7\x87\xaf\x15\x00\x00\x10\x04\x00\x80 @\x10\x04\x04\x00AP\x04\x00\x00\x00\x01P\x04\x10\x00\x00@\x10\x00\x10\x00A\x10\x10\x00\x00\x00@\x00\x04\x10\x00\x00\x01\x10\x00\x00\x00@\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x82\x11B\xb3\xfc\x00\x04\x00\x00\x14\x01\x05@\x18\x00\x14\x01\x01@\x00T\x01\x01\x04@\x00\x10\x00\x01@@\x10D\x01\x00\x00\x00\x10@\x01\x00\x00\x00\x04\x00\x05\x04@\x00D\x01\x05\x00\x10\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00 \xd5\x82\xac\xff\x00AP\x00\x11\x00`\x08\n\x04\x01\x00\x00@\x04\x01\x00\x00A@\x04\x04\x00A@\x00\x00\x10\x00\x01P\x04\x01\x00\x00AP\x00\x15\x00A\x00\x00\x00\x00\x00\x00\x00\x00\x04\n\xab?\xc0\x00\x00\x00\x80 \x08\x02\x05A@T\x88\x00\x08\x80\x00\xa0\x00\x08\x02\x00\x00\xa8\x02\x02\x00 \x08\x02\n\x00\x00\xa8\x00\x00\n\x80\x00\xa8\x00\x02\x00\x00\x00\x88\x00\x00\x00 \xa0\xb0Y\xfe\x00\x00\x00\x00\x00\x82 \x0c\x05\x00A*\xa8\x00\n\x00\x00 \x08*\x00\x00\x02\xa0\x00 \x00\x02\xa0 \x08\x08\x00\x80\xa0\x00(\x02\x00\x02 \x08\x00\x00\x82\x00\x00\x08\n\x00\x82\x80\x08\x00\x00\x00\x00\x00\x00"\x00\x00\x02\x82\xa05\x06~\x80\x00\x00P\x04\x02\x02\x00\x00@\x00\x15\x00A\x00\x04\x00\x10\x00AP\x00\x05\x00\x00@\x00\x04\x14\x00@P\x04\x04\x04\x00A\x00\x04\x04\x00\x00\x01\x10\x00\x00\x00A@\x00\xb3\xfc\x00\x00\x00\x00\x00\x08\x80 \xa8"\t\x14E@P\x00\x01\x00\x01P\x04\x00\x10\x00\x01\x00\x00\x00\x00\x00@P\x04\x15\x00\x01P\x10\x04\x15\x00A\x10\x04\x00\x11\x00\x00\x00\x04\x05\x00\x00\x06 \xb3\xfc\x00\x00\x00\x00\x80\x00\xa8\x00\x00\x80 \x04 \x00\x02\x00 \x00\x00\n\x02\x80 \x80\x00\x00\x80 \x00\x02\x08\x80 \x00\x00\x00\x02\x80\x00\x00\x00\x02\x00\x00\x00\x08\x02\x08\x80\x00\xa8\x00\x00\x08\x80\x00\x88\x02\n\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError __________________ test_zfp[float32-line-new-out-mode0-None] ___________________ dtype = dtype('float32'), itype = 'line', enout = 'new', deout = 'out' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\x11Ka\xfd\x88\x00\x00\x00\x00\x00D\x01\x04@\x180\x04\x00\x04@\x00\x04\x00\x04\x00@\x10D\x00\x04@\x10\x00D\x00\x00@\x10D\x00\x01\x04@\x10\x00\x00\x00\x00\x00\x00D\x00\x00@\x00\x04"\x00\xc0\x10\x1a+a\xfd\x80 \x08\x08\x00\x00\x80\x08\x00\x02\x00\x00 \x08 \x00\x00\x02 \x08 \x00\x02 \x00\x00*\x00\x02\x00\x08"\x00\x00\x80\x80\x00\x08\x00\x02\x01\x04-U\xb2\xfe\xa0\x00\x80\x80\x00\n\x00\x82 \x08\x00*\x00\x82\xa0\x08\n\x00\x00\x82\x80\x08(\x00\x02\x80\x00\x08 \x00\x00 \x00\x08(\x00\x00 \x08(\x00\x82U[/\xe8\x00\x82\x80\x00\x00\x80\xa0\x0c\x04\x04A\xaa \x08\x02\x00\x02\x00\x08 *\x00\x00 \x08\x02\x00\x80\x82\x00\x08"\x00\x82\xa0\x08\x00(\x00\x82\xa0\x08\x00\x00J\x85[/\xea\x00\x00 \x05\x00\x00\x04\x01\x01@\x00\x10D\x01\x04\x00\x00D\x00\x01\x00@\x10T\x01\x01@\x00\x00D\x00\x01@\x10T\x04\x00\x00@\x00\x00\x01\x04\xf9@\x10\x14\x00\x05@\x00\x10\x00\n\x80 \xd5\x83e\x00\x00\x00\x10T\x01\x01@\x00\x10P\x00\x04@\x00\x14T\x00\x05@\x10\x04\x00\x05\x05\x00\x10\x10\x01\x05\x00\x00\x10\x00\x01\x04\x00\x10P\x01\x14\x80\xb6\x9f\xd4\x01\x01@\x00P\x04\x11\x00`\x080\x00\x10\x00A\x10\x00\x00\x00\x00AP\x04\x11\x00@\x00\x00\x04\x14\x00A\x10\x00\x14\x11\x00\x01\x00\x00\x05\x00\x01\x04-\x97\xf5\x00\x01\x10\x00\x00\x00\x00\x11\x00\x01P\x00\x04\x10\x00@\x00\x04\x11\x00\x00\x00P\x00\x15\x00\x01\x10\x00\x04\x01\x00\x01P\x00\x11\x04\x00A\x00\x04\x04\x00A\x01\x10\x00\x10\x00@P\x00\x00\x01\x00@@\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[float32-line-new-out-mode0-omp] ___________________ dtype = dtype('float32'), itype = 'line', enout = 'new', deout = 'out' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\x11Ka\xfd\x88\x00\x00\x00\x00\x00D\x01\x04@\x180\x04\x00\x04@\x00\x04\x00\x04\x00@\x10D\x00\x04@\x10\x00D\x00\x00@\x10D\x00\x01\x04@\x10\x00\x00\x00\x00\x00\x00D\x00\x00@\x00\x04"\x00\xc0\x10\x1a+a\xfd\x80 \x08\x08\x00\x00\x80\x08\x00\x02\x00\x00 \x08 \x00\x00\x02 \x08 \x00\x02 \x00\x00*\x00\x02\x00\x08"\x00\x00\x80\x80\x00\x08\x00\x02\x01\x04-U\xb2\xfe\xa0\x00\x80\x80\x00\n\x00\x82 \x08\x00*\x00\x82\xa0\x08\n\x00\x00\x82\x80\x08(\x00\x02\x80\x00\x08 \x00\x00 \x00\x08(\x00\x00 \x08(\x00\x82U[/\xe8\x00\x82\x80\x00\x00\x80\xa0\x0c\x04\x04A\xaa \x08\x02\x00\x02\x00\x08 *\x00\x00 \x08\x02\x00\x80\x82\x00\x08"\x00\x82\xa0\x08\x00(\x00\x82\xa0\x08\x00\x00J\x85[/\xea\x00\x00 \x05\x00\x00\x04\x01\x01@\x00\x10D\x01\x04\x00\x00D\x00\x01\x00@\x10T\x01\x01@\x00\x00D\x00\x01@\x10T\x04\x00\x00@\x00\x00\x01\x04\xf9@\x10\x14\x00\x05@\x00\x10\x00\n\x80 \xd5\x83e\x00\x00\x00\x10T\x01\x01@\x00\x10P\x00\x04@\x00\x14T\x00\x05@\x10\x04\x00\x05\x05\x00\x10\x10\x01\x05\x00\x00\x10\x00\x01\x04\x00\x10P\x01\x14\x80\xb6\x9f\xd4\x01\x01@\x00P\x04\x11\x00`\x080\x00\x10\x00A\x10\x00\x00\x00\x00AP\x04\x11\x00@\x00\x00\x04\x14\x00A\x10\x00\x14\x11\x00\x01\x00\x00\x05\x00\x01\x04-\x97\xf5\x00\x01\x10\x00\x00\x00\x00\x11\x00\x01P\x00\x04\x10\x00@\x00\x04\x11\x00\x00\x00P\x00\x15\x00\x01\x10\x00\x04\x01\x00\x01P\x00\x11\x04\x00A\x00\x04\x04\x00A\x01\x10\x00\x10\x00@P\x00\x00\x01\x00@@\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError __________________ test_zfp[float32-line-new-out-mode1-None] ___________________ dtype = dtype('float32'), itype = 'line', enout = 'new', deout = 'out' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00\x885\x11j\xcf\xf7\x87\xaf\x15\x00\x00\x10\x04\x00\x80 @\x10\x04\x04\x00AP\x04\x00\x00\x00\x01P\x04\x10\x00\x00@\x10\x00\x10\x00A\x10\x10\x00\x00\x00@\x00\x04\x10\x00\x00\x01\x10\x00\x00\x00@\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x82\x11B\xb3\xfc\x00\x04\x00\x00\x14\x01\x05@\x18\x00\x14\x01\x01@\x00T\x01\x01\x04@\x00\x10\x00\x01@@\x10D\x01\x00\x00\x00\x10@\x01\x00\x00\x00\x04\x00\x05\x04@\x00D\x01\x05\x00\x10\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00 \xd5\x82\xac\xff\x00AP\x00\x11\x00`\x08\n\x04\x01\x00\x00@\x04\x01\x00\x00A@\x04\x04\x00A@\x00\x00\x10\x00\x01P\x04\x01\x00\x00AP\x00\x15\x00A\x00\x00\x00\x00\x00\x00\x00\x00\x04\n\xab?\xc0\x00\x00\x00\x80 \x08\x02\x05A@T\x88\x00\x08\x80\x00\xa0\x00\x08\x02\x00\x00\xa8\x02\x02\x00 \x08\x02\n\x00\x00\xa8\x00\x00\n\x80\x00\xa8\x00\x02\x00\x00\x00\x88\x00\x00\x00 \xa0\xb0Y\xfe\x00\x00\x00\x00\x00\x82 \x0c\x05\x00A*\xa8\x00\n\x00\x00 \x08*\x00\x00\x02\xa0\x00 \x00\x02\xa0 \x08\x08\x00\x80\xa0\x00(\x02\x00\x02 \x08\x00\x00\x82\x00\x00\x08\n\x00\x82\x80\x08\x00\x00\x00\x00\x00\x00"\x00\x00\x02\x82\xa05\x06~\x80\x00\x00P\x04\x02\x02\x00\x00@\x00\x15\x00A\x00\x04\x00\x10\x00AP\x00\x05\x00\x00@\x00\x04\x14\x00@P\x04\x04\x04\x00A\x00\x04\x04\x00\x00\x01\x10\x00\x00\x00A@\x00\xb3\xfc\x00\x00\x00\x00\x00\x08\x80 \xa8"\t\x14E@P\x00\x01\x00\x01P\x04\x00\x10\x00\x01\x00\x00\x00\x00\x00@P\x04\x15\x00\x01P\x10\x04\x15\x00A\x10\x04\x00\x11\x00\x00\x00\x04\x05\x00\x00\x06 \xb3\xfc\x00\x00\x00\x00\x80\x00\xa8\x00\x00\x80 \x04 \x00\x02\x00 \x00\x00\n\x02\x80 \x80\x00\x00\x80 \x00\x02\x08\x80 \x00\x00\x00\x02\x80\x00\x00\x00\x02\x00\x00\x00\x08\x02\x08\x80\x00\xa8\x00\x00\x08\x80\x00\x88\x02\n\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[float32-line-new-out-mode1-omp] ___________________ dtype = dtype('float32'), itype = 'line', enout = 'new', deout = 'out' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00\x885\x11j\xcf\xf7\x87\xaf\x15\x00\x00\x10\x04\x00\x80 @\x10\x04\x04\x00AP\x04\x00\x00\x00\x01P\x04\x10\x00\x00@\x10\x00\x10\x00A\x10\x10\x00\x00\x00@\x00\x04\x10\x00\x00\x01\x10\x00\x00\x00@\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x82\x11B\xb3\xfc\x00\x04\x00\x00\x14\x01\x05@\x18\x00\x14\x01\x01@\x00T\x01\x01\x04@\x00\x10\x00\x01@@\x10D\x01\x00\x00\x00\x10@\x01\x00\x00\x00\x04\x00\x05\x04@\x00D\x01\x05\x00\x10\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00 \xd5\x82\xac\xff\x00AP\x00\x11\x00`\x08\n\x04\x01\x00\x00@\x04\x01\x00\x00A@\x04\x04\x00A@\x00\x00\x10\x00\x01P\x04\x01\x00\x00AP\x00\x15\x00A\x00\x00\x00\x00\x00\x00\x00\x00\x04\n\xab?\xc0\x00\x00\x00\x80 \x08\x02\x05A@T\x88\x00\x08\x80\x00\xa0\x00\x08\x02\x00\x00\xa8\x02\x02\x00 \x08\x02\n\x00\x00\xa8\x00\x00\n\x80\x00\xa8\x00\x02\x00\x00\x00\x88\x00\x00\x00 \xa0\xb0Y\xfe\x00\x00\x00\x00\x00\x82 \x0c\x05\x00A*\xa8\x00\n\x00\x00 \x08*\x00\x00\x02\xa0\x00 \x00\x02\xa0 \x08\x08\x00\x80\xa0\x00(\x02\x00\x02 \x08\x00\x00\x82\x00\x00\x08\n\x00\x82\x80\x08\x00\x00\x00\x00\x00\x00"\x00\x00\x02\x82\xa05\x06~\x80\x00\x00P\x04\x02\x02\x00\x00@\x00\x15\x00A\x00\x04\x00\x10\x00AP\x00\x05\x00\x00@\x00\x04\x14\x00@P\x04\x04\x04\x00A\x00\x04\x04\x00\x00\x01\x10\x00\x00\x00A@\x00\xb3\xfc\x00\x00\x00\x00\x00\x08\x80 \xa8"\t\x14E@P\x00\x01\x00\x01P\x04\x00\x10\x00\x01\x00\x00\x00\x00\x00@P\x04\x15\x00\x01P\x10\x04\x15\x00A\x10\x04\x00\x11\x00\x00\x00\x04\x05\x00\x00\x06 \xb3\xfc\x00\x00\x00\x00\x80\x00\xa8\x00\x00\x80 \x04 \x00\x02\x00 \x00\x00\n\x02\x80 \x80\x00\x00\x80 \x00\x02\x08\x80 \x00\x00\x00\x02\x80\x00\x00\x00\x02\x00\x00\x00\x08\x02\x08\x80\x00\xa8\x00\x00\x08\x80\x00\x88\x02\n\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _______________ test_zfp[float32-line-new-bytearray-mode0-None] ________________ dtype = dtype('float32'), itype = 'line', enout = 'new', deout = 'bytearray' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\x11Ka\xfd\x88\x00\x00\x00\x00\x00D\x01\x04@\x180\x04\x00\x04@\x00\x04\x00\x04\x00@\x10D\x00\x04@\x10\x00D\x00\x00@\x10D\x00\x01\x04@\x10\x00\x00\x00\x00\x00\x00D\x00\x00@\x00\x04"\x00\xc0\x10\x1a+a\xfd\x80 \x08\x08\x00\x00\x80\x08\x00\x02\x00\x00 \x08 \x00\x00\x02 \x08 \x00\x02 \x00\x00*\x00\x02\x00\x08"\x00\x00\x80\x80\x00\x08\x00\x02\x01\x04-U\xb2\xfe\xa0\x00\x80\x80\x00\n\x00\x82 \x08\x00*\x00\x82\xa0\x08\n\x00\x00\x82\x80\x08(\x00\x02\x80\x00\x08 \x00\x00 \x00\x08(\x00\x00 \x08(\x00\x82U[/\xe8\x00\x82\x80\x00\x00\x80\xa0\x0c\x04\x04A\xaa \x08\x02\x00\x02\x00\x08 *\x00\x00 \x08\x02\x00\x80\x82\x00\x08"\x00\x82\xa0\x08\x00(\x00\x82\xa0\x08\x00\x00J\x85[/\xea\x00\x00 \x05\x00\x00\x04\x01\x01@\x00\x10D\x01\x04\x00\x00D\x00\x01\x00@\x10T\x01\x01@\x00\x00D\x00\x01@\x10T\x04\x00\x00@\x00\x00\x01\x04\xf9@\x10\x14\x00\x05@\x00\x10\x00\n\x80 \xd5\x83e\x00\x00\x00\x10T\x01\x01@\x00\x10P\x00\x04@\x00\x14T\x00\x05@\x10\x04\x00\x05\x05\x00\x10\x10\x01\x05\x00\x00\x10\x00\x01\x04\x00\x10P\x01\x14\x80\xb6\x9f\xd4\x01\x01@\x00P\x04\x11\x00`\x080\x00\x10\x00A\x10\x00\x00\x00\x00AP\x04\x11\x00@\x00\x00\x04\x14\x00A\x10\x00\x14\x11\x00\x01\x00\x00\x05\x00\x01\x04-\x97\xf5\x00\x01\x10\x00\x00\x00\x00\x11\x00\x01P\x00\x04\x10\x00@\x00\x04\x11\x00\x00\x00P\x00\x15\x00\x01\x10\x00\x04\x01\x00\x01P\x00\x11\x04\x00A\x00\x04\x04\x00A\x01\x10\x00\x10\x00@P\x00\x00\x01\x00@@\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[float32-line-new-bytearray-mode0-omp] ________________ dtype = dtype('float32'), itype = 'line', enout = 'new', deout = 'bytearray' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\x11Ka\xfd\x88\x00\x00\x00\x00\x00D\x01\x04@\x180\x04\x00\x04@\x00\x04\x00\x04\x00@\x10D\x00\x04@\x10\x00D\x00\x00@\x10D\x00\x01\x04@\x10\x00\x00\x00\x00\x00\x00D\x00\x00@\x00\x04"\x00\xc0\x10\x1a+a\xfd\x80 \x08\x08\x00\x00\x80\x08\x00\x02\x00\x00 \x08 \x00\x00\x02 \x08 \x00\x02 \x00\x00*\x00\x02\x00\x08"\x00\x00\x80\x80\x00\x08\x00\x02\x01\x04-U\xb2\xfe\xa0\x00\x80\x80\x00\n\x00\x82 \x08\x00*\x00\x82\xa0\x08\n\x00\x00\x82\x80\x08(\x00\x02\x80\x00\x08 \x00\x00 \x00\x08(\x00\x00 \x08(\x00\x82U[/\xe8\x00\x82\x80\x00\x00\x80\xa0\x0c\x04\x04A\xaa \x08\x02\x00\x02\x00\x08 *\x00\x00 \x08\x02\x00\x80\x82\x00\x08"\x00\x82\xa0\x08\x00(\x00\x82\xa0\x08\x00\x00J\x85[/\xea\x00\x00 \x05\x00\x00\x04\x01\x01@\x00\x10D\x01\x04\x00\x00D\x00\x01\x00@\x10T\x01\x01@\x00\x00D\x00\x01@\x10T\x04\x00\x00@\x00\x00\x01\x04\xf9@\x10\x14\x00\x05@\x00\x10\x00\n\x80 \xd5\x83e\x00\x00\x00\x10T\x01\x01@\x00\x10P\x00\x04@\x00\x14T\x00\x05@\x10\x04\x00\x05\x05\x00\x10\x10\x01\x05\x00\x00\x10\x00\x01\x04\x00\x10P\x01\x14\x80\xb6\x9f\xd4\x01\x01@\x00P\x04\x11\x00`\x080\x00\x10\x00A\x10\x00\x00\x00\x00AP\x04\x11\x00@\x00\x00\x04\x14\x00A\x10\x00\x14\x11\x00\x01\x00\x00\x05\x00\x01\x04-\x97\xf5\x00\x01\x10\x00\x00\x00\x00\x11\x00\x01P\x00\x04\x10\x00@\x00\x04\x11\x00\x00\x00P\x00\x15\x00\x01\x10\x00\x04\x01\x00\x01P\x00\x11\x04\x00A\x00\x04\x04\x00A\x01\x10\x00\x10\x00@P\x00\x00\x01\x00@@\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _______________ test_zfp[float32-line-new-bytearray-mode1-None] ________________ dtype = dtype('float32'), itype = 'line', enout = 'new', deout = 'bytearray' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00\x885\x11j\xcf\xf7\x87\xaf\x15\x00\x00\x10\x04\x00\x80 @\x10\x04\x04\x00AP\x04\x00\x00\x00\x01P\x04\x10\x00\x00@\x10\x00\x10\x00A\x10\x10\x00\x00\x00@\x00\x04\x10\x00\x00\x01\x10\x00\x00\x00@\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x82\x11B\xb3\xfc\x00\x04\x00\x00\x14\x01\x05@\x18\x00\x14\x01\x01@\x00T\x01\x01\x04@\x00\x10\x00\x01@@\x10D\x01\x00\x00\x00\x10@\x01\x00\x00\x00\x04\x00\x05\x04@\x00D\x01\x05\x00\x10\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00 \xd5\x82\xac\xff\x00AP\x00\x11\x00`\x08\n\x04\x01\x00\x00@\x04\x01\x00\x00A@\x04\x04\x00A@\x00\x00\x10\x00\x01P\x04\x01\x00\x00AP\x00\x15\x00A\x00\x00\x00\x00\x00\x00\x00\x00\x04\n\xab?\xc0\x00\x00\x00\x80 \x08\x02\x05A@T\x88\x00\x08\x80\x00\xa0\x00\x08\x02\x00\x00\xa8\x02\x02\x00 \x08\x02\n\x00\x00\xa8\x00\x00\n\x80\x00\xa8\x00\x02\x00\x00\x00\x88\x00\x00\x00 \xa0\xb0Y\xfe\x00\x00\x00\x00\x00\x82 \x0c\x05\x00A*\xa8\x00\n\x00\x00 \x08*\x00\x00\x02\xa0\x00 \x00\x02\xa0 \x08\x08\x00\x80\xa0\x00(\x02\x00\x02 \x08\x00\x00\x82\x00\x00\x08\n\x00\x82\x80\x08\x00\x00\x00\x00\x00\x00"\x00\x00\x02\x82\xa05\x06~\x80\x00\x00P\x04\x02\x02\x00\x00@\x00\x15\x00A\x00\x04\x00\x10\x00AP\x00\x05\x00\x00@\x00\x04\x14\x00@P\x04\x04\x04\x00A\x00\x04\x04\x00\x00\x01\x10\x00\x00\x00A@\x00\xb3\xfc\x00\x00\x00\x00\x00\x08\x80 \xa8"\t\x14E@P\x00\x01\x00\x01P\x04\x00\x10\x00\x01\x00\x00\x00\x00\x00@P\x04\x15\x00\x01P\x10\x04\x15\x00A\x10\x04\x00\x11\x00\x00\x00\x04\x05\x00\x00\x06 \xb3\xfc\x00\x00\x00\x00\x80\x00\xa8\x00\x00\x80 \x04 \x00\x02\x00 \x00\x00\n\x02\x80 \x80\x00\x00\x80 \x00\x02\x08\x80 \x00\x00\x00\x02\x80\x00\x00\x00\x02\x00\x00\x00\x08\x02\x08\x80\x00\xa8\x00\x00\x08\x80\x00\x88\x02\n\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[float32-line-new-bytearray-mode1-omp] ________________ dtype = dtype('float32'), itype = 'line', enout = 'new', deout = 'bytearray' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00\x885\x11j\xcf\xf7\x87\xaf\x15\x00\x00\x10\x04\x00\x80 @\x10\x04\x04\x00AP\x04\x00\x00\x00\x01P\x04\x10\x00\x00@\x10\x00\x10\x00A\x10\x10\x00\x00\x00@\x00\x04\x10\x00\x00\x01\x10\x00\x00\x00@\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x82\x11B\xb3\xfc\x00\x04\x00\x00\x14\x01\x05@\x18\x00\x14\x01\x01@\x00T\x01\x01\x04@\x00\x10\x00\x01@@\x10D\x01\x00\x00\x00\x10@\x01\x00\x00\x00\x04\x00\x05\x04@\x00D\x01\x05\x00\x10\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00 \xd5\x82\xac\xff\x00AP\x00\x11\x00`\x08\n\x04\x01\x00\x00@\x04\x01\x00\x00A@\x04\x04\x00A@\x00\x00\x10\x00\x01P\x04\x01\x00\x00AP\x00\x15\x00A\x00\x00\x00\x00\x00\x00\x00\x00\x04\n\xab?\xc0\x00\x00\x00\x80 \x08\x02\x05A@T\x88\x00\x08\x80\x00\xa0\x00\x08\x02\x00\x00\xa8\x02\x02\x00 \x08\x02\n\x00\x00\xa8\x00\x00\n\x80\x00\xa8\x00\x02\x00\x00\x00\x88\x00\x00\x00 \xa0\xb0Y\xfe\x00\x00\x00\x00\x00\x82 \x0c\x05\x00A*\xa8\x00\n\x00\x00 \x08*\x00\x00\x02\xa0\x00 \x00\x02\xa0 \x08\x08\x00\x80\xa0\x00(\x02\x00\x02 \x08\x00\x00\x82\x00\x00\x08\n\x00\x82\x80\x08\x00\x00\x00\x00\x00\x00"\x00\x00\x02\x82\xa05\x06~\x80\x00\x00P\x04\x02\x02\x00\x00@\x00\x15\x00A\x00\x04\x00\x10\x00AP\x00\x05\x00\x00@\x00\x04\x14\x00@P\x04\x04\x04\x00A\x00\x04\x04\x00\x00\x01\x10\x00\x00\x00A@\x00\xb3\xfc\x00\x00\x00\x00\x00\x08\x80 \xa8"\t\x14E@P\x00\x01\x00\x01P\x04\x00\x10\x00\x01\x00\x00\x00\x00\x00@P\x04\x15\x00\x01P\x10\x04\x15\x00A\x10\x04\x00\x11\x00\x00\x00\x04\x05\x00\x00\x06 \xb3\xfc\x00\x00\x00\x00\x80\x00\xa8\x00\x00\x80 \x04 \x00\x02\x00 \x00\x00\n\x02\x80 \x80\x00\x00\x80 \x00\x02\x08\x80 \x00\x00\x00\x02\x80\x00\x00\x00\x02\x00\x00\x00\x08\x02\x08\x80\x00\xa8\x00\x00\x08\x80\x00\x88\x02\n\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError __________________ test_zfp[float32-line-out-new-mode0-None] ___________________ dtype = dtype('float32'), itype = 'line', enout = 'out', deout = 'new' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\x11Ka\xfd\x88\x00\x00\x00\x00\x00D\x01\x04@\x180\x04\x00\x04@\x00\x04\x00\x04\x00@\x10D\x00\x04@\x10\x00D\x00\x00@\x10D\x00\x01\x04@\x10\x00\x00\x00\x00\x00\x00D\x00\x00@\x00\x04"\x00\xc0\x10\x1a+a\xfd\x80 \x08\x08\x00\x00\x80\x08\x00\x02\x00\x00 \x08 \x00\x00\x02 \x08 \x00\x02 \x00\x00*\x00\x02\x00\x08"\x00\x00\x80\x80\x00\x08\x00\x02\x01\x04-U\xb2\xfe\xa0\x00\x80\x80\x00\n\x00\x82 \x08\x00*\x00\x82\xa0\x08\n\x00\x00\x82\x80\x08(\x00\x02\x80\x00\x08 \x00\x00 \x00\x08(\x00\x00 \x08(\x00\x82U[/\xe8\x00\x82\x80\x00\x00\x80\xa0\x0c\x04\x04A\xaa \x08\x02\x00\x02\x00\x08 *\x00\x00 \x08\x02\x00\x80\x82\x00\x08"\x00\x82\xa0\x08\x00(\x00\x82\xa0\x08\x00\x00J\x85[/\xea\x00\x00 \x05\x00\x00\x04\x01\x01@\x00\x10D\x01\x04\x00\x00D\x00\x01\x00@\x10T\x01\x01@\x00\x00D\x00\x01@\x10T\x04\x00\x00@\x00\x00\x01\x04\xf9@\x10\x14\x00\x05@\x00\x10\x00\n\x80 \xd5\x83e\x00\x00\x00\x10T\x01\x01@\x00\x10P\x00\x04@\x00\x14T\x00\x05@\x10\x04\x00\x05\x05\x00\x10\x10\x01\x05\x00\x00\x10\x00\x01\x04\x00\x10P\x01\x14\x80\xb6\x9f\xd4\x01\x01@\x00P\x04\x11\x00`\x080\x00\x10\x00A\x10\x00\x00\x00\x00AP\x04\x11\x00@\x00\x00\x04\x14\x00A\x10\x00\x14\x11\x00\x01\x00\x00\x05\x00\x01\x04-\x97\xf5\x00\x01\x10\x00\x00\x00\x00\x11\x00\x01P\x00\x04\x10\x00@\x00\x04\x11\x00\x00\x00P\x00\x15\x00\x01\x10\x00\x04\x01\x00\x01P\x00\x11\x04\x00A\x00\x04\x04\x00A\x01\x10\x00\x10\x00@P\x00\x00\x01\x00@@\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[float32-line-out-new-mode0-omp] ___________________ dtype = dtype('float32'), itype = 'line', enout = 'out', deout = 'new' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\x11Ka\xfd\x88\x00\x00\x00\x00\x00D\x01\x04@\x180\x04\x00\x04@\x00\x04\x00\x04\x00@\x10D\x00\x04@\x10\x00D\x00\x00@\x10D\x00\x01\x04@\x10\x00\x00\x00\x00\x00\x00D\x00\x00@\x00\x04"\x00\xc0\x10\x1a+a\xfd\x80 \x08\x08\x00\x00\x80\x08\x00\x02\x00\x00 \x08 \x00\x00\x02 \x08 \x00\x02 \x00\x00*\x00\x02\x00\x08"\x00\x00\x80\x80\x00\x08\x00\x02\x01\x04-U\xb2\xfe\xa0\x00\x80\x80\x00\n\x00\x82 \x08\x00*\x00\x82\xa0\x08\n\x00\x00\x82\x80\x08(\x00\x02\x80\x00\x08 \x00\x00 \x00\x08(\x00\x00 \x08(\x00\x82U[/\xe8\x00\x82\x80\x00\x00\x80\xa0\x0c\x04\x04A\xaa \x08\x02\x00\x02\x00\x08 *\x00\x00 \x08\x02\x00\x80\x82\x00\x08"\x00\x82\xa0\x08\x00(\x00\x82\xa0\x08\x00\x00J\x85[/\xea\x00\x00 \x05\x00\x00\x04\x01\x01@\x00\x10D\x01\x04\x00\x00D\x00\x01\x00@\x10T\x01\x01@\x00\x00D\x00\x01@\x10T\x04\x00\x00@\x00\x00\x01\x04\xf9@\x10\x14\x00\x05@\x00\x10\x00\n\x80 \xd5\x83e\x00\x00\x00\x10T\x01\x01@\x00\x10P\x00\x04@\x00\x14T\x00\x05@\x10\x04\x00\x05\x05\x00\x10\x10\x01\x05\x00\x00\x10\x00\x01\x04\x00\x10P\x01\x14\x80\xb6\x9f\xd4\x01\x01@\x00P\x04\x11\x00`\x080\x00\x10\x00A\x10\x00\x00\x00\x00AP\x04\x11\x00@\x00\x00\x04\x14\x00A\x10\x00\x14\x11\x00\x01\x00\x00\x05\x00\x01\x04-\x97\xf5\x00\x01\x10\x00\x00\x00\x00\x11\x00\x01P\x00\x04\x10\x00@\x00\x04\x11\x00\x00\x00P\x00\x15\x00\x01\x10\x00\x04\x01\x00\x01P\x00\x11\x04\x00A\x00\x04\x04\x00A\x01\x10\x00\x10\x00@P\x00\x00\x01\x00@@\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError __________________ test_zfp[float32-line-out-new-mode1-None] ___________________ dtype = dtype('float32'), itype = 'line', enout = 'out', deout = 'new' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00\x885\x11j\xcf\xf7\x87\xaf\x15\x00\x00\x10\x04\x00\x80 @\x10\x04\x04\x00AP\x04\x00\x00\x00\x01P\x04\x10\x00\x00@\x10\x00\x10\x00A\x10\x10\x00\x00\x00@\x00\x04\x10\x00\x00\x01\x10\x00\x00\x00@\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x82\x11B\xb3\xfc\x00\x04\x00\x00\x14\x01\x05@\x18\x00\x14\x01\x01@\x00T\x01\x01\x04@\x00\x10\x00\x01@@\x10D\x01\x00\x00\x00\x10@\x01\x00\x00\x00\x04\x00\x05\x04@\x00D\x01\x05\x00\x10\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00 \xd5\x82\xac\xff\x00AP\x00\x11\x00`\x08\n\x04\x01\x00\x00@\x04\x01\x00\x00A@\x04\x04\x00A@\x00\x00\x10\x00\x01P\x04\x01\x00\x00AP\x00\x15\x00A\x00\x00\x00\x00\x00\x00\x00\x00\x04\n\xab?\xc0\x00\x00\x00\x80 \x08\x02\x05A@T\x88\x00\x08\x80\x00\xa0\x00\x08\x02\x00\x00\xa8\x02\x02\x00 \x08\x02\n\x00\x00\xa8\x00\x00\n\x80\x00\xa8\x00\x02\x00\x00\x00\x88\x00\x00\x00 \xa0\xb0Y\xfe\x00\x00\x00\x00\x00\x82 \x0c\x05\x00A*\xa8\x00\n\x00\x00 \x08*\x00\x00\x02\xa0\x00 \x00\x02\xa0 \x08\x08\x00\x80\xa0\x00(\x02\x00\x02 \x08\x00\x00\x82\x00\x00\x08\n\x00\x82\x80\x08\x00\x00\x00\x00\x00\x00"\x00\x00\x02\x82\xa05\x06~\x80\x00\x00P\x04\x02\x02\x00\x00@\x00\x15\x00A\x00\x04\x00\x10\x00AP\x00\x05\x00\x00@\x00\x04\x14\x00@P\x04\x04\x04\x00A\x00\x04\x04\x00\x00\x01\x10\x00\x00\x00A@\x00\xb3\xfc\x00\x00\x00\x00\x00\x08\x80 \xa8"\t\x14E@P\x00\x01\x00\x01P\x04\x00\x10\x00\x01\x00\x00\x00\x00\x00@P\x04\x15\x00\x01P\x10\x04\x15\x00A\x10\x04\x00\x11\x00\x00\x00\x04\x05\x00\x00\x06 \xb3\xfc\x00\x00\x00\x00\x80\x00\xa8\x00\x00\x80 \x04 \x00\x02\x00 \x00\x00\n\x02\x80 \x80\x00\x00\x80 \x00\x02\x08\x80 \x00\x00\x00\x02\x80\x00\x00\x00\x02\x00\x00\x00\x08\x02\x08\x80\x00\xa8\x00\x00\x08\x80\x00\x88\x02\n\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[float32-line-out-new-mode1-omp] ___________________ dtype = dtype('float32'), itype = 'line', enout = 'out', deout = 'new' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00\x885\x11j\xcf\xf7\x87\xaf\x15\x00\x00\x10\x04\x00\x80 @\x10\x04\x04\x00AP\x04\x00\x00\x00\x01P\x04\x10\x00\x00@\x10\x00\x10\x00A\x10\x10\x00\x00\x00@\x00\x04\x10\x00\x00\x01\x10\x00\x00\x00@\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x82\x11B\xb3\xfc\x00\x04\x00\x00\x14\x01\x05@\x18\x00\x14\x01\x01@\x00T\x01\x01\x04@\x00\x10\x00\x01@@\x10D\x01\x00\x00\x00\x10@\x01\x00\x00\x00\x04\x00\x05\x04@\x00D\x01\x05\x00\x10\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00 \xd5\x82\xac\xff\x00AP\x00\x11\x00`\x08\n\x04\x01\x00\x00@\x04\x01\x00\x00A@\x04\x04\x00A@\x00\x00\x10\x00\x01P\x04\x01\x00\x00AP\x00\x15\x00A\x00\x00\x00\x00\x00\x00\x00\x00\x04\n\xab?\xc0\x00\x00\x00\x80 \x08\x02\x05A@T\x88\x00\x08\x80\x00\xa0\x00\x08\x02\x00\x00\xa8\x02\x02\x00 \x08\x02\n\x00\x00\xa8\x00\x00\n\x80\x00\xa8\x00\x02\x00\x00\x00\x88\x00\x00\x00 \xa0\xb0Y\xfe\x00\x00\x00\x00\x00\x82 \x0c\x05\x00A*\xa8\x00\n\x00\x00 \x08*\x00\x00\x02\xa0\x00 \x00\x02\xa0 \x08\x08\x00\x80\xa0\x00(\x02\x00\x02 \x08\x00\x00\x82\x00\x00\x08\n\x00\x82\x80\x08\x00\x00\x00\x00\x00\x00"\x00\x00\x02\x82\xa05\x06~\x80\x00\x00P\x04\x02\x02\x00\x00@\x00\x15\x00A\x00\x04\x00\x10\x00AP\x00\x05\x00\x00@\x00\x04\x14\x00@P\x04\x04\x04\x00A\x00\x04\x04\x00\x00\x01\x10\x00\x00\x00A@\x00\xb3\xfc\x00\x00\x00\x00\x00\x08\x80 \xa8"\t\x14E@P\x00\x01\x00\x01P\x04\x00\x10\x00\x01\x00\x00\x00\x00\x00@P\x04\x15\x00\x01P\x10\x04\x15\x00A\x10\x04\x00\x11\x00\x00\x00\x04\x05\x00\x00\x06 \xb3\xfc\x00\x00\x00\x00\x80\x00\xa8\x00\x00\x80 \x04 \x00\x02\x00 \x00\x00\n\x02\x80 \x80\x00\x00\x80 \x00\x02\x08\x80 \x00\x00\x00\x02\x80\x00\x00\x00\x02\x00\x00\x00\x08\x02\x08\x80\x00\xa8\x00\x00\x08\x80\x00\x88\x02\n\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError __________________ test_zfp[float32-line-out-out-mode0-None] ___________________ dtype = dtype('float32'), itype = 'line', enout = 'out', deout = 'out' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\x11Ka\xfd\x88\x00\x00\x00\x00\x00D\x01\x04@\x180\x04\x00\x04@\x00\x04\x00\x04\x00@\x10D\x00\x04@\x10\x00D\x00\x00@\x10D\x00\x01\x04@\x10\x00\x00\x00\x00\x00\x00D\x00\x00@\x00\x04"\x00\xc0\x10\x1a+a\xfd\x80 \x08\x08\x00\x00\x80\x08\x00\x02\x00\x00 \x08 \x00\x00\x02 \x08 \x00\x02 \x00\x00*\x00\x02\x00\x08"\x00\x00\x80\x80\x00\x08\x00\x02\x01\x04-U\xb2\xfe\xa0\x00\x80\x80\x00\n\x00\x82 \x08\x00*\x00\x82\xa0\x08\n\x00\x00\x82\x80\x08(\x00\x02\x80\x00\x08 \x00\x00 \x00\x08(\x00\x00 \x08(\x00\x82U[/\xe8\x00\x82\x80\x00\x00\x80\xa0\x0c\x04\x04A\xaa \x08\x02\x00\x02\x00\x08 *\x00\x00 \x08\x02\x00\x80\x82\x00\x08"\x00\x82\xa0\x08\x00(\x00\x82\xa0\x08\x00\x00J\x85[/\xea\x00\x00 \x05\x00\x00\x04\x01\x01@\x00\x10D\x01\x04\x00\x00D\x00\x01\x00@\x10T\x01\x01@\x00\x00D\x00\x01@\x10T\x04\x00\x00@\x00\x00\x01\x04\xf9@\x10\x14\x00\x05@\x00\x10\x00\n\x80 \xd5\x83e\x00\x00\x00\x10T\x01\x01@\x00\x10P\x00\x04@\x00\x14T\x00\x05@\x10\x04\x00\x05\x05\x00\x10\x10\x01\x05\x00\x00\x10\x00\x01\x04\x00\x10P\x01\x14\x80\xb6\x9f\xd4\x01\x01@\x00P\x04\x11\x00`\x080\x00\x10\x00A\x10\x00\x00\x00\x00AP\x04\x11\x00@\x00\x00\x04\x14\x00A\x10\x00\x14\x11\x00\x01\x00\x00\x05\x00\x01\x04-\x97\xf5\x00\x01\x10\x00\x00\x00\x00\x11\x00\x01P\x00\x04\x10\x00@\x00\x04\x11\x00\x00\x00P\x00\x15\x00\x01\x10\x00\x04\x01\x00\x01P\x00\x11\x04\x00A\x00\x04\x04\x00A\x01\x10\x00\x10\x00@P\x00\x00\x01\x00@@\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[float32-line-out-out-mode0-omp] ___________________ dtype = dtype('float32'), itype = 'line', enout = 'out', deout = 'out' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\x11Ka\xfd\x88\x00\x00\x00\x00\x00D\x01\x04@\x180\x04\x00\x04@\x00\x04\x00\x04\x00@\x10D\x00\x04@\x10\x00D\x00\x00@\x10D\x00\x01\x04@\x10\x00\x00\x00\x00\x00\x00D\x00\x00@\x00\x04"\x00\xc0\x10\x1a+a\xfd\x80 \x08\x08\x00\x00\x80\x08\x00\x02\x00\x00 \x08 \x00\x00\x02 \x08 \x00\x02 \x00\x00*\x00\x02\x00\x08"\x00\x00\x80\x80\x00\x08\x00\x02\x01\x04-U\xb2\xfe\xa0\x00\x80\x80\x00\n\x00\x82 \x08\x00*\x00\x82\xa0\x08\n\x00\x00\x82\x80\x08(\x00\x02\x80\x00\x08 \x00\x00 \x00\x08(\x00\x00 \x08(\x00\x82U[/\xe8\x00\x82\x80\x00\x00\x80\xa0\x0c\x04\x04A\xaa \x08\x02\x00\x02\x00\x08 *\x00\x00 \x08\x02\x00\x80\x82\x00\x08"\x00\x82\xa0\x08\x00(\x00\x82\xa0\x08\x00\x00J\x85[/\xea\x00\x00 \x05\x00\x00\x04\x01\x01@\x00\x10D\x01\x04\x00\x00D\x00\x01\x00@\x10T\x01\x01@\x00\x00D\x00\x01@\x10T\x04\x00\x00@\x00\x00\x01\x04\xf9@\x10\x14\x00\x05@\x00\x10\x00\n\x80 \xd5\x83e\x00\x00\x00\x10T\x01\x01@\x00\x10P\x00\x04@\x00\x14T\x00\x05@\x10\x04\x00\x05\x05\x00\x10\x10\x01\x05\x00\x00\x10\x00\x01\x04\x00\x10P\x01\x14\x80\xb6\x9f\xd4\x01\x01@\x00P\x04\x11\x00`\x080\x00\x10\x00A\x10\x00\x00\x00\x00AP\x04\x11\x00@\x00\x00\x04\x14\x00A\x10\x00\x14\x11\x00\x01\x00\x00\x05\x00\x01\x04-\x97\xf5\x00\x01\x10\x00\x00\x00\x00\x11\x00\x01P\x00\x04\x10\x00@\x00\x04\x11\x00\x00\x00P\x00\x15\x00\x01\x10\x00\x04\x01\x00\x01P\x00\x11\x04\x00A\x00\x04\x04\x00A\x01\x10\x00\x10\x00@P\x00\x00\x01\x00@@\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError __________________ test_zfp[float32-line-out-out-mode1-None] ___________________ dtype = dtype('float32'), itype = 'line', enout = 'out', deout = 'out' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00\x885\x11j\xcf\xf7\x87\xaf\x15\x00\x00\x10\x04\x00\x80 @\x10\x04\x04\x00AP\x04\x00\x00\x00\x01P\x04\x10\x00\x00@\x10\x00\x10\x00A\x10\x10\x00\x00\x00@\x00\x04\x10\x00\x00\x01\x10\x00\x00\x00@\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x82\x11B\xb3\xfc\x00\x04\x00\x00\x14\x01\x05@\x18\x00\x14\x01\x01@\x00T\x01\x01\x04@\x00\x10\x00\x01@@\x10D\x01\x00\x00\x00\x10@\x01\x00\x00\x00\x04\x00\x05\x04@\x00D\x01\x05\x00\x10\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00 \xd5\x82\xac\xff\x00AP\x00\x11\x00`\x08\n\x04\x01\x00\x00@\x04\x01\x00\x00A@\x04\x04\x00A@\x00\x00\x10\x00\x01P\x04\x01\x00\x00AP\x00\x15\x00A\x00\x00\x00\x00\x00\x00\x00\x00\x04\n\xab?\xc0\x00\x00\x00\x80 \x08\x02\x05A@T\x88\x00\x08\x80\x00\xa0\x00\x08\x02\x00\x00\xa8\x02\x02\x00 \x08\x02\n\x00\x00\xa8\x00\x00\n\x80\x00\xa8\x00\x02\x00\x00\x00\x88\x00\x00\x00 \xa0\xb0Y\xfe\x00\x00\x00\x00\x00\x82 \x0c\x05\x00A*\xa8\x00\n\x00\x00 \x08*\x00\x00\x02\xa0\x00 \x00\x02\xa0 \x08\x08\x00\x80\xa0\x00(\x02\x00\x02 \x08\x00\x00\x82\x00\x00\x08\n\x00\x82\x80\x08\x00\x00\x00\x00\x00\x00"\x00\x00\x02\x82\xa05\x06~\x80\x00\x00P\x04\x02\x02\x00\x00@\x00\x15\x00A\x00\x04\x00\x10\x00AP\x00\x05\x00\x00@\x00\x04\x14\x00@P\x04\x04\x04\x00A\x00\x04\x04\x00\x00\x01\x10\x00\x00\x00A@\x00\xb3\xfc\x00\x00\x00\x00\x00\x08\x80 \xa8"\t\x14E@P\x00\x01\x00\x01P\x04\x00\x10\x00\x01\x00\x00\x00\x00\x00@P\x04\x15\x00\x01P\x10\x04\x15\x00A\x10\x04\x00\x11\x00\x00\x00\x04\x05\x00\x00\x06 \xb3\xfc\x00\x00\x00\x00\x80\x00\xa8\x00\x00\x80 \x04 \x00\x02\x00 \x00\x00\n\x02\x80 \x80\x00\x00\x80 \x00\x02\x08\x80 \x00\x00\x00\x02\x80\x00\x00\x00\x02\x00\x00\x00\x08\x02\x08\x80\x00\xa8\x00\x00\x08\x80\x00\x88\x02\n\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[float32-line-out-out-mode1-omp] ___________________ dtype = dtype('float32'), itype = 'line', enout = 'out', deout = 'out' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00\x885\x11j\xcf\xf7\x87\xaf\x15\x00\x00\x10\x04\x00\x80 @\x10\x04\x04\x00AP\x04\x00\x00\x00\x01P\x04\x10\x00\x00@\x10\x00\x10\x00A\x10\x10\x00\x00\x00@\x00\x04\x10\x00\x00\x01\x10\x00\x00\x00@\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x82\x11B\xb3\xfc\x00\x04\x00\x00\x14\x01\x05@\x18\x00\x14\x01\x01@\x00T\x01\x01\x04@\x00\x10\x00\x01@@\x10D\x01\x00\x00\x00\x10@\x01\x00\x00\x00\x04\x00\x05\x04@\x00D\x01\x05\x00\x10\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00 \xd5\x82\xac\xff\x00AP\x00\x11\x00`\x08\n\x04\x01\x00\x00@\x04\x01\x00\x00A@\x04\x04\x00A@\x00\x00\x10\x00\x01P\x04\x01\x00\x00AP\x00\x15\x00A\x00\x00\x00\x00\x00\x00\x00\x00\x04\n\xab?\xc0\x00\x00\x00\x80 \x08\x02\x05A@T\x88\x00\x08\x80\x00\xa0\x00\x08\x02\x00\x00\xa8\x02\x02\x00 \x08\x02\n\x00\x00\xa8\x00\x00\n\x80\x00\xa8\x00\x02\x00\x00\x00\x88\x00\x00\x00 \xa0\xb0Y\xfe\x00\x00\x00\x00\x00\x82 \x0c\x05\x00A*\xa8\x00\n\x00\x00 \x08*\x00\x00\x02\xa0\x00 \x00\x02\xa0 \x08\x08\x00\x80\xa0\x00(\x02\x00\x02 \x08\x00\x00\x82\x00\x00\x08\n\x00\x82\x80\x08\x00\x00\x00\x00\x00\x00"\x00\x00\x02\x82\xa05\x06~\x80\x00\x00P\x04\x02\x02\x00\x00@\x00\x15\x00A\x00\x04\x00\x10\x00AP\x00\x05\x00\x00@\x00\x04\x14\x00@P\x04\x04\x04\x00A\x00\x04\x04\x00\x00\x01\x10\x00\x00\x00A@\x00\xb3\xfc\x00\x00\x00\x00\x00\x08\x80 \xa8"\t\x14E@P\x00\x01\x00\x01P\x04\x00\x10\x00\x01\x00\x00\x00\x00\x00@P\x04\x15\x00\x01P\x10\x04\x15\x00A\x10\x04\x00\x11\x00\x00\x00\x04\x05\x00\x00\x06 \xb3\xfc\x00\x00\x00\x00\x80\x00\xa8\x00\x00\x80 \x04 \x00\x02\x00 \x00\x00\n\x02\x80 \x80\x00\x00\x80 \x00\x02\x08\x80 \x00\x00\x00\x02\x80\x00\x00\x00\x02\x00\x00\x00\x08\x02\x08\x80\x00\xa8\x00\x00\x08\x80\x00\x88\x02\n\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _______________ test_zfp[float32-line-out-bytearray-mode0-None] ________________ dtype = dtype('float32'), itype = 'line', enout = 'out', deout = 'bytearray' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\x11Ka\xfd\x88\x00\x00\x00\x00\x00D\x01\x04@\x180\x04\x00\x04@\x00\x04\x00\x04\x00@\x10D\x00\x04@\x10\x00D\x00\x00@\x10D\x00\x01\x04@\x10\x00\x00\x00\x00\x00\x00D\x00\x00@\x00\x04"\x00\xc0\x10\x1a+a\xfd\x80 \x08\x08\x00\x00\x80\x08\x00\x02\x00\x00 \x08 \x00\x00\x02 \x08 \x00\x02 \x00\x00*\x00\x02\x00\x08"\x00\x00\x80\x80\x00\x08\x00\x02\x01\x04-U\xb2\xfe\xa0\x00\x80\x80\x00\n\x00\x82 \x08\x00*\x00\x82\xa0\x08\n\x00\x00\x82\x80\x08(\x00\x02\x80\x00\x08 \x00\x00 \x00\x08(\x00\x00 \x08(\x00\x82U[/\xe8\x00\x82\x80\x00\x00\x80\xa0\x0c\x04\x04A\xaa \x08\x02\x00\x02\x00\x08 *\x00\x00 \x08\x02\x00\x80\x82\x00\x08"\x00\x82\xa0\x08\x00(\x00\x82\xa0\x08\x00\x00J\x85[/\xea\x00\x00 \x05\x00\x00\x04\x01\x01@\x00\x10D\x01\x04\x00\x00D\x00\x01\x00@\x10T\x01\x01@\x00\x00D\x00\x01@\x10T\x04\x00\x00@\x00\x00\x01\x04\xf9@\x10\x14\x00\x05@\x00\x10\x00\n\x80 \xd5\x83e\x00\x00\x00\x10T\x01\x01@\x00\x10P\x00\x04@\x00\x14T\x00\x05@\x10\x04\x00\x05\x05\x00\x10\x10\x01\x05\x00\x00\x10\x00\x01\x04\x00\x10P\x01\x14\x80\xb6\x9f\xd4\x01\x01@\x00P\x04\x11\x00`\x080\x00\x10\x00A\x10\x00\x00\x00\x00AP\x04\x11\x00@\x00\x00\x04\x14\x00A\x10\x00\x14\x11\x00\x01\x00\x00\x05\x00\x01\x04-\x97\xf5\x00\x01\x10\x00\x00\x00\x00\x11\x00\x01P\x00\x04\x10\x00@\x00\x04\x11\x00\x00\x00P\x00\x15\x00\x01\x10\x00\x04\x01\x00\x01P\x00\x11\x04\x00A\x00\x04\x04\x00A\x01\x10\x00\x10\x00@P\x00\x00\x01\x00@@\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[float32-line-out-bytearray-mode0-omp] ________________ dtype = dtype('float32'), itype = 'line', enout = 'out', deout = 'bytearray' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\x11Ka\xfd\x88\x00\x00\x00\x00\x00D\x01\x04@\x180\x04\x00\x04@\x00\x04\x00\x04\x00@\x10D\x00\x04@\x10\x00D\x00\x00@\x10D\x00\x01\x04@\x10\x00\x00\x00\x00\x00\x00D\x00\x00@\x00\x04"\x00\xc0\x10\x1a+a\xfd\x80 \x08\x08\x00\x00\x80\x08\x00\x02\x00\x00 \x08 \x00\x00\x02 \x08 \x00\x02 \x00\x00*\x00\x02\x00\x08"\x00\x00\x80\x80\x00\x08\x00\x02\x01\x04-U\xb2\xfe\xa0\x00\x80\x80\x00\n\x00\x82 \x08\x00*\x00\x82\xa0\x08\n\x00\x00\x82\x80\x08(\x00\x02\x80\x00\x08 \x00\x00 \x00\x08(\x00\x00 \x08(\x00\x82U[/\xe8\x00\x82\x80\x00\x00\x80\xa0\x0c\x04\x04A\xaa \x08\x02\x00\x02\x00\x08 *\x00\x00 \x08\x02\x00\x80\x82\x00\x08"\x00\x82\xa0\x08\x00(\x00\x82\xa0\x08\x00\x00J\x85[/\xea\x00\x00 \x05\x00\x00\x04\x01\x01@\x00\x10D\x01\x04\x00\x00D\x00\x01\x00@\x10T\x01\x01@\x00\x00D\x00\x01@\x10T\x04\x00\x00@\x00\x00\x01\x04\xf9@\x10\x14\x00\x05@\x00\x10\x00\n\x80 \xd5\x83e\x00\x00\x00\x10T\x01\x01@\x00\x10P\x00\x04@\x00\x14T\x00\x05@\x10\x04\x00\x05\x05\x00\x10\x10\x01\x05\x00\x00\x10\x00\x01\x04\x00\x10P\x01\x14\x80\xb6\x9f\xd4\x01\x01@\x00P\x04\x11\x00`\x080\x00\x10\x00A\x10\x00\x00\x00\x00AP\x04\x11\x00@\x00\x00\x04\x14\x00A\x10\x00\x14\x11\x00\x01\x00\x00\x05\x00\x01\x04-\x97\xf5\x00\x01\x10\x00\x00\x00\x00\x11\x00\x01P\x00\x04\x10\x00@\x00\x04\x11\x00\x00\x00P\x00\x15\x00\x01\x10\x00\x04\x01\x00\x01P\x00\x11\x04\x00A\x00\x04\x04\x00A\x01\x10\x00\x10\x00@P\x00\x00\x01\x00@@\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _______________ test_zfp[float32-line-out-bytearray-mode1-None] ________________ dtype = dtype('float32'), itype = 'line', enout = 'out', deout = 'bytearray' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00\x885\x11j\xcf\xf7\x87\xaf\x15\x00\x00\x10\x04\x00\x80 @\x10\x04\x04\x00AP\x04\x00\x00\x00\x01P\x04\x10\x00\x00@\x10\x00\x10\x00A\x10\x10\x00\x00\x00@\x00\x04\x10\x00\x00\x01\x10\x00\x00\x00@\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x82\x11B\xb3\xfc\x00\x04\x00\x00\x14\x01\x05@\x18\x00\x14\x01\x01@\x00T\x01\x01\x04@\x00\x10\x00\x01@@\x10D\x01\x00\x00\x00\x10@\x01\x00\x00\x00\x04\x00\x05\x04@\x00D\x01\x05\x00\x10\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00 \xd5\x82\xac\xff\x00AP\x00\x11\x00`\x08\n\x04\x01\x00\x00@\x04\x01\x00\x00A@\x04\x04\x00A@\x00\x00\x10\x00\x01P\x04\x01\x00\x00AP\x00\x15\x00A\x00\x00\x00\x00\x00\x00\x00\x00\x04\n\xab?\xc0\x00\x00\x00\x80 \x08\x02\x05A@T\x88\x00\x08\x80\x00\xa0\x00\x08\x02\x00\x00\xa8\x02\x02\x00 \x08\x02\n\x00\x00\xa8\x00\x00\n\x80\x00\xa8\x00\x02\x00\x00\x00\x88\x00\x00\x00 \xa0\xb0Y\xfe\x00\x00\x00\x00\x00\x82 \x0c\x05\x00A*\xa8\x00\n\x00\x00 \x08*\x00\x00\x02\xa0\x00 \x00\x02\xa0 \x08\x08\x00\x80\xa0\x00(\x02\x00\x02 \x08\x00\x00\x82\x00\x00\x08\n\x00\x82\x80\x08\x00\x00\x00\x00\x00\x00"\x00\x00\x02\x82\xa05\x06~\x80\x00\x00P\x04\x02\x02\x00\x00@\x00\x15\x00A\x00\x04\x00\x10\x00AP\x00\x05\x00\x00@\x00\x04\x14\x00@P\x04\x04\x04\x00A\x00\x04\x04\x00\x00\x01\x10\x00\x00\x00A@\x00\xb3\xfc\x00\x00\x00\x00\x00\x08\x80 \xa8"\t\x14E@P\x00\x01\x00\x01P\x04\x00\x10\x00\x01\x00\x00\x00\x00\x00@P\x04\x15\x00\x01P\x10\x04\x15\x00A\x10\x04\x00\x11\x00\x00\x00\x04\x05\x00\x00\x06 \xb3\xfc\x00\x00\x00\x00\x80\x00\xa8\x00\x00\x80 \x04 \x00\x02\x00 \x00\x00\n\x02\x80 \x80\x00\x00\x80 \x00\x02\x08\x80 \x00\x00\x00\x02\x80\x00\x00\x00\x02\x00\x00\x00\x08\x02\x08\x80\x00\xa8\x00\x00\x08\x80\x00\x88\x02\n\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[float32-line-out-bytearray-mode1-omp] ________________ dtype = dtype('float32'), itype = 'line', enout = 'out', deout = 'bytearray' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00\x885\x11j\xcf\xf7\x87\xaf\x15\x00\x00\x10\x04\x00\x80 @\x10\x04\x04\x00AP\x04\x00\x00\x00\x01P\x04\x10\x00\x00@\x10\x00\x10\x00A\x10\x10\x00\x00\x00@\x00\x04\x10\x00\x00\x01\x10\x00\x00\x00@\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x82\x11B\xb3\xfc\x00\x04\x00\x00\x14\x01\x05@\x18\x00\x14\x01\x01@\x00T\x01\x01\x04@\x00\x10\x00\x01@@\x10D\x01\x00\x00\x00\x10@\x01\x00\x00\x00\x04\x00\x05\x04@\x00D\x01\x05\x00\x10\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00 \xd5\x82\xac\xff\x00AP\x00\x11\x00`\x08\n\x04\x01\x00\x00@\x04\x01\x00\x00A@\x04\x04\x00A@\x00\x00\x10\x00\x01P\x04\x01\x00\x00AP\x00\x15\x00A\x00\x00\x00\x00\x00\x00\x00\x00\x04\n\xab?\xc0\x00\x00\x00\x80 \x08\x02\x05A@T\x88\x00\x08\x80\x00\xa0\x00\x08\x02\x00\x00\xa8\x02\x02\x00 \x08\x02\n\x00\x00\xa8\x00\x00\n\x80\x00\xa8\x00\x02\x00\x00\x00\x88\x00\x00\x00 \xa0\xb0Y\xfe\x00\x00\x00\x00\x00\x82 \x0c\x05\x00A*\xa8\x00\n\x00\x00 \x08*\x00\x00\x02\xa0\x00 \x00\x02\xa0 \x08\x08\x00\x80\xa0\x00(\x02\x00\x02 \x08\x00\x00\x82\x00\x00\x08\n\x00\x82\x80\x08\x00\x00\x00\x00\x00\x00"\x00\x00\x02\x82\xa05\x06~\x80\x00\x00P\x04\x02\x02\x00\x00@\x00\x15\x00A\x00\x04\x00\x10\x00AP\x00\x05\x00\x00@\x00\x04\x14\x00@P\x04\x04\x04\x00A\x00\x04\x04\x00\x00\x01\x10\x00\x00\x00A@\x00\xb3\xfc\x00\x00\x00\x00\x00\x08\x80 \xa8"\t\x14E@P\x00\x01\x00\x01P\x04\x00\x10\x00\x01\x00\x00\x00\x00\x00@P\x04\x15\x00\x01P\x10\x04\x15\x00A\x10\x04\x00\x11\x00\x00\x00\x04\x05\x00\x00\x06 \xb3\xfc\x00\x00\x00\x00\x80\x00\xa8\x00\x00\x80 \x04 \x00\x02\x00 \x00\x00\n\x02\x80 \x80\x00\x00\x80 \x00\x02\x08\x80 \x00\x00\x00\x02\x80\x00\x00\x00\x02\x00\x00\x00\x08\x02\x08\x80\x00\xa8\x00\x00\x08\x80\x00\x88\x02\n\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _______________ test_zfp[float32-line-bytearray-new-mode0-None] ________________ dtype = dtype('float32'), itype = 'line', enout = 'bytearray', deout = 'new' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\x11Ka\xfd\x88\x00\x00\x00\x00\x00D\x01\x04@\x180\x04\x00\x04@\x00\x04\x00\x04\x00@\x10D\x00\x04@\x10\x00D\x00\x00@\x10D\x00\x01\x04@\x10\x00\x00\x00\x00\x00\x00D\x00\x00@\x00\x04"\x00\xc0\x10\x1a+a\xfd\x80 \x08\x08\x00\x00\x80\x08\x00\x02\x00\x00 \x08 \x00\x00\x02 \x08 \x00\x02 \x00\x00*\x00\x02\x00\x08"\x00\x00\x80\x80\x00\x08\x00\x02\x01\x04-U\xb2\xfe\xa0\x00\x80\x80\x00\n\x00\x82 \x08\x00*\x00\x82\xa0\x08\n\x00\x00\x82\x80\x08(\x00\x02\x80\x00\x08 \x00\x00 \x00\x08(\x00\x00 \x08(\x00\x82U[/\xe8\x00\x82\x80\x00\x00\x80\xa0\x0c\x04\x04A\xaa \x08\x02\x00\x02\x00\x08 *\x00\x00 \x08\x02\x00\x80\x82\x00\x08"\x00\x82\xa0\x08\x00(\x00\x82\xa0\x08\x00\x00J\x85[/\xea\x00\x00 \x05\x00\x00\x04\x01\x01@\x00\x10D\x01\x04\x00\x00D\x00\x01\x00@\x10T\x01\x01@\x00\x00D\x00\x01@\x10T\x04\x00\x00@\x00\x00\x01\x04\xf9@\x10\x14\x00\x05@\x00\x10\x00\n\x80 \xd5\x83e\x00\x00\x00\x10T\x01\x01@\x00\x10P\x00\x04@\x00\x14T\x00\x05@\x10\x04\x00\x05\x05\x00\x10\x10\x01\x05\x00\x00\x10\x00\x01\x04\x00\x10P\x01\x14\x80\xb6\x9f\xd4\x01\x01@\x00P\x04\x11\x00`\x080\x00\x10\x00A\x10\x00\x00\x00\x00AP\x04\x11\x00@\x00\x00\x04\x14\x00A\x10\x00\x14\x11\x00\x01\x00\x00\x05\x00\x01\x04-\x97\xf5\x00\x01\x10\x00\x00\x00\x00\x11\x00\x01P\x00\x04\x10\x00@\x00\x04\x11\x00\x00\x00P\x00\x15\x00\x01\x10\x00\x04\x01\x00\x01P\x00\x11\x04\x00A\x00\x04\x04\x00A\x01\x10\x00\x10\x00@P\x00\x00\x01\x00@@\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[float32-line-bytearray-new-mode0-omp] ________________ dtype = dtype('float32'), itype = 'line', enout = 'bytearray', deout = 'new' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\x11Ka\xfd\x88\x00\x00\x00\x00\x00D\x01\x04@\x180\x04\x00\x04@\x00\x04\x00\x04\x00@\x10D\x00\x04@\x10\x00D\x00\x00@\x10D\x00\x01\x04@\x10\x00\x00\x00\x00\x00\x00D\x00\x00@\x00\x04"\x00\xc0\x10\x1a+a\xfd\x80 \x08\x08\x00\x00\x80\x08\x00\x02\x00\x00 \x08 \x00\x00\x02 \x08 \x00\x02 \x00\x00*\x00\x02\x00\x08"\x00\x00\x80\x80\x00\x08\x00\x02\x01\x04-U\xb2\xfe\xa0\x00\x80\x80\x00\n\x00\x82 \x08\x00*\x00\x82\xa0\x08\n\x00\x00\x82\x80\x08(\x00\x02\x80\x00\x08 \x00\x00 \x00\x08(\x00\x00 \x08(\x00\x82U[/\xe8\x00\x82\x80\x00\x00\x80\xa0\x0c\x04\x04A\xaa \x08\x02\x00\x02\x00\x08 *\x00\x00 \x08\x02\x00\x80\x82\x00\x08"\x00\x82\xa0\x08\x00(\x00\x82\xa0\x08\x00\x00J\x85[/\xea\x00\x00 \x05\x00\x00\x04\x01\x01@\x00\x10D\x01\x04\x00\x00D\x00\x01\x00@\x10T\x01\x01@\x00\x00D\x00\x01@\x10T\x04\x00\x00@\x00\x00\x01\x04\xf9@\x10\x14\x00\x05@\x00\x10\x00\n\x80 \xd5\x83e\x00\x00\x00\x10T\x01\x01@\x00\x10P\x00\x04@\x00\x14T\x00\x05@\x10\x04\x00\x05\x05\x00\x10\x10\x01\x05\x00\x00\x10\x00\x01\x04\x00\x10P\x01\x14\x80\xb6\x9f\xd4\x01\x01@\x00P\x04\x11\x00`\x080\x00\x10\x00A\x10\x00\x00\x00\x00AP\x04\x11\x00@\x00\x00\x04\x14\x00A\x10\x00\x14\x11\x00\x01\x00\x00\x05\x00\x01\x04-\x97\xf5\x00\x01\x10\x00\x00\x00\x00\x11\x00\x01P\x00\x04\x10\x00@\x00\x04\x11\x00\x00\x00P\x00\x15\x00\x01\x10\x00\x04\x01\x00\x01P\x00\x11\x04\x00A\x00\x04\x04\x00A\x01\x10\x00\x10\x00@P\x00\x00\x01\x00@@\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _______________ test_zfp[float32-line-bytearray-new-mode1-None] ________________ dtype = dtype('float32'), itype = 'line', enout = 'bytearray', deout = 'new' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00\x885\x11j\xcf\xf7\x87\xaf\x15\x00\x00\x10\x04\x00\x80 @\x10\x04\x04\x00AP\x04\x00\x00\x00\x01P\x04\x10\x00\x00@\x10\x00\x10\x00A\x10\x10\x00\x00\x00@\x00\x04\x10\x00\x00\x01\x10\x00\x00\x00@\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x82\x11B\xb3\xfc\x00\x04\x00\x00\x14\x01\x05@\x18\x00\x14\x01\x01@\x00T\x01\x01\x04@\x00\x10\x00\x01@@\x10D\x01\x00\x00\x00\x10@\x01\x00\x00\x00\x04\x00\x05\x04@\x00D\x01\x05\x00\x10\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00 \xd5\x82\xac\xff\x00AP\x00\x11\x00`\x08\n\x04\x01\x00\x00@\x04\x01\x00\x00A@\x04\x04\x00A@\x00\x00\x10\x00\x01P\x04\x01\x00\x00AP\x00\x15\x00A\x00\x00\x00\x00\x00\x00\x00\x00\x04\n\xab?\xc0\x00\x00\x00\x80 \x08\x02\x05A@T\x88\x00\x08\x80\x00\xa0\x00\x08\x02\x00\x00\xa8\x02\x02\x00 \x08\x02\n\x00\x00\xa8\x00\x00\n\x80\x00\xa8\x00\x02\x00\x00\x00\x88\x00\x00\x00 \xa0\xb0Y\xfe\x00\x00\x00\x00\x00\x82 \x0c\x05\x00A*\xa8\x00\n\x00\x00 \x08*\x00\x00\x02\xa0\x00 \x00\x02\xa0 \x08\x08\x00\x80\xa0\x00(\x02\x00\x02 \x08\x00\x00\x82\x00\x00\x08\n\x00\x82\x80\x08\x00\x00\x00\x00\x00\x00"\x00\x00\x02\x82\xa05\x06~\x80\x00\x00P\x04\x02\x02\x00\x00@\x00\x15\x00A\x00\x04\x00\x10\x00AP\x00\x05\x00\x00@\x00\x04\x14\x00@P\x04\x04\x04\x00A\x00\x04\x04\x00\x00\x01\x10\x00\x00\x00A@\x00\xb3\xfc\x00\x00\x00\x00\x00\x08\x80 \xa8"\t\x14E@P\x00\x01\x00\x01P\x04\x00\x10\x00\x01\x00\x00\x00\x00\x00@P\x04\x15\x00\x01P\x10\x04\x15\x00A\x10\x04\x00\x11\x00\x00\x00\x04\x05\x00\x00\x06 \xb3\xfc\x00\x00\x00\x00\x80\x00\xa8\x00\x00\x80 \x04 \x00\x02\x00 \x00\x00\n\x02\x80 \x80\x00\x00\x80 \x00\x02\x08\x80 \x00\x00\x00\x02\x80\x00\x00\x00\x02\x00\x00\x00\x08\x02\x08\x80\x00\xa8\x00\x00\x08\x80\x00\x88\x02\n\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[float32-line-bytearray-new-mode1-omp] ________________ dtype = dtype('float32'), itype = 'line', enout = 'bytearray', deout = 'new' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00\x885\x11j\xcf\xf7\x87\xaf\x15\x00\x00\x10\x04\x00\x80 @\x10\x04\x04\x00AP\x04\x00\x00\x00\x01P\x04\x10\x00\x00@\x10\x00\x10\x00A\x10\x10\x00\x00\x00@\x00\x04\x10\x00\x00\x01\x10\x00\x00\x00@\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x82\x11B\xb3\xfc\x00\x04\x00\x00\x14\x01\x05@\x18\x00\x14\x01\x01@\x00T\x01\x01\x04@\x00\x10\x00\x01@@\x10D\x01\x00\x00\x00\x10@\x01\x00\x00\x00\x04\x00\x05\x04@\x00D\x01\x05\x00\x10\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00 \xd5\x82\xac\xff\x00AP\x00\x11\x00`\x08\n\x04\x01\x00\x00@\x04\x01\x00\x00A@\x04\x04\x00A@\x00\x00\x10\x00\x01P\x04\x01\x00\x00AP\x00\x15\x00A\x00\x00\x00\x00\x00\x00\x00\x00\x04\n\xab?\xc0\x00\x00\x00\x80 \x08\x02\x05A@T\x88\x00\x08\x80\x00\xa0\x00\x08\x02\x00\x00\xa8\x02\x02\x00 \x08\x02\n\x00\x00\xa8\x00\x00\n\x80\x00\xa8\x00\x02\x00\x00\x00\x88\x00\x00\x00 \xa0\xb0Y\xfe\x00\x00\x00\x00\x00\x82 \x0c\x05\x00A*\xa8\x00\n\x00\x00 \x08*\x00\x00\x02\xa0\x00 \x00\x02\xa0 \x08\x08\x00\x80\xa0\x00(\x02\x00\x02 \x08\x00\x00\x82\x00\x00\x08\n\x00\x82\x80\x08\x00\x00\x00\x00\x00\x00"\x00\x00\x02\x82\xa05\x06~\x80\x00\x00P\x04\x02\x02\x00\x00@\x00\x15\x00A\x00\x04\x00\x10\x00AP\x00\x05\x00\x00@\x00\x04\x14\x00@P\x04\x04\x04\x00A\x00\x04\x04\x00\x00\x01\x10\x00\x00\x00A@\x00\xb3\xfc\x00\x00\x00\x00\x00\x08\x80 \xa8"\t\x14E@P\x00\x01\x00\x01P\x04\x00\x10\x00\x01\x00\x00\x00\x00\x00@P\x04\x15\x00\x01P\x10\x04\x15\x00A\x10\x04\x00\x11\x00\x00\x00\x04\x05\x00\x00\x06 \xb3\xfc\x00\x00\x00\x00\x80\x00\xa8\x00\x00\x80 \x04 \x00\x02\x00 \x00\x00\n\x02\x80 \x80\x00\x00\x80 \x00\x02\x08\x80 \x00\x00\x00\x02\x80\x00\x00\x00\x02\x00\x00\x00\x08\x02\x08\x80\x00\xa8\x00\x00\x08\x80\x00\x88\x02\n\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _______________ test_zfp[float32-line-bytearray-out-mode0-None] ________________ dtype = dtype('float32'), itype = 'line', enout = 'bytearray', deout = 'out' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\x11Ka\xfd\x88\x00\x00\x00\x00\x00D\x01\x04@\x180\x04\x00\x04@\x00\x04\x00\x04\x00@\x10D\x00\x04@\x10\x00D\x00\x00@\x10D\x00\x01\x04@\x10\x00\x00\x00\x00\x00\x00D\x00\x00@\x00\x04"\x00\xc0\x10\x1a+a\xfd\x80 \x08\x08\x00\x00\x80\x08\x00\x02\x00\x00 \x08 \x00\x00\x02 \x08 \x00\x02 \x00\x00*\x00\x02\x00\x08"\x00\x00\x80\x80\x00\x08\x00\x02\x01\x04-U\xb2\xfe\xa0\x00\x80\x80\x00\n\x00\x82 \x08\x00*\x00\x82\xa0\x08\n\x00\x00\x82\x80\x08(\x00\x02\x80\x00\x08 \x00\x00 \x00\x08(\x00\x00 \x08(\x00\x82U[/\xe8\x00\x82\x80\x00\x00\x80\xa0\x0c\x04\x04A\xaa \x08\x02\x00\x02\x00\x08 *\x00\x00 \x08\x02\x00\x80\x82\x00\x08"\x00\x82\xa0\x08\x00(\x00\x82\xa0\x08\x00\x00J\x85[/\xea\x00\x00 \x05\x00\x00\x04\x01\x01@\x00\x10D\x01\x04\x00\x00D\x00\x01\x00@\x10T\x01\x01@\x00\x00D\x00\x01@\x10T\x04\x00\x00@\x00\x00\x01\x04\xf9@\x10\x14\x00\x05@\x00\x10\x00\n\x80 \xd5\x83e\x00\x00\x00\x10T\x01\x01@\x00\x10P\x00\x04@\x00\x14T\x00\x05@\x10\x04\x00\x05\x05\x00\x10\x10\x01\x05\x00\x00\x10\x00\x01\x04\x00\x10P\x01\x14\x80\xb6\x9f\xd4\x01\x01@\x00P\x04\x11\x00`\x080\x00\x10\x00A\x10\x00\x00\x00\x00AP\x04\x11\x00@\x00\x00\x04\x14\x00A\x10\x00\x14\x11\x00\x01\x00\x00\x05\x00\x01\x04-\x97\xf5\x00\x01\x10\x00\x00\x00\x00\x11\x00\x01P\x00\x04\x10\x00@\x00\x04\x11\x00\x00\x00P\x00\x15\x00\x01\x10\x00\x04\x01\x00\x01P\x00\x11\x04\x00A\x00\x04\x04\x00A\x01\x10\x00\x10\x00@P\x00\x00\x01\x00@@\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[float32-line-bytearray-out-mode0-omp] ________________ dtype = dtype('float32'), itype = 'line', enout = 'bytearray', deout = 'out' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\x11Ka\xfd\x88\x00\x00\x00\x00\x00D\x01\x04@\x180\x04\x00\x04@\x00\x04\x00\x04\x00@\x10D\x00\x04@\x10\x00D\x00\x00@\x10D\x00\x01\x04@\x10\x00\x00\x00\x00\x00\x00D\x00\x00@\x00\x04"\x00\xc0\x10\x1a+a\xfd\x80 \x08\x08\x00\x00\x80\x08\x00\x02\x00\x00 \x08 \x00\x00\x02 \x08 \x00\x02 \x00\x00*\x00\x02\x00\x08"\x00\x00\x80\x80\x00\x08\x00\x02\x01\x04-U\xb2\xfe\xa0\x00\x80\x80\x00\n\x00\x82 \x08\x00*\x00\x82\xa0\x08\n\x00\x00\x82\x80\x08(\x00\x02\x80\x00\x08 \x00\x00 \x00\x08(\x00\x00 \x08(\x00\x82U[/\xe8\x00\x82\x80\x00\x00\x80\xa0\x0c\x04\x04A\xaa \x08\x02\x00\x02\x00\x08 *\x00\x00 \x08\x02\x00\x80\x82\x00\x08"\x00\x82\xa0\x08\x00(\x00\x82\xa0\x08\x00\x00J\x85[/\xea\x00\x00 \x05\x00\x00\x04\x01\x01@\x00\x10D\x01\x04\x00\x00D\x00\x01\x00@\x10T\x01\x01@\x00\x00D\x00\x01@\x10T\x04\x00\x00@\x00\x00\x01\x04\xf9@\x10\x14\x00\x05@\x00\x10\x00\n\x80 \xd5\x83e\x00\x00\x00\x10T\x01\x01@\x00\x10P\x00\x04@\x00\x14T\x00\x05@\x10\x04\x00\x05\x05\x00\x10\x10\x01\x05\x00\x00\x10\x00\x01\x04\x00\x10P\x01\x14\x80\xb6\x9f\xd4\x01\x01@\x00P\x04\x11\x00`\x080\x00\x10\x00A\x10\x00\x00\x00\x00AP\x04\x11\x00@\x00\x00\x04\x14\x00A\x10\x00\x14\x11\x00\x01\x00\x00\x05\x00\x01\x04-\x97\xf5\x00\x01\x10\x00\x00\x00\x00\x11\x00\x01P\x00\x04\x10\x00@\x00\x04\x11\x00\x00\x00P\x00\x15\x00\x01\x10\x00\x04\x01\x00\x01P\x00\x11\x04\x00A\x00\x04\x04\x00A\x01\x10\x00\x10\x00@P\x00\x00\x01\x00@@\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _______________ test_zfp[float32-line-bytearray-out-mode1-None] ________________ dtype = dtype('float32'), itype = 'line', enout = 'bytearray', deout = 'out' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00\x885\x11j\xcf\xf7\x87\xaf\x15\x00\x00\x10\x04\x00\x80 @\x10\x04\x04\x00AP\x04\x00\x00\x00\x01P\x04\x10\x00\x00@\x10\x00\x10\x00A\x10\x10\x00\x00\x00@\x00\x04\x10\x00\x00\x01\x10\x00\x00\x00@\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x82\x11B\xb3\xfc\x00\x04\x00\x00\x14\x01\x05@\x18\x00\x14\x01\x01@\x00T\x01\x01\x04@\x00\x10\x00\x01@@\x10D\x01\x00\x00\x00\x10@\x01\x00\x00\x00\x04\x00\x05\x04@\x00D\x01\x05\x00\x10\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00 \xd5\x82\xac\xff\x00AP\x00\x11\x00`\x08\n\x04\x01\x00\x00@\x04\x01\x00\x00A@\x04\x04\x00A@\x00\x00\x10\x00\x01P\x04\x01\x00\x00AP\x00\x15\x00A\x00\x00\x00\x00\x00\x00\x00\x00\x04\n\xab?\xc0\x00\x00\x00\x80 \x08\x02\x05A@T\x88\x00\x08\x80\x00\xa0\x00\x08\x02\x00\x00\xa8\x02\x02\x00 \x08\x02\n\x00\x00\xa8\x00\x00\n\x80\x00\xa8\x00\x02\x00\x00\x00\x88\x00\x00\x00 \xa0\xb0Y\xfe\x00\x00\x00\x00\x00\x82 \x0c\x05\x00A*\xa8\x00\n\x00\x00 \x08*\x00\x00\x02\xa0\x00 \x00\x02\xa0 \x08\x08\x00\x80\xa0\x00(\x02\x00\x02 \x08\x00\x00\x82\x00\x00\x08\n\x00\x82\x80\x08\x00\x00\x00\x00\x00\x00"\x00\x00\x02\x82\xa05\x06~\x80\x00\x00P\x04\x02\x02\x00\x00@\x00\x15\x00A\x00\x04\x00\x10\x00AP\x00\x05\x00\x00@\x00\x04\x14\x00@P\x04\x04\x04\x00A\x00\x04\x04\x00\x00\x01\x10\x00\x00\x00A@\x00\xb3\xfc\x00\x00\x00\x00\x00\x08\x80 \xa8"\t\x14E@P\x00\x01\x00\x01P\x04\x00\x10\x00\x01\x00\x00\x00\x00\x00@P\x04\x15\x00\x01P\x10\x04\x15\x00A\x10\x04\x00\x11\x00\x00\x00\x04\x05\x00\x00\x06 \xb3\xfc\x00\x00\x00\x00\x80\x00\xa8\x00\x00\x80 \x04 \x00\x02\x00 \x00\x00\n\x02\x80 \x80\x00\x00\x80 \x00\x02\x08\x80 \x00\x00\x00\x02\x80\x00\x00\x00\x02\x00\x00\x00\x08\x02\x08\x80\x00\xa8\x00\x00\x08\x80\x00\x88\x02\n\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[float32-line-bytearray-out-mode1-omp] ________________ dtype = dtype('float32'), itype = 'line', enout = 'bytearray', deout = 'out' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00\x885\x11j\xcf\xf7\x87\xaf\x15\x00\x00\x10\x04\x00\x80 @\x10\x04\x04\x00AP\x04\x00\x00\x00\x01P\x04\x10\x00\x00@\x10\x00\x10\x00A\x10\x10\x00\x00\x00@\x00\x04\x10\x00\x00\x01\x10\x00\x00\x00@\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x82\x11B\xb3\xfc\x00\x04\x00\x00\x14\x01\x05@\x18\x00\x14\x01\x01@\x00T\x01\x01\x04@\x00\x10\x00\x01@@\x10D\x01\x00\x00\x00\x10@\x01\x00\x00\x00\x04\x00\x05\x04@\x00D\x01\x05\x00\x10\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00 \xd5\x82\xac\xff\x00AP\x00\x11\x00`\x08\n\x04\x01\x00\x00@\x04\x01\x00\x00A@\x04\x04\x00A@\x00\x00\x10\x00\x01P\x04\x01\x00\x00AP\x00\x15\x00A\x00\x00\x00\x00\x00\x00\x00\x00\x04\n\xab?\xc0\x00\x00\x00\x80 \x08\x02\x05A@T\x88\x00\x08\x80\x00\xa0\x00\x08\x02\x00\x00\xa8\x02\x02\x00 \x08\x02\n\x00\x00\xa8\x00\x00\n\x80\x00\xa8\x00\x02\x00\x00\x00\x88\x00\x00\x00 \xa0\xb0Y\xfe\x00\x00\x00\x00\x00\x82 \x0c\x05\x00A*\xa8\x00\n\x00\x00 \x08*\x00\x00\x02\xa0\x00 \x00\x02\xa0 \x08\x08\x00\x80\xa0\x00(\x02\x00\x02 \x08\x00\x00\x82\x00\x00\x08\n\x00\x82\x80\x08\x00\x00\x00\x00\x00\x00"\x00\x00\x02\x82\xa05\x06~\x80\x00\x00P\x04\x02\x02\x00\x00@\x00\x15\x00A\x00\x04\x00\x10\x00AP\x00\x05\x00\x00@\x00\x04\x14\x00@P\x04\x04\x04\x00A\x00\x04\x04\x00\x00\x01\x10\x00\x00\x00A@\x00\xb3\xfc\x00\x00\x00\x00\x00\x08\x80 \xa8"\t\x14E@P\x00\x01\x00\x01P\x04\x00\x10\x00\x01\x00\x00\x00\x00\x00@P\x04\x15\x00\x01P\x10\x04\x15\x00A\x10\x04\x00\x11\x00\x00\x00\x04\x05\x00\x00\x06 \xb3\xfc\x00\x00\x00\x00\x80\x00\xa8\x00\x00\x80 \x04 \x00\x02\x00 \x00\x00\n\x02\x80 \x80\x00\x00\x80 \x00\x02\x08\x80 \x00\x00\x00\x02\x80\x00\x00\x00\x02\x00\x00\x00\x08\x02\x08\x80\x00\xa8\x00\x00\x08\x80\x00\x88\x02\n\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ____________ test_zfp[float32-line-bytearray-bytearray-mode0-None] _____________ dtype = dtype('float32'), itype = 'line', enout = 'bytearray' deout = 'bytearray', mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\x11Ka\xfd\x88\x00\x00\x00\x00\x00D\x01\x04@\x180\x04\x00\x04@\x00\x04\x00\x04\x00@\x10D\x00\x04@\x10\x00D\x00\x00@\x10D\x00\x01\x04@\x10\x00\x00\x00\x00\x00\x00D\x00\x00@\x00\x04"\x00\xc0\x10\x1a+a\xfd\x80 \x08\x08\x00\x00\x80\x08\x00\x02\x00\x00 \x08 \x00\x00\x02 \x08 \x00\x02 \x00\x00*\x00\x02\x00\x08"\x00\x00\x80\x80\x00\x08\x00\x02\x01\x04-U\xb2\xfe\xa0\x00\x80\x80\x00\n\x00\x82 \x08\x00*\x00\x82\xa0\x08\n\x00\x00\x82\x80\x08(\x00\x02\x80\x00\x08 \x00\x00 \x00\x08(\x00\x00 \x08(\x00\x82U[/\xe8\x00\x82\x80\x00\x00\x80\xa0\x0c\x04\x04A\xaa \x08\x02\x00\x02\x00\x08 *\x00\x00 \x08\x02\x00\x80\x82\x00\x08"\x00\x82\xa0\x08\x00(\x00\x82\xa0\x08\x00\x00J\x85[/\xea\x00\x00 \x05\x00\x00\x04\x01\x01@\x00\x10D\x01\x04\x00\x00D\x00\x01\x00@\x10T\x01\x01@\x00\x00D\x00\x01@\x10T\x04\x00\x00@\x00\x00\x01\x04\xf9@\x10\x14\x00\x05@\x00\x10\x00\n\x80 \xd5\x83e\x00\x00\x00\x10T\x01\x01@\x00\x10P\x00\x04@\x00\x14T\x00\x05@\x10\x04\x00\x05\x05\x00\x10\x10\x01\x05\x00\x00\x10\x00\x01\x04\x00\x10P\x01\x14\x80\xb6\x9f\xd4\x01\x01@\x00P\x04\x11\x00`\x080\x00\x10\x00A\x10\x00\x00\x00\x00AP\x04\x11\x00@\x00\x00\x04\x14\x00A\x10\x00\x14\x11\x00\x01\x00\x00\x05\x00\x01\x04-\x97\xf5\x00\x01\x10\x00\x00\x00\x00\x11\x00\x01P\x00\x04\x10\x00@\x00\x04\x11\x00\x00\x00P\x00\x15\x00\x01\x10\x00\x04\x01\x00\x01P\x00\x11\x04\x00A\x00\x04\x04\x00A\x01\x10\x00\x10\x00@P\x00\x00\x01\x00@@\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _____________ test_zfp[float32-line-bytearray-bytearray-mode0-omp] _____________ dtype = dtype('float32'), itype = 'line', enout = 'bytearray' deout = 'bytearray', mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\x11Ka\xfd\x88\x00\x00\x00\x00\x00D\x01\x04@\x180\x04\x00\x04@\x00\x04\x00\x04\x00@\x10D\x00\x04@\x10\x00D\x00\x00@\x10D\x00\x01\x04@\x10\x00\x00\x00\x00\x00\x00D\x00\x00@\x00\x04"\x00\xc0\x10\x1a+a\xfd\x80 \x08\x08\x00\x00\x80\x08\x00\x02\x00\x00 \x08 \x00\x00\x02 \x08 \x00\x02 \x00\x00*\x00\x02\x00\x08"\x00\x00\x80\x80\x00\x08\x00\x02\x01\x04-U\xb2\xfe\xa0\x00\x80\x80\x00\n\x00\x82 \x08\x00*\x00\x82\xa0\x08\n\x00\x00\x82\x80\x08(\x00\x02\x80\x00\x08 \x00\x00 \x00\x08(\x00\x00 \x08(\x00\x82U[/\xe8\x00\x82\x80\x00\x00\x80\xa0\x0c\x04\x04A\xaa \x08\x02\x00\x02\x00\x08 *\x00\x00 \x08\x02\x00\x80\x82\x00\x08"\x00\x82\xa0\x08\x00(\x00\x82\xa0\x08\x00\x00J\x85[/\xea\x00\x00 \x05\x00\x00\x04\x01\x01@\x00\x10D\x01\x04\x00\x00D\x00\x01\x00@\x10T\x01\x01@\x00\x00D\x00\x01@\x10T\x04\x00\x00@\x00\x00\x01\x04\xf9@\x10\x14\x00\x05@\x00\x10\x00\n\x80 \xd5\x83e\x00\x00\x00\x10T\x01\x01@\x00\x10P\x00\x04@\x00\x14T\x00\x05@\x10\x04\x00\x05\x05\x00\x10\x10\x01\x05\x00\x00\x10\x00\x01\x04\x00\x10P\x01\x14\x80\xb6\x9f\xd4\x01\x01@\x00P\x04\x11\x00`\x080\x00\x10\x00A\x10\x00\x00\x00\x00AP\x04\x11\x00@\x00\x00\x04\x14\x00A\x10\x00\x14\x11\x00\x01\x00\x00\x05\x00\x01\x04-\x97\xf5\x00\x01\x10\x00\x00\x00\x00\x11\x00\x01P\x00\x04\x10\x00@\x00\x04\x11\x00\x00\x00P\x00\x15\x00\x01\x10\x00\x04\x01\x00\x01P\x00\x11\x04\x00A\x00\x04\x04\x00A\x01\x10\x00\x10\x00@P\x00\x00\x01\x00@@\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ____________ test_zfp[float32-line-bytearray-bytearray-mode1-None] _____________ dtype = dtype('float32'), itype = 'line', enout = 'bytearray' deout = 'bytearray', mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00\x885\x11j\xcf\xf7\x87\xaf\x15\x00\x00\x10\x04\x00\x80 @\x10\x04\x04\x00AP\x04\x00\x00\x00\x01P\x04\x10\x00\x00@\x10\x00\x10\x00A\x10\x10\x00\x00\x00@\x00\x04\x10\x00\x00\x01\x10\x00\x00\x00@\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x82\x11B\xb3\xfc\x00\x04\x00\x00\x14\x01\x05@\x18\x00\x14\x01\x01@\x00T\x01\x01\x04@\x00\x10\x00\x01@@\x10D\x01\x00\x00\x00\x10@\x01\x00\x00\x00\x04\x00\x05\x04@\x00D\x01\x05\x00\x10\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00 \xd5\x82\xac\xff\x00AP\x00\x11\x00`\x08\n\x04\x01\x00\x00@\x04\x01\x00\x00A@\x04\x04\x00A@\x00\x00\x10\x00\x01P\x04\x01\x00\x00AP\x00\x15\x00A\x00\x00\x00\x00\x00\x00\x00\x00\x04\n\xab?\xc0\x00\x00\x00\x80 \x08\x02\x05A@T\x88\x00\x08\x80\x00\xa0\x00\x08\x02\x00\x00\xa8\x02\x02\x00 \x08\x02\n\x00\x00\xa8\x00\x00\n\x80\x00\xa8\x00\x02\x00\x00\x00\x88\x00\x00\x00 \xa0\xb0Y\xfe\x00\x00\x00\x00\x00\x82 \x0c\x05\x00A*\xa8\x00\n\x00\x00 \x08*\x00\x00\x02\xa0\x00 \x00\x02\xa0 \x08\x08\x00\x80\xa0\x00(\x02\x00\x02 \x08\x00\x00\x82\x00\x00\x08\n\x00\x82\x80\x08\x00\x00\x00\x00\x00\x00"\x00\x00\x02\x82\xa05\x06~\x80\x00\x00P\x04\x02\x02\x00\x00@\x00\x15\x00A\x00\x04\x00\x10\x00AP\x00\x05\x00\x00@\x00\x04\x14\x00@P\x04\x04\x04\x00A\x00\x04\x04\x00\x00\x01\x10\x00\x00\x00A@\x00\xb3\xfc\x00\x00\x00\x00\x00\x08\x80 \xa8"\t\x14E@P\x00\x01\x00\x01P\x04\x00\x10\x00\x01\x00\x00\x00\x00\x00@P\x04\x15\x00\x01P\x10\x04\x15\x00A\x10\x04\x00\x11\x00\x00\x00\x04\x05\x00\x00\x06 \xb3\xfc\x00\x00\x00\x00\x80\x00\xa8\x00\x00\x80 \x04 \x00\x02\x00 \x00\x00\n\x02\x80 \x80\x00\x00\x80 \x00\x02\x08\x80 \x00\x00\x00\x02\x80\x00\x00\x00\x02\x00\x00\x00\x08\x02\x08\x80\x00\xa8\x00\x00\x08\x80\x00\x88\x02\n\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _____________ test_zfp[float32-line-bytearray-bytearray-mode1-omp] _____________ dtype = dtype('float32'), itype = 'line', enout = 'bytearray' deout = 'bytearray', mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00\x885\x11j\xcf\xf7\x87\xaf\x15\x00\x00\x10\x04\x00\x80 @\x10\x04\x04\x00AP\x04\x00\x00\x00\x01P\x04\x10\x00\x00@\x10\x00\x10\x00A\x10\x10\x00\x00\x00@\x00\x04\x10\x00\x00\x01\x10\x00\x00\x00@\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x82\x11B\xb3\xfc\x00\x04\x00\x00\x14\x01\x05@\x18\x00\x14\x01\x01@\x00T\x01\x01\x04@\x00\x10\x00\x01@@\x10D\x01\x00\x00\x00\x10@\x01\x00\x00\x00\x04\x00\x05\x04@\x00D\x01\x05\x00\x10\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00 \xd5\x82\xac\xff\x00AP\x00\x11\x00`\x08\n\x04\x01\x00\x00@\x04\x01\x00\x00A@\x04\x04\x00A@\x00\x00\x10\x00\x01P\x04\x01\x00\x00AP\x00\x15\x00A\x00\x00\x00\x00\x00\x00\x00\x00\x04\n\xab?\xc0\x00\x00\x00\x80 \x08\x02\x05A@T\x88\x00\x08\x80\x00\xa0\x00\x08\x02\x00\x00\xa8\x02\x02\x00 \x08\x02\n\x00\x00\xa8\x00\x00\n\x80\x00\xa8\x00\x02\x00\x00\x00\x88\x00\x00\x00 \xa0\xb0Y\xfe\x00\x00\x00\x00\x00\x82 \x0c\x05\x00A*\xa8\x00\n\x00\x00 \x08*\x00\x00\x02\xa0\x00 \x00\x02\xa0 \x08\x08\x00\x80\xa0\x00(\x02\x00\x02 \x08\x00\x00\x82\x00\x00\x08\n\x00\x82\x80\x08\x00\x00\x00\x00\x00\x00"\x00\x00\x02\x82\xa05\x06~\x80\x00\x00P\x04\x02\x02\x00\x00@\x00\x15\x00A\x00\x04\x00\x10\x00AP\x00\x05\x00\x00@\x00\x04\x14\x00@P\x04\x04\x04\x00A\x00\x04\x04\x00\x00\x01\x10\x00\x00\x00A@\x00\xb3\xfc\x00\x00\x00\x00\x00\x08\x80 \xa8"\t\x14E@P\x00\x01\x00\x01P\x04\x00\x10\x00\x01\x00\x00\x00\x00\x00@P\x04\x15\x00\x01P\x10\x04\x15\x00A\x10\x04\x00\x11\x00\x00\x00\x04\x05\x00\x00\x06 \xb3\xfc\x00\x00\x00\x00\x80\x00\xa8\x00\x00\x80 \x04 \x00\x02\x00 \x00\x00\n\x02\x80 \x80\x00\x00\x80 \x00\x02\x08\x80 \x00\x00\x00\x02\x80\x00\x00\x00\x02\x00\x00\x00\x08\x02\x08\x80\x00\xa8\x00\x00\x08\x80\x00\x88\x02\n\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError __________________ test_zfp[float64-rgba-new-new-mode0-None] ___________________ dtype = dtype('float64'), itype = 'rgba', enout = 'new', deout = 'new' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00;\x05pfz\x00v\xcf\xfd\x88\x00\x01\xf0\x00v\x00\x08\xe4\x01\x02\x80\x1cb\x03\x80\x03\x0c\x08\x02\xc00\xe4\x0c\x00\xc0 \xf0x\x0f\xc3\xe2\x04\x08\x06q\xef\xa4\x8f\x83\xc2\x016\x03a\xbc\x8e\x1d\x80l\x98\x0cs\xe7\x1f\xcc\x08\xf4\x8f\x0c\x02\xc0~_\x08\x9d\x7f\x1er\xd8\r\x97\x06\x01\xb9\xc1\r\xd8\xf3\xd4\xcc\xbeF\x07c\xc0\x10Z\x15\xae\x12\x03\x01\x9bs\x8c\xdb\xa5I\xcb\xf0\x9b\x0c\x0c\xd3\xacr\xeb\x1d|\x13\x9c\xfc\x836\xf2\x1d\x7f\x80\\\xb1\x9bF\xe8\x01\xdb`E!z\x0b4\xfc\xc0\xff\xdc\x8a\xa7k\xec\xfd\xe7\x1cP\xd2^\xab\x1bl\xdb\x9eR\xfe\xbd\xbe1\x82\x83\x9d\x95\xf5\xae\xb2/\xac\x18\xe0\x11\xe4\x91\x13\x17\xdaCF\xa8{6\xaf\xd2\x14\xde\xbc\x8f\x1d:\x91\x94q*~\x0c^\x90\xe60\xb3\xcb\xbf\xe5\x98j\x01\x9d3\xcbn\x03$\t\x19\xeaM\xfd\xad\xcd\xd9(\xf7Y\x93\xa2\xcb{\xe6P\x13=\xc2\xf2\xdc\x02\x80\x00\xfc\xdeTg\x05\x8a\x82\x00\xff\xba\xf0\x01\xc0\x00\x00\x00\xcc\x8c}\x80E\x02\x00\x00^6\x00\x80\x04\x02\x00\x00\x82 `\xa0\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x00`\x00\x04\x02\x00\x00\xec \x00\x80\x04\x02\x00\x00\x840`\x80\x04\x02\x00\x00, `\x80\x00\x00\x00\x00 \x10`\x00\x04\x00\x00\x00@`\x00@\x00\x00\x00\x00\xe8` @\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[float64-rgba-new-new-mode0-omp] ___________________ dtype = dtype('float64'), itype = 'rgba', enout = 'new', deout = 'new' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00;\x05pfz\x00v\xcf\xfd\x88\x00\x01\xf0\x00v\x00\x08\xe4\x01\x02\x80\x1cb\x03\x80\x03\x0c\x08\x02\xc00\xe4\x0c\x00\xc0 \xf0x\x0f\xc3\xe2\x04\x08\x06q\xef\xa4\x8f\x83\xc2\x016\x03a\xbc\x8e\x1d\x80l\x98\x0cs\xe7\x1f\xcc\x08\xf4\x8f\x0c\x02\xc0~_\x08\x9d\x7f\x1er\xd8\r\x97\x06\x01\xb9\xc1\r\xd8\xf3\xd4\xcc\xbeF\x07c\xc0\x10Z\x15\xae\x12\x03\x01\x9bs\x8c\xdb\xa5I\xcb\xf0\x9b\x0c\x0c\xd3\xacr\xeb\x1d|\x13\x9c\xfc\x836\xf2\x1d\x7f\x80\\\xb1\x9bF\xe8\x01\xdb`E!z\x0b4\xfc\xc0\xff\xdc\x8a\xa7k\xec\xfd\xe7\x1cP\xd2^\xab\x1bl\xdb\x9eR\xfe\xbd\xbe1\x82\x83\x9d\x95\xf5\xae\xb2/\xac\x18\xe0\x11\xe4\x91\x13\x17\xdaCF\xa8{6\xaf\xd2\x14\xde\xbc\x8f\x1d:\x91\x94q*~\x0c^\x90\xe60\xb3\xcb\xbf\xe5\x98j\x01\x9d3\xcbn\x03$\t\x19\xeaM\xfd\xad\xcd\xd9(\xf7Y\x93\xa2\xcb{\xe6P\x13=\xc2\xf2\xdc\x02\x80\x00\xfc\xdeTg\x05\x8a\x82\x00\xff\xba\xf0\x01\xc0\x00\x00\x00\xcc\x8c}\x80E\x02\x00\x00^6\x00\x80\x04\x02\x00\x00\x82 `\xa0\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x00`\x00\x04\x02\x00\x00\xec \x00\x80\x04\x02\x00\x00\x840`\x80\x04\x02\x00\x00, `\x80\x00\x00\x00\x00 \x10`\x00\x04\x00\x00\x00@`\x00@\x00\x00\x00\x00\xe8` @\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError __________________ test_zfp[float64-rgba-new-new-mode1-None] ___________________ dtype = dtype('float64'), itype = 'rgba', enout = 'new', deout = 'new' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00;\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0A\x808V\x7f\xf7\x87\xaf\x01\x82\xcd@\xd9H\x08/\x01\x8b\xd3\x01\xc8\x94\x1er\x06\x130\x00\xa02\x00MSf\'\x85\xdc\x01\xa3C\x90\xb1\x05\x06F\xed\xe9\xa0O\x0cM27\x80]\xa5\xe5;\xfeLIm]\x8d9\xd6\xe0\xb2%\x92ge^\xc3&!!\x828x\x1f\x9f\xdf>"`\xc4\x85\xd4c\x08G\xad8\x13tY\x0f[\xcf\x01\xeeh\xd02V\x1a\x91\t\x1b\xfe\xa5\xe0\x82\x8e\xf9\x9e\x1b,Tn}I\xac\x97\x03l\'O\xedQR\x87\x14\xdc\xc6R\x89\xb2!-:*e\x86\x8a]\xaf\x0cFT\xb5\x9e\x9e\xbb\x9e$\x07\x18\xd4\x86\xb3\x7f\x94\xb6L\xb3\x81\xe1\x9dH\xc1\xbf\xbf\x95I\x01d\x13\xca\xd9\xd1\xc9J\xea^W\xf3\x92\x0cl.\x8c\x00\xe7\x88\x850v>\xa6\xde\xcf\xca\xd82\x13\xd4i@(z\x00#\xaa\x05iv\xa8\xc3\x13\x9d}\x94\xf8\xb7\t\x84\xdd\x80\x01\x8bkPF\x86\x07\xcf\xeb\x1f|\x00X?\xdf{\x9fz\x11k~\xd9a\x1d}\x80\x8b^\xc5\x02\x9e0\x13\xe0\xed\xd0\n\xc0At\x16\xfaw\xc0\xa4\x9a!-\x1c\xa4\x1fdy\xa1f\xe4y\xbf\x85O\x05\xfe\x9e/\x9f\xe0m\xd1\xca\xc0Gt\x18\xfa\xf7\xc0\xa4\x9a&-\x1e\xa4\x1f\xe4y\xa1g\xe4{\xbf\x93\xcf\x05\xfe\x9f/\x9d\xe4\x921\xda\xe1F\xf4\x02\xff\xe7\xcb\xb4\xbf!\x8f\x80A\xef_IF@\xa2\x9ae\x02\x90\x9c\xe7Gv\xed\xbad\x8b\xbc\xdb\xfe\rs\x04\x8e>\xcf`\xd9\x90h\x85\x97q\x96\'\x9eB\x8d\x1a\x0c\x8b:\x1bf\xe9\x1a;\xeb^M\x9cC\x...86\x0b\x90\x19h \xa4\xf5\xd3;\x88\xd8$adC\xa8KU\x1c\x10\xc7\x84\x00\xe4\xfa\x9a!\x82$&\xc2\x00\xa6v\xe8@\x17\xaax\xb5V]\xd3\xe8u\xbc6\xba\xd9vs\x9a\xd4\xbfT\xe4\xabO\xfa\xdaT\xa3\xf0E\x90\xb4\xf4\xf5\xa0vWU\x99\x03q\x14\xb5\xd9\xbe\xccm\x07_\x93\xaf\xe5\xe5y\xc4e\xd4\x14\xb8\xb2\x0e(E\xdf\xcf}.P\x16\xbb\x83n\xbeV\xb2\xf6M\xb6U0\xf7\xe6\xb1\xa9\\\xc6\xadi\x81\xe6\x1c\xae\x96\xf8\x84\xab\x92\x82\xa0?\x96\xa0\x0e\xa1l\xca\xe1~\xd6\x84\xb8t\xc8\xe3\x99\x9d\xc2\xb0\xf3\xad\x14\x05H\x94\x7fH:0 \xe7\xceEs\x908\xef\xeb\x04<\xb4\xb0}\xff\xf21\xaf\x1e\xc1%\x1e2\x11\xd58q\x0f8\xcc\xe2\xe4\x9c"\x1c\x7f:\x13b\xff\x04?6r"\xd3\xa0\x9f\x98\x1f*u\x1a\xc3\xc2{\x9c=>\x078\xd0\xe2\xe4\x9c"\x1cw:\x13b\xff\x04?6r"\xd3\xa0\x9f\x98\x1f*u\x1a\xc3\xc2{\x9c=>\x078\xd0\xe2\xe4\x9c"\x1cw:\x13b\xff\x04?6r"\xd3\xa0\x9f\x98\x1f*u\x1a\xc3\xc2{\x9c=>\x078\xd0\xe2\xe4\x9c"\x0cw:\x13b\xff\x04?&2"\xd3\xa0\x9f\x98\x9a:5\x1e\x83\xc2s\x1c\xfagBf\x90\xe2\xf1\x1aGP\x17VS{\xf9\x8a\n7\xf2^\xb4\xb9\xf7T\xffR\x97\'B\xaa_\x93\x10\xdf\xc0\xdd\x04\x9f\x00\x00\x00\x00\x00\x01C\xb2') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[float64-rgba-new-new-mode1-omp] ___________________ dtype = dtype('float64'), itype = 'rgba', enout = 'new', deout = 'new' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00;\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0A\x808V\x7f\xf7\x87\xaf\x01\x82\xcd@\xd9H\x08/\x01\x8b\xd3\x01\xc8\x94\x1er\x06\x130\x00\xa02\x00MSf\'\x85\xdc\x01\xa3C\x90\xb1\x05\x06F\xed\xe9\xa0O\x0cM27\x80]\xa5\xe5;\xfeLIm]\x8d9\xd6\xe0\xb2%\x92ge^\xc3&!!\x828x\x1f\x9f\xdf>"`\xc4\x85\xd4c\x08G\xad8\x13tY\x0f[\xcf\x01\xeeh\xd02V\x1a\x91\t\x1b\xfe\xa5\xe0\x82\x8e\xf9\x9e\x1b,Tn}I\xac\x97\x03l\'O\xedQR\x87\x14\xdc\xc6R\x89\xb2!-:*e\x86\x8a]\xaf\x0cFT\xb5\x9e\x9e\xbb\x9e$\x07\x18\xd4\x86\xb3\x7f\x94\xb6L\xb3\x81\xe1\x9dH\xc1\xbf\xbf\x95I\x01d\x13\xca\xd9\xd1\xc9J\xea^W\xf3\x92\x0cl.\x8c\x00\xe7\x88\x850v>\xa6\xde\xcf\xca\xd82\x13\xd4i@(z\x00#\xaa\x05iv\xa8\xc3\x13\x9d}\x94\xf8\xb7\t\x84\xdd\x80\x01\x8bkPF\x86\x07\xcf\xeb\x1f|\x00X?\xdf{\x9fz\x11k~\xd9a\x1d}\x80\x8b^\xc5\x02\x9e0\x13\xe0\xed\xd0\n\xc0At\x16\xfaw\xc0\xa4\x9a!-\x1c\xa4\x1fdy\xa1f\xe4y\xbf\x85O\x05\xfe\x9e/\x9f\xe0m\xd1\xca\xc0Gt\x18\xfa\xf7\xc0\xa4\x9a&-\x1e\xa4\x1f\xe4y\xa1g\xe4{\xbf\x93\xcf\x05\xfe\x9f/\x9d\xe4\x921\xda\xe1F\xf4\x02\xff\xe7\xcb\xb4\xbf!\x8f\x80A\xef_IF@\xa2\x9ae\x02\x90\x9c\xe7Gv\xed\xbad\x8b\xbc\xdb\xfe\rs\x04\x8e>\xcf`\xd9\x90h\x85\x97q\x96\'\x9eB\x8d\x1a\x0c\x8b:\x1bf\xe9\x1a;\xeb^M\x9cC\x...86\x0b\x90\x19h \xa4\xf5\xd3;\x88\xd8$adC\xa8KU\x1c\x10\xc7\x84\x00\xe4\xfa\x9a!\x82$&\xc2\x00\xa6v\xe8@\x17\xaax\xb5V]\xd3\xe8u\xbc6\xba\xd9vs\x9a\xd4\xbfT\xe4\xabO\xfa\xdaT\xa3\xf0E\x90\xb4\xf4\xf5\xa0vWU\x99\x03q\x14\xb5\xd9\xbe\xccm\x07_\x93\xaf\xe5\xe5y\xc4e\xd4\x14\xb8\xb2\x0e(E\xdf\xcf}.P\x16\xbb\x83n\xbeV\xb2\xf6M\xb6U0\xf7\xe6\xb1\xa9\\\xc6\xadi\x81\xe6\x1c\xae\x96\xf8\x84\xab\x92\x82\xa0?\x96\xa0\x0e\xa1l\xca\xe1~\xd6\x84\xb8t\xc8\xe3\x99\x9d\xc2\xb0\xf3\xad\x14\x05H\x94\x7fH:0 \xe7\xceEs\x908\xef\xeb\x04<\xb4\xb0}\xff\xf21\xaf\x1e\xc1%\x1e2\x11\xd58q\x0f8\xcc\xe2\xe4\x9c"\x1c\x7f:\x13b\xff\x04?6r"\xd3\xa0\x9f\x98\x1f*u\x1a\xc3\xc2{\x9c=>\x078\xd0\xe2\xe4\x9c"\x1cw:\x13b\xff\x04?6r"\xd3\xa0\x9f\x98\x1f*u\x1a\xc3\xc2{\x9c=>\x078\xd0\xe2\xe4\x9c"\x1cw:\x13b\xff\x04?6r"\xd3\xa0\x9f\x98\x1f*u\x1a\xc3\xc2{\x9c=>\x078\xd0\xe2\xe4\x9c"\x0cw:\x13b\xff\x04?&2"\xd3\xa0\x9f\x98\x9a:5\x1e\x83\xc2s\x1c\xfagBf\x90\xe2\xf1\x1aGP\x17VS{\xf9\x8a\n7\xf2^\xb4\xb9\xf7T\xffR\x97\'B\xaa_\x93\x10\xdf\xc0\xdd\x04\x9f\x00\x00\x00\x00\x00\x01C\xb2') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError __________________ test_zfp[float64-rgba-new-out-mode0-None] ___________________ dtype = dtype('float64'), itype = 'rgba', enout = 'new', deout = 'out' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00;\x05pfz\x00v\xcf\xfd\x88\x00\x01\xf0\x00v\x00\x08\xe4\x01\x02\x80\x1cb\x03\x80\x03\x0c\x08\x02\xc00\xe4\x0c\x00\xc0 \xf0x\x0f\xc3\xe2\x04\x08\x06q\xef\xa4\x8f\x83\xc2\x016\x03a\xbc\x8e\x1d\x80l\x98\x0cs\xe7\x1f\xcc\x08\xf4\x8f\x0c\x02\xc0~_\x08\x9d\x7f\x1er\xd8\r\x97\x06\x01\xb9\xc1\r\xd8\xf3\xd4\xcc\xbeF\x07c\xc0\x10Z\x15\xae\x12\x03\x01\x9bs\x8c\xdb\xa5I\xcb\xf0\x9b\x0c\x0c\xd3\xacr\xeb\x1d|\x13\x9c\xfc\x836\xf2\x1d\x7f\x80\\\xb1\x9bF\xe8\x01\xdb`E!z\x0b4\xfc\xc0\xff\xdc\x8a\xa7k\xec\xfd\xe7\x1cP\xd2^\xab\x1bl\xdb\x9eR\xfe\xbd\xbe1\x82\x83\x9d\x95\xf5\xae\xb2/\xac\x18\xe0\x11\xe4\x91\x13\x17\xdaCF\xa8{6\xaf\xd2\x14\xde\xbc\x8f\x1d:\x91\x94q*~\x0c^\x90\xe60\xb3\xcb\xbf\xe5\x98j\x01\x9d3\xcbn\x03$\t\x19\xeaM\xfd\xad\xcd\xd9(\xf7Y\x93\xa2\xcb{\xe6P\x13=\xc2\xf2\xdc\x02\x80\x00\xfc\xdeTg\x05\x8a\x82\x00\xff\xba\xf0\x01\xc0\x00\x00\x00\xcc\x8c}\x80E\x02\x00\x00^6\x00\x80\x04\x02\x00\x00\x82 `\xa0\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x00`\x00\x04\x02\x00\x00\xec \x00\x80\x04\x02\x00\x00\x840`\x80\x04\x02\x00\x00, `\x80\x00\x00\x00\x00 \x10`\x00\x04\x00\x00\x00@`\x00@\x00\x00\x00\x00\xe8` @\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[float64-rgba-new-out-mode0-omp] ___________________ dtype = dtype('float64'), itype = 'rgba', enout = 'new', deout = 'out' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00;\x05pfz\x00v\xcf\xfd\x88\x00\x01\xf0\x00v\x00\x08\xe4\x01\x02\x80\x1cb\x03\x80\x03\x0c\x08\x02\xc00\xe4\x0c\x00\xc0 \xf0x\x0f\xc3\xe2\x04\x08\x06q\xef\xa4\x8f\x83\xc2\x016\x03a\xbc\x8e\x1d\x80l\x98\x0cs\xe7\x1f\xcc\x08\xf4\x8f\x0c\x02\xc0~_\x08\x9d\x7f\x1er\xd8\r\x97\x06\x01\xb9\xc1\r\xd8\xf3\xd4\xcc\xbeF\x07c\xc0\x10Z\x15\xae\x12\x03\x01\x9bs\x8c\xdb\xa5I\xcb\xf0\x9b\x0c\x0c\xd3\xacr\xeb\x1d|\x13\x9c\xfc\x836\xf2\x1d\x7f\x80\\\xb1\x9bF\xe8\x01\xdb`E!z\x0b4\xfc\xc0\xff\xdc\x8a\xa7k\xec\xfd\xe7\x1cP\xd2^\xab\x1bl\xdb\x9eR\xfe\xbd\xbe1\x82\x83\x9d\x95\xf5\xae\xb2/\xac\x18\xe0\x11\xe4\x91\x13\x17\xdaCF\xa8{6\xaf\xd2\x14\xde\xbc\x8f\x1d:\x91\x94q*~\x0c^\x90\xe60\xb3\xcb\xbf\xe5\x98j\x01\x9d3\xcbn\x03$\t\x19\xeaM\xfd\xad\xcd\xd9(\xf7Y\x93\xa2\xcb{\xe6P\x13=\xc2\xf2\xdc\x02\x80\x00\xfc\xdeTg\x05\x8a\x82\x00\xff\xba\xf0\x01\xc0\x00\x00\x00\xcc\x8c}\x80E\x02\x00\x00^6\x00\x80\x04\x02\x00\x00\x82 `\xa0\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x00`\x00\x04\x02\x00\x00\xec \x00\x80\x04\x02\x00\x00\x840`\x80\x04\x02\x00\x00, `\x80\x00\x00\x00\x00 \x10`\x00\x04\x00\x00\x00@`\x00@\x00\x00\x00\x00\xe8` @\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError __________________ test_zfp[float64-rgba-new-out-mode1-None] ___________________ dtype = dtype('float64'), itype = 'rgba', enout = 'new', deout = 'out' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00;\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0A\x808V\x7f\xf7\x87\xaf\x01\x82\xcd@\xd9H\x08/\x01\x8b\xd3\x01\xc8\x94\x1er\x06\x130\x00\xa02\x00MSf\'\x85\xdc\x01\xa3C\x90\xb1\x05\x06F\xed\xe9\xa0O\x0cM27\x80]\xa5\xe5;\xfeLIm]\x8d9\xd6\xe0\xb2%\x92ge^\xc3&!!\x828x\x1f\x9f\xdf>"`\xc4\x85\xd4c\x08G\xad8\x13tY\x0f[\xcf\x01\xeeh\xd02V\x1a\x91\t\x1b\xfe\xa5\xe0\x82\x8e\xf9\x9e\x1b,Tn}I\xac\x97\x03l\'O\xedQR\x87\x14\xdc\xc6R\x89\xb2!-:*e\x86\x8a]\xaf\x0cFT\xb5\x9e\x9e\xbb\x9e$\x07\x18\xd4\x86\xb3\x7f\x94\xb6L\xb3\x81\xe1\x9dH\xc1\xbf\xbf\x95I\x01d\x13\xca\xd9\xd1\xc9J\xea^W\xf3\x92\x0cl.\x8c\x00\xe7\x88\x850v>\xa6\xde\xcf\xca\xd82\x13\xd4i@(z\x00#\xaa\x05iv\xa8\xc3\x13\x9d}\x94\xf8\xb7\t\x84\xdd\x80\x01\x8bkPF\x86\x07\xcf\xeb\x1f|\x00X?\xdf{\x9fz\x11k~\xd9a\x1d}\x80\x8b^\xc5\x02\x9e0\x13\xe0\xed\xd0\n\xc0At\x16\xfaw\xc0\xa4\x9a!-\x1c\xa4\x1fdy\xa1f\xe4y\xbf\x85O\x05\xfe\x9e/\x9f\xe0m\xd1\xca\xc0Gt\x18\xfa\xf7\xc0\xa4\x9a&-\x1e\xa4\x1f\xe4y\xa1g\xe4{\xbf\x93\xcf\x05\xfe\x9f/\x9d\xe4\x921\xda\xe1F\xf4\x02\xff\xe7\xcb\xb4\xbf!\x8f\x80A\xef_IF@\xa2\x9ae\x02\x90\x9c\xe7Gv\xed\xbad\x8b\xbc\xdb\xfe\rs\x04\x8e>\xcf`\xd9\x90h\x85\x97q\x96\'\x9eB\x8d\x1a\x0c\x8b:\x1bf\xe9\x1a;\xeb^M\x9cC\x...86\x0b\x90\x19h \xa4\xf5\xd3;\x88\xd8$adC\xa8KU\x1c\x10\xc7\x84\x00\xe4\xfa\x9a!\x82$&\xc2\x00\xa6v\xe8@\x17\xaax\xb5V]\xd3\xe8u\xbc6\xba\xd9vs\x9a\xd4\xbfT\xe4\xabO\xfa\xdaT\xa3\xf0E\x90\xb4\xf4\xf5\xa0vWU\x99\x03q\x14\xb5\xd9\xbe\xccm\x07_\x93\xaf\xe5\xe5y\xc4e\xd4\x14\xb8\xb2\x0e(E\xdf\xcf}.P\x16\xbb\x83n\xbeV\xb2\xf6M\xb6U0\xf7\xe6\xb1\xa9\\\xc6\xadi\x81\xe6\x1c\xae\x96\xf8\x84\xab\x92\x82\xa0?\x96\xa0\x0e\xa1l\xca\xe1~\xd6\x84\xb8t\xc8\xe3\x99\x9d\xc2\xb0\xf3\xad\x14\x05H\x94\x7fH:0 \xe7\xceEs\x908\xef\xeb\x04<\xb4\xb0}\xff\xf21\xaf\x1e\xc1%\x1e2\x11\xd58q\x0f8\xcc\xe2\xe4\x9c"\x1c\x7f:\x13b\xff\x04?6r"\xd3\xa0\x9f\x98\x1f*u\x1a\xc3\xc2{\x9c=>\x078\xd0\xe2\xe4\x9c"\x1cw:\x13b\xff\x04?6r"\xd3\xa0\x9f\x98\x1f*u\x1a\xc3\xc2{\x9c=>\x078\xd0\xe2\xe4\x9c"\x1cw:\x13b\xff\x04?6r"\xd3\xa0\x9f\x98\x1f*u\x1a\xc3\xc2{\x9c=>\x078\xd0\xe2\xe4\x9c"\x0cw:\x13b\xff\x04?&2"\xd3\xa0\x9f\x98\x9a:5\x1e\x83\xc2s\x1c\xfagBf\x90\xe2\xf1\x1aGP\x17VS{\xf9\x8a\n7\xf2^\xb4\xb9\xf7T\xffR\x97\'B\xaa_\x93\x10\xdf\xc0\xdd\x04\x9f\x00\x00\x00\x00\x00\x01C\xb2') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[float64-rgba-new-out-mode1-omp] ___________________ dtype = dtype('float64'), itype = 'rgba', enout = 'new', deout = 'out' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00;\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0A\x808V\x7f\xf7\x87\xaf\x01\x82\xcd@\xd9H\x08/\x01\x8b\xd3\x01\xc8\x94\x1er\x06\x130\x00\xa02\x00MSf\'\x85\xdc\x01\xa3C\x90\xb1\x05\x06F\xed\xe9\xa0O\x0cM27\x80]\xa5\xe5;\xfeLIm]\x8d9\xd6\xe0\xb2%\x92ge^\xc3&!!\x828x\x1f\x9f\xdf>"`\xc4\x85\xd4c\x08G\xad8\x13tY\x0f[\xcf\x01\xeeh\xd02V\x1a\x91\t\x1b\xfe\xa5\xe0\x82\x8e\xf9\x9e\x1b,Tn}I\xac\x97\x03l\'O\xedQR\x87\x14\xdc\xc6R\x89\xb2!-:*e\x86\x8a]\xaf\x0cFT\xb5\x9e\x9e\xbb\x9e$\x07\x18\xd4\x86\xb3\x7f\x94\xb6L\xb3\x81\xe1\x9dH\xc1\xbf\xbf\x95I\x01d\x13\xca\xd9\xd1\xc9J\xea^W\xf3\x92\x0cl.\x8c\x00\xe7\x88\x850v>\xa6\xde\xcf\xca\xd82\x13\xd4i@(z\x00#\xaa\x05iv\xa8\xc3\x13\x9d}\x94\xf8\xb7\t\x84\xdd\x80\x01\x8bkPF\x86\x07\xcf\xeb\x1f|\x00X?\xdf{\x9fz\x11k~\xd9a\x1d}\x80\x8b^\xc5\x02\x9e0\x13\xe0\xed\xd0\n\xc0At\x16\xfaw\xc0\xa4\x9a!-\x1c\xa4\x1fdy\xa1f\xe4y\xbf\x85O\x05\xfe\x9e/\x9f\xe0m\xd1\xca\xc0Gt\x18\xfa\xf7\xc0\xa4\x9a&-\x1e\xa4\x1f\xe4y\xa1g\xe4{\xbf\x93\xcf\x05\xfe\x9f/\x9d\xe4\x921\xda\xe1F\xf4\x02\xff\xe7\xcb\xb4\xbf!\x8f\x80A\xef_IF@\xa2\x9ae\x02\x90\x9c\xe7Gv\xed\xbad\x8b\xbc\xdb\xfe\rs\x04\x8e>\xcf`\xd9\x90h\x85\x97q\x96\'\x9eB\x8d\x1a\x0c\x8b:\x1bf\xe9\x1a;\xeb^M\x9cC\x...86\x0b\x90\x19h \xa4\xf5\xd3;\x88\xd8$adC\xa8KU\x1c\x10\xc7\x84\x00\xe4\xfa\x9a!\x82$&\xc2\x00\xa6v\xe8@\x17\xaax\xb5V]\xd3\xe8u\xbc6\xba\xd9vs\x9a\xd4\xbfT\xe4\xabO\xfa\xdaT\xa3\xf0E\x90\xb4\xf4\xf5\xa0vWU\x99\x03q\x14\xb5\xd9\xbe\xccm\x07_\x93\xaf\xe5\xe5y\xc4e\xd4\x14\xb8\xb2\x0e(E\xdf\xcf}.P\x16\xbb\x83n\xbeV\xb2\xf6M\xb6U0\xf7\xe6\xb1\xa9\\\xc6\xadi\x81\xe6\x1c\xae\x96\xf8\x84\xab\x92\x82\xa0?\x96\xa0\x0e\xa1l\xca\xe1~\xd6\x84\xb8t\xc8\xe3\x99\x9d\xc2\xb0\xf3\xad\x14\x05H\x94\x7fH:0 \xe7\xceEs\x908\xef\xeb\x04<\xb4\xb0}\xff\xf21\xaf\x1e\xc1%\x1e2\x11\xd58q\x0f8\xcc\xe2\xe4\x9c"\x1c\x7f:\x13b\xff\x04?6r"\xd3\xa0\x9f\x98\x1f*u\x1a\xc3\xc2{\x9c=>\x078\xd0\xe2\xe4\x9c"\x1cw:\x13b\xff\x04?6r"\xd3\xa0\x9f\x98\x1f*u\x1a\xc3\xc2{\x9c=>\x078\xd0\xe2\xe4\x9c"\x1cw:\x13b\xff\x04?6r"\xd3\xa0\x9f\x98\x1f*u\x1a\xc3\xc2{\x9c=>\x078\xd0\xe2\xe4\x9c"\x0cw:\x13b\xff\x04?&2"\xd3\xa0\x9f\x98\x9a:5\x1e\x83\xc2s\x1c\xfagBf\x90\xe2\xf1\x1aGP\x17VS{\xf9\x8a\n7\xf2^\xb4\xb9\xf7T\xffR\x97\'B\xaa_\x93\x10\xdf\xc0\xdd\x04\x9f\x00\x00\x00\x00\x00\x01C\xb2') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _______________ test_zfp[float64-rgba-new-bytearray-mode0-None] ________________ dtype = dtype('float64'), itype = 'rgba', enout = 'new', deout = 'bytearray' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00;\x05pfz\x00v\xcf\xfd\x88\x00\x01\xf0\x00v\x00\x08\xe4\x01\x02\x80\x1cb\x03\x80\x03\x0c\x08\x02\xc00\xe4\x0c\x00\xc0 \xf0x\x0f\xc3\xe2\x04\x08\x06q\xef\xa4\x8f\x83\xc2\x016\x03a\xbc\x8e\x1d\x80l\x98\x0cs\xe7\x1f\xcc\x08\xf4\x8f\x0c\x02\xc0~_\x08\x9d\x7f\x1er\xd8\r\x97\x06\x01\xb9\xc1\r\xd8\xf3\xd4\xcc\xbeF\x07c\xc0\x10Z\x15\xae\x12\x03\x01\x9bs\x8c\xdb\xa5I\xcb\xf0\x9b\x0c\x0c\xd3\xacr\xeb\x1d|\x13\x9c\xfc\x836\xf2\x1d\x7f\x80\\\xb1\x9bF\xe8\x01\xdb`E!z\x0b4\xfc\xc0\xff\xdc\x8a\xa7k\xec\xfd\xe7\x1cP\xd2^\xab\x1bl\xdb\x9eR\xfe\xbd\xbe1\x82\x83\x9d\x95\xf5\xae\xb2/\xac\x18\xe0\x11\xe4\x91\x13\x17\xdaCF\xa8{6\xaf\xd2\x14\xde\xbc\x8f\x1d:\x91\x94q*~\x0c^\x90\xe60\xb3\xcb\xbf\xe5\x98j\x01\x9d3\xcbn\x03$\t\x19\xeaM\xfd\xad\xcd\xd9(\xf7Y\x93\xa2\xcb{\xe6P\x13=\xc2\xf2\xdc\x02\x80\x00\xfc\xdeTg\x05\x8a\x82\x00\xff\xba\xf0\x01\xc0\x00\x00\x00\xcc\x8c}\x80E\x02\x00\x00^6\x00\x80\x04\x02\x00\x00\x82 `\xa0\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x00`\x00\x04\x02\x00\x00\xec \x00\x80\x04\x02\x00\x00\x840`\x80\x04\x02\x00\x00, `\x80\x00\x00\x00\x00 \x10`\x00\x04\x00\x00\x00@`\x00@\x00\x00\x00\x00\xe8` @\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[float64-rgba-new-bytearray-mode0-omp] ________________ dtype = dtype('float64'), itype = 'rgba', enout = 'new', deout = 'bytearray' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00;\x05pfz\x00v\xcf\xfd\x88\x00\x01\xf0\x00v\x00\x08\xe4\x01\x02\x80\x1cb\x03\x80\x03\x0c\x08\x02\xc00\xe4\x0c\x00\xc0 \xf0x\x0f\xc3\xe2\x04\x08\x06q\xef\xa4\x8f\x83\xc2\x016\x03a\xbc\x8e\x1d\x80l\x98\x0cs\xe7\x1f\xcc\x08\xf4\x8f\x0c\x02\xc0~_\x08\x9d\x7f\x1er\xd8\r\x97\x06\x01\xb9\xc1\r\xd8\xf3\xd4\xcc\xbeF\x07c\xc0\x10Z\x15\xae\x12\x03\x01\x9bs\x8c\xdb\xa5I\xcb\xf0\x9b\x0c\x0c\xd3\xacr\xeb\x1d|\x13\x9c\xfc\x836\xf2\x1d\x7f\x80\\\xb1\x9bF\xe8\x01\xdb`E!z\x0b4\xfc\xc0\xff\xdc\x8a\xa7k\xec\xfd\xe7\x1cP\xd2^\xab\x1bl\xdb\x9eR\xfe\xbd\xbe1\x82\x83\x9d\x95\xf5\xae\xb2/\xac\x18\xe0\x11\xe4\x91\x13\x17\xdaCF\xa8{6\xaf\xd2\x14\xde\xbc\x8f\x1d:\x91\x94q*~\x0c^\x90\xe60\xb3\xcb\xbf\xe5\x98j\x01\x9d3\xcbn\x03$\t\x19\xeaM\xfd\xad\xcd\xd9(\xf7Y\x93\xa2\xcb{\xe6P\x13=\xc2\xf2\xdc\x02\x80\x00\xfc\xdeTg\x05\x8a\x82\x00\xff\xba\xf0\x01\xc0\x00\x00\x00\xcc\x8c}\x80E\x02\x00\x00^6\x00\x80\x04\x02\x00\x00\x82 `\xa0\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x00`\x00\x04\x02\x00\x00\xec \x00\x80\x04\x02\x00\x00\x840`\x80\x04\x02\x00\x00, `\x80\x00\x00\x00\x00 \x10`\x00\x04\x00\x00\x00@`\x00@\x00\x00\x00\x00\xe8` @\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _______________ test_zfp[float64-rgba-new-bytearray-mode1-None] ________________ dtype = dtype('float64'), itype = 'rgba', enout = 'new', deout = 'bytearray' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00;\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0A\x808V\x7f\xf7\x87\xaf\x01\x82\xcd@\xd9H\x08/\x01\x8b\xd3\x01\xc8\x94\x1er\x06\x130\x00\xa02\x00MSf\'\x85\xdc\x01\xa3C\x90\xb1\x05\x06F\xed\xe9\xa0O\x0cM27\x80]\xa5\xe5;\xfeLIm]\x8d9\xd6\xe0\xb2%\x92ge^\xc3&!!\x828x\x1f\x9f\xdf>"`\xc4\x85\xd4c\x08G\xad8\x13tY\x0f[\xcf\x01\xeeh\xd02V\x1a\x91\t\x1b\xfe\xa5\xe0\x82\x8e\xf9\x9e\x1b,Tn}I\xac\x97\x03l\'O\xedQR\x87\x14\xdc\xc6R\x89\xb2!-:*e\x86\x8a]\xaf\x0cFT\xb5\x9e\x9e\xbb\x9e$\x07\x18\xd4\x86\xb3\x7f\x94\xb6L\xb3\x81\xe1\x9dH\xc1\xbf\xbf\x95I\x01d\x13\xca\xd9\xd1\xc9J\xea^W\xf3\x92\x0cl.\x8c\x00\xe7\x88\x850v>\xa6\xde\xcf\xca\xd82\x13\xd4i@(z\x00#\xaa\x05iv\xa8\xc3\x13\x9d}\x94\xf8\xb7\t\x84\xdd\x80\x01\x8bkPF\x86\x07\xcf\xeb\x1f|\x00X?\xdf{\x9fz\x11k~\xd9a\x1d}\x80\x8b^\xc5\x02\x9e0\x13\xe0\xed\xd0\n\xc0At\x16\xfaw\xc0\xa4\x9a!-\x1c\xa4\x1fdy\xa1f\xe4y\xbf\x85O\x05\xfe\x9e/\x9f\xe0m\xd1\xca\xc0Gt\x18\xfa\xf7\xc0\xa4\x9a&-\x1e\xa4\x1f\xe4y\xa1g\xe4{\xbf\x93\xcf\x05\xfe\x9f/\x9d\xe4\x921\xda\xe1F\xf4\x02\xff\xe7\xcb\xb4\xbf!\x8f\x80A\xef_IF@\xa2\x9ae\x02\x90\x9c\xe7Gv\xed\xbad\x8b\xbc\xdb\xfe\rs\x04\x8e>\xcf`\xd9\x90h\x85\x97q\x96\'\x9eB\x8d\x1a\x0c\x8b:\x1bf\xe9\x1a;\xeb^M\x9cC\x...86\x0b\x90\x19h \xa4\xf5\xd3;\x88\xd8$adC\xa8KU\x1c\x10\xc7\x84\x00\xe4\xfa\x9a!\x82$&\xc2\x00\xa6v\xe8@\x17\xaax\xb5V]\xd3\xe8u\xbc6\xba\xd9vs\x9a\xd4\xbfT\xe4\xabO\xfa\xdaT\xa3\xf0E\x90\xb4\xf4\xf5\xa0vWU\x99\x03q\x14\xb5\xd9\xbe\xccm\x07_\x93\xaf\xe5\xe5y\xc4e\xd4\x14\xb8\xb2\x0e(E\xdf\xcf}.P\x16\xbb\x83n\xbeV\xb2\xf6M\xb6U0\xf7\xe6\xb1\xa9\\\xc6\xadi\x81\xe6\x1c\xae\x96\xf8\x84\xab\x92\x82\xa0?\x96\xa0\x0e\xa1l\xca\xe1~\xd6\x84\xb8t\xc8\xe3\x99\x9d\xc2\xb0\xf3\xad\x14\x05H\x94\x7fH:0 \xe7\xceEs\x908\xef\xeb\x04<\xb4\xb0}\xff\xf21\xaf\x1e\xc1%\x1e2\x11\xd58q\x0f8\xcc\xe2\xe4\x9c"\x1c\x7f:\x13b\xff\x04?6r"\xd3\xa0\x9f\x98\x1f*u\x1a\xc3\xc2{\x9c=>\x078\xd0\xe2\xe4\x9c"\x1cw:\x13b\xff\x04?6r"\xd3\xa0\x9f\x98\x1f*u\x1a\xc3\xc2{\x9c=>\x078\xd0\xe2\xe4\x9c"\x1cw:\x13b\xff\x04?6r"\xd3\xa0\x9f\x98\x1f*u\x1a\xc3\xc2{\x9c=>\x078\xd0\xe2\xe4\x9c"\x0cw:\x13b\xff\x04?&2"\xd3\xa0\x9f\x98\x9a:5\x1e\x83\xc2s\x1c\xfagBf\x90\xe2\xf1\x1aGP\x17VS{\xf9\x8a\n7\xf2^\xb4\xb9\xf7T\xffR\x97\'B\xaa_\x93\x10\xdf\xc0\xdd\x04\x9f\x00\x00\x00\x00\x00\x01C\xb2') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[float64-rgba-new-bytearray-mode1-omp] ________________ dtype = dtype('float64'), itype = 'rgba', enout = 'new', deout = 'bytearray' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00;\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0A\x808V\x7f\xf7\x87\xaf\x01\x82\xcd@\xd9H\x08/\x01\x8b\xd3\x01\xc8\x94\x1er\x06\x130\x00\xa02\x00MSf\'\x85\xdc\x01\xa3C\x90\xb1\x05\x06F\xed\xe9\xa0O\x0cM27\x80]\xa5\xe5;\xfeLIm]\x8d9\xd6\xe0\xb2%\x92ge^\xc3&!!\x828x\x1f\x9f\xdf>"`\xc4\x85\xd4c\x08G\xad8\x13tY\x0f[\xcf\x01\xeeh\xd02V\x1a\x91\t\x1b\xfe\xa5\xe0\x82\x8e\xf9\x9e\x1b,Tn}I\xac\x97\x03l\'O\xedQR\x87\x14\xdc\xc6R\x89\xb2!-:*e\x86\x8a]\xaf\x0cFT\xb5\x9e\x9e\xbb\x9e$\x07\x18\xd4\x86\xb3\x7f\x94\xb6L\xb3\x81\xe1\x9dH\xc1\xbf\xbf\x95I\x01d\x13\xca\xd9\xd1\xc9J\xea^W\xf3\x92\x0cl.\x8c\x00\xe7\x88\x850v>\xa6\xde\xcf\xca\xd82\x13\xd4i@(z\x00#\xaa\x05iv\xa8\xc3\x13\x9d}\x94\xf8\xb7\t\x84\xdd\x80\x01\x8bkPF\x86\x07\xcf\xeb\x1f|\x00X?\xdf{\x9fz\x11k~\xd9a\x1d}\x80\x8b^\xc5\x02\x9e0\x13\xe0\xed\xd0\n\xc0At\x16\xfaw\xc0\xa4\x9a!-\x1c\xa4\x1fdy\xa1f\xe4y\xbf\x85O\x05\xfe\x9e/\x9f\xe0m\xd1\xca\xc0Gt\x18\xfa\xf7\xc0\xa4\x9a&-\x1e\xa4\x1f\xe4y\xa1g\xe4{\xbf\x93\xcf\x05\xfe\x9f/\x9d\xe4\x921\xda\xe1F\xf4\x02\xff\xe7\xcb\xb4\xbf!\x8f\x80A\xef_IF@\xa2\x9ae\x02\x90\x9c\xe7Gv\xed\xbad\x8b\xbc\xdb\xfe\rs\x04\x8e>\xcf`\xd9\x90h\x85\x97q\x96\'\x9eB\x8d\x1a\x0c\x8b:\x1bf\xe9\x1a;\xeb^M\x9cC\x...86\x0b\x90\x19h \xa4\xf5\xd3;\x88\xd8$adC\xa8KU\x1c\x10\xc7\x84\x00\xe4\xfa\x9a!\x82$&\xc2\x00\xa6v\xe8@\x17\xaax\xb5V]\xd3\xe8u\xbc6\xba\xd9vs\x9a\xd4\xbfT\xe4\xabO\xfa\xdaT\xa3\xf0E\x90\xb4\xf4\xf5\xa0vWU\x99\x03q\x14\xb5\xd9\xbe\xccm\x07_\x93\xaf\xe5\xe5y\xc4e\xd4\x14\xb8\xb2\x0e(E\xdf\xcf}.P\x16\xbb\x83n\xbeV\xb2\xf6M\xb6U0\xf7\xe6\xb1\xa9\\\xc6\xadi\x81\xe6\x1c\xae\x96\xf8\x84\xab\x92\x82\xa0?\x96\xa0\x0e\xa1l\xca\xe1~\xd6\x84\xb8t\xc8\xe3\x99\x9d\xc2\xb0\xf3\xad\x14\x05H\x94\x7fH:0 \xe7\xceEs\x908\xef\xeb\x04<\xb4\xb0}\xff\xf21\xaf\x1e\xc1%\x1e2\x11\xd58q\x0f8\xcc\xe2\xe4\x9c"\x1c\x7f:\x13b\xff\x04?6r"\xd3\xa0\x9f\x98\x1f*u\x1a\xc3\xc2{\x9c=>\x078\xd0\xe2\xe4\x9c"\x1cw:\x13b\xff\x04?6r"\xd3\xa0\x9f\x98\x1f*u\x1a\xc3\xc2{\x9c=>\x078\xd0\xe2\xe4\x9c"\x1cw:\x13b\xff\x04?6r"\xd3\xa0\x9f\x98\x1f*u\x1a\xc3\xc2{\x9c=>\x078\xd0\xe2\xe4\x9c"\x0cw:\x13b\xff\x04?&2"\xd3\xa0\x9f\x98\x9a:5\x1e\x83\xc2s\x1c\xfagBf\x90\xe2\xf1\x1aGP\x17VS{\xf9\x8a\n7\xf2^\xb4\xb9\xf7T\xffR\x97\'B\xaa_\x93\x10\xdf\xc0\xdd\x04\x9f\x00\x00\x00\x00\x00\x01C\xb2') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError __________________ test_zfp[float64-rgba-out-new-mode0-None] ___________________ dtype = dtype('float64'), itype = 'rgba', enout = 'out', deout = 'new' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00;\x05pfz\x00v\xcf\xfd\x88\x00\x01\xf0\x00v\x00\x08\xe4\x01\x02\x80\x1cb\x03\x80\x03\x0c\x08\x02\xc00\xe4\x0c\x00\xc0 \xf0x\x0f\xc3\xe2\x04\x08\x06q\xef\xa4\x8f\x83\xc2\x016\x03a\xbc\x8e\x1d\x80l\x98\x0cs\xe7\x1f\xcc\x08\xf4\x8f\x0c\x02\xc0~_\x08\x9d\x7f\x1er\xd8\r\x97\x06\x01\xb9\xc1\r\xd8\xf3\xd4\xcc\xbeF\x07c\xc0\x10Z\x15\xae\x12\x03\x01\x9bs\x8c\xdb\xa5I\xcb\xf0\x9b\x0c\x0c\xd3\xacr\xeb\x1d|\x13\x9c\xfc\x836\xf2\x1d\x7f\x80\\\xb1\x9bF\xe8\x01\xdb`E!z\x0b4\xfc\xc0\xff\xdc\x8a\xa7k\xec\xfd\xe7\x1cP\xd2^\xab\x1bl\xdb\x9eR\xfe\xbd\xbe1\x82\x83\x9d\x95\xf5\xae\xb2/\xac\x18\xe0\x11\xe4\x91\x13\x17\xdaCF\xa8{6\xaf\xd2\x14\xde\xbc\x8f\x1d:\x91\x94q*~\x0c^\x90\xe60\xb3\xcb\xbf\xe5\x98j\x01\x9d3\xcbn\x03$\t\x19\xeaM\xfd\xad\xcd\xd9(\xf7Y\x93\xa2\xcb{\xe6P\x13=\xc2\xf2\xdc\x02\x80\x00\xfc\xdeTg\x05\x8a\x82\x00\xff\xba\xf0\x01\xc0\x00\x00\x00\xcc\x8c}\x80E\x02\x00\x00^6\x00\x80\x04\x02\x00\x00\x82 `\xa0\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x00`\x00\x04\x02\x00\x00\xec \x00\x80\x04\x02\x00\x00\x840`\x80\x04\x02\x00\x00, `\x80\x00\x00\x00\x00 \x10`\x00\x04\x00\x00\x00@`\x00@\x00\x00\x00\x00\xe8` @\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[float64-rgba-out-new-mode0-omp] ___________________ dtype = dtype('float64'), itype = 'rgba', enout = 'out', deout = 'new' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00;\x05pfz\x00v\xcf\xfd\x88\x00\x01\xf0\x00v\x00\x08\xe4\x01\x02\x80\x1cb\x03\x80\x03\x0c\x08\x02\xc00\xe4\x0c\x00\xc0 \xf0x\x0f\xc3\xe2\x04\x08\x06q\xef\xa4\x8f\x83\xc2\x016\x03a\xbc\x8e\x1d\x80l\x98\x0cs\xe7\x1f\xcc\x08\xf4\x8f\x0c\x02\xc0~_\x08\x9d\x7f\x1er\xd8\r\x97\x06\x01\xb9\xc1\r\xd8\xf3\xd4\xcc\xbeF\x07c\xc0\x10Z\x15\xae\x12\x03\x01\x9bs\x8c\xdb\xa5I\xcb\xf0\x9b\x0c\x0c\xd3\xacr\xeb\x1d|\x13\x9c\xfc\x836\xf2\x1d\x7f\x80\\\xb1\x9bF\xe8\x01\xdb`E!z\x0b4\xfc\xc0\xff\xdc\x8a\xa7k\xec\xfd\xe7\x1cP\xd2^\xab\x1bl\xdb\x9eR\xfe\xbd\xbe1\x82\x83\x9d\x95\xf5\xae\xb2/\xac\x18\xe0\x11\xe4\x91\x13\x17\xdaCF\xa8{6\xaf\xd2\x14\xde\xbc\x8f\x1d:\x91\x94q*~\x0c^\x90\xe60\xb3\xcb\xbf\xe5\x98j\x01\x9d3\xcbn\x03$\t\x19\xeaM\xfd\xad\xcd\xd9(\xf7Y\x93\xa2\xcb{\xe6P\x13=\xc2\xf2\xdc\x02\x80\x00\xfc\xdeTg\x05\x8a\x82\x00\xff\xba\xf0\x01\xc0\x00\x00\x00\xcc\x8c}\x80E\x02\x00\x00^6\x00\x80\x04\x02\x00\x00\x82 `\xa0\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x00`\x00\x04\x02\x00\x00\xec \x00\x80\x04\x02\x00\x00\x840`\x80\x04\x02\x00\x00, `\x80\x00\x00\x00\x00 \x10`\x00\x04\x00\x00\x00@`\x00@\x00\x00\x00\x00\xe8` @\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError __________________ test_zfp[float64-rgba-out-new-mode1-None] ___________________ dtype = dtype('float64'), itype = 'rgba', enout = 'out', deout = 'new' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00;\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0A\x808V\x7f\xf7\x87\xaf\x01\x82\xcd@\xd9H\x08/\x01\x8b\xd3\x01\xc8\x94\x1er\x06\x130\x00\xa02\x00MSf\'\x85\xdc\x01\xa3C\x90\xb1\x05\x06F\xed\xe9\xa0O\x0cM27\x80]\xa5\xe5;\xfeLIm]\x8d9\xd6\xe0\xb2%\x92ge^\xc3&!!\x828x\x1f\x9f\xdf>"`\xc4\x85\xd4c\x08G\xad8\x13tY\x0f[\xcf\x01\xeeh\xd02V\x1a\x91\t\x1b\xfe\xa5\xe0\x82\x8e\xf9\x9e\x1b,Tn}I\xac\x97\x03l\'O\xedQR\x87\x14\xdc\xc6R\x89\xb2!-:*e\x86\x8a]\xaf\x0cFT\xb5\x9e\x9e\xbb\x9e$\x07\x18\xd4\x86\xb3\x7f\x94\xb6L\xb3\x81\xe1\x9dH\xc1\xbf\xbf\x95I\x01d\x13\xca\xd9\xd1\xc9J\xea^W\xf3\x92\x0cl.\x8c\x00\xe7\x88\x850v>\xa6\xde\xcf\xca\xd82\x13\xd4i@(z\x00#\xaa\x05iv\xa8\xc3\x13\x9d}\x94\xf8\xb7\t\x84\xdd\x80\x01\x8bkPF\x86\x07\xcf\xeb\x1f|\x00X?\xdf{\x9fz\x11k~\xd9a\x1d}\x80\x8b^\xc5\x02\x9e0\x13\xe0\xed\xd0\n\xc0At\x16\xfaw\xc0\xa4\x9a!-\x1c\xa4\x1fdy\xa1f\xe4y\xbf\x85O\x05\xfe\x9e/\x9f\xe0m\xd1\xca\xc0Gt\x18\xfa\xf7\xc0\xa4\x9a&-\x1e\xa4\x1f\xe4y\xa1g\xe4{\xbf\x93\xcf\x05\xfe\x9f/\x9d\xe4\x921\xda\xe1F\xf4\x02\xff\xe7\xcb\xb4\xbf!\x8f\x80A\xef_IF@\xa2\x9ae\x02\x90\x9c\xe7Gv\xed\xbad\x8b\xbc\xdb\xfe\rs\x04\x8e>\xcf`\xd9\x90h\x85\x97q\x96\'\x9eB\x8d\x1a\x0c\x8b:\x1bf\xe9\x1a;\xeb^M\x9cC\x...86\x0b\x90\x19h \xa4\xf5\xd3;\x88\xd8$adC\xa8KU\x1c\x10\xc7\x84\x00\xe4\xfa\x9a!\x82$&\xc2\x00\xa6v\xe8@\x17\xaax\xb5V]\xd3\xe8u\xbc6\xba\xd9vs\x9a\xd4\xbfT\xe4\xabO\xfa\xdaT\xa3\xf0E\x90\xb4\xf4\xf5\xa0vWU\x99\x03q\x14\xb5\xd9\xbe\xccm\x07_\x93\xaf\xe5\xe5y\xc4e\xd4\x14\xb8\xb2\x0e(E\xdf\xcf}.P\x16\xbb\x83n\xbeV\xb2\xf6M\xb6U0\xf7\xe6\xb1\xa9\\\xc6\xadi\x81\xe6\x1c\xae\x96\xf8\x84\xab\x92\x82\xa0?\x96\xa0\x0e\xa1l\xca\xe1~\xd6\x84\xb8t\xc8\xe3\x99\x9d\xc2\xb0\xf3\xad\x14\x05H\x94\x7fH:0 \xe7\xceEs\x908\xef\xeb\x04<\xb4\xb0}\xff\xf21\xaf\x1e\xc1%\x1e2\x11\xd58q\x0f8\xcc\xe2\xe4\x9c"\x1c\x7f:\x13b\xff\x04?6r"\xd3\xa0\x9f\x98\x1f*u\x1a\xc3\xc2{\x9c=>\x078\xd0\xe2\xe4\x9c"\x1cw:\x13b\xff\x04?6r"\xd3\xa0\x9f\x98\x1f*u\x1a\xc3\xc2{\x9c=>\x078\xd0\xe2\xe4\x9c"\x1cw:\x13b\xff\x04?6r"\xd3\xa0\x9f\x98\x1f*u\x1a\xc3\xc2{\x9c=>\x078\xd0\xe2\xe4\x9c"\x0cw:\x13b\xff\x04?&2"\xd3\xa0\x9f\x98\x9a:5\x1e\x83\xc2s\x1c\xfagBf\x90\xe2\xf1\x1aGP\x17VS{\xf9\x8a\n7\xf2^\xb4\xb9\xf7T\xffR\x97\'B\xaa_\x93\x10\xdf\xc0\xdd\x04\x9f\x00\x00\x00\x00\x00\x01C\xb2') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[float64-rgba-out-new-mode1-omp] ___________________ dtype = dtype('float64'), itype = 'rgba', enout = 'out', deout = 'new' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00;\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0A\x808V\x7f\xf7\x87\xaf\x01\x82\xcd@\xd9H\x08/\x01\x8b\xd3\x01\xc8\x94\x1er\x06\x130\x00\xa02\x00MSf\'\x85\xdc\x01\xa3C\x90\xb1\x05\x06F\xed\xe9\xa0O\x0cM27\x80]\xa5\xe5;\xfeLIm]\x8d9\xd6\xe0\xb2%\x92ge^\xc3&!!\x828x\x1f\x9f\xdf>"`\xc4\x85\xd4c\x08G\xad8\x13tY\x0f[\xcf\x01\xeeh\xd02V\x1a\x91\t\x1b\xfe\xa5\xe0\x82\x8e\xf9\x9e\x1b,Tn}I\xac\x97\x03l\'O\xedQR\x87\x14\xdc\xc6R\x89\xb2!-:*e\x86\x8a]\xaf\x0cFT\xb5\x9e\x9e\xbb\x9e$\x07\x18\xd4\x86\xb3\x7f\x94\xb6L\xb3\x81\xe1\x9dH\xc1\xbf\xbf\x95I\x01d\x13\xca\xd9\xd1\xc9J\xea^W\xf3\x92\x0cl.\x8c\x00\xe7\x88\x850v>\xa6\xde\xcf\xca\xd82\x13\xd4i@(z\x00#\xaa\x05iv\xa8\xc3\x13\x9d}\x94\xf8\xb7\t\x84\xdd\x80\x01\x8bkPF\x86\x07\xcf\xeb\x1f|\x00X?\xdf{\x9fz\x11k~\xd9a\x1d}\x80\x8b^\xc5\x02\x9e0\x13\xe0\xed\xd0\n\xc0At\x16\xfaw\xc0\xa4\x9a!-\x1c\xa4\x1fdy\xa1f\xe4y\xbf\x85O\x05\xfe\x9e/\x9f\xe0m\xd1\xca\xc0Gt\x18\xfa\xf7\xc0\xa4\x9a&-\x1e\xa4\x1f\xe4y\xa1g\xe4{\xbf\x93\xcf\x05\xfe\x9f/\x9d\xe4\x921\xda\xe1F\xf4\x02\xff\xe7\xcb\xb4\xbf!\x8f\x80A\xef_IF@\xa2\x9ae\x02\x90\x9c\xe7Gv\xed\xbad\x8b\xbc\xdb\xfe\rs\x04\x8e>\xcf`\xd9\x90h\x85\x97q\x96\'\x9eB\x8d\x1a\x0c\x8b:\x1bf\xe9\x1a;\xeb^M\x9cC\x...86\x0b\x90\x19h \xa4\xf5\xd3;\x88\xd8$adC\xa8KU\x1c\x10\xc7\x84\x00\xe4\xfa\x9a!\x82$&\xc2\x00\xa6v\xe8@\x17\xaax\xb5V]\xd3\xe8u\xbc6\xba\xd9vs\x9a\xd4\xbfT\xe4\xabO\xfa\xdaT\xa3\xf0E\x90\xb4\xf4\xf5\xa0vWU\x99\x03q\x14\xb5\xd9\xbe\xccm\x07_\x93\xaf\xe5\xe5y\xc4e\xd4\x14\xb8\xb2\x0e(E\xdf\xcf}.P\x16\xbb\x83n\xbeV\xb2\xf6M\xb6U0\xf7\xe6\xb1\xa9\\\xc6\xadi\x81\xe6\x1c\xae\x96\xf8\x84\xab\x92\x82\xa0?\x96\xa0\x0e\xa1l\xca\xe1~\xd6\x84\xb8t\xc8\xe3\x99\x9d\xc2\xb0\xf3\xad\x14\x05H\x94\x7fH:0 \xe7\xceEs\x908\xef\xeb\x04<\xb4\xb0}\xff\xf21\xaf\x1e\xc1%\x1e2\x11\xd58q\x0f8\xcc\xe2\xe4\x9c"\x1c\x7f:\x13b\xff\x04?6r"\xd3\xa0\x9f\x98\x1f*u\x1a\xc3\xc2{\x9c=>\x078\xd0\xe2\xe4\x9c"\x1cw:\x13b\xff\x04?6r"\xd3\xa0\x9f\x98\x1f*u\x1a\xc3\xc2{\x9c=>\x078\xd0\xe2\xe4\x9c"\x1cw:\x13b\xff\x04?6r"\xd3\xa0\x9f\x98\x1f*u\x1a\xc3\xc2{\x9c=>\x078\xd0\xe2\xe4\x9c"\x0cw:\x13b\xff\x04?&2"\xd3\xa0\x9f\x98\x9a:5\x1e\x83\xc2s\x1c\xfagBf\x90\xe2\xf1\x1aGP\x17VS{\xf9\x8a\n7\xf2^\xb4\xb9\xf7T\xffR\x97\'B\xaa_\x93\x10\xdf\xc0\xdd\x04\x9f\x00\x00\x00\x00\x00\x01C\xb2') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError __________________ test_zfp[float64-rgba-out-out-mode0-None] ___________________ dtype = dtype('float64'), itype = 'rgba', enout = 'out', deout = 'out' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00;\x05pfz\x00v\xcf\xfd\x88\x00\x01\xf0\x00v\x00\x08\xe4\x01\x02\x80\x1cb\x03\x80\x03\x0c\x08\x02\xc00\xe4\x0c\x00\xc0 \xf0x\x0f\xc3\xe2\x04\x08\x06q\xef\xa4\x8f\x83\xc2\x016\x03a\xbc\x8e\x1d\x80l\x98\x0cs\xe7\x1f\xcc\x08\xf4\x8f\x0c\x02\xc0~_\x08\x9d\x7f\x1er\xd8\r\x97\x06\x01\xb9\xc1\r\xd8\xf3\xd4\xcc\xbeF\x07c\xc0\x10Z\x15\xae\x12\x03\x01\x9bs\x8c\xdb\xa5I\xcb\xf0\x9b\x0c\x0c\xd3\xacr\xeb\x1d|\x13\x9c\xfc\x836\xf2\x1d\x7f\x80\\\xb1\x9bF\xe8\x01\xdb`E!z\x0b4\xfc\xc0\xff\xdc\x8a\xa7k\xec\xfd\xe7\x1cP\xd2^\xab\x1bl\xdb\x9eR\xfe\xbd\xbe1\x82\x83\x9d\x95\xf5\xae\xb2/\xac\x18\xe0\x11\xe4\x91\x13\x17\xdaCF\xa8{6\xaf\xd2\x14\xde\xbc\x8f\x1d:\x91\x94q*~\x0c^\x90\xe60\xb3\xcb\xbf\xe5\x98j\x01\x9d3\xcbn\x03$\t\x19\xeaM\xfd\xad\xcd\xd9(\xf7Y\x93\xa2\xcb{\xe6P\x13=\xc2\xf2\xdc\x02\x80\x00\xfc\xdeTg\x05\x8a\x82\x00\xff\xba\xf0\x01\xc0\x00\x00\x00\xcc\x8c}\x80E\x02\x00\x00^6\x00\x80\x04\x02\x00\x00\x82 `\xa0\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x00`\x00\x04\x02\x00\x00\xec \x00\x80\x04\x02\x00\x00\x840`\x80\x04\x02\x00\x00, `\x80\x00\x00\x00\x00 \x10`\x00\x04\x00\x00\x00@`\x00@\x00\x00\x00\x00\xe8` @\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[float64-rgba-out-out-mode0-omp] ___________________ dtype = dtype('float64'), itype = 'rgba', enout = 'out', deout = 'out' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00;\x05pfz\x00v\xcf\xfd\x88\x00\x01\xf0\x00v\x00\x08\xe4\x01\x02\x80\x1cb\x03\x80\x03\x0c\x08\x02\xc00\xe4\x0c\x00\xc0 \xf0x\x0f\xc3\xe2\x04\x08\x06q\xef\xa4\x8f\x83\xc2\x016\x03a\xbc\x8e\x1d\x80l\x98\x0cs\xe7\x1f\xcc\x08\xf4\x8f\x0c\x02\xc0~_\x08\x9d\x7f\x1er\xd8\r\x97\x06\x01\xb9\xc1\r\xd8\xf3\xd4\xcc\xbeF\x07c\xc0\x10Z\x15\xae\x12\x03\x01\x9bs\x8c\xdb\xa5I\xcb\xf0\x9b\x0c\x0c\xd3\xacr\xeb\x1d|\x13\x9c\xfc\x836\xf2\x1d\x7f\x80\\\xb1\x9bF\xe8\x01\xdb`E!z\x0b4\xfc\xc0\xff\xdc\x8a\xa7k\xec\xfd\xe7\x1cP\xd2^\xab\x1bl\xdb\x9eR\xfe\xbd\xbe1\x82\x83\x9d\x95\xf5\xae\xb2/\xac\x18\xe0\x11\xe4\x91\x13\x17\xdaCF\xa8{6\xaf\xd2\x14\xde\xbc\x8f\x1d:\x91\x94q*~\x0c^\x90\xe60\xb3\xcb\xbf\xe5\x98j\x01\x9d3\xcbn\x03$\t\x19\xeaM\xfd\xad\xcd\xd9(\xf7Y\x93\xa2\xcb{\xe6P\x13=\xc2\xf2\xdc\x02\x80\x00\xfc\xdeTg\x05\x8a\x82\x00\xff\xba\xf0\x01\xc0\x00\x00\x00\xcc\x8c}\x80E\x02\x00\x00^6\x00\x80\x04\x02\x00\x00\x82 `\xa0\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x00`\x00\x04\x02\x00\x00\xec \x00\x80\x04\x02\x00\x00\x840`\x80\x04\x02\x00\x00, `\x80\x00\x00\x00\x00 \x10`\x00\x04\x00\x00\x00@`\x00@\x00\x00\x00\x00\xe8` @\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError __________________ test_zfp[float64-rgba-out-out-mode1-None] ___________________ dtype = dtype('float64'), itype = 'rgba', enout = 'out', deout = 'out' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00;\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0A\x808V\x7f\xf7\x87\xaf\x01\x82\xcd@\xd9H\x08/\x01\x8b\xd3\x01\xc8\x94\x1er\x06\x130\x00\xa02\x00MSf\'\x85\xdc\x01\xa3C\x90\xb1\x05\x06F\xed\xe9\xa0O\x0cM27\x80]\xa5\xe5;\xfeLIm]\x8d9\xd6\xe0\xb2%\x92ge^\xc3&!!\x828x\x1f\x9f\xdf>"`\xc4\x85\xd4c\x08G\xad8\x13tY\x0f[\xcf\x01\xeeh\xd02V\x1a\x91\t\x1b\xfe\xa5\xe0\x82\x8e\xf9\x9e\x1b,Tn}I\xac\x97\x03l\'O\xedQR\x87\x14\xdc\xc6R\x89\xb2!-:*e\x86\x8a]\xaf\x0cFT\xb5\x9e\x9e\xbb\x9e$\x07\x18\xd4\x86\xb3\x7f\x94\xb6L\xb3\x81\xe1\x9dH\xc1\xbf\xbf\x95I\x01d\x13\xca\xd9\xd1\xc9J\xea^W\xf3\x92\x0cl.\x8c\x00\xe7\x88\x850v>\xa6\xde\xcf\xca\xd82\x13\xd4i@(z\x00#\xaa\x05iv\xa8\xc3\x13\x9d}\x94\xf8\xb7\t\x84\xdd\x80\x01\x8bkPF\x86\x07\xcf\xeb\x1f|\x00X?\xdf{\x9fz\x11k~\xd9a\x1d}\x80\x8b^\xc5\x02\x9e0\x13\xe0\xed\xd0\n\xc0At\x16\xfaw\xc0\xa4\x9a!-\x1c\xa4\x1fdy\xa1f\xe4y\xbf\x85O\x05\xfe\x9e/\x9f\xe0m\xd1\xca\xc0Gt\x18\xfa\xf7\xc0\xa4\x9a&-\x1e\xa4\x1f\xe4y\xa1g\xe4{\xbf\x93\xcf\x05\xfe\x9f/\x9d\xe4\x921\xda\xe1F\xf4\x02\xff\xe7\xcb\xb4\xbf!\x8f\x80A\xef_IF@\xa2\x9ae\x02\x90\x9c\xe7Gv\xed\xbad\x8b\xbc\xdb\xfe\rs\x04\x8e>\xcf`\xd9\x90h\x85\x97q\x96\'\x9eB\x8d\x1a\x0c\x8b:\x1bf\xe9\x1a;\xeb^M\x9cC\x...86\x0b\x90\x19h \xa4\xf5\xd3;\x88\xd8$adC\xa8KU\x1c\x10\xc7\x84\x00\xe4\xfa\x9a!\x82$&\xc2\x00\xa6v\xe8@\x17\xaax\xb5V]\xd3\xe8u\xbc6\xba\xd9vs\x9a\xd4\xbfT\xe4\xabO\xfa\xdaT\xa3\xf0E\x90\xb4\xf4\xf5\xa0vWU\x99\x03q\x14\xb5\xd9\xbe\xccm\x07_\x93\xaf\xe5\xe5y\xc4e\xd4\x14\xb8\xb2\x0e(E\xdf\xcf}.P\x16\xbb\x83n\xbeV\xb2\xf6M\xb6U0\xf7\xe6\xb1\xa9\\\xc6\xadi\x81\xe6\x1c\xae\x96\xf8\x84\xab\x92\x82\xa0?\x96\xa0\x0e\xa1l\xca\xe1~\xd6\x84\xb8t\xc8\xe3\x99\x9d\xc2\xb0\xf3\xad\x14\x05H\x94\x7fH:0 \xe7\xceEs\x908\xef\xeb\x04<\xb4\xb0}\xff\xf21\xaf\x1e\xc1%\x1e2\x11\xd58q\x0f8\xcc\xe2\xe4\x9c"\x1c\x7f:\x13b\xff\x04?6r"\xd3\xa0\x9f\x98\x1f*u\x1a\xc3\xc2{\x9c=>\x078\xd0\xe2\xe4\x9c"\x1cw:\x13b\xff\x04?6r"\xd3\xa0\x9f\x98\x1f*u\x1a\xc3\xc2{\x9c=>\x078\xd0\xe2\xe4\x9c"\x1cw:\x13b\xff\x04?6r"\xd3\xa0\x9f\x98\x1f*u\x1a\xc3\xc2{\x9c=>\x078\xd0\xe2\xe4\x9c"\x0cw:\x13b\xff\x04?&2"\xd3\xa0\x9f\x98\x9a:5\x1e\x83\xc2s\x1c\xfagBf\x90\xe2\xf1\x1aGP\x17VS{\xf9\x8a\n7\xf2^\xb4\xb9\xf7T\xffR\x97\'B\xaa_\x93\x10\xdf\xc0\xdd\x04\x9f\x00\x00\x00\x00\x00\x01C\xb2') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[float64-rgba-out-out-mode1-omp] ___________________ dtype = dtype('float64'), itype = 'rgba', enout = 'out', deout = 'out' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00;\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0A\x808V\x7f\xf7\x87\xaf\x01\x82\xcd@\xd9H\x08/\x01\x8b\xd3\x01\xc8\x94\x1er\x06\x130\x00\xa02\x00MSf\'\x85\xdc\x01\xa3C\x90\xb1\x05\x06F\xed\xe9\xa0O\x0cM27\x80]\xa5\xe5;\xfeLIm]\x8d9\xd6\xe0\xb2%\x92ge^\xc3&!!\x828x\x1f\x9f\xdf>"`\xc4\x85\xd4c\x08G\xad8\x13tY\x0f[\xcf\x01\xeeh\xd02V\x1a\x91\t\x1b\xfe\xa5\xe0\x82\x8e\xf9\x9e\x1b,Tn}I\xac\x97\x03l\'O\xedQR\x87\x14\xdc\xc6R\x89\xb2!-:*e\x86\x8a]\xaf\x0cFT\xb5\x9e\x9e\xbb\x9e$\x07\x18\xd4\x86\xb3\x7f\x94\xb6L\xb3\x81\xe1\x9dH\xc1\xbf\xbf\x95I\x01d\x13\xca\xd9\xd1\xc9J\xea^W\xf3\x92\x0cl.\x8c\x00\xe7\x88\x850v>\xa6\xde\xcf\xca\xd82\x13\xd4i@(z\x00#\xaa\x05iv\xa8\xc3\x13\x9d}\x94\xf8\xb7\t\x84\xdd\x80\x01\x8bkPF\x86\x07\xcf\xeb\x1f|\x00X?\xdf{\x9fz\x11k~\xd9a\x1d}\x80\x8b^\xc5\x02\x9e0\x13\xe0\xed\xd0\n\xc0At\x16\xfaw\xc0\xa4\x9a!-\x1c\xa4\x1fdy\xa1f\xe4y\xbf\x85O\x05\xfe\x9e/\x9f\xe0m\xd1\xca\xc0Gt\x18\xfa\xf7\xc0\xa4\x9a&-\x1e\xa4\x1f\xe4y\xa1g\xe4{\xbf\x93\xcf\x05\xfe\x9f/\x9d\xe4\x921\xda\xe1F\xf4\x02\xff\xe7\xcb\xb4\xbf!\x8f\x80A\xef_IF@\xa2\x9ae\x02\x90\x9c\xe7Gv\xed\xbad\x8b\xbc\xdb\xfe\rs\x04\x8e>\xcf`\xd9\x90h\x85\x97q\x96\'\x9eB\x8d\x1a\x0c\x8b:\x1bf\xe9\x1a;\xeb^M\x9cC\x...86\x0b\x90\x19h \xa4\xf5\xd3;\x88\xd8$adC\xa8KU\x1c\x10\xc7\x84\x00\xe4\xfa\x9a!\x82$&\xc2\x00\xa6v\xe8@\x17\xaax\xb5V]\xd3\xe8u\xbc6\xba\xd9vs\x9a\xd4\xbfT\xe4\xabO\xfa\xdaT\xa3\xf0E\x90\xb4\xf4\xf5\xa0vWU\x99\x03q\x14\xb5\xd9\xbe\xccm\x07_\x93\xaf\xe5\xe5y\xc4e\xd4\x14\xb8\xb2\x0e(E\xdf\xcf}.P\x16\xbb\x83n\xbeV\xb2\xf6M\xb6U0\xf7\xe6\xb1\xa9\\\xc6\xadi\x81\xe6\x1c\xae\x96\xf8\x84\xab\x92\x82\xa0?\x96\xa0\x0e\xa1l\xca\xe1~\xd6\x84\xb8t\xc8\xe3\x99\x9d\xc2\xb0\xf3\xad\x14\x05H\x94\x7fH:0 \xe7\xceEs\x908\xef\xeb\x04<\xb4\xb0}\xff\xf21\xaf\x1e\xc1%\x1e2\x11\xd58q\x0f8\xcc\xe2\xe4\x9c"\x1c\x7f:\x13b\xff\x04?6r"\xd3\xa0\x9f\x98\x1f*u\x1a\xc3\xc2{\x9c=>\x078\xd0\xe2\xe4\x9c"\x1cw:\x13b\xff\x04?6r"\xd3\xa0\x9f\x98\x1f*u\x1a\xc3\xc2{\x9c=>\x078\xd0\xe2\xe4\x9c"\x1cw:\x13b\xff\x04?6r"\xd3\xa0\x9f\x98\x1f*u\x1a\xc3\xc2{\x9c=>\x078\xd0\xe2\xe4\x9c"\x0cw:\x13b\xff\x04?&2"\xd3\xa0\x9f\x98\x9a:5\x1e\x83\xc2s\x1c\xfagBf\x90\xe2\xf1\x1aGP\x17VS{\xf9\x8a\n7\xf2^\xb4\xb9\xf7T\xffR\x97\'B\xaa_\x93\x10\xdf\xc0\xdd\x04\x9f\x00\x00\x00\x00\x00\x01C\xb2') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _______________ test_zfp[float64-rgba-out-bytearray-mode0-None] ________________ dtype = dtype('float64'), itype = 'rgba', enout = 'out', deout = 'bytearray' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00;\x05pfz\x00v\xcf\xfd\x88\x00\x01\xf0\x00v\x00\x08\xe4\x01\x02\x80\x1cb\x03\x80\x03\x0c\x08\x02\xc00\xe4\x0c\x00\xc0 \xf0x\x0f\xc3\xe2\x04\x08\x06q\xef\xa4\x8f\x83\xc2\x016\x03a\xbc\x8e\x1d\x80l\x98\x0cs\xe7\x1f\xcc\x08\xf4\x8f\x0c\x02\xc0~_\x08\x9d\x7f\x1er\xd8\r\x97\x06\x01\xb9\xc1\r\xd8\xf3\xd4\xcc\xbeF\x07c\xc0\x10Z\x15\xae\x12\x03\x01\x9bs\x8c\xdb\xa5I\xcb\xf0\x9b\x0c\x0c\xd3\xacr\xeb\x1d|\x13\x9c\xfc\x836\xf2\x1d\x7f\x80\\\xb1\x9bF\xe8\x01\xdb`E!z\x0b4\xfc\xc0\xff\xdc\x8a\xa7k\xec\xfd\xe7\x1cP\xd2^\xab\x1bl\xdb\x9eR\xfe\xbd\xbe1\x82\x83\x9d\x95\xf5\xae\xb2/\xac\x18\xe0\x11\xe4\x91\x13\x17\xdaCF\xa8{6\xaf\xd2\x14\xde\xbc\x8f\x1d:\x91\x94q*~\x0c^\x90\xe60\xb3\xcb\xbf\xe5\x98j\x01\x9d3\xcbn\x03$\t\x19\xeaM\xfd\xad\xcd\xd9(\xf7Y\x93\xa2\xcb{\xe6P\x13=\xc2\xf2\xdc\x02\x80\x00\xfc\xdeTg\x05\x8a\x82\x00\xff\xba\xf0\x01\xc0\x00\x00\x00\xcc\x8c}\x80E\x02\x00\x00^6\x00\x80\x04\x02\x00\x00\x82 `\xa0\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x00`\x00\x04\x02\x00\x00\xec \x00\x80\x04\x02\x00\x00\x840`\x80\x04\x02\x00\x00, `\x80\x00\x00\x00\x00 \x10`\x00\x04\x00\x00\x00@`\x00@\x00\x00\x00\x00\xe8` @\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[float64-rgba-out-bytearray-mode0-omp] ________________ dtype = dtype('float64'), itype = 'rgba', enout = 'out', deout = 'bytearray' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00;\x05pfz\x00v\xcf\xfd\x88\x00\x01\xf0\x00v\x00\x08\xe4\x01\x02\x80\x1cb\x03\x80\x03\x0c\x08\x02\xc00\xe4\x0c\x00\xc0 \xf0x\x0f\xc3\xe2\x04\x08\x06q\xef\xa4\x8f\x83\xc2\x016\x03a\xbc\x8e\x1d\x80l\x98\x0cs\xe7\x1f\xcc\x08\xf4\x8f\x0c\x02\xc0~_\x08\x9d\x7f\x1er\xd8\r\x97\x06\x01\xb9\xc1\r\xd8\xf3\xd4\xcc\xbeF\x07c\xc0\x10Z\x15\xae\x12\x03\x01\x9bs\x8c\xdb\xa5I\xcb\xf0\x9b\x0c\x0c\xd3\xacr\xeb\x1d|\x13\x9c\xfc\x836\xf2\x1d\x7f\x80\\\xb1\x9bF\xe8\x01\xdb`E!z\x0b4\xfc\xc0\xff\xdc\x8a\xa7k\xec\xfd\xe7\x1cP\xd2^\xab\x1bl\xdb\x9eR\xfe\xbd\xbe1\x82\x83\x9d\x95\xf5\xae\xb2/\xac\x18\xe0\x11\xe4\x91\x13\x17\xdaCF\xa8{6\xaf\xd2\x14\xde\xbc\x8f\x1d:\x91\x94q*~\x0c^\x90\xe60\xb3\xcb\xbf\xe5\x98j\x01\x9d3\xcbn\x03$\t\x19\xeaM\xfd\xad\xcd\xd9(\xf7Y\x93\xa2\xcb{\xe6P\x13=\xc2\xf2\xdc\x02\x80\x00\xfc\xdeTg\x05\x8a\x82\x00\xff\xba\xf0\x01\xc0\x00\x00\x00\xcc\x8c}\x80E\x02\x00\x00^6\x00\x80\x04\x02\x00\x00\x82 `\xa0\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x00`\x00\x04\x02\x00\x00\xec \x00\x80\x04\x02\x00\x00\x840`\x80\x04\x02\x00\x00, `\x80\x00\x00\x00\x00 \x10`\x00\x04\x00\x00\x00@`\x00@\x00\x00\x00\x00\xe8` @\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _______________ test_zfp[float64-rgba-out-bytearray-mode1-None] ________________ dtype = dtype('float64'), itype = 'rgba', enout = 'out', deout = 'bytearray' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00;\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0A\x808V\x7f\xf7\x87\xaf\x01\x82\xcd@\xd9H\x08/\x01\x8b\xd3\x01\xc8\x94\x1er\x06\x130\x00\xa02\x00MSf\'\x85\xdc\x01\xa3C\x90\xb1\x05\x06F\xed\xe9\xa0O\x0cM27\x80]\xa5\xe5;\xfeLIm]\x8d9\xd6\xe0\xb2%\x92ge^\xc3&!!\x828x\x1f\x9f\xdf>"`\xc4\x85\xd4c\x08G\xad8\x13tY\x0f[\xcf\x01\xeeh\xd02V\x1a\x91\t\x1b\xfe\xa5\xe0\x82\x8e\xf9\x9e\x1b,Tn}I\xac\x97\x03l\'O\xedQR\x87\x14\xdc\xc6R\x89\xb2!-:*e\x86\x8a]\xaf\x0cFT\xb5\x9e\x9e\xbb\x9e$\x07\x18\xd4\x86\xb3\x7f\x94\xb6L\xb3\x81\xe1\x9dH\xc1\xbf\xbf\x95I\x01d\x13\xca\xd9\xd1\xc9J\xea^W\xf3\x92\x0cl.\x8c\x00\xe7\x88\x850v>\xa6\xde\xcf\xca\xd82\x13\xd4i@(z\x00#\xaa\x05iv\xa8\xc3\x13\x9d}\x94\xf8\xb7\t\x84\xdd\x80\x01\x8bkPF\x86\x07\xcf\xeb\x1f|\x00X?\xdf{\x9fz\x11k~\xd9a\x1d}\x80\x8b^\xc5\x02\x9e0\x13\xe0\xed\xd0\n\xc0At\x16\xfaw\xc0\xa4\x9a!-\x1c\xa4\x1fdy\xa1f\xe4y\xbf\x85O\x05\xfe\x9e/\x9f\xe0m\xd1\xca\xc0Gt\x18\xfa\xf7\xc0\xa4\x9a&-\x1e\xa4\x1f\xe4y\xa1g\xe4{\xbf\x93\xcf\x05\xfe\x9f/\x9d\xe4\x921\xda\xe1F\xf4\x02\xff\xe7\xcb\xb4\xbf!\x8f\x80A\xef_IF@\xa2\x9ae\x02\x90\x9c\xe7Gv\xed\xbad\x8b\xbc\xdb\xfe\rs\x04\x8e>\xcf`\xd9\x90h\x85\x97q\x96\'\x9eB\x8d\x1a\x0c\x8b:\x1bf\xe9\x1a;\xeb^M\x9cC\x...86\x0b\x90\x19h \xa4\xf5\xd3;\x88\xd8$adC\xa8KU\x1c\x10\xc7\x84\x00\xe4\xfa\x9a!\x82$&\xc2\x00\xa6v\xe8@\x17\xaax\xb5V]\xd3\xe8u\xbc6\xba\xd9vs\x9a\xd4\xbfT\xe4\xabO\xfa\xdaT\xa3\xf0E\x90\xb4\xf4\xf5\xa0vWU\x99\x03q\x14\xb5\xd9\xbe\xccm\x07_\x93\xaf\xe5\xe5y\xc4e\xd4\x14\xb8\xb2\x0e(E\xdf\xcf}.P\x16\xbb\x83n\xbeV\xb2\xf6M\xb6U0\xf7\xe6\xb1\xa9\\\xc6\xadi\x81\xe6\x1c\xae\x96\xf8\x84\xab\x92\x82\xa0?\x96\xa0\x0e\xa1l\xca\xe1~\xd6\x84\xb8t\xc8\xe3\x99\x9d\xc2\xb0\xf3\xad\x14\x05H\x94\x7fH:0 \xe7\xceEs\x908\xef\xeb\x04<\xb4\xb0}\xff\xf21\xaf\x1e\xc1%\x1e2\x11\xd58q\x0f8\xcc\xe2\xe4\x9c"\x1c\x7f:\x13b\xff\x04?6r"\xd3\xa0\x9f\x98\x1f*u\x1a\xc3\xc2{\x9c=>\x078\xd0\xe2\xe4\x9c"\x1cw:\x13b\xff\x04?6r"\xd3\xa0\x9f\x98\x1f*u\x1a\xc3\xc2{\x9c=>\x078\xd0\xe2\xe4\x9c"\x1cw:\x13b\xff\x04?6r"\xd3\xa0\x9f\x98\x1f*u\x1a\xc3\xc2{\x9c=>\x078\xd0\xe2\xe4\x9c"\x0cw:\x13b\xff\x04?&2"\xd3\xa0\x9f\x98\x9a:5\x1e\x83\xc2s\x1c\xfagBf\x90\xe2\xf1\x1aGP\x17VS{\xf9\x8a\n7\xf2^\xb4\xb9\xf7T\xffR\x97\'B\xaa_\x93\x10\xdf\xc0\xdd\x04\x9f\x00\x00\x00\x00\x00\x01C\xb2') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[float64-rgba-out-bytearray-mode1-omp] ________________ dtype = dtype('float64'), itype = 'rgba', enout = 'out', deout = 'bytearray' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00;\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0A\x808V\x7f\xf7\x87\xaf\x01\x82\xcd@\xd9H\x08/\x01\x8b\xd3\x01\xc8\x94\x1er\x06\x130\x00\xa02\x00MSf\'\x85\xdc\x01\xa3C\x90\xb1\x05\x06F\xed\xe9\xa0O\x0cM27\x80]\xa5\xe5;\xfeLIm]\x8d9\xd6\xe0\xb2%\x92ge^\xc3&!!\x828x\x1f\x9f\xdf>"`\xc4\x85\xd4c\x08G\xad8\x13tY\x0f[\xcf\x01\xeeh\xd02V\x1a\x91\t\x1b\xfe\xa5\xe0\x82\x8e\xf9\x9e\x1b,Tn}I\xac\x97\x03l\'O\xedQR\x87\x14\xdc\xc6R\x89\xb2!-:*e\x86\x8a]\xaf\x0cFT\xb5\x9e\x9e\xbb\x9e$\x07\x18\xd4\x86\xb3\x7f\x94\xb6L\xb3\x81\xe1\x9dH\xc1\xbf\xbf\x95I\x01d\x13\xca\xd9\xd1\xc9J\xea^W\xf3\x92\x0cl.\x8c\x00\xe7\x88\x850v>\xa6\xde\xcf\xca\xd82\x13\xd4i@(z\x00#\xaa\x05iv\xa8\xc3\x13\x9d}\x94\xf8\xb7\t\x84\xdd\x80\x01\x8bkPF\x86\x07\xcf\xeb\x1f|\x00X?\xdf{\x9fz\x11k~\xd9a\x1d}\x80\x8b^\xc5\x02\x9e0\x13\xe0\xed\xd0\n\xc0At\x16\xfaw\xc0\xa4\x9a!-\x1c\xa4\x1fdy\xa1f\xe4y\xbf\x85O\x05\xfe\x9e/\x9f\xe0m\xd1\xca\xc0Gt\x18\xfa\xf7\xc0\xa4\x9a&-\x1e\xa4\x1f\xe4y\xa1g\xe4{\xbf\x93\xcf\x05\xfe\x9f/\x9d\xe4\x921\xda\xe1F\xf4\x02\xff\xe7\xcb\xb4\xbf!\x8f\x80A\xef_IF@\xa2\x9ae\x02\x90\x9c\xe7Gv\xed\xbad\x8b\xbc\xdb\xfe\rs\x04\x8e>\xcf`\xd9\x90h\x85\x97q\x96\'\x9eB\x8d\x1a\x0c\x8b:\x1bf\xe9\x1a;\xeb^M\x9cC\x...86\x0b\x90\x19h \xa4\xf5\xd3;\x88\xd8$adC\xa8KU\x1c\x10\xc7\x84\x00\xe4\xfa\x9a!\x82$&\xc2\x00\xa6v\xe8@\x17\xaax\xb5V]\xd3\xe8u\xbc6\xba\xd9vs\x9a\xd4\xbfT\xe4\xabO\xfa\xdaT\xa3\xf0E\x90\xb4\xf4\xf5\xa0vWU\x99\x03q\x14\xb5\xd9\xbe\xccm\x07_\x93\xaf\xe5\xe5y\xc4e\xd4\x14\xb8\xb2\x0e(E\xdf\xcf}.P\x16\xbb\x83n\xbeV\xb2\xf6M\xb6U0\xf7\xe6\xb1\xa9\\\xc6\xadi\x81\xe6\x1c\xae\x96\xf8\x84\xab\x92\x82\xa0?\x96\xa0\x0e\xa1l\xca\xe1~\xd6\x84\xb8t\xc8\xe3\x99\x9d\xc2\xb0\xf3\xad\x14\x05H\x94\x7fH:0 \xe7\xceEs\x908\xef\xeb\x04<\xb4\xb0}\xff\xf21\xaf\x1e\xc1%\x1e2\x11\xd58q\x0f8\xcc\xe2\xe4\x9c"\x1c\x7f:\x13b\xff\x04?6r"\xd3\xa0\x9f\x98\x1f*u\x1a\xc3\xc2{\x9c=>\x078\xd0\xe2\xe4\x9c"\x1cw:\x13b\xff\x04?6r"\xd3\xa0\x9f\x98\x1f*u\x1a\xc3\xc2{\x9c=>\x078\xd0\xe2\xe4\x9c"\x1cw:\x13b\xff\x04?6r"\xd3\xa0\x9f\x98\x1f*u\x1a\xc3\xc2{\x9c=>\x078\xd0\xe2\xe4\x9c"\x0cw:\x13b\xff\x04?&2"\xd3\xa0\x9f\x98\x9a:5\x1e\x83\xc2s\x1c\xfagBf\x90\xe2\xf1\x1aGP\x17VS{\xf9\x8a\n7\xf2^\xb4\xb9\xf7T\xffR\x97\'B\xaa_\x93\x10\xdf\xc0\xdd\x04\x9f\x00\x00\x00\x00\x00\x01C\xb2') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _______________ test_zfp[float64-rgba-bytearray-new-mode0-None] ________________ dtype = dtype('float64'), itype = 'rgba', enout = 'bytearray', deout = 'new' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00;\x05pfz\x00v\xcf\xfd\x88\x00\x01\xf0\x00v\x00\x08\xe4\x01\x02\x80\x1cb\x03\x80\x03\x0c\x08\x02\xc00\xe4\x0c\x00\xc0 \xf0x\x0f\xc3\xe2\x04\x08\x06q\xef\xa4\x8f\x83\xc2\x016\x03a\xbc\x8e\x1d\x80l\x98\x0cs\xe7\x1f\xcc\x08\xf4\x8f\x0c\x02\xc0~_\x08\x9d\x7f\x1er\xd8\r\x97\x06\x01\xb9\xc1\r\xd8\xf3\xd4\xcc\xbeF\x07c\xc0\x10Z\x15\xae\x12\x03\x01\x9bs\x8c\xdb\xa5I\xcb\xf0\x9b\x0c\x0c\xd3\xacr\xeb\x1d|\x13\x9c\xfc\x836\xf2\x1d\x7f\x80\\\xb1\x9bF\xe8\x01\xdb`E!z\x0b4\xfc\xc0\xff\xdc\x8a\xa7k\xec\xfd\xe7\x1cP\xd2^\xab\x1bl\xdb\x9eR\xfe\xbd\xbe1\x82\x83\x9d\x95\xf5\xae\xb2/\xac\x18\xe0\x11\xe4\x91\x13\x17\xdaCF\xa8{6\xaf\xd2\x14\xde\xbc\x8f\x1d:\x91\x94q*~\x0c^\x90\xe60\xb3\xcb\xbf\xe5\x98j\x01\x9d3\xcbn\x03$\t\x19\xeaM\xfd\xad\xcd\xd9(\xf7Y\x93\xa2\xcb{\xe6P\x13=\xc2\xf2\xdc\x02\x80\x00\xfc\xdeTg\x05\x8a\x82\x00\xff\xba\xf0\x01\xc0\x00\x00\x00\xcc\x8c}\x80E\x02\x00\x00^6\x00\x80\x04\x02\x00\x00\x82 `\xa0\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x00`\x00\x04\x02\x00\x00\xec \x00\x80\x04\x02\x00\x00\x840`\x80\x04\x02\x00\x00, `\x80\x00\x00\x00\x00 \x10`\x00\x04\x00\x00\x00@`\x00@\x00\x00\x00\x00\xe8` @\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[float64-rgba-bytearray-new-mode0-omp] ________________ dtype = dtype('float64'), itype = 'rgba', enout = 'bytearray', deout = 'new' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00;\x05pfz\x00v\xcf\xfd\x88\x00\x01\xf0\x00v\x00\x08\xe4\x01\x02\x80\x1cb\x03\x80\x03\x0c\x08\x02\xc00\xe4\x0c\x00\xc0 \xf0x\x0f\xc3\xe2\x04\x08\x06q\xef\xa4\x8f\x83\xc2\x016\x03a\xbc\x8e\x1d\x80l\x98\x0cs\xe7\x1f\xcc\x08\xf4\x8f\x0c\x02\xc0~_\x08\x9d\x7f\x1er\xd8\r\x97\x06\x01\xb9\xc1\r\xd8\xf3\xd4\xcc\xbeF\x07c\xc0\x10Z\x15\xae\x12\x03\x01\x9bs\x8c\xdb\xa5I\xcb\xf0\x9b\x0c\x0c\xd3\xacr\xeb\x1d|\x13\x9c\xfc\x836\xf2\x1d\x7f\x80\\\xb1\x9bF\xe8\x01\xdb`E!z\x0b4\xfc\xc0\xff\xdc\x8a\xa7k\xec\xfd\xe7\x1cP\xd2^\xab\x1bl\xdb\x9eR\xfe\xbd\xbe1\x82\x83\x9d\x95\xf5\xae\xb2/\xac\x18\xe0\x11\xe4\x91\x13\x17\xdaCF\xa8{6\xaf\xd2\x14\xde\xbc\x8f\x1d:\x91\x94q*~\x0c^\x90\xe60\xb3\xcb\xbf\xe5\x98j\x01\x9d3\xcbn\x03$\t\x19\xeaM\xfd\xad\xcd\xd9(\xf7Y\x93\xa2\xcb{\xe6P\x13=\xc2\xf2\xdc\x02\x80\x00\xfc\xdeTg\x05\x8a\x82\x00\xff\xba\xf0\x01\xc0\x00\x00\x00\xcc\x8c}\x80E\x02\x00\x00^6\x00\x80\x04\x02\x00\x00\x82 `\xa0\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x00`\x00\x04\x02\x00\x00\xec \x00\x80\x04\x02\x00\x00\x840`\x80\x04\x02\x00\x00, `\x80\x00\x00\x00\x00 \x10`\x00\x04\x00\x00\x00@`\x00@\x00\x00\x00\x00\xe8` @\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _______________ test_zfp[float64-rgba-bytearray-new-mode1-None] ________________ dtype = dtype('float64'), itype = 'rgba', enout = 'bytearray', deout = 'new' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00;\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0A\x808V\x7f\xf7\x87\xaf\x01\x82\xcd@\xd9H\x08/\x01\x8b\xd3\x01\xc8\x94\x1er\x06\x130\x00\xa02\x00MSf\'\x85\xdc\x01\xa3C\x90\xb1\x05\x06F\xed\xe9\xa0O\x0cM27\x80]\xa5\xe5;\xfeLIm]\x8d9\xd6\xe0\xb2%\x92ge^\xc3&!!\x828x\x1f\x9f\xdf>"`\xc4\x85\xd4c\x08G\xad8\x13tY\x0f[\xcf\x01\xeeh\xd02V\x1a\x91\t\x1b\xfe\xa5\xe0\x82\x8e\xf9\x9e\x1b,Tn}I\xac\x97\x03l\'O\xedQR\x87\x14\xdc\xc6R\x89\xb2!-:*e\x86\x8a]\xaf\x0cFT\xb5\x9e\x9e\xbb\x9e$\x07\x18\xd4\x86\xb3\x7f\x94\xb6L\xb3\x81\xe1\x9dH\xc1\xbf\xbf\x95I\x01d\x13\xca\xd9\xd1\xc9J\xea^W\xf3\x92\x0cl.\x8c\x00\xe7\x88\x850v>\xa6\xde\xcf\xca\xd82\x13\xd4i@(z\x00#\xaa\x05iv\xa8\xc3\x13\x9d}\x94\xf8\xb7\t\x84\xdd\x80\x01\x8bkPF\x86\x07\xcf\xeb\x1f|\x00X?\xdf{\x9fz\x11k~\xd9a\x1d}\x80\x8b^\xc5\x02\x9e0\x13\xe0\xed\xd0\n\xc0At\x16\xfaw\xc0\xa4\x9a!-\x1c\xa4\x1fdy\xa1f\xe4y\xbf\x85O\x05\xfe\x9e/\x9f\xe0m\xd1\xca\xc0Gt\x18\xfa\xf7\xc0\xa4\x9a&-\x1e\xa4\x1f\xe4y\xa1g\xe4{\xbf\x93\xcf\x05\xfe\x9f/\x9d\xe4\x921\xda\xe1F\xf4\x02\xff\xe7\xcb\xb4\xbf!\x8f\x80A\xef_IF@\xa2\x9ae\x02\x90\x9c\xe7Gv\xed\xbad\x8b\xbc\xdb\xfe\rs\x04\x8e>\xcf`\xd9\x90h\x85\x97q\x96\'\x9eB\x8d\x1a\x0c\x8b:\x1bf\xe9\x1a;\xeb^M\x9cC\x...86\x0b\x90\x19h \xa4\xf5\xd3;\x88\xd8$adC\xa8KU\x1c\x10\xc7\x84\x00\xe4\xfa\x9a!\x82$&\xc2\x00\xa6v\xe8@\x17\xaax\xb5V]\xd3\xe8u\xbc6\xba\xd9vs\x9a\xd4\xbfT\xe4\xabO\xfa\xdaT\xa3\xf0E\x90\xb4\xf4\xf5\xa0vWU\x99\x03q\x14\xb5\xd9\xbe\xccm\x07_\x93\xaf\xe5\xe5y\xc4e\xd4\x14\xb8\xb2\x0e(E\xdf\xcf}.P\x16\xbb\x83n\xbeV\xb2\xf6M\xb6U0\xf7\xe6\xb1\xa9\\\xc6\xadi\x81\xe6\x1c\xae\x96\xf8\x84\xab\x92\x82\xa0?\x96\xa0\x0e\xa1l\xca\xe1~\xd6\x84\xb8t\xc8\xe3\x99\x9d\xc2\xb0\xf3\xad\x14\x05H\x94\x7fH:0 \xe7\xceEs\x908\xef\xeb\x04<\xb4\xb0}\xff\xf21\xaf\x1e\xc1%\x1e2\x11\xd58q\x0f8\xcc\xe2\xe4\x9c"\x1c\x7f:\x13b\xff\x04?6r"\xd3\xa0\x9f\x98\x1f*u\x1a\xc3\xc2{\x9c=>\x078\xd0\xe2\xe4\x9c"\x1cw:\x13b\xff\x04?6r"\xd3\xa0\x9f\x98\x1f*u\x1a\xc3\xc2{\x9c=>\x078\xd0\xe2\xe4\x9c"\x1cw:\x13b\xff\x04?6r"\xd3\xa0\x9f\x98\x1f*u\x1a\xc3\xc2{\x9c=>\x078\xd0\xe2\xe4\x9c"\x0cw:\x13b\xff\x04?&2"\xd3\xa0\x9f\x98\x9a:5\x1e\x83\xc2s\x1c\xfagBf\x90\xe2\xf1\x1aGP\x17VS{\xf9\x8a\n7\xf2^\xb4\xb9\xf7T\xffR\x97\'B\xaa_\x93\x10\xdf\xc0\xdd\x04\x9f\x00\x00\x00\x00\x00\x01C\xb2') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[float64-rgba-bytearray-new-mode1-omp] ________________ dtype = dtype('float64'), itype = 'rgba', enout = 'bytearray', deout = 'new' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00;\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0A\x808V\x7f\xf7\x87\xaf\x01\x82\xcd@\xd9H\x08/\x01\x8b\xd3\x01\xc8\x94\x1er\x06\x130\x00\xa02\x00MSf\'\x85\xdc\x01\xa3C\x90\xb1\x05\x06F\xed\xe9\xa0O\x0cM27\x80]\xa5\xe5;\xfeLIm]\x8d9\xd6\xe0\xb2%\x92ge^\xc3&!!\x828x\x1f\x9f\xdf>"`\xc4\x85\xd4c\x08G\xad8\x13tY\x0f[\xcf\x01\xeeh\xd02V\x1a\x91\t\x1b\xfe\xa5\xe0\x82\x8e\xf9\x9e\x1b,Tn}I\xac\x97\x03l\'O\xedQR\x87\x14\xdc\xc6R\x89\xb2!-:*e\x86\x8a]\xaf\x0cFT\xb5\x9e\x9e\xbb\x9e$\x07\x18\xd4\x86\xb3\x7f\x94\xb6L\xb3\x81\xe1\x9dH\xc1\xbf\xbf\x95I\x01d\x13\xca\xd9\xd1\xc9J\xea^W\xf3\x92\x0cl.\x8c\x00\xe7\x88\x850v>\xa6\xde\xcf\xca\xd82\x13\xd4i@(z\x00#\xaa\x05iv\xa8\xc3\x13\x9d}\x94\xf8\xb7\t\x84\xdd\x80\x01\x8bkPF\x86\x07\xcf\xeb\x1f|\x00X?\xdf{\x9fz\x11k~\xd9a\x1d}\x80\x8b^\xc5\x02\x9e0\x13\xe0\xed\xd0\n\xc0At\x16\xfaw\xc0\xa4\x9a!-\x1c\xa4\x1fdy\xa1f\xe4y\xbf\x85O\x05\xfe\x9e/\x9f\xe0m\xd1\xca\xc0Gt\x18\xfa\xf7\xc0\xa4\x9a&-\x1e\xa4\x1f\xe4y\xa1g\xe4{\xbf\x93\xcf\x05\xfe\x9f/\x9d\xe4\x921\xda\xe1F\xf4\x02\xff\xe7\xcb\xb4\xbf!\x8f\x80A\xef_IF@\xa2\x9ae\x02\x90\x9c\xe7Gv\xed\xbad\x8b\xbc\xdb\xfe\rs\x04\x8e>\xcf`\xd9\x90h\x85\x97q\x96\'\x9eB\x8d\x1a\x0c\x8b:\x1bf\xe9\x1a;\xeb^M\x9cC\x...86\x0b\x90\x19h \xa4\xf5\xd3;\x88\xd8$adC\xa8KU\x1c\x10\xc7\x84\x00\xe4\xfa\x9a!\x82$&\xc2\x00\xa6v\xe8@\x17\xaax\xb5V]\xd3\xe8u\xbc6\xba\xd9vs\x9a\xd4\xbfT\xe4\xabO\xfa\xdaT\xa3\xf0E\x90\xb4\xf4\xf5\xa0vWU\x99\x03q\x14\xb5\xd9\xbe\xccm\x07_\x93\xaf\xe5\xe5y\xc4e\xd4\x14\xb8\xb2\x0e(E\xdf\xcf}.P\x16\xbb\x83n\xbeV\xb2\xf6M\xb6U0\xf7\xe6\xb1\xa9\\\xc6\xadi\x81\xe6\x1c\xae\x96\xf8\x84\xab\x92\x82\xa0?\x96\xa0\x0e\xa1l\xca\xe1~\xd6\x84\xb8t\xc8\xe3\x99\x9d\xc2\xb0\xf3\xad\x14\x05H\x94\x7fH:0 \xe7\xceEs\x908\xef\xeb\x04<\xb4\xb0}\xff\xf21\xaf\x1e\xc1%\x1e2\x11\xd58q\x0f8\xcc\xe2\xe4\x9c"\x1c\x7f:\x13b\xff\x04?6r"\xd3\xa0\x9f\x98\x1f*u\x1a\xc3\xc2{\x9c=>\x078\xd0\xe2\xe4\x9c"\x1cw:\x13b\xff\x04?6r"\xd3\xa0\x9f\x98\x1f*u\x1a\xc3\xc2{\x9c=>\x078\xd0\xe2\xe4\x9c"\x1cw:\x13b\xff\x04?6r"\xd3\xa0\x9f\x98\x1f*u\x1a\xc3\xc2{\x9c=>\x078\xd0\xe2\xe4\x9c"\x0cw:\x13b\xff\x04?&2"\xd3\xa0\x9f\x98\x9a:5\x1e\x83\xc2s\x1c\xfagBf\x90\xe2\xf1\x1aGP\x17VS{\xf9\x8a\n7\xf2^\xb4\xb9\xf7T\xffR\x97\'B\xaa_\x93\x10\xdf\xc0\xdd\x04\x9f\x00\x00\x00\x00\x00\x01C\xb2') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _______________ test_zfp[float64-rgba-bytearray-out-mode0-None] ________________ dtype = dtype('float64'), itype = 'rgba', enout = 'bytearray', deout = 'out' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00;\x05pfz\x00v\xcf\xfd\x88\x00\x01\xf0\x00v\x00\x08\xe4\x01\x02\x80\x1cb\x03\x80\x03\x0c\x08\x02\xc00\xe4\x0c\x00\xc0 \xf0x\x0f\xc3\xe2\x04\x08\x06q\xef\xa4\x8f\x83\xc2\x016\x03a\xbc\x8e\x1d\x80l\x98\x0cs\xe7\x1f\xcc\x08\xf4\x8f\x0c\x02\xc0~_\x08\x9d\x7f\x1er\xd8\r\x97\x06\x01\xb9\xc1\r\xd8\xf3\xd4\xcc\xbeF\x07c\xc0\x10Z\x15\xae\x12\x03\x01\x9bs\x8c\xdb\xa5I\xcb\xf0\x9b\x0c\x0c\xd3\xacr\xeb\x1d|\x13\x9c\xfc\x836\xf2\x1d\x7f\x80\\\xb1\x9bF\xe8\x01\xdb`E!z\x0b4\xfc\xc0\xff\xdc\x8a\xa7k\xec\xfd\xe7\x1cP\xd2^\xab\x1bl\xdb\x9eR\xfe\xbd\xbe1\x82\x83\x9d\x95\xf5\xae\xb2/\xac\x18\xe0\x11\xe4\x91\x13\x17\xdaCF\xa8{6\xaf\xd2\x14\xde\xbc\x8f\x1d:\x91\x94q*~\x0c^\x90\xe60\xb3\xcb\xbf\xe5\x98j\x01\x9d3\xcbn\x03$\t\x19\xeaM\xfd\xad\xcd\xd9(\xf7Y\x93\xa2\xcb{\xe6P\x13=\xc2\xf2\xdc\x02\x80\x00\xfc\xdeTg\x05\x8a\x82\x00\xff\xba\xf0\x01\xc0\x00\x00\x00\xcc\x8c}\x80E\x02\x00\x00^6\x00\x80\x04\x02\x00\x00\x82 `\xa0\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x00`\x00\x04\x02\x00\x00\xec \x00\x80\x04\x02\x00\x00\x840`\x80\x04\x02\x00\x00, `\x80\x00\x00\x00\x00 \x10`\x00\x04\x00\x00\x00@`\x00@\x00\x00\x00\x00\xe8` @\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[float64-rgba-bytearray-out-mode0-omp] ________________ dtype = dtype('float64'), itype = 'rgba', enout = 'bytearray', deout = 'out' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00;\x05pfz\x00v\xcf\xfd\x88\x00\x01\xf0\x00v\x00\x08\xe4\x01\x02\x80\x1cb\x03\x80\x03\x0c\x08\x02\xc00\xe4\x0c\x00\xc0 \xf0x\x0f\xc3\xe2\x04\x08\x06q\xef\xa4\x8f\x83\xc2\x016\x03a\xbc\x8e\x1d\x80l\x98\x0cs\xe7\x1f\xcc\x08\xf4\x8f\x0c\x02\xc0~_\x08\x9d\x7f\x1er\xd8\r\x97\x06\x01\xb9\xc1\r\xd8\xf3\xd4\xcc\xbeF\x07c\xc0\x10Z\x15\xae\x12\x03\x01\x9bs\x8c\xdb\xa5I\xcb\xf0\x9b\x0c\x0c\xd3\xacr\xeb\x1d|\x13\x9c\xfc\x836\xf2\x1d\x7f\x80\\\xb1\x9bF\xe8\x01\xdb`E!z\x0b4\xfc\xc0\xff\xdc\x8a\xa7k\xec\xfd\xe7\x1cP\xd2^\xab\x1bl\xdb\x9eR\xfe\xbd\xbe1\x82\x83\x9d\x95\xf5\xae\xb2/\xac\x18\xe0\x11\xe4\x91\x13\x17\xdaCF\xa8{6\xaf\xd2\x14\xde\xbc\x8f\x1d:\x91\x94q*~\x0c^\x90\xe60\xb3\xcb\xbf\xe5\x98j\x01\x9d3\xcbn\x03$\t\x19\xeaM\xfd\xad\xcd\xd9(\xf7Y\x93\xa2\xcb{\xe6P\x13=\xc2\xf2\xdc\x02\x80\x00\xfc\xdeTg\x05\x8a\x82\x00\xff\xba\xf0\x01\xc0\x00\x00\x00\xcc\x8c}\x80E\x02\x00\x00^6\x00\x80\x04\x02\x00\x00\x82 `\xa0\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x00`\x00\x04\x02\x00\x00\xec \x00\x80\x04\x02\x00\x00\x840`\x80\x04\x02\x00\x00, `\x80\x00\x00\x00\x00 \x10`\x00\x04\x00\x00\x00@`\x00@\x00\x00\x00\x00\xe8` @\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _______________ test_zfp[float64-rgba-bytearray-out-mode1-None] ________________ dtype = dtype('float64'), itype = 'rgba', enout = 'bytearray', deout = 'out' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00;\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0A\x808V\x7f\xf7\x87\xaf\x01\x82\xcd@\xd9H\x08/\x01\x8b\xd3\x01\xc8\x94\x1er\x06\x130\x00\xa02\x00MSf\'\x85\xdc\x01\xa3C\x90\xb1\x05\x06F\xed\xe9\xa0O\x0cM27\x80]\xa5\xe5;\xfeLIm]\x8d9\xd6\xe0\xb2%\x92ge^\xc3&!!\x828x\x1f\x9f\xdf>"`\xc4\x85\xd4c\x08G\xad8\x13tY\x0f[\xcf\x01\xeeh\xd02V\x1a\x91\t\x1b\xfe\xa5\xe0\x82\x8e\xf9\x9e\x1b,Tn}I\xac\x97\x03l\'O\xedQR\x87\x14\xdc\xc6R\x89\xb2!-:*e\x86\x8a]\xaf\x0cFT\xb5\x9e\x9e\xbb\x9e$\x07\x18\xd4\x86\xb3\x7f\x94\xb6L\xb3\x81\xe1\x9dH\xc1\xbf\xbf\x95I\x01d\x13\xca\xd9\xd1\xc9J\xea^W\xf3\x92\x0cl.\x8c\x00\xe7\x88\x850v>\xa6\xde\xcf\xca\xd82\x13\xd4i@(z\x00#\xaa\x05iv\xa8\xc3\x13\x9d}\x94\xf8\xb7\t\x84\xdd\x80\x01\x8bkPF\x86\x07\xcf\xeb\x1f|\x00X?\xdf{\x9fz\x11k~\xd9a\x1d}\x80\x8b^\xc5\x02\x9e0\x13\xe0\xed\xd0\n\xc0At\x16\xfaw\xc0\xa4\x9a!-\x1c\xa4\x1fdy\xa1f\xe4y\xbf\x85O\x05\xfe\x9e/\x9f\xe0m\xd1\xca\xc0Gt\x18\xfa\xf7\xc0\xa4\x9a&-\x1e\xa4\x1f\xe4y\xa1g\xe4{\xbf\x93\xcf\x05\xfe\x9f/\x9d\xe4\x921\xda\xe1F\xf4\x02\xff\xe7\xcb\xb4\xbf!\x8f\x80A\xef_IF@\xa2\x9ae\x02\x90\x9c\xe7Gv\xed\xbad\x8b\xbc\xdb\xfe\rs\x04\x8e>\xcf`\xd9\x90h\x85\x97q\x96\'\x9eB\x8d\x1a\x0c\x8b:\x1bf\xe9\x1a;\xeb^M\x9cC\x...86\x0b\x90\x19h \xa4\xf5\xd3;\x88\xd8$adC\xa8KU\x1c\x10\xc7\x84\x00\xe4\xfa\x9a!\x82$&\xc2\x00\xa6v\xe8@\x17\xaax\xb5V]\xd3\xe8u\xbc6\xba\xd9vs\x9a\xd4\xbfT\xe4\xabO\xfa\xdaT\xa3\xf0E\x90\xb4\xf4\xf5\xa0vWU\x99\x03q\x14\xb5\xd9\xbe\xccm\x07_\x93\xaf\xe5\xe5y\xc4e\xd4\x14\xb8\xb2\x0e(E\xdf\xcf}.P\x16\xbb\x83n\xbeV\xb2\xf6M\xb6U0\xf7\xe6\xb1\xa9\\\xc6\xadi\x81\xe6\x1c\xae\x96\xf8\x84\xab\x92\x82\xa0?\x96\xa0\x0e\xa1l\xca\xe1~\xd6\x84\xb8t\xc8\xe3\x99\x9d\xc2\xb0\xf3\xad\x14\x05H\x94\x7fH:0 \xe7\xceEs\x908\xef\xeb\x04<\xb4\xb0}\xff\xf21\xaf\x1e\xc1%\x1e2\x11\xd58q\x0f8\xcc\xe2\xe4\x9c"\x1c\x7f:\x13b\xff\x04?6r"\xd3\xa0\x9f\x98\x1f*u\x1a\xc3\xc2{\x9c=>\x078\xd0\xe2\xe4\x9c"\x1cw:\x13b\xff\x04?6r"\xd3\xa0\x9f\x98\x1f*u\x1a\xc3\xc2{\x9c=>\x078\xd0\xe2\xe4\x9c"\x1cw:\x13b\xff\x04?6r"\xd3\xa0\x9f\x98\x1f*u\x1a\xc3\xc2{\x9c=>\x078\xd0\xe2\xe4\x9c"\x0cw:\x13b\xff\x04?&2"\xd3\xa0\x9f\x98\x9a:5\x1e\x83\xc2s\x1c\xfagBf\x90\xe2\xf1\x1aGP\x17VS{\xf9\x8a\n7\xf2^\xb4\xb9\xf7T\xffR\x97\'B\xaa_\x93\x10\xdf\xc0\xdd\x04\x9f\x00\x00\x00\x00\x00\x01C\xb2') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[float64-rgba-bytearray-out-mode1-omp] ________________ dtype = dtype('float64'), itype = 'rgba', enout = 'bytearray', deout = 'out' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00;\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0A\x808V\x7f\xf7\x87\xaf\x01\x82\xcd@\xd9H\x08/\x01\x8b\xd3\x01\xc8\x94\x1er\x06\x130\x00\xa02\x00MSf\'\x85\xdc\x01\xa3C\x90\xb1\x05\x06F\xed\xe9\xa0O\x0cM27\x80]\xa5\xe5;\xfeLIm]\x8d9\xd6\xe0\xb2%\x92ge^\xc3&!!\x828x\x1f\x9f\xdf>"`\xc4\x85\xd4c\x08G\xad8\x13tY\x0f[\xcf\x01\xeeh\xd02V\x1a\x91\t\x1b\xfe\xa5\xe0\x82\x8e\xf9\x9e\x1b,Tn}I\xac\x97\x03l\'O\xedQR\x87\x14\xdc\xc6R\x89\xb2!-:*e\x86\x8a]\xaf\x0cFT\xb5\x9e\x9e\xbb\x9e$\x07\x18\xd4\x86\xb3\x7f\x94\xb6L\xb3\x81\xe1\x9dH\xc1\xbf\xbf\x95I\x01d\x13\xca\xd9\xd1\xc9J\xea^W\xf3\x92\x0cl.\x8c\x00\xe7\x88\x850v>\xa6\xde\xcf\xca\xd82\x13\xd4i@(z\x00#\xaa\x05iv\xa8\xc3\x13\x9d}\x94\xf8\xb7\t\x84\xdd\x80\x01\x8bkPF\x86\x07\xcf\xeb\x1f|\x00X?\xdf{\x9fz\x11k~\xd9a\x1d}\x80\x8b^\xc5\x02\x9e0\x13\xe0\xed\xd0\n\xc0At\x16\xfaw\xc0\xa4\x9a!-\x1c\xa4\x1fdy\xa1f\xe4y\xbf\x85O\x05\xfe\x9e/\x9f\xe0m\xd1\xca\xc0Gt\x18\xfa\xf7\xc0\xa4\x9a&-\x1e\xa4\x1f\xe4y\xa1g\xe4{\xbf\x93\xcf\x05\xfe\x9f/\x9d\xe4\x921\xda\xe1F\xf4\x02\xff\xe7\xcb\xb4\xbf!\x8f\x80A\xef_IF@\xa2\x9ae\x02\x90\x9c\xe7Gv\xed\xbad\x8b\xbc\xdb\xfe\rs\x04\x8e>\xcf`\xd9\x90h\x85\x97q\x96\'\x9eB\x8d\x1a\x0c\x8b:\x1bf\xe9\x1a;\xeb^M\x9cC\x...86\x0b\x90\x19h \xa4\xf5\xd3;\x88\xd8$adC\xa8KU\x1c\x10\xc7\x84\x00\xe4\xfa\x9a!\x82$&\xc2\x00\xa6v\xe8@\x17\xaax\xb5V]\xd3\xe8u\xbc6\xba\xd9vs\x9a\xd4\xbfT\xe4\xabO\xfa\xdaT\xa3\xf0E\x90\xb4\xf4\xf5\xa0vWU\x99\x03q\x14\xb5\xd9\xbe\xccm\x07_\x93\xaf\xe5\xe5y\xc4e\xd4\x14\xb8\xb2\x0e(E\xdf\xcf}.P\x16\xbb\x83n\xbeV\xb2\xf6M\xb6U0\xf7\xe6\xb1\xa9\\\xc6\xadi\x81\xe6\x1c\xae\x96\xf8\x84\xab\x92\x82\xa0?\x96\xa0\x0e\xa1l\xca\xe1~\xd6\x84\xb8t\xc8\xe3\x99\x9d\xc2\xb0\xf3\xad\x14\x05H\x94\x7fH:0 \xe7\xceEs\x908\xef\xeb\x04<\xb4\xb0}\xff\xf21\xaf\x1e\xc1%\x1e2\x11\xd58q\x0f8\xcc\xe2\xe4\x9c"\x1c\x7f:\x13b\xff\x04?6r"\xd3\xa0\x9f\x98\x1f*u\x1a\xc3\xc2{\x9c=>\x078\xd0\xe2\xe4\x9c"\x1cw:\x13b\xff\x04?6r"\xd3\xa0\x9f\x98\x1f*u\x1a\xc3\xc2{\x9c=>\x078\xd0\xe2\xe4\x9c"\x1cw:\x13b\xff\x04?6r"\xd3\xa0\x9f\x98\x1f*u\x1a\xc3\xc2{\x9c=>\x078\xd0\xe2\xe4\x9c"\x0cw:\x13b\xff\x04?&2"\xd3\xa0\x9f\x98\x9a:5\x1e\x83\xc2s\x1c\xfagBf\x90\xe2\xf1\x1aGP\x17VS{\xf9\x8a\n7\xf2^\xb4\xb9\xf7T\xffR\x97\'B\xaa_\x93\x10\xdf\xc0\xdd\x04\x9f\x00\x00\x00\x00\x00\x01C\xb2') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ____________ test_zfp[float64-rgba-bytearray-bytearray-mode0-None] _____________ dtype = dtype('float64'), itype = 'rgba', enout = 'bytearray' deout = 'bytearray', mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00;\x05pfz\x00v\xcf\xfd\x88\x00\x01\xf0\x00v\x00\x08\xe4\x01\x02\x80\x1cb\x03\x80\x03\x0c\x08\x02\xc00\xe4\x0c\x00\xc0 \xf0x\x0f\xc3\xe2\x04\x08\x06q\xef\xa4\x8f\x83\xc2\x016\x03a\xbc\x8e\x1d\x80l\x98\x0cs\xe7\x1f\xcc\x08\xf4\x8f\x0c\x02\xc0~_\x08\x9d\x7f\x1er\xd8\r\x97\x06\x01\xb9\xc1\r\xd8\xf3\xd4\xcc\xbeF\x07c\xc0\x10Z\x15\xae\x12\x03\x01\x9bs\x8c\xdb\xa5I\xcb\xf0\x9b\x0c\x0c\xd3\xacr\xeb\x1d|\x13\x9c\xfc\x836\xf2\x1d\x7f\x80\\\xb1\x9bF\xe8\x01\xdb`E!z\x0b4\xfc\xc0\xff\xdc\x8a\xa7k\xec\xfd\xe7\x1cP\xd2^\xab\x1bl\xdb\x9eR\xfe\xbd\xbe1\x82\x83\x9d\x95\xf5\xae\xb2/\xac\x18\xe0\x11\xe4\x91\x13\x17\xdaCF\xa8{6\xaf\xd2\x14\xde\xbc\x8f\x1d:\x91\x94q*~\x0c^\x90\xe60\xb3\xcb\xbf\xe5\x98j\x01\x9d3\xcbn\x03$\t\x19\xeaM\xfd\xad\xcd\xd9(\xf7Y\x93\xa2\xcb{\xe6P\x13=\xc2\xf2\xdc\x02\x80\x00\xfc\xdeTg\x05\x8a\x82\x00\xff\xba\xf0\x01\xc0\x00\x00\x00\xcc\x8c}\x80E\x02\x00\x00^6\x00\x80\x04\x02\x00\x00\x82 `\xa0\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x00`\x00\x04\x02\x00\x00\xec \x00\x80\x04\x02\x00\x00\x840`\x80\x04\x02\x00\x00, `\x80\x00\x00\x00\x00 \x10`\x00\x04\x00\x00\x00@`\x00@\x00\x00\x00\x00\xe8` @\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _____________ test_zfp[float64-rgba-bytearray-bytearray-mode0-omp] _____________ dtype = dtype('float64'), itype = 'rgba', enout = 'bytearray' deout = 'bytearray', mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00;\x05pfz\x00v\xcf\xfd\x88\x00\x01\xf0\x00v\x00\x08\xe4\x01\x02\x80\x1cb\x03\x80\x03\x0c\x08\x02\xc00\xe4\x0c\x00\xc0 \xf0x\x0f\xc3\xe2\x04\x08\x06q\xef\xa4\x8f\x83\xc2\x016\x03a\xbc\x8e\x1d\x80l\x98\x0cs\xe7\x1f\xcc\x08\xf4\x8f\x0c\x02\xc0~_\x08\x9d\x7f\x1er\xd8\r\x97\x06\x01\xb9\xc1\r\xd8\xf3\xd4\xcc\xbeF\x07c\xc0\x10Z\x15\xae\x12\x03\x01\x9bs\x8c\xdb\xa5I\xcb\xf0\x9b\x0c\x0c\xd3\xacr\xeb\x1d|\x13\x9c\xfc\x836\xf2\x1d\x7f\x80\\\xb1\x9bF\xe8\x01\xdb`E!z\x0b4\xfc\xc0\xff\xdc\x8a\xa7k\xec\xfd\xe7\x1cP\xd2^\xab\x1bl\xdb\x9eR\xfe\xbd\xbe1\x82\x83\x9d\x95\xf5\xae\xb2/\xac\x18\xe0\x11\xe4\x91\x13\x17\xdaCF\xa8{6\xaf\xd2\x14\xde\xbc\x8f\x1d:\x91\x94q*~\x0c^\x90\xe60\xb3\xcb\xbf\xe5\x98j\x01\x9d3\xcbn\x03$\t\x19\xeaM\xfd\xad\xcd\xd9(\xf7Y\x93\xa2\xcb{\xe6P\x13=\xc2\xf2\xdc\x02\x80\x00\xfc\xdeTg\x05\x8a\x82\x00\xff\xba\xf0\x01\xc0\x00\x00\x00\xcc\x8c}\x80E\x02\x00\x00^6\x00\x80\x04\x02\x00\x00\x82 `\xa0\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x00`\x00\x04\x02\x00\x00\xec \x00\x80\x04\x02\x00\x00\x840`\x80\x04\x02\x00\x00, `\x80\x00\x00\x00\x00 \x10`\x00\x04\x00\x00\x00@`\x00@\x00\x00\x00\x00\xe8` @\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ____________ test_zfp[float64-rgba-bytearray-bytearray-mode1-None] _____________ dtype = dtype('float64'), itype = 'rgba', enout = 'bytearray' deout = 'bytearray', mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00;\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0A\x808V\x7f\xf7\x87\xaf\x01\x82\xcd@\xd9H\x08/\x01\x8b\xd3\x01\xc8\x94\x1er\x06\x130\x00\xa02\x00MSf\'\x85\xdc\x01\xa3C\x90\xb1\x05\x06F\xed\xe9\xa0O\x0cM27\x80]\xa5\xe5;\xfeLIm]\x8d9\xd6\xe0\xb2%\x92ge^\xc3&!!\x828x\x1f\x9f\xdf>"`\xc4\x85\xd4c\x08G\xad8\x13tY\x0f[\xcf\x01\xeeh\xd02V\x1a\x91\t\x1b\xfe\xa5\xe0\x82\x8e\xf9\x9e\x1b,Tn}I\xac\x97\x03l\'O\xedQR\x87\x14\xdc\xc6R\x89\xb2!-:*e\x86\x8a]\xaf\x0cFT\xb5\x9e\x9e\xbb\x9e$\x07\x18\xd4\x86\xb3\x7f\x94\xb6L\xb3\x81\xe1\x9dH\xc1\xbf\xbf\x95I\x01d\x13\xca\xd9\xd1\xc9J\xea^W\xf3\x92\x0cl.\x8c\x00\xe7\x88\x850v>\xa6\xde\xcf\xca\xd82\x13\xd4i@(z\x00#\xaa\x05iv\xa8\xc3\x13\x9d}\x94\xf8\xb7\t\x84\xdd\x80\x01\x8bkPF\x86\x07\xcf\xeb\x1f|\x00X?\xdf{\x9fz\x11k~\xd9a\x1d}\x80\x8b^\xc5\x02\x9e0\x13\xe0\xed\xd0\n\xc0At\x16\xfaw\xc0\xa4\x9a!-\x1c\xa4\x1fdy\xa1f\xe4y\xbf\x85O\x05\xfe\x9e/\x9f\xe0m\xd1\xca\xc0Gt\x18\xfa\xf7\xc0\xa4\x9a&-\x1e\xa4\x1f\xe4y\xa1g\xe4{\xbf\x93\xcf\x05\xfe\x9f/\x9d\xe4\x921\xda\xe1F\xf4\x02\xff\xe7\xcb\xb4\xbf!\x8f\x80A\xef_IF@\xa2\x9ae\x02\x90\x9c\xe7Gv\xed\xbad\x8b\xbc\xdb\xfe\rs\x04\x8e>\xcf`\xd9\x90h\x85\x97q\x96\'\x9eB\x8d\x1a\x0c\x8b:\x1bf\xe9\x1a;\xeb^M\x9cC\x...86\x0b\x90\x19h \xa4\xf5\xd3;\x88\xd8$adC\xa8KU\x1c\x10\xc7\x84\x00\xe4\xfa\x9a!\x82$&\xc2\x00\xa6v\xe8@\x17\xaax\xb5V]\xd3\xe8u\xbc6\xba\xd9vs\x9a\xd4\xbfT\xe4\xabO\xfa\xdaT\xa3\xf0E\x90\xb4\xf4\xf5\xa0vWU\x99\x03q\x14\xb5\xd9\xbe\xccm\x07_\x93\xaf\xe5\xe5y\xc4e\xd4\x14\xb8\xb2\x0e(E\xdf\xcf}.P\x16\xbb\x83n\xbeV\xb2\xf6M\xb6U0\xf7\xe6\xb1\xa9\\\xc6\xadi\x81\xe6\x1c\xae\x96\xf8\x84\xab\x92\x82\xa0?\x96\xa0\x0e\xa1l\xca\xe1~\xd6\x84\xb8t\xc8\xe3\x99\x9d\xc2\xb0\xf3\xad\x14\x05H\x94\x7fH:0 \xe7\xceEs\x908\xef\xeb\x04<\xb4\xb0}\xff\xf21\xaf\x1e\xc1%\x1e2\x11\xd58q\x0f8\xcc\xe2\xe4\x9c"\x1c\x7f:\x13b\xff\x04?6r"\xd3\xa0\x9f\x98\x1f*u\x1a\xc3\xc2{\x9c=>\x078\xd0\xe2\xe4\x9c"\x1cw:\x13b\xff\x04?6r"\xd3\xa0\x9f\x98\x1f*u\x1a\xc3\xc2{\x9c=>\x078\xd0\xe2\xe4\x9c"\x1cw:\x13b\xff\x04?6r"\xd3\xa0\x9f\x98\x1f*u\x1a\xc3\xc2{\x9c=>\x078\xd0\xe2\xe4\x9c"\x0cw:\x13b\xff\x04?&2"\xd3\xa0\x9f\x98\x9a:5\x1e\x83\xc2s\x1c\xfagBf\x90\xe2\xf1\x1aGP\x17VS{\xf9\x8a\n7\xf2^\xb4\xb9\xf7T\xffR\x97\'B\xaa_\x93\x10\xdf\xc0\xdd\x04\x9f\x00\x00\x00\x00\x00\x01C\xb2') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _____________ test_zfp[float64-rgba-bytearray-bytearray-mode1-omp] _____________ dtype = dtype('float64'), itype = 'rgba', enout = 'bytearray' deout = 'bytearray', mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00;\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0A\x808V\x7f\xf7\x87\xaf\x01\x82\xcd@\xd9H\x08/\x01\x8b\xd3\x01\xc8\x94\x1er\x06\x130\x00\xa02\x00MSf\'\x85\xdc\x01\xa3C\x90\xb1\x05\x06F\xed\xe9\xa0O\x0cM27\x80]\xa5\xe5;\xfeLIm]\x8d9\xd6\xe0\xb2%\x92ge^\xc3&!!\x828x\x1f\x9f\xdf>"`\xc4\x85\xd4c\x08G\xad8\x13tY\x0f[\xcf\x01\xeeh\xd02V\x1a\x91\t\x1b\xfe\xa5\xe0\x82\x8e\xf9\x9e\x1b,Tn}I\xac\x97\x03l\'O\xedQR\x87\x14\xdc\xc6R\x89\xb2!-:*e\x86\x8a]\xaf\x0cFT\xb5\x9e\x9e\xbb\x9e$\x07\x18\xd4\x86\xb3\x7f\x94\xb6L\xb3\x81\xe1\x9dH\xc1\xbf\xbf\x95I\x01d\x13\xca\xd9\xd1\xc9J\xea^W\xf3\x92\x0cl.\x8c\x00\xe7\x88\x850v>\xa6\xde\xcf\xca\xd82\x13\xd4i@(z\x00#\xaa\x05iv\xa8\xc3\x13\x9d}\x94\xf8\xb7\t\x84\xdd\x80\x01\x8bkPF\x86\x07\xcf\xeb\x1f|\x00X?\xdf{\x9fz\x11k~\xd9a\x1d}\x80\x8b^\xc5\x02\x9e0\x13\xe0\xed\xd0\n\xc0At\x16\xfaw\xc0\xa4\x9a!-\x1c\xa4\x1fdy\xa1f\xe4y\xbf\x85O\x05\xfe\x9e/\x9f\xe0m\xd1\xca\xc0Gt\x18\xfa\xf7\xc0\xa4\x9a&-\x1e\xa4\x1f\xe4y\xa1g\xe4{\xbf\x93\xcf\x05\xfe\x9f/\x9d\xe4\x921\xda\xe1F\xf4\x02\xff\xe7\xcb\xb4\xbf!\x8f\x80A\xef_IF@\xa2\x9ae\x02\x90\x9c\xe7Gv\xed\xbad\x8b\xbc\xdb\xfe\rs\x04\x8e>\xcf`\xd9\x90h\x85\x97q\x96\'\x9eB\x8d\x1a\x0c\x8b:\x1bf\xe9\x1a;\xeb^M\x9cC\x...86\x0b\x90\x19h \xa4\xf5\xd3;\x88\xd8$adC\xa8KU\x1c\x10\xc7\x84\x00\xe4\xfa\x9a!\x82$&\xc2\x00\xa6v\xe8@\x17\xaax\xb5V]\xd3\xe8u\xbc6\xba\xd9vs\x9a\xd4\xbfT\xe4\xabO\xfa\xdaT\xa3\xf0E\x90\xb4\xf4\xf5\xa0vWU\x99\x03q\x14\xb5\xd9\xbe\xccm\x07_\x93\xaf\xe5\xe5y\xc4e\xd4\x14\xb8\xb2\x0e(E\xdf\xcf}.P\x16\xbb\x83n\xbeV\xb2\xf6M\xb6U0\xf7\xe6\xb1\xa9\\\xc6\xadi\x81\xe6\x1c\xae\x96\xf8\x84\xab\x92\x82\xa0?\x96\xa0\x0e\xa1l\xca\xe1~\xd6\x84\xb8t\xc8\xe3\x99\x9d\xc2\xb0\xf3\xad\x14\x05H\x94\x7fH:0 \xe7\xceEs\x908\xef\xeb\x04<\xb4\xb0}\xff\xf21\xaf\x1e\xc1%\x1e2\x11\xd58q\x0f8\xcc\xe2\xe4\x9c"\x1c\x7f:\x13b\xff\x04?6r"\xd3\xa0\x9f\x98\x1f*u\x1a\xc3\xc2{\x9c=>\x078\xd0\xe2\xe4\x9c"\x1cw:\x13b\xff\x04?6r"\xd3\xa0\x9f\x98\x1f*u\x1a\xc3\xc2{\x9c=>\x078\xd0\xe2\xe4\x9c"\x1cw:\x13b\xff\x04?6r"\xd3\xa0\x9f\x98\x1f*u\x1a\xc3\xc2{\x9c=>\x078\xd0\xe2\xe4\x9c"\x0cw:\x13b\xff\x04?&2"\xd3\xa0\x9f\x98\x9a:5\x1e\x83\xc2s\x1c\xfagBf\x90\xe2\xf1\x1aGP\x17VS{\xf9\x8a\n7\xf2^\xb4\xb9\xf7T\xffR\x97\'B\xaa_\x93\x10\xdf\xc0\xdd\x04\x9f\x00\x00\x00\x00\x00\x01C\xb2') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError __________________ test_zfp[float64-view-new-new-mode0-None] ___________________ dtype = dtype('float64'), itype = 'view', enout = 'new', deout = 'new' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00+\x05pfz\x00s\x8f\xfd\x88\x00\x01\xf0\x00v\x00\x08\xe4\x01\x02\x80x\x0e1\x01\xe0\x18a\x81\x18\xf0\x18s\x80\x00`0!\x8c\x07\xe1\xf1\x80\x00\x03\x90\xde\xfaH\xf8\xe1\x01\x9b\x83\x18\x7f#\x83\xb8f\t\x87\xfc\xe9\xc7\xf7\x01\xbf!0`\xb0\x1f\x93\x81\xa4Y\x81\xfc\xa6\x03c\x83\x83n\xc0\x83f<\xf0r/\x97r\x98\xe0\x04\x10\x87\xe8\x86\xfa\x80v\xdc\xe0\x17\xebV\xfc\x9c6\xc3\x05vk\x18\xbagO\x04\xe7\x1c \xcf\x8dgO\xe0\x11m\xe7\xd1\xbb`v\xd8\x11h\\\x80\xc6\x9f ?\xf0`(\xde\xcc\x7fi\xc7\x12v\x14\xae\xcb\x9b&\xe7\x96\xfe/o\x85\xe0\xb0\xe7d\\k\xae\x88k\x168\x05Y%@\x17\x0f\x19\xc7\xe3\x0ec\xe2\xe4\x80y\xe4\xe3\x15\x0353\x03i\xc3a\xd7R\xe9\x00\x03\xa4\x7f\xe8\x0c$x\x10\x03\x00\x00\x00\xa0\x00\x14\x00@vn\x00\x04$\xa0\x06\x83.\xe9 \x01\xe6\x02\x0bB\x03Y\x90x\x00\x04>B\xad\x90\xc6\x0c\x082\xe6\xcf\xafjn\x1c\x99!\xe98ip\x0eH\xdd9\xa8e\xdf\x7f\xa8Y\xad1(\x03\xdf\xb0?\xe1\xf3\xcf\xbdC\xdb\x14\xbd;\x1f\x83\xf68v10\xf3x\xb3\xf6ya\xe1\x99x\xb0B\x03\x85\x1d\x87\x10\xc6<\x972\x04\x0f\xe9\x1d\xe75\xd3\xd8\'\xe6\t\x82\xb1`\xbb\x18\x961\x1bd\x8d\xb7\x01\xc7\x9c\xb5?\xab;\xa0\x01D\xab6\x86sC\x8bvv\x8b\t\xc0\xe6\xe1\x8be\xb9\xe8\xd0\x17\'k\x8a)\xd0\xfb\xc7k\xffR\x84\x00\xfd\xa8~\xbcsR\x16\x8a\xdf\xe9\x8f`?...d\x8d*7?\x9f\x85\x8d\xbe\x0b\xb8\xd5p-KJF\xbb\x9e\xd4G\xcc\xe4\xf1\x96\x17\xb1@\xd3\xef2\xedg\xc7\x87\x17\x9a\x81\xb1\xda\xf7-\x9a\xb4Z\x81\xa0e\x9fR\x13\x0e+<\xa9Y\xfb\xb8\xaaD\xceX|\xb2F\xa1\xbeLX\xcb\x9bH\xe8\xa6#\x85\xf4Ks\x90\xcet\xea\x87Sg\xc8\x9aE |\x92\x8ax\xd9\x15s\x976\x1d\x15U{\xe3\xd4\t \xa2\xaf\xbcz\xaf\xffD\xa2`jt\xc1S\x9ca\x01\x00A\\\x02\xa6\xb1\x00i\xec\xbdJu\xec\xaf\x00q\x8b`\x10@$\x00\x00Z\x8d\x02\x00@\x00\x00\xfe\x90\n\x00\x00 \x00\x00\x00\x06\x00\x81@\x00:\x07\x00\x04\x02\x00\x80@\x00\x00\x01 \x12\x01\x04\x00\xa0\x02\xe0\x00\x90\x0b\x01\x82\x02\x90\xc0\n\x00P\x00\x01\x81\x14:\x06\x00P\x04aCjbT,\x10\x06\x80\x96\xb3\xecL4KI\x03\xbf\xb1p8>p\x13\xba\xba&N\xd5\xbf\xeb\x1d\xfcN\xd7x\xb6\xd1!O\xe3%,\x8d\x9b\x87M\xcf\xdc\x10\x04\x00;\x11\xff\t\x9b\x82%O\xd5\x0ff\x11\xce\x16av\xf1\xa3\xa7Q\xbd\xa6`mA\xcb\xd27\xb9E\xae\xb5<\xf3\r\x12e>tY\xe0$\x81\x06\xe7\xbcOZ\x99\xbb%\x1a\x13\xc2\x8c\xe0\xaf<\xca\x12\xf1R\x008\x00\x10\x00\x0c\x99\x83\xa0\x081\x10@\x06\xc0\xc0\x00\x00\x00\x00\x00\x10\xc0\x00\x04\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[float64-view-new-new-mode0-omp] ___________________ dtype = dtype('float64'), itype = 'view', enout = 'new', deout = 'new' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00+\x05pfz\x00s\x8f\xfd\x88\x00\x01\xf0\x00v\x00\x08\xe4\x01\x02\x80x\x0e1\x01\xe0\x18a\x81\x18\xf0\x18s\x80\x00`0!\x8c\x07\xe1\xf1\x80\x00\x03\x90\xde\xfaH\xf8\xe1\x01\x9b\x83\x18\x7f#\x83\xb8f\t\x87\xfc\xe9\xc7\xf7\x01\xbf!0`\xb0\x1f\x93\x81\xa4Y\x81\xfc\xa6\x03c\x83\x83n\xc0\x83f<\xf0r/\x97r\x98\xe0\x04\x10\x87\xe8\x86\xfa\x80v\xdc\xe0\x17\xebV\xfc\x9c6\xc3\x05vk\x18\xbagO\x04\xe7\x1c \xcf\x8dgO\xe0\x11m\xe7\xd1\xbb`v\xd8\x11h\\\x80\xc6\x9f ?\xf0`(\xde\xcc\x7fi\xc7\x12v\x14\xae\xcb\x9b&\xe7\x96\xfe/o\x85\xe0\xb0\xe7d\\k\xae\x88k\x168\x05Y%@\x17\x0f\x19\xc7\xe3\x0ec\xe2\xe4\x80y\xe4\xe3\x15\x0353\x03i\xc3a\xd7R\xe9\x00\x03\xa4\x7f\xe8\x0c$x\x10\x03\x00\x00\x00\xa0\x00\x14\x00@vn\x00\x04$\xa0\x06\x83.\xe9 \x01\xe6\x02\x0bB\x03Y\x90x\x00\x04>B\xad\x90\xc6\x0c\x082\xe6\xcf\xafjn\x1c\x99!\xe98ip\x0eH\xdd9\xa8e\xdf\x7f\xa8Y\xad1(\x03\xdf\xb0?\xe1\xf3\xcf\xbdC\xdb\x14\xbd;\x1f\x83\xf68v10\xf3x\xb3\xf6ya\xe1\x99x\xb0B\x03\x85\x1d\x87\x10\xc6<\x972\x04\x0f\xe9\x1d\xe75\xd3\xd8\'\xe6\t\x82\xb1`\xbb\x18\x961\x1bd\x8d\xb7\x01\xc7\x9c\xb5?\xab;\xa0\x01D\xab6\x86sC\x8bvv\x8b\t\xc0\xe6\xe1\x8be\xb9\xe8\xd0\x17\'k\x8a)\xd0\xfb\xc7k\xffR\x84\x00\xfd\xa8~\xbcsR\x16\x8a\xdf\xe9\x8f`?...d\x8d*7?\x9f\x85\x8d\xbe\x0b\xb8\xd5p-KJF\xbb\x9e\xd4G\xcc\xe4\xf1\x96\x17\xb1@\xd3\xef2\xedg\xc7\x87\x17\x9a\x81\xb1\xda\xf7-\x9a\xb4Z\x81\xa0e\x9fR\x13\x0e+<\xa9Y\xfb\xb8\xaaD\xceX|\xb2F\xa1\xbeLX\xcb\x9bH\xe8\xa6#\x85\xf4Ks\x90\xcet\xea\x87Sg\xc8\x9aE |\x92\x8ax\xd9\x15s\x976\x1d\x15U{\xe3\xd4\t \xa2\xaf\xbcz\xaf\xffD\xa2`jt\xc1S\x9ca\x01\x00A\\\x02\xa6\xb1\x00i\xec\xbdJu\xec\xaf\x00q\x8b`\x10@$\x00\x00Z\x8d\x02\x00@\x00\x00\xfe\x90\n\x00\x00 \x00\x00\x00\x06\x00\x81@\x00:\x07\x00\x04\x02\x00\x80@\x00\x00\x01 \x12\x01\x04\x00\xa0\x02\xe0\x00\x90\x0b\x01\x82\x02\x90\xc0\n\x00P\x00\x01\x81\x14:\x06\x00P\x04aCjbT,\x10\x06\x80\x96\xb3\xecL4KI\x03\xbf\xb1p8>p\x13\xba\xba&N\xd5\xbf\xeb\x1d\xfcN\xd7x\xb6\xd1!O\xe3%,\x8d\x9b\x87M\xcf\xdc\x10\x04\x00;\x11\xff\t\x9b\x82%O\xd5\x0ff\x11\xce\x16av\xf1\xa3\xa7Q\xbd\xa6`mA\xcb\xd27\xb9E\xae\xb5<\xf3\r\x12e>tY\xe0$\x81\x06\xe7\xbcOZ\x99\xbb%\x1a\x13\xc2\x8c\xe0\xaf<\xca\x12\xf1R\x008\x00\x10\x00\x0c\x99\x83\xa0\x081\x10@\x06\xc0\xc0\x00\x00\x00\x00\x00\x10\xc0\x00\x04\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError __________________ test_zfp[float64-view-new-new-mode1-None] ___________________ dtype = dtype('float64'), itype = 'view', enout = 'new', deout = 'new' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00+\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0C\xc0\x08V\x7f\xf7\x87\xaf\x01\x00\xc4\xc0\x1c\x10\x18\x8c\x00\xfcp\x03\x82CpN<\x08\x0f\xc5\xc1\xc0\x0f\x00\x1b +%I\xe5e\x89+t\xc7\xd6\xed\xf8\xd1y\x15\xb8\xb2\xe5D\xe1lB"\xe1\xd8T\x81\x86\x02\xc8\xea\xbb\xea\xf5r\x86Z/,\xa5{"\x82,@r\xf7\xb9\xa7\x94\x0b\x8d\xbc\xfb\x99\x9b}\x0f~\xd7\xc5\xaa\x02)\xe9\xd0\xd7\x06\n\x0e]\xaf\x85\x86\xa4\x83W\x00\x07\xc5\x9c\x06\xbf\x82\x06\x83\x00\x00\xe4\x07\x16\x8c\x00\x0e\x00\x00\x00\x00\x00\x06\x00\x8a\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\...00\xd0r\x82?\xa2\xf9\x9e\x98\x7fl\xaf\xda\xacx\x16#\x9a\xff\x03\x13\xd7V\xd4`n\xffN \x94t\xb4\xb7}\xfbP\xf6\x83\x19\x93\xa8~\x08\x8d\x1e\xa8\xab\x88\xec\xb5\xe5\xe1\xd2C\xd7D\xf8\xf4l\xb2\xcd\xa7>\xf7c\x00\x00L%\xe76\x98\xdf\x9a\x13\xbf\xc8\xf7|c\xb0\xd7\x95\xad\xf3x\x11WS\xb6\xf7\x1f\xcc*\xd4\xc8\x84\x1c\x16\x93\xd3\x15\x16\x04\\\xde\x02\x1e\x9f\xfbE\x12?\xaa\x86a \xd4\x19\xfc\x88w\t\xf0\xba7\xd8\x14\\\xed\xee\xc2[\x18\xfc\x1f8\xecg\xef\x928\x02\x18\x7f\x1f\xf0\x03\xec8\x028G\x03\xf0\x00~\x00\x02\x00\x07\x00\x00\x1c\x00\x00\x02\x00\x00\x00\x00\x1c\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[float64-view-new-new-mode1-omp] ___________________ dtype = dtype('float64'), itype = 'view', enout = 'new', deout = 'new' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00+\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0C\xc0\x08V\x7f\xf7\x87\xaf\x01\x00\xc4\xc0\x1c\x10\x18\x8c\x00\xfcp\x03\x82CpN<\x08\x0f\xc5\xc1\xc0\x0f\x00\x1b +%I\xe5e\x89+t\xc7\xd6\xed\xf8\xd1y\x15\xb8\xb2\xe5D\xe1lB"\xe1\xd8T\x81\x86\x02\xc8\xea\xbb\xea\xf5r\x86Z/,\xa5{"\x82,@r\xf7\xb9\xa7\x94\x0b\x8d\xbc\xfb\x99\x9b}\x0f~\xd7\xc5\xaa\x02)\xe9\xd0\xd7\x06\n\x0e]\xaf\x85\x86\xa4\x83W\x00\x07\xc5\x9c\x06\xbf\x82\x06\x83\x00\x00\xe4\x07\x16\x8c\x00\x0e\x00\x00\x00\x00\x00\x06\x00\x8a\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\...00\xd0r\x82?\xa2\xf9\x9e\x98\x7fl\xaf\xda\xacx\x16#\x9a\xff\x03\x13\xd7V\xd4`n\xffN \x94t\xb4\xb7}\xfbP\xf6\x83\x19\x93\xa8~\x08\x8d\x1e\xa8\xab\x88\xec\xb5\xe5\xe1\xd2C\xd7D\xf8\xf4l\xb2\xcd\xa7>\xf7c\x00\x00L%\xe76\x98\xdf\x9a\x13\xbf\xc8\xf7|c\xb0\xd7\x95\xad\xf3x\x11WS\xb6\xf7\x1f\xcc*\xd4\xc8\x84\x1c\x16\x93\xd3\x15\x16\x04\\\xde\x02\x1e\x9f\xfbE\x12?\xaa\x86a \xd4\x19\xfc\x88w\t\xf0\xba7\xd8\x14\\\xed\xee\xc2[\x18\xfc\x1f8\xecg\xef\x928\x02\x18\x7f\x1f\xf0\x03\xec8\x028G\x03\xf0\x00~\x00\x02\x00\x07\x00\x00\x1c\x00\x00\x02\x00\x00\x00\x00\x1c\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError __________________ test_zfp[float64-view-new-out-mode0-None] ___________________ dtype = dtype('float64'), itype = 'view', enout = 'new', deout = 'out' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00+\x05pfz\x00s\x8f\xfd\x88\x00\x01\xf0\x00v\x00\x08\xe4\x01\x02\x80x\x0e1\x01\xe0\x18a\x81\x18\xf0\x18s\x80\x00`0!\x8c\x07\xe1\xf1\x80\x00\x03\x90\xde\xfaH\xf8\xe1\x01\x9b\x83\x18\x7f#\x83\xb8f\t\x87\xfc\xe9\xc7\xf7\x01\xbf!0`\xb0\x1f\x93\x81\xa4Y\x81\xfc\xa6\x03c\x83\x83n\xc0\x83f<\xf0r/\x97r\x98\xe0\x04\x10\x87\xe8\x86\xfa\x80v\xdc\xe0\x17\xebV\xfc\x9c6\xc3\x05vk\x18\xbagO\x04\xe7\x1c \xcf\x8dgO\xe0\x11m\xe7\xd1\xbb`v\xd8\x11h\\\x80\xc6\x9f ?\xf0`(\xde\xcc\x7fi\xc7\x12v\x14\xae\xcb\x9b&\xe7\x96\xfe/o\x85\xe0\xb0\xe7d\\k\xae\x88k\x168\x05Y%@\x17\x0f\x19\xc7\xe3\x0ec\xe2\xe4\x80y\xe4\xe3\x15\x0353\x03i\xc3a\xd7R\xe9\x00\x03\xa4\x7f\xe8\x0c$x\x10\x03\x00\x00\x00\xa0\x00\x14\x00@vn\x00\x04$\xa0\x06\x83.\xe9 \x01\xe6\x02\x0bB\x03Y\x90x\x00\x04>B\xad\x90\xc6\x0c\x082\xe6\xcf\xafjn\x1c\x99!\xe98ip\x0eH\xdd9\xa8e\xdf\x7f\xa8Y\xad1(\x03\xdf\xb0?\xe1\xf3\xcf\xbdC\xdb\x14\xbd;\x1f\x83\xf68v10\xf3x\xb3\xf6ya\xe1\x99x\xb0B\x03\x85\x1d\x87\x10\xc6<\x972\x04\x0f\xe9\x1d\xe75\xd3\xd8\'\xe6\t\x82\xb1`\xbb\x18\x961\x1bd\x8d\xb7\x01\xc7\x9c\xb5?\xab;\xa0\x01D\xab6\x86sC\x8bvv\x8b\t\xc0\xe6\xe1\x8be\xb9\xe8\xd0\x17\'k\x8a)\xd0\xfb\xc7k\xffR\x84\x00\xfd\xa8~\xbcsR\x16\x8a\xdf\xe9\x8f`?...d\x8d*7?\x9f\x85\x8d\xbe\x0b\xb8\xd5p-KJF\xbb\x9e\xd4G\xcc\xe4\xf1\x96\x17\xb1@\xd3\xef2\xedg\xc7\x87\x17\x9a\x81\xb1\xda\xf7-\x9a\xb4Z\x81\xa0e\x9fR\x13\x0e+<\xa9Y\xfb\xb8\xaaD\xceX|\xb2F\xa1\xbeLX\xcb\x9bH\xe8\xa6#\x85\xf4Ks\x90\xcet\xea\x87Sg\xc8\x9aE |\x92\x8ax\xd9\x15s\x976\x1d\x15U{\xe3\xd4\t \xa2\xaf\xbcz\xaf\xffD\xa2`jt\xc1S\x9ca\x01\x00A\\\x02\xa6\xb1\x00i\xec\xbdJu\xec\xaf\x00q\x8b`\x10@$\x00\x00Z\x8d\x02\x00@\x00\x00\xfe\x90\n\x00\x00 \x00\x00\x00\x06\x00\x81@\x00:\x07\x00\x04\x02\x00\x80@\x00\x00\x01 \x12\x01\x04\x00\xa0\x02\xe0\x00\x90\x0b\x01\x82\x02\x90\xc0\n\x00P\x00\x01\x81\x14:\x06\x00P\x04aCjbT,\x10\x06\x80\x96\xb3\xecL4KI\x03\xbf\xb1p8>p\x13\xba\xba&N\xd5\xbf\xeb\x1d\xfcN\xd7x\xb6\xd1!O\xe3%,\x8d\x9b\x87M\xcf\xdc\x10\x04\x00;\x11\xff\t\x9b\x82%O\xd5\x0ff\x11\xce\x16av\xf1\xa3\xa7Q\xbd\xa6`mA\xcb\xd27\xb9E\xae\xb5<\xf3\r\x12e>tY\xe0$\x81\x06\xe7\xbcOZ\x99\xbb%\x1a\x13\xc2\x8c\xe0\xaf<\xca\x12\xf1R\x008\x00\x10\x00\x0c\x99\x83\xa0\x081\x10@\x06\xc0\xc0\x00\x00\x00\x00\x00\x10\xc0\x00\x04\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[float64-view-new-out-mode0-omp] ___________________ dtype = dtype('float64'), itype = 'view', enout = 'new', deout = 'out' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00+\x05pfz\x00s\x8f\xfd\x88\x00\x01\xf0\x00v\x00\x08\xe4\x01\x02\x80x\x0e1\x01\xe0\x18a\x81\x18\xf0\x18s\x80\x00`0!\x8c\x07\xe1\xf1\x80\x00\x03\x90\xde\xfaH\xf8\xe1\x01\x9b\x83\x18\x7f#\x83\xb8f\t\x87\xfc\xe9\xc7\xf7\x01\xbf!0`\xb0\x1f\x93\x81\xa4Y\x81\xfc\xa6\x03c\x83\x83n\xc0\x83f<\xf0r/\x97r\x98\xe0\x04\x10\x87\xe8\x86\xfa\x80v\xdc\xe0\x17\xebV\xfc\x9c6\xc3\x05vk\x18\xbagO\x04\xe7\x1c \xcf\x8dgO\xe0\x11m\xe7\xd1\xbb`v\xd8\x11h\\\x80\xc6\x9f ?\xf0`(\xde\xcc\x7fi\xc7\x12v\x14\xae\xcb\x9b&\xe7\x96\xfe/o\x85\xe0\xb0\xe7d\\k\xae\x88k\x168\x05Y%@\x17\x0f\x19\xc7\xe3\x0ec\xe2\xe4\x80y\xe4\xe3\x15\x0353\x03i\xc3a\xd7R\xe9\x00\x03\xa4\x7f\xe8\x0c$x\x10\x03\x00\x00\x00\xa0\x00\x14\x00@vn\x00\x04$\xa0\x06\x83.\xe9 \x01\xe6\x02\x0bB\x03Y\x90x\x00\x04>B\xad\x90\xc6\x0c\x082\xe6\xcf\xafjn\x1c\x99!\xe98ip\x0eH\xdd9\xa8e\xdf\x7f\xa8Y\xad1(\x03\xdf\xb0?\xe1\xf3\xcf\xbdC\xdb\x14\xbd;\x1f\x83\xf68v10\xf3x\xb3\xf6ya\xe1\x99x\xb0B\x03\x85\x1d\x87\x10\xc6<\x972\x04\x0f\xe9\x1d\xe75\xd3\xd8\'\xe6\t\x82\xb1`\xbb\x18\x961\x1bd\x8d\xb7\x01\xc7\x9c\xb5?\xab;\xa0\x01D\xab6\x86sC\x8bvv\x8b\t\xc0\xe6\xe1\x8be\xb9\xe8\xd0\x17\'k\x8a)\xd0\xfb\xc7k\xffR\x84\x00\xfd\xa8~\xbcsR\x16\x8a\xdf\xe9\x8f`?...d\x8d*7?\x9f\x85\x8d\xbe\x0b\xb8\xd5p-KJF\xbb\x9e\xd4G\xcc\xe4\xf1\x96\x17\xb1@\xd3\xef2\xedg\xc7\x87\x17\x9a\x81\xb1\xda\xf7-\x9a\xb4Z\x81\xa0e\x9fR\x13\x0e+<\xa9Y\xfb\xb8\xaaD\xceX|\xb2F\xa1\xbeLX\xcb\x9bH\xe8\xa6#\x85\xf4Ks\x90\xcet\xea\x87Sg\xc8\x9aE |\x92\x8ax\xd9\x15s\x976\x1d\x15U{\xe3\xd4\t \xa2\xaf\xbcz\xaf\xffD\xa2`jt\xc1S\x9ca\x01\x00A\\\x02\xa6\xb1\x00i\xec\xbdJu\xec\xaf\x00q\x8b`\x10@$\x00\x00Z\x8d\x02\x00@\x00\x00\xfe\x90\n\x00\x00 \x00\x00\x00\x06\x00\x81@\x00:\x07\x00\x04\x02\x00\x80@\x00\x00\x01 \x12\x01\x04\x00\xa0\x02\xe0\x00\x90\x0b\x01\x82\x02\x90\xc0\n\x00P\x00\x01\x81\x14:\x06\x00P\x04aCjbT,\x10\x06\x80\x96\xb3\xecL4KI\x03\xbf\xb1p8>p\x13\xba\xba&N\xd5\xbf\xeb\x1d\xfcN\xd7x\xb6\xd1!O\xe3%,\x8d\x9b\x87M\xcf\xdc\x10\x04\x00;\x11\xff\t\x9b\x82%O\xd5\x0ff\x11\xce\x16av\xf1\xa3\xa7Q\xbd\xa6`mA\xcb\xd27\xb9E\xae\xb5<\xf3\r\x12e>tY\xe0$\x81\x06\xe7\xbcOZ\x99\xbb%\x1a\x13\xc2\x8c\xe0\xaf<\xca\x12\xf1R\x008\x00\x10\x00\x0c\x99\x83\xa0\x081\x10@\x06\xc0\xc0\x00\x00\x00\x00\x00\x10\xc0\x00\x04\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError __________________ test_zfp[float64-view-new-out-mode1-None] ___________________ dtype = dtype('float64'), itype = 'view', enout = 'new', deout = 'out' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00+\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0C\xc0\x08V\x7f\xf7\x87\xaf\x01\x00\xc4\xc0\x1c\x10\x18\x8c\x00\xfcp\x03\x82CpN<\x08\x0f\xc5\xc1\xc0\x0f\x00\x1b +%I\xe5e\x89+t\xc7\xd6\xed\xf8\xd1y\x15\xb8\xb2\xe5D\xe1lB"\xe1\xd8T\x81\x86\x02\xc8\xea\xbb\xea\xf5r\x86Z/,\xa5{"\x82,@r\xf7\xb9\xa7\x94\x0b\x8d\xbc\xfb\x99\x9b}\x0f~\xd7\xc5\xaa\x02)\xe9\xd0\xd7\x06\n\x0e]\xaf\x85\x86\xa4\x83W\x00\x07\xc5\x9c\x06\xbf\x82\x06\x83\x00\x00\xe4\x07\x16\x8c\x00\x0e\x00\x00\x00\x00\x00\x06\x00\x8a\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\...00\xd0r\x82?\xa2\xf9\x9e\x98\x7fl\xaf\xda\xacx\x16#\x9a\xff\x03\x13\xd7V\xd4`n\xffN \x94t\xb4\xb7}\xfbP\xf6\x83\x19\x93\xa8~\x08\x8d\x1e\xa8\xab\x88\xec\xb5\xe5\xe1\xd2C\xd7D\xf8\xf4l\xb2\xcd\xa7>\xf7c\x00\x00L%\xe76\x98\xdf\x9a\x13\xbf\xc8\xf7|c\xb0\xd7\x95\xad\xf3x\x11WS\xb6\xf7\x1f\xcc*\xd4\xc8\x84\x1c\x16\x93\xd3\x15\x16\x04\\\xde\x02\x1e\x9f\xfbE\x12?\xaa\x86a \xd4\x19\xfc\x88w\t\xf0\xba7\xd8\x14\\\xed\xee\xc2[\x18\xfc\x1f8\xecg\xef\x928\x02\x18\x7f\x1f\xf0\x03\xec8\x028G\x03\xf0\x00~\x00\x02\x00\x07\x00\x00\x1c\x00\x00\x02\x00\x00\x00\x00\x1c\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[float64-view-new-out-mode1-omp] ___________________ dtype = dtype('float64'), itype = 'view', enout = 'new', deout = 'out' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00+\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0C\xc0\x08V\x7f\xf7\x87\xaf\x01\x00\xc4\xc0\x1c\x10\x18\x8c\x00\xfcp\x03\x82CpN<\x08\x0f\xc5\xc1\xc0\x0f\x00\x1b +%I\xe5e\x89+t\xc7\xd6\xed\xf8\xd1y\x15\xb8\xb2\xe5D\xe1lB"\xe1\xd8T\x81\x86\x02\xc8\xea\xbb\xea\xf5r\x86Z/,\xa5{"\x82,@r\xf7\xb9\xa7\x94\x0b\x8d\xbc\xfb\x99\x9b}\x0f~\xd7\xc5\xaa\x02)\xe9\xd0\xd7\x06\n\x0e]\xaf\x85\x86\xa4\x83W\x00\x07\xc5\x9c\x06\xbf\x82\x06\x83\x00\x00\xe4\x07\x16\x8c\x00\x0e\x00\x00\x00\x00\x00\x06\x00\x8a\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\...00\xd0r\x82?\xa2\xf9\x9e\x98\x7fl\xaf\xda\xacx\x16#\x9a\xff\x03\x13\xd7V\xd4`n\xffN \x94t\xb4\xb7}\xfbP\xf6\x83\x19\x93\xa8~\x08\x8d\x1e\xa8\xab\x88\xec\xb5\xe5\xe1\xd2C\xd7D\xf8\xf4l\xb2\xcd\xa7>\xf7c\x00\x00L%\xe76\x98\xdf\x9a\x13\xbf\xc8\xf7|c\xb0\xd7\x95\xad\xf3x\x11WS\xb6\xf7\x1f\xcc*\xd4\xc8\x84\x1c\x16\x93\xd3\x15\x16\x04\\\xde\x02\x1e\x9f\xfbE\x12?\xaa\x86a \xd4\x19\xfc\x88w\t\xf0\xba7\xd8\x14\\\xed\xee\xc2[\x18\xfc\x1f8\xecg\xef\x928\x02\x18\x7f\x1f\xf0\x03\xec8\x028G\x03\xf0\x00~\x00\x02\x00\x07\x00\x00\x1c\x00\x00\x02\x00\x00\x00\x00\x1c\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _______________ test_zfp[float64-view-new-bytearray-mode0-None] ________________ dtype = dtype('float64'), itype = 'view', enout = 'new', deout = 'bytearray' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00+\x05pfz\x00s\x8f\xfd\x88\x00\x01\xf0\x00v\x00\x08\xe4\x01\x02\x80x\x0e1\x01\xe0\x18a\x81\x18\xf0\x18s\x80\x00`0!\x8c\x07\xe1\xf1\x80\x00\x03\x90\xde\xfaH\xf8\xe1\x01\x9b\x83\x18\x7f#\x83\xb8f\t\x87\xfc\xe9\xc7\xf7\x01\xbf!0`\xb0\x1f\x93\x81\xa4Y\x81\xfc\xa6\x03c\x83\x83n\xc0\x83f<\xf0r/\x97r\x98\xe0\x04\x10\x87\xe8\x86\xfa\x80v\xdc\xe0\x17\xebV\xfc\x9c6\xc3\x05vk\x18\xbagO\x04\xe7\x1c \xcf\x8dgO\xe0\x11m\xe7\xd1\xbb`v\xd8\x11h\\\x80\xc6\x9f ?\xf0`(\xde\xcc\x7fi\xc7\x12v\x14\xae\xcb\x9b&\xe7\x96\xfe/o\x85\xe0\xb0\xe7d\\k\xae\x88k\x168\x05Y%@\x17\x0f\x19\xc7\xe3\x0ec\xe2\xe4\x80y\xe4\xe3\x15\x0353\x03i\xc3a\xd7R\xe9\x00\x03\xa4\x7f\xe8\x0c$x\x10\x03\x00\x00\x00\xa0\x00\x14\x00@vn\x00\x04$\xa0\x06\x83.\xe9 \x01\xe6\x02\x0bB\x03Y\x90x\x00\x04>B\xad\x90\xc6\x0c\x082\xe6\xcf\xafjn\x1c\x99!\xe98ip\x0eH\xdd9\xa8e\xdf\x7f\xa8Y\xad1(\x03\xdf\xb0?\xe1\xf3\xcf\xbdC\xdb\x14\xbd;\x1f\x83\xf68v10\xf3x\xb3\xf6ya\xe1\x99x\xb0B\x03\x85\x1d\x87\x10\xc6<\x972\x04\x0f\xe9\x1d\xe75\xd3\xd8\'\xe6\t\x82\xb1`\xbb\x18\x961\x1bd\x8d\xb7\x01\xc7\x9c\xb5?\xab;\xa0\x01D\xab6\x86sC\x8bvv\x8b\t\xc0\xe6\xe1\x8be\xb9\xe8\xd0\x17\'k\x8a)\xd0\xfb\xc7k\xffR\x84\x00\xfd\xa8~\xbcsR\x16\x8a\xdf\xe9\x8f`?...d\x8d*7?\x9f\x85\x8d\xbe\x0b\xb8\xd5p-KJF\xbb\x9e\xd4G\xcc\xe4\xf1\x96\x17\xb1@\xd3\xef2\xedg\xc7\x87\x17\x9a\x81\xb1\xda\xf7-\x9a\xb4Z\x81\xa0e\x9fR\x13\x0e+<\xa9Y\xfb\xb8\xaaD\xceX|\xb2F\xa1\xbeLX\xcb\x9bH\xe8\xa6#\x85\xf4Ks\x90\xcet\xea\x87Sg\xc8\x9aE |\x92\x8ax\xd9\x15s\x976\x1d\x15U{\xe3\xd4\t \xa2\xaf\xbcz\xaf\xffD\xa2`jt\xc1S\x9ca\x01\x00A\\\x02\xa6\xb1\x00i\xec\xbdJu\xec\xaf\x00q\x8b`\x10@$\x00\x00Z\x8d\x02\x00@\x00\x00\xfe\x90\n\x00\x00 \x00\x00\x00\x06\x00\x81@\x00:\x07\x00\x04\x02\x00\x80@\x00\x00\x01 \x12\x01\x04\x00\xa0\x02\xe0\x00\x90\x0b\x01\x82\x02\x90\xc0\n\x00P\x00\x01\x81\x14:\x06\x00P\x04aCjbT,\x10\x06\x80\x96\xb3\xecL4KI\x03\xbf\xb1p8>p\x13\xba\xba&N\xd5\xbf\xeb\x1d\xfcN\xd7x\xb6\xd1!O\xe3%,\x8d\x9b\x87M\xcf\xdc\x10\x04\x00;\x11\xff\t\x9b\x82%O\xd5\x0ff\x11\xce\x16av\xf1\xa3\xa7Q\xbd\xa6`mA\xcb\xd27\xb9E\xae\xb5<\xf3\r\x12e>tY\xe0$\x81\x06\xe7\xbcOZ\x99\xbb%\x1a\x13\xc2\x8c\xe0\xaf<\xca\x12\xf1R\x008\x00\x10\x00\x0c\x99\x83\xa0\x081\x10@\x06\xc0\xc0\x00\x00\x00\x00\x00\x10\xc0\x00\x04\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[float64-view-new-bytearray-mode0-omp] ________________ dtype = dtype('float64'), itype = 'view', enout = 'new', deout = 'bytearray' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00+\x05pfz\x00s\x8f\xfd\x88\x00\x01\xf0\x00v\x00\x08\xe4\x01\x02\x80x\x0e1\x01\xe0\x18a\x81\x18\xf0\x18s\x80\x00`0!\x8c\x07\xe1\xf1\x80\x00\x03\x90\xde\xfaH\xf8\xe1\x01\x9b\x83\x18\x7f#\x83\xb8f\t\x87\xfc\xe9\xc7\xf7\x01\xbf!0`\xb0\x1f\x93\x81\xa4Y\x81\xfc\xa6\x03c\x83\x83n\xc0\x83f<\xf0r/\x97r\x98\xe0\x04\x10\x87\xe8\x86\xfa\x80v\xdc\xe0\x17\xebV\xfc\x9c6\xc3\x05vk\x18\xbagO\x04\xe7\x1c \xcf\x8dgO\xe0\x11m\xe7\xd1\xbb`v\xd8\x11h\\\x80\xc6\x9f ?\xf0`(\xde\xcc\x7fi\xc7\x12v\x14\xae\xcb\x9b&\xe7\x96\xfe/o\x85\xe0\xb0\xe7d\\k\xae\x88k\x168\x05Y%@\x17\x0f\x19\xc7\xe3\x0ec\xe2\xe4\x80y\xe4\xe3\x15\x0353\x03i\xc3a\xd7R\xe9\x00\x03\xa4\x7f\xe8\x0c$x\x10\x03\x00\x00\x00\xa0\x00\x14\x00@vn\x00\x04$\xa0\x06\x83.\xe9 \x01\xe6\x02\x0bB\x03Y\x90x\x00\x04>B\xad\x90\xc6\x0c\x082\xe6\xcf\xafjn\x1c\x99!\xe98ip\x0eH\xdd9\xa8e\xdf\x7f\xa8Y\xad1(\x03\xdf\xb0?\xe1\xf3\xcf\xbdC\xdb\x14\xbd;\x1f\x83\xf68v10\xf3x\xb3\xf6ya\xe1\x99x\xb0B\x03\x85\x1d\x87\x10\xc6<\x972\x04\x0f\xe9\x1d\xe75\xd3\xd8\'\xe6\t\x82\xb1`\xbb\x18\x961\x1bd\x8d\xb7\x01\xc7\x9c\xb5?\xab;\xa0\x01D\xab6\x86sC\x8bvv\x8b\t\xc0\xe6\xe1\x8be\xb9\xe8\xd0\x17\'k\x8a)\xd0\xfb\xc7k\xffR\x84\x00\xfd\xa8~\xbcsR\x16\x8a\xdf\xe9\x8f`?...d\x8d*7?\x9f\x85\x8d\xbe\x0b\xb8\xd5p-KJF\xbb\x9e\xd4G\xcc\xe4\xf1\x96\x17\xb1@\xd3\xef2\xedg\xc7\x87\x17\x9a\x81\xb1\xda\xf7-\x9a\xb4Z\x81\xa0e\x9fR\x13\x0e+<\xa9Y\xfb\xb8\xaaD\xceX|\xb2F\xa1\xbeLX\xcb\x9bH\xe8\xa6#\x85\xf4Ks\x90\xcet\xea\x87Sg\xc8\x9aE |\x92\x8ax\xd9\x15s\x976\x1d\x15U{\xe3\xd4\t \xa2\xaf\xbcz\xaf\xffD\xa2`jt\xc1S\x9ca\x01\x00A\\\x02\xa6\xb1\x00i\xec\xbdJu\xec\xaf\x00q\x8b`\x10@$\x00\x00Z\x8d\x02\x00@\x00\x00\xfe\x90\n\x00\x00 \x00\x00\x00\x06\x00\x81@\x00:\x07\x00\x04\x02\x00\x80@\x00\x00\x01 \x12\x01\x04\x00\xa0\x02\xe0\x00\x90\x0b\x01\x82\x02\x90\xc0\n\x00P\x00\x01\x81\x14:\x06\x00P\x04aCjbT,\x10\x06\x80\x96\xb3\xecL4KI\x03\xbf\xb1p8>p\x13\xba\xba&N\xd5\xbf\xeb\x1d\xfcN\xd7x\xb6\xd1!O\xe3%,\x8d\x9b\x87M\xcf\xdc\x10\x04\x00;\x11\xff\t\x9b\x82%O\xd5\x0ff\x11\xce\x16av\xf1\xa3\xa7Q\xbd\xa6`mA\xcb\xd27\xb9E\xae\xb5<\xf3\r\x12e>tY\xe0$\x81\x06\xe7\xbcOZ\x99\xbb%\x1a\x13\xc2\x8c\xe0\xaf<\xca\x12\xf1R\x008\x00\x10\x00\x0c\x99\x83\xa0\x081\x10@\x06\xc0\xc0\x00\x00\x00\x00\x00\x10\xc0\x00\x04\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _______________ test_zfp[float64-view-new-bytearray-mode1-None] ________________ dtype = dtype('float64'), itype = 'view', enout = 'new', deout = 'bytearray' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00+\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0C\xc0\x08V\x7f\xf7\x87\xaf\x01\x00\xc4\xc0\x1c\x10\x18\x8c\x00\xfcp\x03\x82CpN<\x08\x0f\xc5\xc1\xc0\x0f\x00\x1b +%I\xe5e\x89+t\xc7\xd6\xed\xf8\xd1y\x15\xb8\xb2\xe5D\xe1lB"\xe1\xd8T\x81\x86\x02\xc8\xea\xbb\xea\xf5r\x86Z/,\xa5{"\x82,@r\xf7\xb9\xa7\x94\x0b\x8d\xbc\xfb\x99\x9b}\x0f~\xd7\xc5\xaa\x02)\xe9\xd0\xd7\x06\n\x0e]\xaf\x85\x86\xa4\x83W\x00\x07\xc5\x9c\x06\xbf\x82\x06\x83\x00\x00\xe4\x07\x16\x8c\x00\x0e\x00\x00\x00\x00\x00\x06\x00\x8a\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\...00\xd0r\x82?\xa2\xf9\x9e\x98\x7fl\xaf\xda\xacx\x16#\x9a\xff\x03\x13\xd7V\xd4`n\xffN \x94t\xb4\xb7}\xfbP\xf6\x83\x19\x93\xa8~\x08\x8d\x1e\xa8\xab\x88\xec\xb5\xe5\xe1\xd2C\xd7D\xf8\xf4l\xb2\xcd\xa7>\xf7c\x00\x00L%\xe76\x98\xdf\x9a\x13\xbf\xc8\xf7|c\xb0\xd7\x95\xad\xf3x\x11WS\xb6\xf7\x1f\xcc*\xd4\xc8\x84\x1c\x16\x93\xd3\x15\x16\x04\\\xde\x02\x1e\x9f\xfbE\x12?\xaa\x86a \xd4\x19\xfc\x88w\t\xf0\xba7\xd8\x14\\\xed\xee\xc2[\x18\xfc\x1f8\xecg\xef\x928\x02\x18\x7f\x1f\xf0\x03\xec8\x028G\x03\xf0\x00~\x00\x02\x00\x07\x00\x00\x1c\x00\x00\x02\x00\x00\x00\x00\x1c\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[float64-view-new-bytearray-mode1-omp] ________________ dtype = dtype('float64'), itype = 'view', enout = 'new', deout = 'bytearray' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00+\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0C\xc0\x08V\x7f\xf7\x87\xaf\x01\x00\xc4\xc0\x1c\x10\x18\x8c\x00\xfcp\x03\x82CpN<\x08\x0f\xc5\xc1\xc0\x0f\x00\x1b +%I\xe5e\x89+t\xc7\xd6\xed\xf8\xd1y\x15\xb8\xb2\xe5D\xe1lB"\xe1\xd8T\x81\x86\x02\xc8\xea\xbb\xea\xf5r\x86Z/,\xa5{"\x82,@r\xf7\xb9\xa7\x94\x0b\x8d\xbc\xfb\x99\x9b}\x0f~\xd7\xc5\xaa\x02)\xe9\xd0\xd7\x06\n\x0e]\xaf\x85\x86\xa4\x83W\x00\x07\xc5\x9c\x06\xbf\x82\x06\x83\x00\x00\xe4\x07\x16\x8c\x00\x0e\x00\x00\x00\x00\x00\x06\x00\x8a\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\...00\xd0r\x82?\xa2\xf9\x9e\x98\x7fl\xaf\xda\xacx\x16#\x9a\xff\x03\x13\xd7V\xd4`n\xffN \x94t\xb4\xb7}\xfbP\xf6\x83\x19\x93\xa8~\x08\x8d\x1e\xa8\xab\x88\xec\xb5\xe5\xe1\xd2C\xd7D\xf8\xf4l\xb2\xcd\xa7>\xf7c\x00\x00L%\xe76\x98\xdf\x9a\x13\xbf\xc8\xf7|c\xb0\xd7\x95\xad\xf3x\x11WS\xb6\xf7\x1f\xcc*\xd4\xc8\x84\x1c\x16\x93\xd3\x15\x16\x04\\\xde\x02\x1e\x9f\xfbE\x12?\xaa\x86a \xd4\x19\xfc\x88w\t\xf0\xba7\xd8\x14\\\xed\xee\xc2[\x18\xfc\x1f8\xecg\xef\x928\x02\x18\x7f\x1f\xf0\x03\xec8\x028G\x03\xf0\x00~\x00\x02\x00\x07\x00\x00\x1c\x00\x00\x02\x00\x00\x00\x00\x1c\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError __________________ test_zfp[float64-view-out-new-mode0-None] ___________________ dtype = dtype('float64'), itype = 'view', enout = 'out', deout = 'new' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00+\x05pfz\x00s\x8f\xfd\x88\x00\x01\xf0\x00v\x00\x08\xe4\x01\x02\x80x\x0e1\x01\xe0\x18a\x81\x18\xf0\x18s\x80\x00`0!\x8c\x07\xe1\xf1\x80\x00\x03\x90\xde\xfaH\xf8\xe1\x01\x9b\x83\x18\x7f#\x83\xb8f\t\x87\xfc\xe9\xc7\xf7\x01\xbf!0`\xb0\x1f\x93\x81\xa4Y\x81\xfc\xa6\x03c\x83\x83n\xc0\x83f<\xf0r/\x97r\x98\xe0\x04\x10\x87\xe8\x86\xfa\x80v\xdc\xe0\x17\xebV\xfc\x9c6\xc3\x05vk\x18\xbagO\x04\xe7\x1c \xcf\x8dgO\xe0\x11m\xe7\xd1\xbb`v\xd8\x11h\\\x80\xc6\x9f ?\xf0`(\xde\xcc\x7fi\xc7\x12v\x14\xae\xcb\x9b&\xe7\x96\xfe/o\x85\xe0\xb0\xe7d\\k\xae\x88k\x168\x05Y%@\x17\x0f\x19\xc7\xe3\x0ec\xe2\xe4\x80y\xe4\xe3\x15\x0353\x03i\xc3a\xd7R\xe9\x00\x03\xa4\x7f\xe8\x0c$x\x10\x03\x00\x00\x00\xa0\x00\x14\x00@vn\x00\x04$\xa0\x06\x83.\xe9 \x01\xe6\x02\x0bB\x03Y\x90x\x00\x04>B\xad\x90\xc6\x0c\x082\xe6\xcf\xafjn\x1c\x99!\xe98ip\x0eH\xdd9\xa8e\xdf\x7f\xa8Y\xad1(\x03\xdf\xb0?\xe1\xf3\xcf\xbdC\xdb\x14\xbd;\x1f\x83\xf68v10\xf3x\xb3\xf6ya\xe1\x99x\xb0B\x03\x85\x1d\x87\x10\xc6<\x972\x04\x0f\xe9\x1d\xe75\xd3\xd8\'\xe6\t\x82\xb1`\xbb\x18\x961\x1bd\x8d\xb7\x01\xc7\x9c\xb5?\xab;\xa0\x01D\xab6\x86sC\x8bvv\x8b\t\xc0\xe6\xe1\x8be\xb9\xe8\xd0\x17\'k\x8a)\xd0\xfb\xc7k\xffR\x84\x00\xfd\xa8~\xbcsR\x16\x8a\xdf\xe9\x8f`?...d\x8d*7?\x9f\x85\x8d\xbe\x0b\xb8\xd5p-KJF\xbb\x9e\xd4G\xcc\xe4\xf1\x96\x17\xb1@\xd3\xef2\xedg\xc7\x87\x17\x9a\x81\xb1\xda\xf7-\x9a\xb4Z\x81\xa0e\x9fR\x13\x0e+<\xa9Y\xfb\xb8\xaaD\xceX|\xb2F\xa1\xbeLX\xcb\x9bH\xe8\xa6#\x85\xf4Ks\x90\xcet\xea\x87Sg\xc8\x9aE |\x92\x8ax\xd9\x15s\x976\x1d\x15U{\xe3\xd4\t \xa2\xaf\xbcz\xaf\xffD\xa2`jt\xc1S\x9ca\x01\x00A\\\x02\xa6\xb1\x00i\xec\xbdJu\xec\xaf\x00q\x8b`\x10@$\x00\x00Z\x8d\x02\x00@\x00\x00\xfe\x90\n\x00\x00 \x00\x00\x00\x06\x00\x81@\x00:\x07\x00\x04\x02\x00\x80@\x00\x00\x01 \x12\x01\x04\x00\xa0\x02\xe0\x00\x90\x0b\x01\x82\x02\x90\xc0\n\x00P\x00\x01\x81\x14:\x06\x00P\x04aCjbT,\x10\x06\x80\x96\xb3\xecL4KI\x03\xbf\xb1p8>p\x13\xba\xba&N\xd5\xbf\xeb\x1d\xfcN\xd7x\xb6\xd1!O\xe3%,\x8d\x9b\x87M\xcf\xdc\x10\x04\x00;\x11\xff\t\x9b\x82%O\xd5\x0ff\x11\xce\x16av\xf1\xa3\xa7Q\xbd\xa6`mA\xcb\xd27\xb9E\xae\xb5<\xf3\r\x12e>tY\xe0$\x81\x06\xe7\xbcOZ\x99\xbb%\x1a\x13\xc2\x8c\xe0\xaf<\xca\x12\xf1R\x008\x00\x10\x00\x0c\x99\x83\xa0\x081\x10@\x06\xc0\xc0\x00\x00\x00\x00\x00\x10\xc0\x00\x04\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[float64-view-out-new-mode0-omp] ___________________ dtype = dtype('float64'), itype = 'view', enout = 'out', deout = 'new' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00+\x05pfz\x00s\x8f\xfd\x88\x00\x01\xf0\x00v\x00\x08\xe4\x01\x02\x80x\x0e1\x01\xe0\x18a\x81\x18\xf0\x18s\x80\x00`0!\x8c\x07\xe1\xf1\x80\x00\x03\x90\xde\xfaH\xf8\xe1\x01\x9b\x83\x18\x7f#\x83\xb8f\t\x87\xfc\xe9\xc7\xf7\x01\xbf!0`\xb0\x1f\x93\x81\xa4Y\x81\xfc\xa6\x03c\x83\x83n\xc0\x83f<\xf0r/\x97r\x98\xe0\x04\x10\x87\xe8\x86\xfa\x80v\xdc\xe0\x17\xebV\xfc\x9c6\xc3\x05vk\x18\xbagO\x04\xe7\x1c \xcf\x8dgO\xe0\x11m\xe7\xd1\xbb`v\xd8\x11h\\\x80\xc6\x9f ?\xf0`(\xde\xcc\x7fi\xc7\x12v\x14\xae\xcb\x9b&\xe7\x96\xfe/o\x85\xe0\xb0\xe7d\\k\xae\x88k\x168\x05Y%@\x17\x0f\x19\xc7\xe3\x0ec\xe2\xe4\x80y\xe4\xe3\x15\x0353\x03i\xc3a\xd7R\xe9\x00\x03\xa4\x7f\xe8\x0c$x\x10\x03\x00\x00\x00\xa0\x00\x14\x00@vn\x00\x04$\xa0\x06\x83.\xe9 \x01\xe6\x02\x0bB\x03Y\x90x\x00\x04>B\xad\x90\xc6\x0c\x082\xe6\xcf\xafjn\x1c\x99!\xe98ip\x0eH\xdd9\xa8e\xdf\x7f\xa8Y\xad1(\x03\xdf\xb0?\xe1\xf3\xcf\xbdC\xdb\x14\xbd;\x1f\x83\xf68v10\xf3x\xb3\xf6ya\xe1\x99x\xb0B\x03\x85\x1d\x87\x10\xc6<\x972\x04\x0f\xe9\x1d\xe75\xd3\xd8\'\xe6\t\x82\xb1`\xbb\x18\x961\x1bd\x8d\xb7\x01\xc7\x9c\xb5?\xab;\xa0\x01D\xab6\x86sC\x8bvv\x8b\t\xc0\xe6\xe1\x8be\xb9\xe8\xd0\x17\'k\x8a)\xd0\xfb\xc7k\xffR\x84\x00\xfd\xa8~\xbcsR\x16\x8a\xdf\xe9\x8f`?...d\x8d*7?\x9f\x85\x8d\xbe\x0b\xb8\xd5p-KJF\xbb\x9e\xd4G\xcc\xe4\xf1\x96\x17\xb1@\xd3\xef2\xedg\xc7\x87\x17\x9a\x81\xb1\xda\xf7-\x9a\xb4Z\x81\xa0e\x9fR\x13\x0e+<\xa9Y\xfb\xb8\xaaD\xceX|\xb2F\xa1\xbeLX\xcb\x9bH\xe8\xa6#\x85\xf4Ks\x90\xcet\xea\x87Sg\xc8\x9aE |\x92\x8ax\xd9\x15s\x976\x1d\x15U{\xe3\xd4\t \xa2\xaf\xbcz\xaf\xffD\xa2`jt\xc1S\x9ca\x01\x00A\\\x02\xa6\xb1\x00i\xec\xbdJu\xec\xaf\x00q\x8b`\x10@$\x00\x00Z\x8d\x02\x00@\x00\x00\xfe\x90\n\x00\x00 \x00\x00\x00\x06\x00\x81@\x00:\x07\x00\x04\x02\x00\x80@\x00\x00\x01 \x12\x01\x04\x00\xa0\x02\xe0\x00\x90\x0b\x01\x82\x02\x90\xc0\n\x00P\x00\x01\x81\x14:\x06\x00P\x04aCjbT,\x10\x06\x80\x96\xb3\xecL4KI\x03\xbf\xb1p8>p\x13\xba\xba&N\xd5\xbf\xeb\x1d\xfcN\xd7x\xb6\xd1!O\xe3%,\x8d\x9b\x87M\xcf\xdc\x10\x04\x00;\x11\xff\t\x9b\x82%O\xd5\x0ff\x11\xce\x16av\xf1\xa3\xa7Q\xbd\xa6`mA\xcb\xd27\xb9E\xae\xb5<\xf3\r\x12e>tY\xe0$\x81\x06\xe7\xbcOZ\x99\xbb%\x1a\x13\xc2\x8c\xe0\xaf<\xca\x12\xf1R\x008\x00\x10\x00\x0c\x99\x83\xa0\x081\x10@\x06\xc0\xc0\x00\x00\x00\x00\x00\x10\xc0\x00\x04\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError __________________ test_zfp[float64-view-out-new-mode1-None] ___________________ dtype = dtype('float64'), itype = 'view', enout = 'out', deout = 'new' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00+\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0C\xc0\x08V\x7f\xf7\x87\xaf\x01\x00\xc4\xc0\x1c\x10\x18\x8c\x00\xfcp\x03\x82CpN<\x08\x0f\xc5\xc1\xc0\x0f\x00\x1b +%I\xe5e\x89+t\xc7\xd6\xed\xf8\xd1y\x15\xb8\xb2\xe5D\xe1lB"\xe1\xd8T\x81\x86\x02\xc8\xea\xbb\xea\xf5r\x86Z/,\xa5{"\x82,@r\xf7\xb9\xa7\x94\x0b\x8d\xbc\xfb\x99\x9b}\x0f~\xd7\xc5\xaa\x02)\xe9\xd0\xd7\x06\n\x0e]\xaf\x85\x86\xa4\x83W\x00\x07\xc5\x9c\x06\xbf\x82\x06\x83\x00\x00\xe4\x07\x16\x8c\x00\x0e\x00\x00\x00\x00\x00\x06\x00\x8a\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\...00\xd0r\x82?\xa2\xf9\x9e\x98\x7fl\xaf\xda\xacx\x16#\x9a\xff\x03\x13\xd7V\xd4`n\xffN \x94t\xb4\xb7}\xfbP\xf6\x83\x19\x93\xa8~\x08\x8d\x1e\xa8\xab\x88\xec\xb5\xe5\xe1\xd2C\xd7D\xf8\xf4l\xb2\xcd\xa7>\xf7c\x00\x00L%\xe76\x98\xdf\x9a\x13\xbf\xc8\xf7|c\xb0\xd7\x95\xad\xf3x\x11WS\xb6\xf7\x1f\xcc*\xd4\xc8\x84\x1c\x16\x93\xd3\x15\x16\x04\\\xde\x02\x1e\x9f\xfbE\x12?\xaa\x86a \xd4\x19\xfc\x88w\t\xf0\xba7\xd8\x14\\\xed\xee\xc2[\x18\xfc\x1f8\xecg\xef\x928\x02\x18\x7f\x1f\xf0\x03\xec8\x028G\x03\xf0\x00~\x00\x02\x00\x07\x00\x00\x1c\x00\x00\x02\x00\x00\x00\x00\x1c\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[float64-view-out-new-mode1-omp] ___________________ dtype = dtype('float64'), itype = 'view', enout = 'out', deout = 'new' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00+\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0C\xc0\x08V\x7f\xf7\x87\xaf\x01\x00\xc4\xc0\x1c\x10\x18\x8c\x00\xfcp\x03\x82CpN<\x08\x0f\xc5\xc1\xc0\x0f\x00\x1b +%I\xe5e\x89+t\xc7\xd6\xed\xf8\xd1y\x15\xb8\xb2\xe5D\xe1lB"\xe1\xd8T\x81\x86\x02\xc8\xea\xbb\xea\xf5r\x86Z/,\xa5{"\x82,@r\xf7\xb9\xa7\x94\x0b\x8d\xbc\xfb\x99\x9b}\x0f~\xd7\xc5\xaa\x02)\xe9\xd0\xd7\x06\n\x0e]\xaf\x85\x86\xa4\x83W\x00\x07\xc5\x9c\x06\xbf\x82\x06\x83\x00\x00\xe4\x07\x16\x8c\x00\x0e\x00\x00\x00\x00\x00\x06\x00\x8a\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\...00\xd0r\x82?\xa2\xf9\x9e\x98\x7fl\xaf\xda\xacx\x16#\x9a\xff\x03\x13\xd7V\xd4`n\xffN \x94t\xb4\xb7}\xfbP\xf6\x83\x19\x93\xa8~\x08\x8d\x1e\xa8\xab\x88\xec\xb5\xe5\xe1\xd2C\xd7D\xf8\xf4l\xb2\xcd\xa7>\xf7c\x00\x00L%\xe76\x98\xdf\x9a\x13\xbf\xc8\xf7|c\xb0\xd7\x95\xad\xf3x\x11WS\xb6\xf7\x1f\xcc*\xd4\xc8\x84\x1c\x16\x93\xd3\x15\x16\x04\\\xde\x02\x1e\x9f\xfbE\x12?\xaa\x86a \xd4\x19\xfc\x88w\t\xf0\xba7\xd8\x14\\\xed\xee\xc2[\x18\xfc\x1f8\xecg\xef\x928\x02\x18\x7f\x1f\xf0\x03\xec8\x028G\x03\xf0\x00~\x00\x02\x00\x07\x00\x00\x1c\x00\x00\x02\x00\x00\x00\x00\x1c\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError __________________ test_zfp[float64-view-out-out-mode0-None] ___________________ dtype = dtype('float64'), itype = 'view', enout = 'out', deout = 'out' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00+\x05pfz\x00s\x8f\xfd\x88\x00\x01\xf0\x00v\x00\x08\xe4\x01\x02\x80x\x0e1\x01\xe0\x18a\x81\x18\xf0\x18s\x80\x00`0!\x8c\x07\xe1\xf1\x80\x00\x03\x90\xde\xfaH\xf8\xe1\x01\x9b\x83\x18\x7f#\x83\xb8f\t\x87\xfc\xe9\xc7\xf7\x01\xbf!0`\xb0\x1f\x93\x81\xa4Y\x81\xfc\xa6\x03c\x83\x83n\xc0\x83f<\xf0r/\x97r\x98\xe0\x04\x10\x87\xe8\x86\xfa\x80v\xdc\xe0\x17\xebV\xfc\x9c6\xc3\x05vk\x18\xbagO\x04\xe7\x1c \xcf\x8dgO\xe0\x11m\xe7\xd1\xbb`v\xd8\x11h\\\x80\xc6\x9f ?\xf0`(\xde\xcc\x7fi\xc7\x12v\x14\xae\xcb\x9b&\xe7\x96\xfe/o\x85\xe0\xb0\xe7d\\k\xae\x88k\x168\x05Y%@\x17\x0f\x19\xc7\xe3\x0ec\xe2\xe4\x80y\xe4\xe3\x15\x0353\x03i\xc3a\xd7R\xe9\x00\x03\xa4\x7f\xe8\x0c$x\x10\x03\x00\x00\x00\xa0\x00\x14\x00@vn\x00\x04$\xa0\x06\x83.\xe9 \x01\xe6\x02\x0bB\x03Y\x90x\x00\x04>B\xad\x90\xc6\x0c\x082\xe6\xcf\xafjn\x1c\x99!\xe98ip\x0eH\xdd9\xa8e\xdf\x7f\xa8Y\xad1(\x03\xdf\xb0?\xe1\xf3\xcf\xbdC\xdb\x14\xbd;\x1f\x83\xf68v10\xf3x\xb3\xf6ya\xe1\x99x\xb0B\x03\x85\x1d\x87\x10\xc6<\x972\x04\x0f\xe9\x1d\xe75\xd3\xd8\'\xe6\t\x82\xb1`\xbb\x18\x961\x1bd\x8d\xb7\x01\xc7\x9c\xb5?\xab;\xa0\x01D\xab6\x86sC\x8bvv\x8b\t\xc0\xe6\xe1\x8be\xb9\xe8\xd0\x17\'k\x8a)\xd0\xfb\xc7k\xffR\x84\x00\xfd\xa8~\xbcsR\x16\x8a\xdf\xe9\x8f`?...d\x8d*7?\x9f\x85\x8d\xbe\x0b\xb8\xd5p-KJF\xbb\x9e\xd4G\xcc\xe4\xf1\x96\x17\xb1@\xd3\xef2\xedg\xc7\x87\x17\x9a\x81\xb1\xda\xf7-\x9a\xb4Z\x81\xa0e\x9fR\x13\x0e+<\xa9Y\xfb\xb8\xaaD\xceX|\xb2F\xa1\xbeLX\xcb\x9bH\xe8\xa6#\x85\xf4Ks\x90\xcet\xea\x87Sg\xc8\x9aE |\x92\x8ax\xd9\x15s\x976\x1d\x15U{\xe3\xd4\t \xa2\xaf\xbcz\xaf\xffD\xa2`jt\xc1S\x9ca\x01\x00A\\\x02\xa6\xb1\x00i\xec\xbdJu\xec\xaf\x00q\x8b`\x10@$\x00\x00Z\x8d\x02\x00@\x00\x00\xfe\x90\n\x00\x00 \x00\x00\x00\x06\x00\x81@\x00:\x07\x00\x04\x02\x00\x80@\x00\x00\x01 \x12\x01\x04\x00\xa0\x02\xe0\x00\x90\x0b\x01\x82\x02\x90\xc0\n\x00P\x00\x01\x81\x14:\x06\x00P\x04aCjbT,\x10\x06\x80\x96\xb3\xecL4KI\x03\xbf\xb1p8>p\x13\xba\xba&N\xd5\xbf\xeb\x1d\xfcN\xd7x\xb6\xd1!O\xe3%,\x8d\x9b\x87M\xcf\xdc\x10\x04\x00;\x11\xff\t\x9b\x82%O\xd5\x0ff\x11\xce\x16av\xf1\xa3\xa7Q\xbd\xa6`mA\xcb\xd27\xb9E\xae\xb5<\xf3\r\x12e>tY\xe0$\x81\x06\xe7\xbcOZ\x99\xbb%\x1a\x13\xc2\x8c\xe0\xaf<\xca\x12\xf1R\x008\x00\x10\x00\x0c\x99\x83\xa0\x081\x10@\x06\xc0\xc0\x00\x00\x00\x00\x00\x10\xc0\x00\x04\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[float64-view-out-out-mode0-omp] ___________________ dtype = dtype('float64'), itype = 'view', enout = 'out', deout = 'out' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00+\x05pfz\x00s\x8f\xfd\x88\x00\x01\xf0\x00v\x00\x08\xe4\x01\x02\x80x\x0e1\x01\xe0\x18a\x81\x18\xf0\x18s\x80\x00`0!\x8c\x07\xe1\xf1\x80\x00\x03\x90\xde\xfaH\xf8\xe1\x01\x9b\x83\x18\x7f#\x83\xb8f\t\x87\xfc\xe9\xc7\xf7\x01\xbf!0`\xb0\x1f\x93\x81\xa4Y\x81\xfc\xa6\x03c\x83\x83n\xc0\x83f<\xf0r/\x97r\x98\xe0\x04\x10\x87\xe8\x86\xfa\x80v\xdc\xe0\x17\xebV\xfc\x9c6\xc3\x05vk\x18\xbagO\x04\xe7\x1c \xcf\x8dgO\xe0\x11m\xe7\xd1\xbb`v\xd8\x11h\\\x80\xc6\x9f ?\xf0`(\xde\xcc\x7fi\xc7\x12v\x14\xae\xcb\x9b&\xe7\x96\xfe/o\x85\xe0\xb0\xe7d\\k\xae\x88k\x168\x05Y%@\x17\x0f\x19\xc7\xe3\x0ec\xe2\xe4\x80y\xe4\xe3\x15\x0353\x03i\xc3a\xd7R\xe9\x00\x03\xa4\x7f\xe8\x0c$x\x10\x03\x00\x00\x00\xa0\x00\x14\x00@vn\x00\x04$\xa0\x06\x83.\xe9 \x01\xe6\x02\x0bB\x03Y\x90x\x00\x04>B\xad\x90\xc6\x0c\x082\xe6\xcf\xafjn\x1c\x99!\xe98ip\x0eH\xdd9\xa8e\xdf\x7f\xa8Y\xad1(\x03\xdf\xb0?\xe1\xf3\xcf\xbdC\xdb\x14\xbd;\x1f\x83\xf68v10\xf3x\xb3\xf6ya\xe1\x99x\xb0B\x03\x85\x1d\x87\x10\xc6<\x972\x04\x0f\xe9\x1d\xe75\xd3\xd8\'\xe6\t\x82\xb1`\xbb\x18\x961\x1bd\x8d\xb7\x01\xc7\x9c\xb5?\xab;\xa0\x01D\xab6\x86sC\x8bvv\x8b\t\xc0\xe6\xe1\x8be\xb9\xe8\xd0\x17\'k\x8a)\xd0\xfb\xc7k\xffR\x84\x00\xfd\xa8~\xbcsR\x16\x8a\xdf\xe9\x8f`?...d\x8d*7?\x9f\x85\x8d\xbe\x0b\xb8\xd5p-KJF\xbb\x9e\xd4G\xcc\xe4\xf1\x96\x17\xb1@\xd3\xef2\xedg\xc7\x87\x17\x9a\x81\xb1\xda\xf7-\x9a\xb4Z\x81\xa0e\x9fR\x13\x0e+<\xa9Y\xfb\xb8\xaaD\xceX|\xb2F\xa1\xbeLX\xcb\x9bH\xe8\xa6#\x85\xf4Ks\x90\xcet\xea\x87Sg\xc8\x9aE |\x92\x8ax\xd9\x15s\x976\x1d\x15U{\xe3\xd4\t \xa2\xaf\xbcz\xaf\xffD\xa2`jt\xc1S\x9ca\x01\x00A\\\x02\xa6\xb1\x00i\xec\xbdJu\xec\xaf\x00q\x8b`\x10@$\x00\x00Z\x8d\x02\x00@\x00\x00\xfe\x90\n\x00\x00 \x00\x00\x00\x06\x00\x81@\x00:\x07\x00\x04\x02\x00\x80@\x00\x00\x01 \x12\x01\x04\x00\xa0\x02\xe0\x00\x90\x0b\x01\x82\x02\x90\xc0\n\x00P\x00\x01\x81\x14:\x06\x00P\x04aCjbT,\x10\x06\x80\x96\xb3\xecL4KI\x03\xbf\xb1p8>p\x13\xba\xba&N\xd5\xbf\xeb\x1d\xfcN\xd7x\xb6\xd1!O\xe3%,\x8d\x9b\x87M\xcf\xdc\x10\x04\x00;\x11\xff\t\x9b\x82%O\xd5\x0ff\x11\xce\x16av\xf1\xa3\xa7Q\xbd\xa6`mA\xcb\xd27\xb9E\xae\xb5<\xf3\r\x12e>tY\xe0$\x81\x06\xe7\xbcOZ\x99\xbb%\x1a\x13\xc2\x8c\xe0\xaf<\xca\x12\xf1R\x008\x00\x10\x00\x0c\x99\x83\xa0\x081\x10@\x06\xc0\xc0\x00\x00\x00\x00\x00\x10\xc0\x00\x04\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError __________________ test_zfp[float64-view-out-out-mode1-None] ___________________ dtype = dtype('float64'), itype = 'view', enout = 'out', deout = 'out' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00+\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0C\xc0\x08V\x7f\xf7\x87\xaf\x01\x00\xc4\xc0\x1c\x10\x18\x8c\x00\xfcp\x03\x82CpN<\x08\x0f\xc5\xc1\xc0\x0f\x00\x1b +%I\xe5e\x89+t\xc7\xd6\xed\xf8\xd1y\x15\xb8\xb2\xe5D\xe1lB"\xe1\xd8T\x81\x86\x02\xc8\xea\xbb\xea\xf5r\x86Z/,\xa5{"\x82,@r\xf7\xb9\xa7\x94\x0b\x8d\xbc\xfb\x99\x9b}\x0f~\xd7\xc5\xaa\x02)\xe9\xd0\xd7\x06\n\x0e]\xaf\x85\x86\xa4\x83W\x00\x07\xc5\x9c\x06\xbf\x82\x06\x83\x00\x00\xe4\x07\x16\x8c\x00\x0e\x00\x00\x00\x00\x00\x06\x00\x8a\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\...00\xd0r\x82?\xa2\xf9\x9e\x98\x7fl\xaf\xda\xacx\x16#\x9a\xff\x03\x13\xd7V\xd4`n\xffN \x94t\xb4\xb7}\xfbP\xf6\x83\x19\x93\xa8~\x08\x8d\x1e\xa8\xab\x88\xec\xb5\xe5\xe1\xd2C\xd7D\xf8\xf4l\xb2\xcd\xa7>\xf7c\x00\x00L%\xe76\x98\xdf\x9a\x13\xbf\xc8\xf7|c\xb0\xd7\x95\xad\xf3x\x11WS\xb6\xf7\x1f\xcc*\xd4\xc8\x84\x1c\x16\x93\xd3\x15\x16\x04\\\xde\x02\x1e\x9f\xfbE\x12?\xaa\x86a \xd4\x19\xfc\x88w\t\xf0\xba7\xd8\x14\\\xed\xee\xc2[\x18\xfc\x1f8\xecg\xef\x928\x02\x18\x7f\x1f\xf0\x03\xec8\x028G\x03\xf0\x00~\x00\x02\x00\x07\x00\x00\x1c\x00\x00\x02\x00\x00\x00\x00\x1c\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[float64-view-out-out-mode1-omp] ___________________ dtype = dtype('float64'), itype = 'view', enout = 'out', deout = 'out' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00+\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0C\xc0\x08V\x7f\xf7\x87\xaf\x01\x00\xc4\xc0\x1c\x10\x18\x8c\x00\xfcp\x03\x82CpN<\x08\x0f\xc5\xc1\xc0\x0f\x00\x1b +%I\xe5e\x89+t\xc7\xd6\xed\xf8\xd1y\x15\xb8\xb2\xe5D\xe1lB"\xe1\xd8T\x81\x86\x02\xc8\xea\xbb\xea\xf5r\x86Z/,\xa5{"\x82,@r\xf7\xb9\xa7\x94\x0b\x8d\xbc\xfb\x99\x9b}\x0f~\xd7\xc5\xaa\x02)\xe9\xd0\xd7\x06\n\x0e]\xaf\x85\x86\xa4\x83W\x00\x07\xc5\x9c\x06\xbf\x82\x06\x83\x00\x00\xe4\x07\x16\x8c\x00\x0e\x00\x00\x00\x00\x00\x06\x00\x8a\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\...00\xd0r\x82?\xa2\xf9\x9e\x98\x7fl\xaf\xda\xacx\x16#\x9a\xff\x03\x13\xd7V\xd4`n\xffN \x94t\xb4\xb7}\xfbP\xf6\x83\x19\x93\xa8~\x08\x8d\x1e\xa8\xab\x88\xec\xb5\xe5\xe1\xd2C\xd7D\xf8\xf4l\xb2\xcd\xa7>\xf7c\x00\x00L%\xe76\x98\xdf\x9a\x13\xbf\xc8\xf7|c\xb0\xd7\x95\xad\xf3x\x11WS\xb6\xf7\x1f\xcc*\xd4\xc8\x84\x1c\x16\x93\xd3\x15\x16\x04\\\xde\x02\x1e\x9f\xfbE\x12?\xaa\x86a \xd4\x19\xfc\x88w\t\xf0\xba7\xd8\x14\\\xed\xee\xc2[\x18\xfc\x1f8\xecg\xef\x928\x02\x18\x7f\x1f\xf0\x03\xec8\x028G\x03\xf0\x00~\x00\x02\x00\x07\x00\x00\x1c\x00\x00\x02\x00\x00\x00\x00\x1c\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _______________ test_zfp[float64-view-out-bytearray-mode0-None] ________________ dtype = dtype('float64'), itype = 'view', enout = 'out', deout = 'bytearray' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00+\x05pfz\x00s\x8f\xfd\x88\x00\x01\xf0\x00v\x00\x08\xe4\x01\x02\x80x\x0e1\x01\xe0\x18a\x81\x18\xf0\x18s\x80\x00`0!\x8c\x07\xe1\xf1\x80\x00\x03\x90\xde\xfaH\xf8\xe1\x01\x9b\x83\x18\x7f#\x83\xb8f\t\x87\xfc\xe9\xc7\xf7\x01\xbf!0`\xb0\x1f\x93\x81\xa4Y\x81\xfc\xa6\x03c\x83\x83n\xc0\x83f<\xf0r/\x97r\x98\xe0\x04\x10\x87\xe8\x86\xfa\x80v\xdc\xe0\x17\xebV\xfc\x9c6\xc3\x05vk\x18\xbagO\x04\xe7\x1c \xcf\x8dgO\xe0\x11m\xe7\xd1\xbb`v\xd8\x11h\\\x80\xc6\x9f ?\xf0`(\xde\xcc\x7fi\xc7\x12v\x14\xae\xcb\x9b&\xe7\x96\xfe/o\x85\xe0\xb0\xe7d\\k\xae\x88k\x168\x05Y%@\x17\x0f\x19\xc7\xe3\x0ec\xe2\xe4\x80y\xe4\xe3\x15\x0353\x03i\xc3a\xd7R\xe9\x00\x03\xa4\x7f\xe8\x0c$x\x10\x03\x00\x00\x00\xa0\x00\x14\x00@vn\x00\x04$\xa0\x06\x83.\xe9 \x01\xe6\x02\x0bB\x03Y\x90x\x00\x04>B\xad\x90\xc6\x0c\x082\xe6\xcf\xafjn\x1c\x99!\xe98ip\x0eH\xdd9\xa8e\xdf\x7f\xa8Y\xad1(\x03\xdf\xb0?\xe1\xf3\xcf\xbdC\xdb\x14\xbd;\x1f\x83\xf68v10\xf3x\xb3\xf6ya\xe1\x99x\xb0B\x03\x85\x1d\x87\x10\xc6<\x972\x04\x0f\xe9\x1d\xe75\xd3\xd8\'\xe6\t\x82\xb1`\xbb\x18\x961\x1bd\x8d\xb7\x01\xc7\x9c\xb5?\xab;\xa0\x01D\xab6\x86sC\x8bvv\x8b\t\xc0\xe6\xe1\x8be\xb9\xe8\xd0\x17\'k\x8a)\xd0\xfb\xc7k\xffR\x84\x00\xfd\xa8~\xbcsR\x16\x8a\xdf\xe9\x8f`?...d\x8d*7?\x9f\x85\x8d\xbe\x0b\xb8\xd5p-KJF\xbb\x9e\xd4G\xcc\xe4\xf1\x96\x17\xb1@\xd3\xef2\xedg\xc7\x87\x17\x9a\x81\xb1\xda\xf7-\x9a\xb4Z\x81\xa0e\x9fR\x13\x0e+<\xa9Y\xfb\xb8\xaaD\xceX|\xb2F\xa1\xbeLX\xcb\x9bH\xe8\xa6#\x85\xf4Ks\x90\xcet\xea\x87Sg\xc8\x9aE |\x92\x8ax\xd9\x15s\x976\x1d\x15U{\xe3\xd4\t \xa2\xaf\xbcz\xaf\xffD\xa2`jt\xc1S\x9ca\x01\x00A\\\x02\xa6\xb1\x00i\xec\xbdJu\xec\xaf\x00q\x8b`\x10@$\x00\x00Z\x8d\x02\x00@\x00\x00\xfe\x90\n\x00\x00 \x00\x00\x00\x06\x00\x81@\x00:\x07\x00\x04\x02\x00\x80@\x00\x00\x01 \x12\x01\x04\x00\xa0\x02\xe0\x00\x90\x0b\x01\x82\x02\x90\xc0\n\x00P\x00\x01\x81\x14:\x06\x00P\x04aCjbT,\x10\x06\x80\x96\xb3\xecL4KI\x03\xbf\xb1p8>p\x13\xba\xba&N\xd5\xbf\xeb\x1d\xfcN\xd7x\xb6\xd1!O\xe3%,\x8d\x9b\x87M\xcf\xdc\x10\x04\x00;\x11\xff\t\x9b\x82%O\xd5\x0ff\x11\xce\x16av\xf1\xa3\xa7Q\xbd\xa6`mA\xcb\xd27\xb9E\xae\xb5<\xf3\r\x12e>tY\xe0$\x81\x06\xe7\xbcOZ\x99\xbb%\x1a\x13\xc2\x8c\xe0\xaf<\xca\x12\xf1R\x008\x00\x10\x00\x0c\x99\x83\xa0\x081\x10@\x06\xc0\xc0\x00\x00\x00\x00\x00\x10\xc0\x00\x04\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[float64-view-out-bytearray-mode0-omp] ________________ dtype = dtype('float64'), itype = 'view', enout = 'out', deout = 'bytearray' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00+\x05pfz\x00s\x8f\xfd\x88\x00\x01\xf0\x00v\x00\x08\xe4\x01\x02\x80x\x0e1\x01\xe0\x18a\x81\x18\xf0\x18s\x80\x00`0!\x8c\x07\xe1\xf1\x80\x00\x03\x90\xde\xfaH\xf8\xe1\x01\x9b\x83\x18\x7f#\x83\xb8f\t\x87\xfc\xe9\xc7\xf7\x01\xbf!0`\xb0\x1f\x93\x81\xa4Y\x81\xfc\xa6\x03c\x83\x83n\xc0\x83f<\xf0r/\x97r\x98\xe0\x04\x10\x87\xe8\x86\xfa\x80v\xdc\xe0\x17\xebV\xfc\x9c6\xc3\x05vk\x18\xbagO\x04\xe7\x1c \xcf\x8dgO\xe0\x11m\xe7\xd1\xbb`v\xd8\x11h\\\x80\xc6\x9f ?\xf0`(\xde\xcc\x7fi\xc7\x12v\x14\xae\xcb\x9b&\xe7\x96\xfe/o\x85\xe0\xb0\xe7d\\k\xae\x88k\x168\x05Y%@\x17\x0f\x19\xc7\xe3\x0ec\xe2\xe4\x80y\xe4\xe3\x15\x0353\x03i\xc3a\xd7R\xe9\x00\x03\xa4\x7f\xe8\x0c$x\x10\x03\x00\x00\x00\xa0\x00\x14\x00@vn\x00\x04$\xa0\x06\x83.\xe9 \x01\xe6\x02\x0bB\x03Y\x90x\x00\x04>B\xad\x90\xc6\x0c\x082\xe6\xcf\xafjn\x1c\x99!\xe98ip\x0eH\xdd9\xa8e\xdf\x7f\xa8Y\xad1(\x03\xdf\xb0?\xe1\xf3\xcf\xbdC\xdb\x14\xbd;\x1f\x83\xf68v10\xf3x\xb3\xf6ya\xe1\x99x\xb0B\x03\x85\x1d\x87\x10\xc6<\x972\x04\x0f\xe9\x1d\xe75\xd3\xd8\'\xe6\t\x82\xb1`\xbb\x18\x961\x1bd\x8d\xb7\x01\xc7\x9c\xb5?\xab;\xa0\x01D\xab6\x86sC\x8bvv\x8b\t\xc0\xe6\xe1\x8be\xb9\xe8\xd0\x17\'k\x8a)\xd0\xfb\xc7k\xffR\x84\x00\xfd\xa8~\xbcsR\x16\x8a\xdf\xe9\x8f`?...d\x8d*7?\x9f\x85\x8d\xbe\x0b\xb8\xd5p-KJF\xbb\x9e\xd4G\xcc\xe4\xf1\x96\x17\xb1@\xd3\xef2\xedg\xc7\x87\x17\x9a\x81\xb1\xda\xf7-\x9a\xb4Z\x81\xa0e\x9fR\x13\x0e+<\xa9Y\xfb\xb8\xaaD\xceX|\xb2F\xa1\xbeLX\xcb\x9bH\xe8\xa6#\x85\xf4Ks\x90\xcet\xea\x87Sg\xc8\x9aE |\x92\x8ax\xd9\x15s\x976\x1d\x15U{\xe3\xd4\t \xa2\xaf\xbcz\xaf\xffD\xa2`jt\xc1S\x9ca\x01\x00A\\\x02\xa6\xb1\x00i\xec\xbdJu\xec\xaf\x00q\x8b`\x10@$\x00\x00Z\x8d\x02\x00@\x00\x00\xfe\x90\n\x00\x00 \x00\x00\x00\x06\x00\x81@\x00:\x07\x00\x04\x02\x00\x80@\x00\x00\x01 \x12\x01\x04\x00\xa0\x02\xe0\x00\x90\x0b\x01\x82\x02\x90\xc0\n\x00P\x00\x01\x81\x14:\x06\x00P\x04aCjbT,\x10\x06\x80\x96\xb3\xecL4KI\x03\xbf\xb1p8>p\x13\xba\xba&N\xd5\xbf\xeb\x1d\xfcN\xd7x\xb6\xd1!O\xe3%,\x8d\x9b\x87M\xcf\xdc\x10\x04\x00;\x11\xff\t\x9b\x82%O\xd5\x0ff\x11\xce\x16av\xf1\xa3\xa7Q\xbd\xa6`mA\xcb\xd27\xb9E\xae\xb5<\xf3\r\x12e>tY\xe0$\x81\x06\xe7\xbcOZ\x99\xbb%\x1a\x13\xc2\x8c\xe0\xaf<\xca\x12\xf1R\x008\x00\x10\x00\x0c\x99\x83\xa0\x081\x10@\x06\xc0\xc0\x00\x00\x00\x00\x00\x10\xc0\x00\x04\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _______________ test_zfp[float64-view-out-bytearray-mode1-None] ________________ dtype = dtype('float64'), itype = 'view', enout = 'out', deout = 'bytearray' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00+\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0C\xc0\x08V\x7f\xf7\x87\xaf\x01\x00\xc4\xc0\x1c\x10\x18\x8c\x00\xfcp\x03\x82CpN<\x08\x0f\xc5\xc1\xc0\x0f\x00\x1b +%I\xe5e\x89+t\xc7\xd6\xed\xf8\xd1y\x15\xb8\xb2\xe5D\xe1lB"\xe1\xd8T\x81\x86\x02\xc8\xea\xbb\xea\xf5r\x86Z/,\xa5{"\x82,@r\xf7\xb9\xa7\x94\x0b\x8d\xbc\xfb\x99\x9b}\x0f~\xd7\xc5\xaa\x02)\xe9\xd0\xd7\x06\n\x0e]\xaf\x85\x86\xa4\x83W\x00\x07\xc5\x9c\x06\xbf\x82\x06\x83\x00\x00\xe4\x07\x16\x8c\x00\x0e\x00\x00\x00\x00\x00\x06\x00\x8a\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\...00\xd0r\x82?\xa2\xf9\x9e\x98\x7fl\xaf\xda\xacx\x16#\x9a\xff\x03\x13\xd7V\xd4`n\xffN \x94t\xb4\xb7}\xfbP\xf6\x83\x19\x93\xa8~\x08\x8d\x1e\xa8\xab\x88\xec\xb5\xe5\xe1\xd2C\xd7D\xf8\xf4l\xb2\xcd\xa7>\xf7c\x00\x00L%\xe76\x98\xdf\x9a\x13\xbf\xc8\xf7|c\xb0\xd7\x95\xad\xf3x\x11WS\xb6\xf7\x1f\xcc*\xd4\xc8\x84\x1c\x16\x93\xd3\x15\x16\x04\\\xde\x02\x1e\x9f\xfbE\x12?\xaa\x86a \xd4\x19\xfc\x88w\t\xf0\xba7\xd8\x14\\\xed\xee\xc2[\x18\xfc\x1f8\xecg\xef\x928\x02\x18\x7f\x1f\xf0\x03\xec8\x028G\x03\xf0\x00~\x00\x02\x00\x07\x00\x00\x1c\x00\x00\x02\x00\x00\x00\x00\x1c\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[float64-view-out-bytearray-mode1-omp] ________________ dtype = dtype('float64'), itype = 'view', enout = 'out', deout = 'bytearray' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00+\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0C\xc0\x08V\x7f\xf7\x87\xaf\x01\x00\xc4\xc0\x1c\x10\x18\x8c\x00\xfcp\x03\x82CpN<\x08\x0f\xc5\xc1\xc0\x0f\x00\x1b +%I\xe5e\x89+t\xc7\xd6\xed\xf8\xd1y\x15\xb8\xb2\xe5D\xe1lB"\xe1\xd8T\x81\x86\x02\xc8\xea\xbb\xea\xf5r\x86Z/,\xa5{"\x82,@r\xf7\xb9\xa7\x94\x0b\x8d\xbc\xfb\x99\x9b}\x0f~\xd7\xc5\xaa\x02)\xe9\xd0\xd7\x06\n\x0e]\xaf\x85\x86\xa4\x83W\x00\x07\xc5\x9c\x06\xbf\x82\x06\x83\x00\x00\xe4\x07\x16\x8c\x00\x0e\x00\x00\x00\x00\x00\x06\x00\x8a\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\...00\xd0r\x82?\xa2\xf9\x9e\x98\x7fl\xaf\xda\xacx\x16#\x9a\xff\x03\x13\xd7V\xd4`n\xffN \x94t\xb4\xb7}\xfbP\xf6\x83\x19\x93\xa8~\x08\x8d\x1e\xa8\xab\x88\xec\xb5\xe5\xe1\xd2C\xd7D\xf8\xf4l\xb2\xcd\xa7>\xf7c\x00\x00L%\xe76\x98\xdf\x9a\x13\xbf\xc8\xf7|c\xb0\xd7\x95\xad\xf3x\x11WS\xb6\xf7\x1f\xcc*\xd4\xc8\x84\x1c\x16\x93\xd3\x15\x16\x04\\\xde\x02\x1e\x9f\xfbE\x12?\xaa\x86a \xd4\x19\xfc\x88w\t\xf0\xba7\xd8\x14\\\xed\xee\xc2[\x18\xfc\x1f8\xecg\xef\x928\x02\x18\x7f\x1f\xf0\x03\xec8\x028G\x03\xf0\x00~\x00\x02\x00\x07\x00\x00\x1c\x00\x00\x02\x00\x00\x00\x00\x1c\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _______________ test_zfp[float64-view-bytearray-new-mode0-None] ________________ dtype = dtype('float64'), itype = 'view', enout = 'bytearray', deout = 'new' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00+\x05pfz\x00s\x8f\xfd\x88\x00\x01\xf0\x00v\x00\x08\xe4\x01\x02\x80x\x0e1\x01\xe0\x18a\x81\x18\xf0\x18s\x80\x00`0!\x8c\x07\xe1\xf1\x80\x00\x03\x90\xde\xfaH\xf8\xe1\x01\x9b\x83\x18\x7f#\x83\xb8f\t\x87\xfc\xe9\xc7\xf7\x01\xbf!0`\xb0\x1f\x93\x81\xa4Y\x81\xfc\xa6\x03c\x83\x83n\xc0\x83f<\xf0r/\x97r\x98\xe0\x04\x10\x87\xe8\x86\xfa\x80v\xdc\xe0\x17\xebV\xfc\x9c6\xc3\x05vk\x18\xbagO\x04\xe7\x1c \xcf\x8dgO\xe0\x11m\xe7\xd1\xbb`v\xd8\x11h\\\x80\xc6\x9f ?\xf0`(\xde\xcc\x7fi\xc7\x12v\x14\xae\xcb\x9b&\xe7\x96\xfe/o\x85\xe0\xb0\xe7d\\k\xae\x88k\x168\x05Y%@\x17\x0f\x19\xc7\xe3\x0ec\xe2\xe4\x80y\xe4\xe3\x15\x0353\x03i\xc3a\xd7R\xe9\x00\x03\xa4\x7f\xe8\x0c$x\x10\x03\x00\x00\x00\xa0\x00\x14\x00@vn\x00\x04$\xa0\x06\x83.\xe9 \x01\xe6\x02\x0bB\x03Y\x90x\x00\x04>B\xad\x90\xc6\x0c\x082\xe6\xcf\xafjn\x1c\x99!\xe98ip\x0eH\xdd9\xa8e\xdf\x7f\xa8Y\xad1(\x03\xdf\xb0?\xe1\xf3\xcf\xbdC\xdb\x14\xbd;\x1f\x83\xf68v10\xf3x\xb3\xf6ya\xe1\x99x\xb0B\x03\x85\x1d\x87\x10\xc6<\x972\x04\x0f\xe9\x1d\xe75\xd3\xd8\'\xe6\t\x82\xb1`\xbb\x18\x961\x1bd\x8d\xb7\x01\xc7\x9c\xb5?\xab;\xa0\x01D\xab6\x86sC\x8bvv\x8b\t\xc0\xe6\xe1\x8be\xb9\xe8\xd0\x17\'k\x8a)\xd0\xfb\xc7k\xffR\x84\x00\xfd\xa8~\xbcsR\x16\x8a\xdf\xe9\x8f`?...d\x8d*7?\x9f\x85\x8d\xbe\x0b\xb8\xd5p-KJF\xbb\x9e\xd4G\xcc\xe4\xf1\x96\x17\xb1@\xd3\xef2\xedg\xc7\x87\x17\x9a\x81\xb1\xda\xf7-\x9a\xb4Z\x81\xa0e\x9fR\x13\x0e+<\xa9Y\xfb\xb8\xaaD\xceX|\xb2F\xa1\xbeLX\xcb\x9bH\xe8\xa6#\x85\xf4Ks\x90\xcet\xea\x87Sg\xc8\x9aE |\x92\x8ax\xd9\x15s\x976\x1d\x15U{\xe3\xd4\t \xa2\xaf\xbcz\xaf\xffD\xa2`jt\xc1S\x9ca\x01\x00A\\\x02\xa6\xb1\x00i\xec\xbdJu\xec\xaf\x00q\x8b`\x10@$\x00\x00Z\x8d\x02\x00@\x00\x00\xfe\x90\n\x00\x00 \x00\x00\x00\x06\x00\x81@\x00:\x07\x00\x04\x02\x00\x80@\x00\x00\x01 \x12\x01\x04\x00\xa0\x02\xe0\x00\x90\x0b\x01\x82\x02\x90\xc0\n\x00P\x00\x01\x81\x14:\x06\x00P\x04aCjbT,\x10\x06\x80\x96\xb3\xecL4KI\x03\xbf\xb1p8>p\x13\xba\xba&N\xd5\xbf\xeb\x1d\xfcN\xd7x\xb6\xd1!O\xe3%,\x8d\x9b\x87M\xcf\xdc\x10\x04\x00;\x11\xff\t\x9b\x82%O\xd5\x0ff\x11\xce\x16av\xf1\xa3\xa7Q\xbd\xa6`mA\xcb\xd27\xb9E\xae\xb5<\xf3\r\x12e>tY\xe0$\x81\x06\xe7\xbcOZ\x99\xbb%\x1a\x13\xc2\x8c\xe0\xaf<\xca\x12\xf1R\x008\x00\x10\x00\x0c\x99\x83\xa0\x081\x10@\x06\xc0\xc0\x00\x00\x00\x00\x00\x10\xc0\x00\x04\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[float64-view-bytearray-new-mode0-omp] ________________ dtype = dtype('float64'), itype = 'view', enout = 'bytearray', deout = 'new' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00+\x05pfz\x00s\x8f\xfd\x88\x00\x01\xf0\x00v\x00\x08\xe4\x01\x02\x80x\x0e1\x01\xe0\x18a\x81\x18\xf0\x18s\x80\x00`0!\x8c\x07\xe1\xf1\x80\x00\x03\x90\xde\xfaH\xf8\xe1\x01\x9b\x83\x18\x7f#\x83\xb8f\t\x87\xfc\xe9\xc7\xf7\x01\xbf!0`\xb0\x1f\x93\x81\xa4Y\x81\xfc\xa6\x03c\x83\x83n\xc0\x83f<\xf0r/\x97r\x98\xe0\x04\x10\x87\xe8\x86\xfa\x80v\xdc\xe0\x17\xebV\xfc\x9c6\xc3\x05vk\x18\xbagO\x04\xe7\x1c \xcf\x8dgO\xe0\x11m\xe7\xd1\xbb`v\xd8\x11h\\\x80\xc6\x9f ?\xf0`(\xde\xcc\x7fi\xc7\x12v\x14\xae\xcb\x9b&\xe7\x96\xfe/o\x85\xe0\xb0\xe7d\\k\xae\x88k\x168\x05Y%@\x17\x0f\x19\xc7\xe3\x0ec\xe2\xe4\x80y\xe4\xe3\x15\x0353\x03i\xc3a\xd7R\xe9\x00\x03\xa4\x7f\xe8\x0c$x\x10\x03\x00\x00\x00\xa0\x00\x14\x00@vn\x00\x04$\xa0\x06\x83.\xe9 \x01\xe6\x02\x0bB\x03Y\x90x\x00\x04>B\xad\x90\xc6\x0c\x082\xe6\xcf\xafjn\x1c\x99!\xe98ip\x0eH\xdd9\xa8e\xdf\x7f\xa8Y\xad1(\x03\xdf\xb0?\xe1\xf3\xcf\xbdC\xdb\x14\xbd;\x1f\x83\xf68v10\xf3x\xb3\xf6ya\xe1\x99x\xb0B\x03\x85\x1d\x87\x10\xc6<\x972\x04\x0f\xe9\x1d\xe75\xd3\xd8\'\xe6\t\x82\xb1`\xbb\x18\x961\x1bd\x8d\xb7\x01\xc7\x9c\xb5?\xab;\xa0\x01D\xab6\x86sC\x8bvv\x8b\t\xc0\xe6\xe1\x8be\xb9\xe8\xd0\x17\'k\x8a)\xd0\xfb\xc7k\xffR\x84\x00\xfd\xa8~\xbcsR\x16\x8a\xdf\xe9\x8f`?...d\x8d*7?\x9f\x85\x8d\xbe\x0b\xb8\xd5p-KJF\xbb\x9e\xd4G\xcc\xe4\xf1\x96\x17\xb1@\xd3\xef2\xedg\xc7\x87\x17\x9a\x81\xb1\xda\xf7-\x9a\xb4Z\x81\xa0e\x9fR\x13\x0e+<\xa9Y\xfb\xb8\xaaD\xceX|\xb2F\xa1\xbeLX\xcb\x9bH\xe8\xa6#\x85\xf4Ks\x90\xcet\xea\x87Sg\xc8\x9aE |\x92\x8ax\xd9\x15s\x976\x1d\x15U{\xe3\xd4\t \xa2\xaf\xbcz\xaf\xffD\xa2`jt\xc1S\x9ca\x01\x00A\\\x02\xa6\xb1\x00i\xec\xbdJu\xec\xaf\x00q\x8b`\x10@$\x00\x00Z\x8d\x02\x00@\x00\x00\xfe\x90\n\x00\x00 \x00\x00\x00\x06\x00\x81@\x00:\x07\x00\x04\x02\x00\x80@\x00\x00\x01 \x12\x01\x04\x00\xa0\x02\xe0\x00\x90\x0b\x01\x82\x02\x90\xc0\n\x00P\x00\x01\x81\x14:\x06\x00P\x04aCjbT,\x10\x06\x80\x96\xb3\xecL4KI\x03\xbf\xb1p8>p\x13\xba\xba&N\xd5\xbf\xeb\x1d\xfcN\xd7x\xb6\xd1!O\xe3%,\x8d\x9b\x87M\xcf\xdc\x10\x04\x00;\x11\xff\t\x9b\x82%O\xd5\x0ff\x11\xce\x16av\xf1\xa3\xa7Q\xbd\xa6`mA\xcb\xd27\xb9E\xae\xb5<\xf3\r\x12e>tY\xe0$\x81\x06\xe7\xbcOZ\x99\xbb%\x1a\x13\xc2\x8c\xe0\xaf<\xca\x12\xf1R\x008\x00\x10\x00\x0c\x99\x83\xa0\x081\x10@\x06\xc0\xc0\x00\x00\x00\x00\x00\x10\xc0\x00\x04\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _______________ test_zfp[float64-view-bytearray-new-mode1-None] ________________ dtype = dtype('float64'), itype = 'view', enout = 'bytearray', deout = 'new' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00+\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0C\xc0\x08V\x7f\xf7\x87\xaf\x01\x00\xc4\xc0\x1c\x10\x18\x8c\x00\xfcp\x03\x82CpN<\x08\x0f\xc5\xc1\xc0\x0f\x00\x1b +%I\xe5e\x89+t\xc7\xd6\xed\xf8\xd1y\x15\xb8\xb2\xe5D\xe1lB"\xe1\xd8T\x81\x86\x02\xc8\xea\xbb\xea\xf5r\x86Z/,\xa5{"\x82,@r\xf7\xb9\xa7\x94\x0b\x8d\xbc\xfb\x99\x9b}\x0f~\xd7\xc5\xaa\x02)\xe9\xd0\xd7\x06\n\x0e]\xaf\x85\x86\xa4\x83W\x00\x07\xc5\x9c\x06\xbf\x82\x06\x83\x00\x00\xe4\x07\x16\x8c\x00\x0e\x00\x00\x00\x00\x00\x06\x00\x8a\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\...00\xd0r\x82?\xa2\xf9\x9e\x98\x7fl\xaf\xda\xacx\x16#\x9a\xff\x03\x13\xd7V\xd4`n\xffN \x94t\xb4\xb7}\xfbP\xf6\x83\x19\x93\xa8~\x08\x8d\x1e\xa8\xab\x88\xec\xb5\xe5\xe1\xd2C\xd7D\xf8\xf4l\xb2\xcd\xa7>\xf7c\x00\x00L%\xe76\x98\xdf\x9a\x13\xbf\xc8\xf7|c\xb0\xd7\x95\xad\xf3x\x11WS\xb6\xf7\x1f\xcc*\xd4\xc8\x84\x1c\x16\x93\xd3\x15\x16\x04\\\xde\x02\x1e\x9f\xfbE\x12?\xaa\x86a \xd4\x19\xfc\x88w\t\xf0\xba7\xd8\x14\\\xed\xee\xc2[\x18\xfc\x1f8\xecg\xef\x928\x02\x18\x7f\x1f\xf0\x03\xec8\x028G\x03\xf0\x00~\x00\x02\x00\x07\x00\x00\x1c\x00\x00\x02\x00\x00\x00\x00\x1c\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[float64-view-bytearray-new-mode1-omp] ________________ dtype = dtype('float64'), itype = 'view', enout = 'bytearray', deout = 'new' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00+\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0C\xc0\x08V\x7f\xf7\x87\xaf\x01\x00\xc4\xc0\x1c\x10\x18\x8c\x00\xfcp\x03\x82CpN<\x08\x0f\xc5\xc1\xc0\x0f\x00\x1b +%I\xe5e\x89+t\xc7\xd6\xed\xf8\xd1y\x15\xb8\xb2\xe5D\xe1lB"\xe1\xd8T\x81\x86\x02\xc8\xea\xbb\xea\xf5r\x86Z/,\xa5{"\x82,@r\xf7\xb9\xa7\x94\x0b\x8d\xbc\xfb\x99\x9b}\x0f~\xd7\xc5\xaa\x02)\xe9\xd0\xd7\x06\n\x0e]\xaf\x85\x86\xa4\x83W\x00\x07\xc5\x9c\x06\xbf\x82\x06\x83\x00\x00\xe4\x07\x16\x8c\x00\x0e\x00\x00\x00\x00\x00\x06\x00\x8a\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\...00\xd0r\x82?\xa2\xf9\x9e\x98\x7fl\xaf\xda\xacx\x16#\x9a\xff\x03\x13\xd7V\xd4`n\xffN \x94t\xb4\xb7}\xfbP\xf6\x83\x19\x93\xa8~\x08\x8d\x1e\xa8\xab\x88\xec\xb5\xe5\xe1\xd2C\xd7D\xf8\xf4l\xb2\xcd\xa7>\xf7c\x00\x00L%\xe76\x98\xdf\x9a\x13\xbf\xc8\xf7|c\xb0\xd7\x95\xad\xf3x\x11WS\xb6\xf7\x1f\xcc*\xd4\xc8\x84\x1c\x16\x93\xd3\x15\x16\x04\\\xde\x02\x1e\x9f\xfbE\x12?\xaa\x86a \xd4\x19\xfc\x88w\t\xf0\xba7\xd8\x14\\\xed\xee\xc2[\x18\xfc\x1f8\xecg\xef\x928\x02\x18\x7f\x1f\xf0\x03\xec8\x028G\x03\xf0\x00~\x00\x02\x00\x07\x00\x00\x1c\x00\x00\x02\x00\x00\x00\x00\x1c\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _______________ test_zfp[float64-view-bytearray-out-mode0-None] ________________ dtype = dtype('float64'), itype = 'view', enout = 'bytearray', deout = 'out' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00+\x05pfz\x00s\x8f\xfd\x88\x00\x01\xf0\x00v\x00\x08\xe4\x01\x02\x80x\x0e1\x01\xe0\x18a\x81\x18\xf0\x18s\x80\x00`0!\x8c\x07\xe1\xf1\x80\x00\x03\x90\xde\xfaH\xf8\xe1\x01\x9b\x83\x18\x7f#\x83\xb8f\t\x87\xfc\xe9\xc7\xf7\x01\xbf!0`\xb0\x1f\x93\x81\xa4Y\x81\xfc\xa6\x03c\x83\x83n\xc0\x83f<\xf0r/\x97r\x98\xe0\x04\x10\x87\xe8\x86\xfa\x80v\xdc\xe0\x17\xebV\xfc\x9c6\xc3\x05vk\x18\xbagO\x04\xe7\x1c \xcf\x8dgO\xe0\x11m\xe7\xd1\xbb`v\xd8\x11h\\\x80\xc6\x9f ?\xf0`(\xde\xcc\x7fi\xc7\x12v\x14\xae\xcb\x9b&\xe7\x96\xfe/o\x85\xe0\xb0\xe7d\\k\xae\x88k\x168\x05Y%@\x17\x0f\x19\xc7\xe3\x0ec\xe2\xe4\x80y\xe4\xe3\x15\x0353\x03i\xc3a\xd7R\xe9\x00\x03\xa4\x7f\xe8\x0c$x\x10\x03\x00\x00\x00\xa0\x00\x14\x00@vn\x00\x04$\xa0\x06\x83.\xe9 \x01\xe6\x02\x0bB\x03Y\x90x\x00\x04>B\xad\x90\xc6\x0c\x082\xe6\xcf\xafjn\x1c\x99!\xe98ip\x0eH\xdd9\xa8e\xdf\x7f\xa8Y\xad1(\x03\xdf\xb0?\xe1\xf3\xcf\xbdC\xdb\x14\xbd;\x1f\x83\xf68v10\xf3x\xb3\xf6ya\xe1\x99x\xb0B\x03\x85\x1d\x87\x10\xc6<\x972\x04\x0f\xe9\x1d\xe75\xd3\xd8\'\xe6\t\x82\xb1`\xbb\x18\x961\x1bd\x8d\xb7\x01\xc7\x9c\xb5?\xab;\xa0\x01D\xab6\x86sC\x8bvv\x8b\t\xc0\xe6\xe1\x8be\xb9\xe8\xd0\x17\'k\x8a)\xd0\xfb\xc7k\xffR\x84\x00\xfd\xa8~\xbcsR\x16\x8a\xdf\xe9\x8f`?...d\x8d*7?\x9f\x85\x8d\xbe\x0b\xb8\xd5p-KJF\xbb\x9e\xd4G\xcc\xe4\xf1\x96\x17\xb1@\xd3\xef2\xedg\xc7\x87\x17\x9a\x81\xb1\xda\xf7-\x9a\xb4Z\x81\xa0e\x9fR\x13\x0e+<\xa9Y\xfb\xb8\xaaD\xceX|\xb2F\xa1\xbeLX\xcb\x9bH\xe8\xa6#\x85\xf4Ks\x90\xcet\xea\x87Sg\xc8\x9aE |\x92\x8ax\xd9\x15s\x976\x1d\x15U{\xe3\xd4\t \xa2\xaf\xbcz\xaf\xffD\xa2`jt\xc1S\x9ca\x01\x00A\\\x02\xa6\xb1\x00i\xec\xbdJu\xec\xaf\x00q\x8b`\x10@$\x00\x00Z\x8d\x02\x00@\x00\x00\xfe\x90\n\x00\x00 \x00\x00\x00\x06\x00\x81@\x00:\x07\x00\x04\x02\x00\x80@\x00\x00\x01 \x12\x01\x04\x00\xa0\x02\xe0\x00\x90\x0b\x01\x82\x02\x90\xc0\n\x00P\x00\x01\x81\x14:\x06\x00P\x04aCjbT,\x10\x06\x80\x96\xb3\xecL4KI\x03\xbf\xb1p8>p\x13\xba\xba&N\xd5\xbf\xeb\x1d\xfcN\xd7x\xb6\xd1!O\xe3%,\x8d\x9b\x87M\xcf\xdc\x10\x04\x00;\x11\xff\t\x9b\x82%O\xd5\x0ff\x11\xce\x16av\xf1\xa3\xa7Q\xbd\xa6`mA\xcb\xd27\xb9E\xae\xb5<\xf3\r\x12e>tY\xe0$\x81\x06\xe7\xbcOZ\x99\xbb%\x1a\x13\xc2\x8c\xe0\xaf<\xca\x12\xf1R\x008\x00\x10\x00\x0c\x99\x83\xa0\x081\x10@\x06\xc0\xc0\x00\x00\x00\x00\x00\x10\xc0\x00\x04\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[float64-view-bytearray-out-mode0-omp] ________________ dtype = dtype('float64'), itype = 'view', enout = 'bytearray', deout = 'out' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00+\x05pfz\x00s\x8f\xfd\x88\x00\x01\xf0\x00v\x00\x08\xe4\x01\x02\x80x\x0e1\x01\xe0\x18a\x81\x18\xf0\x18s\x80\x00`0!\x8c\x07\xe1\xf1\x80\x00\x03\x90\xde\xfaH\xf8\xe1\x01\x9b\x83\x18\x7f#\x83\xb8f\t\x87\xfc\xe9\xc7\xf7\x01\xbf!0`\xb0\x1f\x93\x81\xa4Y\x81\xfc\xa6\x03c\x83\x83n\xc0\x83f<\xf0r/\x97r\x98\xe0\x04\x10\x87\xe8\x86\xfa\x80v\xdc\xe0\x17\xebV\xfc\x9c6\xc3\x05vk\x18\xbagO\x04\xe7\x1c \xcf\x8dgO\xe0\x11m\xe7\xd1\xbb`v\xd8\x11h\\\x80\xc6\x9f ?\xf0`(\xde\xcc\x7fi\xc7\x12v\x14\xae\xcb\x9b&\xe7\x96\xfe/o\x85\xe0\xb0\xe7d\\k\xae\x88k\x168\x05Y%@\x17\x0f\x19\xc7\xe3\x0ec\xe2\xe4\x80y\xe4\xe3\x15\x0353\x03i\xc3a\xd7R\xe9\x00\x03\xa4\x7f\xe8\x0c$x\x10\x03\x00\x00\x00\xa0\x00\x14\x00@vn\x00\x04$\xa0\x06\x83.\xe9 \x01\xe6\x02\x0bB\x03Y\x90x\x00\x04>B\xad\x90\xc6\x0c\x082\xe6\xcf\xafjn\x1c\x99!\xe98ip\x0eH\xdd9\xa8e\xdf\x7f\xa8Y\xad1(\x03\xdf\xb0?\xe1\xf3\xcf\xbdC\xdb\x14\xbd;\x1f\x83\xf68v10\xf3x\xb3\xf6ya\xe1\x99x\xb0B\x03\x85\x1d\x87\x10\xc6<\x972\x04\x0f\xe9\x1d\xe75\xd3\xd8\'\xe6\t\x82\xb1`\xbb\x18\x961\x1bd\x8d\xb7\x01\xc7\x9c\xb5?\xab;\xa0\x01D\xab6\x86sC\x8bvv\x8b\t\xc0\xe6\xe1\x8be\xb9\xe8\xd0\x17\'k\x8a)\xd0\xfb\xc7k\xffR\x84\x00\xfd\xa8~\xbcsR\x16\x8a\xdf\xe9\x8f`?...d\x8d*7?\x9f\x85\x8d\xbe\x0b\xb8\xd5p-KJF\xbb\x9e\xd4G\xcc\xe4\xf1\x96\x17\xb1@\xd3\xef2\xedg\xc7\x87\x17\x9a\x81\xb1\xda\xf7-\x9a\xb4Z\x81\xa0e\x9fR\x13\x0e+<\xa9Y\xfb\xb8\xaaD\xceX|\xb2F\xa1\xbeLX\xcb\x9bH\xe8\xa6#\x85\xf4Ks\x90\xcet\xea\x87Sg\xc8\x9aE |\x92\x8ax\xd9\x15s\x976\x1d\x15U{\xe3\xd4\t \xa2\xaf\xbcz\xaf\xffD\xa2`jt\xc1S\x9ca\x01\x00A\\\x02\xa6\xb1\x00i\xec\xbdJu\xec\xaf\x00q\x8b`\x10@$\x00\x00Z\x8d\x02\x00@\x00\x00\xfe\x90\n\x00\x00 \x00\x00\x00\x06\x00\x81@\x00:\x07\x00\x04\x02\x00\x80@\x00\x00\x01 \x12\x01\x04\x00\xa0\x02\xe0\x00\x90\x0b\x01\x82\x02\x90\xc0\n\x00P\x00\x01\x81\x14:\x06\x00P\x04aCjbT,\x10\x06\x80\x96\xb3\xecL4KI\x03\xbf\xb1p8>p\x13\xba\xba&N\xd5\xbf\xeb\x1d\xfcN\xd7x\xb6\xd1!O\xe3%,\x8d\x9b\x87M\xcf\xdc\x10\x04\x00;\x11\xff\t\x9b\x82%O\xd5\x0ff\x11\xce\x16av\xf1\xa3\xa7Q\xbd\xa6`mA\xcb\xd27\xb9E\xae\xb5<\xf3\r\x12e>tY\xe0$\x81\x06\xe7\xbcOZ\x99\xbb%\x1a\x13\xc2\x8c\xe0\xaf<\xca\x12\xf1R\x008\x00\x10\x00\x0c\x99\x83\xa0\x081\x10@\x06\xc0\xc0\x00\x00\x00\x00\x00\x10\xc0\x00\x04\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _______________ test_zfp[float64-view-bytearray-out-mode1-None] ________________ dtype = dtype('float64'), itype = 'view', enout = 'bytearray', deout = 'out' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00+\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0C\xc0\x08V\x7f\xf7\x87\xaf\x01\x00\xc4\xc0\x1c\x10\x18\x8c\x00\xfcp\x03\x82CpN<\x08\x0f\xc5\xc1\xc0\x0f\x00\x1b +%I\xe5e\x89+t\xc7\xd6\xed\xf8\xd1y\x15\xb8\xb2\xe5D\xe1lB"\xe1\xd8T\x81\x86\x02\xc8\xea\xbb\xea\xf5r\x86Z/,\xa5{"\x82,@r\xf7\xb9\xa7\x94\x0b\x8d\xbc\xfb\x99\x9b}\x0f~\xd7\xc5\xaa\x02)\xe9\xd0\xd7\x06\n\x0e]\xaf\x85\x86\xa4\x83W\x00\x07\xc5\x9c\x06\xbf\x82\x06\x83\x00\x00\xe4\x07\x16\x8c\x00\x0e\x00\x00\x00\x00\x00\x06\x00\x8a\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\...00\xd0r\x82?\xa2\xf9\x9e\x98\x7fl\xaf\xda\xacx\x16#\x9a\xff\x03\x13\xd7V\xd4`n\xffN \x94t\xb4\xb7}\xfbP\xf6\x83\x19\x93\xa8~\x08\x8d\x1e\xa8\xab\x88\xec\xb5\xe5\xe1\xd2C\xd7D\xf8\xf4l\xb2\xcd\xa7>\xf7c\x00\x00L%\xe76\x98\xdf\x9a\x13\xbf\xc8\xf7|c\xb0\xd7\x95\xad\xf3x\x11WS\xb6\xf7\x1f\xcc*\xd4\xc8\x84\x1c\x16\x93\xd3\x15\x16\x04\\\xde\x02\x1e\x9f\xfbE\x12?\xaa\x86a \xd4\x19\xfc\x88w\t\xf0\xba7\xd8\x14\\\xed\xee\xc2[\x18\xfc\x1f8\xecg\xef\x928\x02\x18\x7f\x1f\xf0\x03\xec8\x028G\x03\xf0\x00~\x00\x02\x00\x07\x00\x00\x1c\x00\x00\x02\x00\x00\x00\x00\x1c\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[float64-view-bytearray-out-mode1-omp] ________________ dtype = dtype('float64'), itype = 'view', enout = 'bytearray', deout = 'out' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00+\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0C\xc0\x08V\x7f\xf7\x87\xaf\x01\x00\xc4\xc0\x1c\x10\x18\x8c\x00\xfcp\x03\x82CpN<\x08\x0f\xc5\xc1\xc0\x0f\x00\x1b +%I\xe5e\x89+t\xc7\xd6\xed\xf8\xd1y\x15\xb8\xb2\xe5D\xe1lB"\xe1\xd8T\x81\x86\x02\xc8\xea\xbb\xea\xf5r\x86Z/,\xa5{"\x82,@r\xf7\xb9\xa7\x94\x0b\x8d\xbc\xfb\x99\x9b}\x0f~\xd7\xc5\xaa\x02)\xe9\xd0\xd7\x06\n\x0e]\xaf\x85\x86\xa4\x83W\x00\x07\xc5\x9c\x06\xbf\x82\x06\x83\x00\x00\xe4\x07\x16\x8c\x00\x0e\x00\x00\x00\x00\x00\x06\x00\x8a\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\...00\xd0r\x82?\xa2\xf9\x9e\x98\x7fl\xaf\xda\xacx\x16#\x9a\xff\x03\x13\xd7V\xd4`n\xffN \x94t\xb4\xb7}\xfbP\xf6\x83\x19\x93\xa8~\x08\x8d\x1e\xa8\xab\x88\xec\xb5\xe5\xe1\xd2C\xd7D\xf8\xf4l\xb2\xcd\xa7>\xf7c\x00\x00L%\xe76\x98\xdf\x9a\x13\xbf\xc8\xf7|c\xb0\xd7\x95\xad\xf3x\x11WS\xb6\xf7\x1f\xcc*\xd4\xc8\x84\x1c\x16\x93\xd3\x15\x16\x04\\\xde\x02\x1e\x9f\xfbE\x12?\xaa\x86a \xd4\x19\xfc\x88w\t\xf0\xba7\xd8\x14\\\xed\xee\xc2[\x18\xfc\x1f8\xecg\xef\x928\x02\x18\x7f\x1f\xf0\x03\xec8\x028G\x03\xf0\x00~\x00\x02\x00\x07\x00\x00\x1c\x00\x00\x02\x00\x00\x00\x00\x1c\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ____________ test_zfp[float64-view-bytearray-bytearray-mode0-None] _____________ dtype = dtype('float64'), itype = 'view', enout = 'bytearray' deout = 'bytearray', mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00+\x05pfz\x00s\x8f\xfd\x88\x00\x01\xf0\x00v\x00\x08\xe4\x01\x02\x80x\x0e1\x01\xe0\x18a\x81\x18\xf0\x18s\x80\x00`0!\x8c\x07\xe1\xf1\x80\x00\x03\x90\xde\xfaH\xf8\xe1\x01\x9b\x83\x18\x7f#\x83\xb8f\t\x87\xfc\xe9\xc7\xf7\x01\xbf!0`\xb0\x1f\x93\x81\xa4Y\x81\xfc\xa6\x03c\x83\x83n\xc0\x83f<\xf0r/\x97r\x98\xe0\x04\x10\x87\xe8\x86\xfa\x80v\xdc\xe0\x17\xebV\xfc\x9c6\xc3\x05vk\x18\xbagO\x04\xe7\x1c \xcf\x8dgO\xe0\x11m\xe7\xd1\xbb`v\xd8\x11h\\\x80\xc6\x9f ?\xf0`(\xde\xcc\x7fi\xc7\x12v\x14\xae\xcb\x9b&\xe7\x96\xfe/o\x85\xe0\xb0\xe7d\\k\xae\x88k\x168\x05Y%@\x17\x0f\x19\xc7\xe3\x0ec\xe2\xe4\x80y\xe4\xe3\x15\x0353\x03i\xc3a\xd7R\xe9\x00\x03\xa4\x7f\xe8\x0c$x\x10\x03\x00\x00\x00\xa0\x00\x14\x00@vn\x00\x04$\xa0\x06\x83.\xe9 \x01\xe6\x02\x0bB\x03Y\x90x\x00\x04>B\xad\x90\xc6\x0c\x082\xe6\xcf\xafjn\x1c\x99!\xe98ip\x0eH\xdd9\xa8e\xdf\x7f\xa8Y\xad1(\x03\xdf\xb0?\xe1\xf3\xcf\xbdC\xdb\x14\xbd;\x1f\x83\xf68v10\xf3x\xb3\xf6ya\xe1\x99x\xb0B\x03\x85\x1d\x87\x10\xc6<\x972\x04\x0f\xe9\x1d\xe75\xd3\xd8\'\xe6\t\x82\xb1`\xbb\x18\x961\x1bd\x8d\xb7\x01\xc7\x9c\xb5?\xab;\xa0\x01D\xab6\x86sC\x8bvv\x8b\t\xc0\xe6\xe1\x8be\xb9\xe8\xd0\x17\'k\x8a)\xd0\xfb\xc7k\xffR\x84\x00\xfd\xa8~\xbcsR\x16\x8a\xdf\xe9\x8f`?...d\x8d*7?\x9f\x85\x8d\xbe\x0b\xb8\xd5p-KJF\xbb\x9e\xd4G\xcc\xe4\xf1\x96\x17\xb1@\xd3\xef2\xedg\xc7\x87\x17\x9a\x81\xb1\xda\xf7-\x9a\xb4Z\x81\xa0e\x9fR\x13\x0e+<\xa9Y\xfb\xb8\xaaD\xceX|\xb2F\xa1\xbeLX\xcb\x9bH\xe8\xa6#\x85\xf4Ks\x90\xcet\xea\x87Sg\xc8\x9aE |\x92\x8ax\xd9\x15s\x976\x1d\x15U{\xe3\xd4\t \xa2\xaf\xbcz\xaf\xffD\xa2`jt\xc1S\x9ca\x01\x00A\\\x02\xa6\xb1\x00i\xec\xbdJu\xec\xaf\x00q\x8b`\x10@$\x00\x00Z\x8d\x02\x00@\x00\x00\xfe\x90\n\x00\x00 \x00\x00\x00\x06\x00\x81@\x00:\x07\x00\x04\x02\x00\x80@\x00\x00\x01 \x12\x01\x04\x00\xa0\x02\xe0\x00\x90\x0b\x01\x82\x02\x90\xc0\n\x00P\x00\x01\x81\x14:\x06\x00P\x04aCjbT,\x10\x06\x80\x96\xb3\xecL4KI\x03\xbf\xb1p8>p\x13\xba\xba&N\xd5\xbf\xeb\x1d\xfcN\xd7x\xb6\xd1!O\xe3%,\x8d\x9b\x87M\xcf\xdc\x10\x04\x00;\x11\xff\t\x9b\x82%O\xd5\x0ff\x11\xce\x16av\xf1\xa3\xa7Q\xbd\xa6`mA\xcb\xd27\xb9E\xae\xb5<\xf3\r\x12e>tY\xe0$\x81\x06\xe7\xbcOZ\x99\xbb%\x1a\x13\xc2\x8c\xe0\xaf<\xca\x12\xf1R\x008\x00\x10\x00\x0c\x99\x83\xa0\x081\x10@\x06\xc0\xc0\x00\x00\x00\x00\x00\x10\xc0\x00\x04\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _____________ test_zfp[float64-view-bytearray-bytearray-mode0-omp] _____________ dtype = dtype('float64'), itype = 'view', enout = 'bytearray' deout = 'bytearray', mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00+\x05pfz\x00s\x8f\xfd\x88\x00\x01\xf0\x00v\x00\x08\xe4\x01\x02\x80x\x0e1\x01\xe0\x18a\x81\x18\xf0\x18s\x80\x00`0!\x8c\x07\xe1\xf1\x80\x00\x03\x90\xde\xfaH\xf8\xe1\x01\x9b\x83\x18\x7f#\x83\xb8f\t\x87\xfc\xe9\xc7\xf7\x01\xbf!0`\xb0\x1f\x93\x81\xa4Y\x81\xfc\xa6\x03c\x83\x83n\xc0\x83f<\xf0r/\x97r\x98\xe0\x04\x10\x87\xe8\x86\xfa\x80v\xdc\xe0\x17\xebV\xfc\x9c6\xc3\x05vk\x18\xbagO\x04\xe7\x1c \xcf\x8dgO\xe0\x11m\xe7\xd1\xbb`v\xd8\x11h\\\x80\xc6\x9f ?\xf0`(\xde\xcc\x7fi\xc7\x12v\x14\xae\xcb\x9b&\xe7\x96\xfe/o\x85\xe0\xb0\xe7d\\k\xae\x88k\x168\x05Y%@\x17\x0f\x19\xc7\xe3\x0ec\xe2\xe4\x80y\xe4\xe3\x15\x0353\x03i\xc3a\xd7R\xe9\x00\x03\xa4\x7f\xe8\x0c$x\x10\x03\x00\x00\x00\xa0\x00\x14\x00@vn\x00\x04$\xa0\x06\x83.\xe9 \x01\xe6\x02\x0bB\x03Y\x90x\x00\x04>B\xad\x90\xc6\x0c\x082\xe6\xcf\xafjn\x1c\x99!\xe98ip\x0eH\xdd9\xa8e\xdf\x7f\xa8Y\xad1(\x03\xdf\xb0?\xe1\xf3\xcf\xbdC\xdb\x14\xbd;\x1f\x83\xf68v10\xf3x\xb3\xf6ya\xe1\x99x\xb0B\x03\x85\x1d\x87\x10\xc6<\x972\x04\x0f\xe9\x1d\xe75\xd3\xd8\'\xe6\t\x82\xb1`\xbb\x18\x961\x1bd\x8d\xb7\x01\xc7\x9c\xb5?\xab;\xa0\x01D\xab6\x86sC\x8bvv\x8b\t\xc0\xe6\xe1\x8be\xb9\xe8\xd0\x17\'k\x8a)\xd0\xfb\xc7k\xffR\x84\x00\xfd\xa8~\xbcsR\x16\x8a\xdf\xe9\x8f`?...d\x8d*7?\x9f\x85\x8d\xbe\x0b\xb8\xd5p-KJF\xbb\x9e\xd4G\xcc\xe4\xf1\x96\x17\xb1@\xd3\xef2\xedg\xc7\x87\x17\x9a\x81\xb1\xda\xf7-\x9a\xb4Z\x81\xa0e\x9fR\x13\x0e+<\xa9Y\xfb\xb8\xaaD\xceX|\xb2F\xa1\xbeLX\xcb\x9bH\xe8\xa6#\x85\xf4Ks\x90\xcet\xea\x87Sg\xc8\x9aE |\x92\x8ax\xd9\x15s\x976\x1d\x15U{\xe3\xd4\t \xa2\xaf\xbcz\xaf\xffD\xa2`jt\xc1S\x9ca\x01\x00A\\\x02\xa6\xb1\x00i\xec\xbdJu\xec\xaf\x00q\x8b`\x10@$\x00\x00Z\x8d\x02\x00@\x00\x00\xfe\x90\n\x00\x00 \x00\x00\x00\x06\x00\x81@\x00:\x07\x00\x04\x02\x00\x80@\x00\x00\x01 \x12\x01\x04\x00\xa0\x02\xe0\x00\x90\x0b\x01\x82\x02\x90\xc0\n\x00P\x00\x01\x81\x14:\x06\x00P\x04aCjbT,\x10\x06\x80\x96\xb3\xecL4KI\x03\xbf\xb1p8>p\x13\xba\xba&N\xd5\xbf\xeb\x1d\xfcN\xd7x\xb6\xd1!O\xe3%,\x8d\x9b\x87M\xcf\xdc\x10\x04\x00;\x11\xff\t\x9b\x82%O\xd5\x0ff\x11\xce\x16av\xf1\xa3\xa7Q\xbd\xa6`mA\xcb\xd27\xb9E\xae\xb5<\xf3\r\x12e>tY\xe0$\x81\x06\xe7\xbcOZ\x99\xbb%\x1a\x13\xc2\x8c\xe0\xaf<\xca\x12\xf1R\x008\x00\x10\x00\x0c\x99\x83\xa0\x081\x10@\x06\xc0\xc0\x00\x00\x00\x00\x00\x10\xc0\x00\x04\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ____________ test_zfp[float64-view-bytearray-bytearray-mode1-None] _____________ dtype = dtype('float64'), itype = 'view', enout = 'bytearray' deout = 'bytearray', mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00+\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0C\xc0\x08V\x7f\xf7\x87\xaf\x01\x00\xc4\xc0\x1c\x10\x18\x8c\x00\xfcp\x03\x82CpN<\x08\x0f\xc5\xc1\xc0\x0f\x00\x1b +%I\xe5e\x89+t\xc7\xd6\xed\xf8\xd1y\x15\xb8\xb2\xe5D\xe1lB"\xe1\xd8T\x81\x86\x02\xc8\xea\xbb\xea\xf5r\x86Z/,\xa5{"\x82,@r\xf7\xb9\xa7\x94\x0b\x8d\xbc\xfb\x99\x9b}\x0f~\xd7\xc5\xaa\x02)\xe9\xd0\xd7\x06\n\x0e]\xaf\x85\x86\xa4\x83W\x00\x07\xc5\x9c\x06\xbf\x82\x06\x83\x00\x00\xe4\x07\x16\x8c\x00\x0e\x00\x00\x00\x00\x00\x06\x00\x8a\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\...00\xd0r\x82?\xa2\xf9\x9e\x98\x7fl\xaf\xda\xacx\x16#\x9a\xff\x03\x13\xd7V\xd4`n\xffN \x94t\xb4\xb7}\xfbP\xf6\x83\x19\x93\xa8~\x08\x8d\x1e\xa8\xab\x88\xec\xb5\xe5\xe1\xd2C\xd7D\xf8\xf4l\xb2\xcd\xa7>\xf7c\x00\x00L%\xe76\x98\xdf\x9a\x13\xbf\xc8\xf7|c\xb0\xd7\x95\xad\xf3x\x11WS\xb6\xf7\x1f\xcc*\xd4\xc8\x84\x1c\x16\x93\xd3\x15\x16\x04\\\xde\x02\x1e\x9f\xfbE\x12?\xaa\x86a \xd4\x19\xfc\x88w\t\xf0\xba7\xd8\x14\\\xed\xee\xc2[\x18\xfc\x1f8\xecg\xef\x928\x02\x18\x7f\x1f\xf0\x03\xec8\x028G\x03\xf0\x00~\x00\x02\x00\x07\x00\x00\x1c\x00\x00\x02\x00\x00\x00\x00\x1c\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _____________ test_zfp[float64-view-bytearray-bytearray-mode1-omp] _____________ dtype = dtype('float64'), itype = 'view', enout = 'bytearray' deout = 'bytearray', mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00+\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0C\xc0\x08V\x7f\xf7\x87\xaf\x01\x00\xc4\xc0\x1c\x10\x18\x8c\x00\xfcp\x03\x82CpN<\x08\x0f\xc5\xc1\xc0\x0f\x00\x1b +%I\xe5e\x89+t\xc7\xd6\xed\xf8\xd1y\x15\xb8\xb2\xe5D\xe1lB"\xe1\xd8T\x81\x86\x02\xc8\xea\xbb\xea\xf5r\x86Z/,\xa5{"\x82,@r\xf7\xb9\xa7\x94\x0b\x8d\xbc\xfb\x99\x9b}\x0f~\xd7\xc5\xaa\x02)\xe9\xd0\xd7\x06\n\x0e]\xaf\x85\x86\xa4\x83W\x00\x07\xc5\x9c\x06\xbf\x82\x06\x83\x00\x00\xe4\x07\x16\x8c\x00\x0e\x00\x00\x00\x00\x00\x06\x00\x8a\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\...00\xd0r\x82?\xa2\xf9\x9e\x98\x7fl\xaf\xda\xacx\x16#\x9a\xff\x03\x13\xd7V\xd4`n\xffN \x94t\xb4\xb7}\xfbP\xf6\x83\x19\x93\xa8~\x08\x8d\x1e\xa8\xab\x88\xec\xb5\xe5\xe1\xd2C\xd7D\xf8\xf4l\xb2\xcd\xa7>\xf7c\x00\x00L%\xe76\x98\xdf\x9a\x13\xbf\xc8\xf7|c\xb0\xd7\x95\xad\xf3x\x11WS\xb6\xf7\x1f\xcc*\xd4\xc8\x84\x1c\x16\x93\xd3\x15\x16\x04\\\xde\x02\x1e\x9f\xfbE\x12?\xaa\x86a \xd4\x19\xfc\x88w\t\xf0\xba7\xd8\x14\\\xed\xee\xc2[\x18\xfc\x1f8\xecg\xef\x928\x02\x18\x7f\x1f\xf0\x03\xec8\x028G\x03\xf0\x00~\x00\x02\x00\x07\x00\x00\x1c\x00\x00\x02\x00\x00\x00\x00\x1c\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError __________________ test_zfp[float64-gray-new-new-mode0-None] ___________________ dtype = dtype('float64'), itype = 'gray', enout = 'new', deout = 'new' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfzt\xb3\x8f\xfd\x88\x00\x01\xf0\x1c`\x18c\x80xp\x0c\x0e4\x80A\xa4\x03\x81 \x08\x06 \x98\x06a\x8e\x90\x00\x04!\x00\x03\x12\x00\x00\x00\x80\x80\x00\x80`\x18\xe0\x00\xc7\x10\x10\x00 \x18\x00\x84 \x00\x02\x00@\x04\x03\x00\x00\x89 \x1c\x00H\x04\x00\x00\x10\x11$\x00\x08\x08\x8e\x00$\x00\x000\x0c\x01\xd2\x00\x00\x00\x80HB\x01 \x08\x00 \x00\x90\x08\x08\x00$\x01\x00\x03\x10\x02\x00@@\x00\x00\x00\x18\x00\x02\x03\x80\x00\x00\x80\x81 \x1c4\x801\x01 \x12\x01\xa41Y\xb7\xfe\x80$\x00\x00\x0b\x00 \x88\x05\x10q\xc5$\x03\x08BS\x00\xc1\x10\x80\x85!\x1c@@\x90\x80\x0c\x00@\x06\x91\x00&\x01\x11\x00\x00\x12\x01\xa4\x02\x08\x81\x82\x00\x04\x02B\x04\x00\x00B!\xc4\x00\x00HB\x01\x00\x00F\x08\x80\x10\x00\x02\x00\x00#@\x01\x00\x00\x1c@\x00\x00\x00@\x00h\x80C(\t\x00\x10\x00\x00@0\x8c\x04\x01 \x02\x11\x00@@\x80\x0e \x02\x80\x80\x00\x08\xd0\x10\xd4\x00@\x10\x12\x01!\x02D"\x9b\x7f\xe8\x02\x00\x04!\x08\x86 \x18\x01\x84 mU\x06B\x00\x00%\x00\x1e\x10a(\x00\x00\x85\x03\x11@@0\x84T \x12\x01\xa4P\x00\x00\x00\x91\n\x84\x02\x045\x01\x00\x01\x08\x12 \x00\x80\x86\x80\x00\x00\x02 \x08\x00\xd0!\x10\x04\x80\x00\x02\x00 \x12@0\x80\x10`\x02@$"H\xc5\x10\x03\x1d\x00\x08\x04\x84@\x18\x00\x04b\x08\t\x00\x10\r...\x00F\x1a\x00\x90\x01\x08\xd2\x11\x00\x00F@\x02\x00\x01\n\x04\x80I\x18\x82\x00@\x04\x08\x00\x10\r\x01\x1c\x00@\x01\x01 \x12\x10\xa0!\x88\xf7\xfe\x80 \x00@\x10\x00\x00\x06\xa0\x1e2\x80\xd4Y0\xc6\x81\x8a\xa3\x00 \x8e\x19\x00\x90\x0c\x02\x0cL\x03\xa2\x00\x00$\x00\x00\x00\x10\x01\x18@H\x00\x00I\x00\x10$\x02\xa8\x00\x00\x90\x84\x00\x02 \x0cU\x01 \x10\x00\x80\x00B\x91\x06\x80\x042\x80\x10\x00\x08\x920\xd4\x00\x01\x10\x00\x00!\x02D\x84\x08\x08\x8a\x02\x00$\x01\x00\x80\x01\x01\x01@\x08\x00\x00\x00\x12\x00\x80a\x88\x08\x00\x00\x00\x02@ \x88%\xd20\xc4\x04\x00HB\x90\x01\n@ \x00\x90\t\x00\x00\x00\x03H\x82@\x00\x01@@\x04\x04H\x10\x00\x00\x00\x00\x00\x00\x80\x08\x00\x00\xcf?\xf5\x00\x00\x10\x00\x00\x18\xa3\x80\x00\xa8\x00\x19"\x06\x90\x84\xa0\x14!\x19@D2\x80f\x10\xa0"\xa0\t!\x00@f\x01\x01\x00\x02\x10\x00\x00 \t\x00\x10$\x00\x02$\x8c\x11\x01\x00\x90\x04\x80\x00@\x11\x8c \x04\x08\x00\x90\t\x08\x82!\x03H\x01\x00\x00\x00\x00\x08\x04\x04(\x08`\x00\x00 \x08\x00\x00\t\x00\x11@@P\x00\x00\x12\x11 !\xa8\x80\x8c\x00\x04\x00B \x8c\x00\xc0!\x00\x00\x80HF\x01\x01\n\x00\x10\x80\x10\x00\x00@ \x00H\x02P\x12\x10@\x00\x04\x84h\x08B\x00\x00\x08\x00\x00\x00\t"\x02 \x08\x01\x00\x00\x10\x00\x00\x00\x00\x00\x00 $\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[float64-gray-new-new-mode0-omp] ___________________ dtype = dtype('float64'), itype = 'gray', enout = 'new', deout = 'new' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfzt\xb3\x8f\xfd\x88\x00\x01\xf0\x1c`\x18c\x80xp\x0c\x0e4\x80A\xa4\x03\x81 \x08\x06 \x98\x06a\x8e\x90\x00\x04!\x00\x03\x12\x00\x00\x00\x80\x80\x00\x80`\x18\xe0\x00\xc7\x10\x10\x00 \x18\x00\x84 \x00\x02\x00@\x04\x03\x00\x00\x89 \x1c\x00H\x04\x00\x00\x10\x11$\x00\x08\x08\x8e\x00$\x00\x000\x0c\x01\xd2\x00\x00\x00\x80HB\x01 \x08\x00 \x00\x90\x08\x08\x00$\x01\x00\x03\x10\x02\x00@@\x00\x00\x00\x18\x00\x02\x03\x80\x00\x00\x80\x81 \x1c4\x801\x01 \x12\x01\xa41Y\xb7\xfe\x80$\x00\x00\x0b\x00 \x88\x05\x10q\xc5$\x03\x08BS\x00\xc1\x10\x80\x85!\x1c@@\x90\x80\x0c\x00@\x06\x91\x00&\x01\x11\x00\x00\x12\x01\xa4\x02\x08\x81\x82\x00\x04\x02B\x04\x00\x00B!\xc4\x00\x00HB\x01\x00\x00F\x08\x80\x10\x00\x02\x00\x00#@\x01\x00\x00\x1c@\x00\x00\x00@\x00h\x80C(\t\x00\x10\x00\x00@0\x8c\x04\x01 \x02\x11\x00@@\x80\x0e \x02\x80\x80\x00\x08\xd0\x10\xd4\x00@\x10\x12\x01!\x02D"\x9b\x7f\xe8\x02\x00\x04!\x08\x86 \x18\x01\x84 mU\x06B\x00\x00%\x00\x1e\x10a(\x00\x00\x85\x03\x11@@0\x84T \x12\x01\xa4P\x00\x00\x00\x91\n\x84\x02\x045\x01\x00\x01\x08\x12 \x00\x80\x86\x80\x00\x00\x02 \x08\x00\xd0!\x10\x04\x80\x00\x02\x00 \x12@0\x80\x10`\x02@$"H\xc5\x10\x03\x1d\x00\x08\x04\x84@\x18\x00\x04b\x08\t\x00\x10\r...\x00F\x1a\x00\x90\x01\x08\xd2\x11\x00\x00F@\x02\x00\x01\n\x04\x80I\x18\x82\x00@\x04\x08\x00\x10\r\x01\x1c\x00@\x01\x01 \x12\x10\xa0!\x88\xf7\xfe\x80 \x00@\x10\x00\x00\x06\xa0\x1e2\x80\xd4Y0\xc6\x81\x8a\xa3\x00 \x8e\x19\x00\x90\x0c\x02\x0cL\x03\xa2\x00\x00$\x00\x00\x00\x10\x01\x18@H\x00\x00I\x00\x10$\x02\xa8\x00\x00\x90\x84\x00\x02 \x0cU\x01 \x10\x00\x80\x00B\x91\x06\x80\x042\x80\x10\x00\x08\x920\xd4\x00\x01\x10\x00\x00!\x02D\x84\x08\x08\x8a\x02\x00$\x01\x00\x80\x01\x01\x01@\x08\x00\x00\x00\x12\x00\x80a\x88\x08\x00\x00\x00\x02@ \x88%\xd20\xc4\x04\x00HB\x90\x01\n@ \x00\x90\t\x00\x00\x00\x03H\x82@\x00\x01@@\x04\x04H\x10\x00\x00\x00\x00\x00\x00\x80\x08\x00\x00\xcf?\xf5\x00\x00\x10\x00\x00\x18\xa3\x80\x00\xa8\x00\x19"\x06\x90\x84\xa0\x14!\x19@D2\x80f\x10\xa0"\xa0\t!\x00@f\x01\x01\x00\x02\x10\x00\x00 \t\x00\x10$\x00\x02$\x8c\x11\x01\x00\x90\x04\x80\x00@\x11\x8c \x04\x08\x00\x90\t\x08\x82!\x03H\x01\x00\x00\x00\x00\x08\x04\x04(\x08`\x00\x00 \x08\x00\x00\t\x00\x11@@P\x00\x00\x12\x11 !\xa8\x80\x8c\x00\x04\x00B \x8c\x00\xc0!\x00\x00\x80HF\x01\x01\n\x00\x10\x80\x10\x00\x00@ \x00H\x02P\x12\x10@\x00\x04\x84h\x08B\x00\x00\x08\x00\x00\x00\t"\x02 \x08\x01\x00\x00\x10\x00\x00\x00\x00\x00\x00 $\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError __________________ test_zfp[float64-gray-new-new-mode1-None] ___________________ dtype = dtype('float64'), itype = 'gray', enout = 'new', deout = 'new' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x8b\x06:V\x7f\xf7\x87\xaf\x0e;1\xc7@\xe0\rq1\x04\xc3\x1a@8\x8e\x90\xc0@\x11\xa4c\xa9\x00\xd2\x00\x88\x02\x81\x8c\xa4 \x00\x10\x00\x00\x04\x01\x00\x01S\x00\x8c\x01\t\x00\x04\x00@\x03\x00\x00\x00\x84a\xa1\x00\x08@@\x04\x00A\x10\x8a\x80A\xa8\x08\x00\x80\x8c\x03B\x04\x0cp\x01 \x10\x00\x80HF\x80\x8e\xa0\x04\x02\x00\x80\t\x08@\x10\x94\x04@@\x00\x01\x01\x12D0A\x08\xa0\x02\x00 #H\x00\x89\x03\x1c@\x08\x04\x00 \x00\x10\x00\x00\xa0\x00\x00\x00\x00\x00\x004\x80A\x01\x00\x04\x00\x00\x00\x00\x00\x0e\x00\x00 \x00\x00\t\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0...0c\x02\x04\x00\x00`\x00\n@\x04\x01P\x18\x00\x00\x01\x02\x04@\x10H\x00\x00\x00"@\x85\x81!\x1d@H\x04\x84i\x12\x01 \x00\x08\t\x00\x90 \x00\x020\x80@\x00\x00P\x04\x00\x00\x06\x11\x08\x00\x04*\x00\x00\x01\x00\xc0 \x08BP\x10\x00\x01\x08\x00\x04@\x18j\x00@\x00\x01\x00\x00\x81\x03\x05\x00\x004\x00\x00\x10\x10$a\xa0\x01\x82\xa0 \x00B\x14\x84\x08\x92\x01\xd4\x04\x80@\x00\x01!\x00\x062\x80\x90\x01\x00\x00$ \x00\xc7P\x12\x1c@H\x00\x00`\x00\x02\x00\x02\x08\x00\x00\x90\x01 \x00\x00\x00@\x00\x00\x12\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[float64-gray-new-new-mode1-omp] ___________________ dtype = dtype('float64'), itype = 'gray', enout = 'new', deout = 'new' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x8b\x06:V\x7f\xf7\x87\xaf\x0e;1\xc7@\xe0\rq1\x04\xc3\x1a@8\x8e\x90\xc0@\x11\xa4c\xa9\x00\xd2\x00\x88\x02\x81\x8c\xa4 \x00\x10\x00\x00\x04\x01\x00\x01S\x00\x8c\x01\t\x00\x04\x00@\x03\x00\x00\x00\x84a\xa1\x00\x08@@\x04\x00A\x10\x8a\x80A\xa8\x08\x00\x80\x8c\x03B\x04\x0cp\x01 \x10\x00\x80HF\x80\x8e\xa0\x04\x02\x00\x80\t\x08@\x10\x94\x04@@\x00\x01\x01\x12D0A\x08\xa0\x02\x00 #H\x00\x89\x03\x1c@\x08\x04\x00 \x00\x10\x00\x00\xa0\x00\x00\x00\x00\x00\x004\x80A\x01\x00\x04\x00\x00\x00\x00\x00\x0e\x00\x00 \x00\x00\t\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0...0c\x02\x04\x00\x00`\x00\n@\x04\x01P\x18\x00\x00\x01\x02\x04@\x10H\x00\x00\x00"@\x85\x81!\x1d@H\x04\x84i\x12\x01 \x00\x08\t\x00\x90 \x00\x020\x80@\x00\x00P\x04\x00\x00\x06\x11\x08\x00\x04*\x00\x00\x01\x00\xc0 \x08BP\x10\x00\x01\x08\x00\x04@\x18j\x00@\x00\x01\x00\x00\x81\x03\x05\x00\x004\x00\x00\x10\x10$a\xa0\x01\x82\xa0 \x00B\x14\x84\x08\x92\x01\xd4\x04\x80@\x00\x01!\x00\x062\x80\x90\x01\x00\x00$ \x00\xc7P\x12\x1c@H\x00\x00`\x00\x02\x00\x02\x08\x00\x00\x90\x01 \x00\x00\x00@\x00\x00\x12\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError __________________ test_zfp[float64-gray-new-out-mode0-None] ___________________ dtype = dtype('float64'), itype = 'gray', enout = 'new', deout = 'out' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfzt\xb3\x8f\xfd\x88\x00\x01\xf0\x1c`\x18c\x80xp\x0c\x0e4\x80A\xa4\x03\x81 \x08\x06 \x98\x06a\x8e\x90\x00\x04!\x00\x03\x12\x00\x00\x00\x80\x80\x00\x80`\x18\xe0\x00\xc7\x10\x10\x00 \x18\x00\x84 \x00\x02\x00@\x04\x03\x00\x00\x89 \x1c\x00H\x04\x00\x00\x10\x11$\x00\x08\x08\x8e\x00$\x00\x000\x0c\x01\xd2\x00\x00\x00\x80HB\x01 \x08\x00 \x00\x90\x08\x08\x00$\x01\x00\x03\x10\x02\x00@@\x00\x00\x00\x18\x00\x02\x03\x80\x00\x00\x80\x81 \x1c4\x801\x01 \x12\x01\xa41Y\xb7\xfe\x80$\x00\x00\x0b\x00 \x88\x05\x10q\xc5$\x03\x08BS\x00\xc1\x10\x80\x85!\x1c@@\x90\x80\x0c\x00@\x06\x91\x00&\x01\x11\x00\x00\x12\x01\xa4\x02\x08\x81\x82\x00\x04\x02B\x04\x00\x00B!\xc4\x00\x00HB\x01\x00\x00F\x08\x80\x10\x00\x02\x00\x00#@\x01\x00\x00\x1c@\x00\x00\x00@\x00h\x80C(\t\x00\x10\x00\x00@0\x8c\x04\x01 \x02\x11\x00@@\x80\x0e \x02\x80\x80\x00\x08\xd0\x10\xd4\x00@\x10\x12\x01!\x02D"\x9b\x7f\xe8\x02\x00\x04!\x08\x86 \x18\x01\x84 mU\x06B\x00\x00%\x00\x1e\x10a(\x00\x00\x85\x03\x11@@0\x84T \x12\x01\xa4P\x00\x00\x00\x91\n\x84\x02\x045\x01\x00\x01\x08\x12 \x00\x80\x86\x80\x00\x00\x02 \x08\x00\xd0!\x10\x04\x80\x00\x02\x00 \x12@0\x80\x10`\x02@$"H\xc5\x10\x03\x1d\x00\x08\x04\x84@\x18\x00\x04b\x08\t\x00\x10\r...\x00F\x1a\x00\x90\x01\x08\xd2\x11\x00\x00F@\x02\x00\x01\n\x04\x80I\x18\x82\x00@\x04\x08\x00\x10\r\x01\x1c\x00@\x01\x01 \x12\x10\xa0!\x88\xf7\xfe\x80 \x00@\x10\x00\x00\x06\xa0\x1e2\x80\xd4Y0\xc6\x81\x8a\xa3\x00 \x8e\x19\x00\x90\x0c\x02\x0cL\x03\xa2\x00\x00$\x00\x00\x00\x10\x01\x18@H\x00\x00I\x00\x10$\x02\xa8\x00\x00\x90\x84\x00\x02 \x0cU\x01 \x10\x00\x80\x00B\x91\x06\x80\x042\x80\x10\x00\x08\x920\xd4\x00\x01\x10\x00\x00!\x02D\x84\x08\x08\x8a\x02\x00$\x01\x00\x80\x01\x01\x01@\x08\x00\x00\x00\x12\x00\x80a\x88\x08\x00\x00\x00\x02@ \x88%\xd20\xc4\x04\x00HB\x90\x01\n@ \x00\x90\t\x00\x00\x00\x03H\x82@\x00\x01@@\x04\x04H\x10\x00\x00\x00\x00\x00\x00\x80\x08\x00\x00\xcf?\xf5\x00\x00\x10\x00\x00\x18\xa3\x80\x00\xa8\x00\x19"\x06\x90\x84\xa0\x14!\x19@D2\x80f\x10\xa0"\xa0\t!\x00@f\x01\x01\x00\x02\x10\x00\x00 \t\x00\x10$\x00\x02$\x8c\x11\x01\x00\x90\x04\x80\x00@\x11\x8c \x04\x08\x00\x90\t\x08\x82!\x03H\x01\x00\x00\x00\x00\x08\x04\x04(\x08`\x00\x00 \x08\x00\x00\t\x00\x11@@P\x00\x00\x12\x11 !\xa8\x80\x8c\x00\x04\x00B \x8c\x00\xc0!\x00\x00\x80HF\x01\x01\n\x00\x10\x80\x10\x00\x00@ \x00H\x02P\x12\x10@\x00\x04\x84h\x08B\x00\x00\x08\x00\x00\x00\t"\x02 \x08\x01\x00\x00\x10\x00\x00\x00\x00\x00\x00 $\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[float64-gray-new-out-mode0-omp] ___________________ dtype = dtype('float64'), itype = 'gray', enout = 'new', deout = 'out' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfzt\xb3\x8f\xfd\x88\x00\x01\xf0\x1c`\x18c\x80xp\x0c\x0e4\x80A\xa4\x03\x81 \x08\x06 \x98\x06a\x8e\x90\x00\x04!\x00\x03\x12\x00\x00\x00\x80\x80\x00\x80`\x18\xe0\x00\xc7\x10\x10\x00 \x18\x00\x84 \x00\x02\x00@\x04\x03\x00\x00\x89 \x1c\x00H\x04\x00\x00\x10\x11$\x00\x08\x08\x8e\x00$\x00\x000\x0c\x01\xd2\x00\x00\x00\x80HB\x01 \x08\x00 \x00\x90\x08\x08\x00$\x01\x00\x03\x10\x02\x00@@\x00\x00\x00\x18\x00\x02\x03\x80\x00\x00\x80\x81 \x1c4\x801\x01 \x12\x01\xa41Y\xb7\xfe\x80$\x00\x00\x0b\x00 \x88\x05\x10q\xc5$\x03\x08BS\x00\xc1\x10\x80\x85!\x1c@@\x90\x80\x0c\x00@\x06\x91\x00&\x01\x11\x00\x00\x12\x01\xa4\x02\x08\x81\x82\x00\x04\x02B\x04\x00\x00B!\xc4\x00\x00HB\x01\x00\x00F\x08\x80\x10\x00\x02\x00\x00#@\x01\x00\x00\x1c@\x00\x00\x00@\x00h\x80C(\t\x00\x10\x00\x00@0\x8c\x04\x01 \x02\x11\x00@@\x80\x0e \x02\x80\x80\x00\x08\xd0\x10\xd4\x00@\x10\x12\x01!\x02D"\x9b\x7f\xe8\x02\x00\x04!\x08\x86 \x18\x01\x84 mU\x06B\x00\x00%\x00\x1e\x10a(\x00\x00\x85\x03\x11@@0\x84T \x12\x01\xa4P\x00\x00\x00\x91\n\x84\x02\x045\x01\x00\x01\x08\x12 \x00\x80\x86\x80\x00\x00\x02 \x08\x00\xd0!\x10\x04\x80\x00\x02\x00 \x12@0\x80\x10`\x02@$"H\xc5\x10\x03\x1d\x00\x08\x04\x84@\x18\x00\x04b\x08\t\x00\x10\r...\x00F\x1a\x00\x90\x01\x08\xd2\x11\x00\x00F@\x02\x00\x01\n\x04\x80I\x18\x82\x00@\x04\x08\x00\x10\r\x01\x1c\x00@\x01\x01 \x12\x10\xa0!\x88\xf7\xfe\x80 \x00@\x10\x00\x00\x06\xa0\x1e2\x80\xd4Y0\xc6\x81\x8a\xa3\x00 \x8e\x19\x00\x90\x0c\x02\x0cL\x03\xa2\x00\x00$\x00\x00\x00\x10\x01\x18@H\x00\x00I\x00\x10$\x02\xa8\x00\x00\x90\x84\x00\x02 \x0cU\x01 \x10\x00\x80\x00B\x91\x06\x80\x042\x80\x10\x00\x08\x920\xd4\x00\x01\x10\x00\x00!\x02D\x84\x08\x08\x8a\x02\x00$\x01\x00\x80\x01\x01\x01@\x08\x00\x00\x00\x12\x00\x80a\x88\x08\x00\x00\x00\x02@ \x88%\xd20\xc4\x04\x00HB\x90\x01\n@ \x00\x90\t\x00\x00\x00\x03H\x82@\x00\x01@@\x04\x04H\x10\x00\x00\x00\x00\x00\x00\x80\x08\x00\x00\xcf?\xf5\x00\x00\x10\x00\x00\x18\xa3\x80\x00\xa8\x00\x19"\x06\x90\x84\xa0\x14!\x19@D2\x80f\x10\xa0"\xa0\t!\x00@f\x01\x01\x00\x02\x10\x00\x00 \t\x00\x10$\x00\x02$\x8c\x11\x01\x00\x90\x04\x80\x00@\x11\x8c \x04\x08\x00\x90\t\x08\x82!\x03H\x01\x00\x00\x00\x00\x08\x04\x04(\x08`\x00\x00 \x08\x00\x00\t\x00\x11@@P\x00\x00\x12\x11 !\xa8\x80\x8c\x00\x04\x00B \x8c\x00\xc0!\x00\x00\x80HF\x01\x01\n\x00\x10\x80\x10\x00\x00@ \x00H\x02P\x12\x10@\x00\x04\x84h\x08B\x00\x00\x08\x00\x00\x00\t"\x02 \x08\x01\x00\x00\x10\x00\x00\x00\x00\x00\x00 $\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError __________________ test_zfp[float64-gray-new-out-mode1-None] ___________________ dtype = dtype('float64'), itype = 'gray', enout = 'new', deout = 'out' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x8b\x06:V\x7f\xf7\x87\xaf\x0e;1\xc7@\xe0\rq1\x04\xc3\x1a@8\x8e\x90\xc0@\x11\xa4c\xa9\x00\xd2\x00\x88\x02\x81\x8c\xa4 \x00\x10\x00\x00\x04\x01\x00\x01S\x00\x8c\x01\t\x00\x04\x00@\x03\x00\x00\x00\x84a\xa1\x00\x08@@\x04\x00A\x10\x8a\x80A\xa8\x08\x00\x80\x8c\x03B\x04\x0cp\x01 \x10\x00\x80HF\x80\x8e\xa0\x04\x02\x00\x80\t\x08@\x10\x94\x04@@\x00\x01\x01\x12D0A\x08\xa0\x02\x00 #H\x00\x89\x03\x1c@\x08\x04\x00 \x00\x10\x00\x00\xa0\x00\x00\x00\x00\x00\x004\x80A\x01\x00\x04\x00\x00\x00\x00\x00\x0e\x00\x00 \x00\x00\t\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0...0c\x02\x04\x00\x00`\x00\n@\x04\x01P\x18\x00\x00\x01\x02\x04@\x10H\x00\x00\x00"@\x85\x81!\x1d@H\x04\x84i\x12\x01 \x00\x08\t\x00\x90 \x00\x020\x80@\x00\x00P\x04\x00\x00\x06\x11\x08\x00\x04*\x00\x00\x01\x00\xc0 \x08BP\x10\x00\x01\x08\x00\x04@\x18j\x00@\x00\x01\x00\x00\x81\x03\x05\x00\x004\x00\x00\x10\x10$a\xa0\x01\x82\xa0 \x00B\x14\x84\x08\x92\x01\xd4\x04\x80@\x00\x01!\x00\x062\x80\x90\x01\x00\x00$ \x00\xc7P\x12\x1c@H\x00\x00`\x00\x02\x00\x02\x08\x00\x00\x90\x01 \x00\x00\x00@\x00\x00\x12\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[float64-gray-new-out-mode1-omp] ___________________ dtype = dtype('float64'), itype = 'gray', enout = 'new', deout = 'out' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x8b\x06:V\x7f\xf7\x87\xaf\x0e;1\xc7@\xe0\rq1\x04\xc3\x1a@8\x8e\x90\xc0@\x11\xa4c\xa9\x00\xd2\x00\x88\x02\x81\x8c\xa4 \x00\x10\x00\x00\x04\x01\x00\x01S\x00\x8c\x01\t\x00\x04\x00@\x03\x00\x00\x00\x84a\xa1\x00\x08@@\x04\x00A\x10\x8a\x80A\xa8\x08\x00\x80\x8c\x03B\x04\x0cp\x01 \x10\x00\x80HF\x80\x8e\xa0\x04\x02\x00\x80\t\x08@\x10\x94\x04@@\x00\x01\x01\x12D0A\x08\xa0\x02\x00 #H\x00\x89\x03\x1c@\x08\x04\x00 \x00\x10\x00\x00\xa0\x00\x00\x00\x00\x00\x004\x80A\x01\x00\x04\x00\x00\x00\x00\x00\x0e\x00\x00 \x00\x00\t\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0...0c\x02\x04\x00\x00`\x00\n@\x04\x01P\x18\x00\x00\x01\x02\x04@\x10H\x00\x00\x00"@\x85\x81!\x1d@H\x04\x84i\x12\x01 \x00\x08\t\x00\x90 \x00\x020\x80@\x00\x00P\x04\x00\x00\x06\x11\x08\x00\x04*\x00\x00\x01\x00\xc0 \x08BP\x10\x00\x01\x08\x00\x04@\x18j\x00@\x00\x01\x00\x00\x81\x03\x05\x00\x004\x00\x00\x10\x10$a\xa0\x01\x82\xa0 \x00B\x14\x84\x08\x92\x01\xd4\x04\x80@\x00\x01!\x00\x062\x80\x90\x01\x00\x00$ \x00\xc7P\x12\x1c@H\x00\x00`\x00\x02\x00\x02\x08\x00\x00\x90\x01 \x00\x00\x00@\x00\x00\x12\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _______________ test_zfp[float64-gray-new-bytearray-mode0-None] ________________ dtype = dtype('float64'), itype = 'gray', enout = 'new', deout = 'bytearray' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfzt\xb3\x8f\xfd\x88\x00\x01\xf0\x1c`\x18c\x80xp\x0c\x0e4\x80A\xa4\x03\x81 \x08\x06 \x98\x06a\x8e\x90\x00\x04!\x00\x03\x12\x00\x00\x00\x80\x80\x00\x80`\x18\xe0\x00\xc7\x10\x10\x00 \x18\x00\x84 \x00\x02\x00@\x04\x03\x00\x00\x89 \x1c\x00H\x04\x00\x00\x10\x11$\x00\x08\x08\x8e\x00$\x00\x000\x0c\x01\xd2\x00\x00\x00\x80HB\x01 \x08\x00 \x00\x90\x08\x08\x00$\x01\x00\x03\x10\x02\x00@@\x00\x00\x00\x18\x00\x02\x03\x80\x00\x00\x80\x81 \x1c4\x801\x01 \x12\x01\xa41Y\xb7\xfe\x80$\x00\x00\x0b\x00 \x88\x05\x10q\xc5$\x03\x08BS\x00\xc1\x10\x80\x85!\x1c@@\x90\x80\x0c\x00@\x06\x91\x00&\x01\x11\x00\x00\x12\x01\xa4\x02\x08\x81\x82\x00\x04\x02B\x04\x00\x00B!\xc4\x00\x00HB\x01\x00\x00F\x08\x80\x10\x00\x02\x00\x00#@\x01\x00\x00\x1c@\x00\x00\x00@\x00h\x80C(\t\x00\x10\x00\x00@0\x8c\x04\x01 \x02\x11\x00@@\x80\x0e \x02\x80\x80\x00\x08\xd0\x10\xd4\x00@\x10\x12\x01!\x02D"\x9b\x7f\xe8\x02\x00\x04!\x08\x86 \x18\x01\x84 mU\x06B\x00\x00%\x00\x1e\x10a(\x00\x00\x85\x03\x11@@0\x84T \x12\x01\xa4P\x00\x00\x00\x91\n\x84\x02\x045\x01\x00\x01\x08\x12 \x00\x80\x86\x80\x00\x00\x02 \x08\x00\xd0!\x10\x04\x80\x00\x02\x00 \x12@0\x80\x10`\x02@$"H\xc5\x10\x03\x1d\x00\x08\x04\x84@\x18\x00\x04b\x08\t\x00\x10\r...\x00F\x1a\x00\x90\x01\x08\xd2\x11\x00\x00F@\x02\x00\x01\n\x04\x80I\x18\x82\x00@\x04\x08\x00\x10\r\x01\x1c\x00@\x01\x01 \x12\x10\xa0!\x88\xf7\xfe\x80 \x00@\x10\x00\x00\x06\xa0\x1e2\x80\xd4Y0\xc6\x81\x8a\xa3\x00 \x8e\x19\x00\x90\x0c\x02\x0cL\x03\xa2\x00\x00$\x00\x00\x00\x10\x01\x18@H\x00\x00I\x00\x10$\x02\xa8\x00\x00\x90\x84\x00\x02 \x0cU\x01 \x10\x00\x80\x00B\x91\x06\x80\x042\x80\x10\x00\x08\x920\xd4\x00\x01\x10\x00\x00!\x02D\x84\x08\x08\x8a\x02\x00$\x01\x00\x80\x01\x01\x01@\x08\x00\x00\x00\x12\x00\x80a\x88\x08\x00\x00\x00\x02@ \x88%\xd20\xc4\x04\x00HB\x90\x01\n@ \x00\x90\t\x00\x00\x00\x03H\x82@\x00\x01@@\x04\x04H\x10\x00\x00\x00\x00\x00\x00\x80\x08\x00\x00\xcf?\xf5\x00\x00\x10\x00\x00\x18\xa3\x80\x00\xa8\x00\x19"\x06\x90\x84\xa0\x14!\x19@D2\x80f\x10\xa0"\xa0\t!\x00@f\x01\x01\x00\x02\x10\x00\x00 \t\x00\x10$\x00\x02$\x8c\x11\x01\x00\x90\x04\x80\x00@\x11\x8c \x04\x08\x00\x90\t\x08\x82!\x03H\x01\x00\x00\x00\x00\x08\x04\x04(\x08`\x00\x00 \x08\x00\x00\t\x00\x11@@P\x00\x00\x12\x11 !\xa8\x80\x8c\x00\x04\x00B \x8c\x00\xc0!\x00\x00\x80HF\x01\x01\n\x00\x10\x80\x10\x00\x00@ \x00H\x02P\x12\x10@\x00\x04\x84h\x08B\x00\x00\x08\x00\x00\x00\t"\x02 \x08\x01\x00\x00\x10\x00\x00\x00\x00\x00\x00 $\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[float64-gray-new-bytearray-mode0-omp] ________________ dtype = dtype('float64'), itype = 'gray', enout = 'new', deout = 'bytearray' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfzt\xb3\x8f\xfd\x88\x00\x01\xf0\x1c`\x18c\x80xp\x0c\x0e4\x80A\xa4\x03\x81 \x08\x06 \x98\x06a\x8e\x90\x00\x04!\x00\x03\x12\x00\x00\x00\x80\x80\x00\x80`\x18\xe0\x00\xc7\x10\x10\x00 \x18\x00\x84 \x00\x02\x00@\x04\x03\x00\x00\x89 \x1c\x00H\x04\x00\x00\x10\x11$\x00\x08\x08\x8e\x00$\x00\x000\x0c\x01\xd2\x00\x00\x00\x80HB\x01 \x08\x00 \x00\x90\x08\x08\x00$\x01\x00\x03\x10\x02\x00@@\x00\x00\x00\x18\x00\x02\x03\x80\x00\x00\x80\x81 \x1c4\x801\x01 \x12\x01\xa41Y\xb7\xfe\x80$\x00\x00\x0b\x00 \x88\x05\x10q\xc5$\x03\x08BS\x00\xc1\x10\x80\x85!\x1c@@\x90\x80\x0c\x00@\x06\x91\x00&\x01\x11\x00\x00\x12\x01\xa4\x02\x08\x81\x82\x00\x04\x02B\x04\x00\x00B!\xc4\x00\x00HB\x01\x00\x00F\x08\x80\x10\x00\x02\x00\x00#@\x01\x00\x00\x1c@\x00\x00\x00@\x00h\x80C(\t\x00\x10\x00\x00@0\x8c\x04\x01 \x02\x11\x00@@\x80\x0e \x02\x80\x80\x00\x08\xd0\x10\xd4\x00@\x10\x12\x01!\x02D"\x9b\x7f\xe8\x02\x00\x04!\x08\x86 \x18\x01\x84 mU\x06B\x00\x00%\x00\x1e\x10a(\x00\x00\x85\x03\x11@@0\x84T \x12\x01\xa4P\x00\x00\x00\x91\n\x84\x02\x045\x01\x00\x01\x08\x12 \x00\x80\x86\x80\x00\x00\x02 \x08\x00\xd0!\x10\x04\x80\x00\x02\x00 \x12@0\x80\x10`\x02@$"H\xc5\x10\x03\x1d\x00\x08\x04\x84@\x18\x00\x04b\x08\t\x00\x10\r...\x00F\x1a\x00\x90\x01\x08\xd2\x11\x00\x00F@\x02\x00\x01\n\x04\x80I\x18\x82\x00@\x04\x08\x00\x10\r\x01\x1c\x00@\x01\x01 \x12\x10\xa0!\x88\xf7\xfe\x80 \x00@\x10\x00\x00\x06\xa0\x1e2\x80\xd4Y0\xc6\x81\x8a\xa3\x00 \x8e\x19\x00\x90\x0c\x02\x0cL\x03\xa2\x00\x00$\x00\x00\x00\x10\x01\x18@H\x00\x00I\x00\x10$\x02\xa8\x00\x00\x90\x84\x00\x02 \x0cU\x01 \x10\x00\x80\x00B\x91\x06\x80\x042\x80\x10\x00\x08\x920\xd4\x00\x01\x10\x00\x00!\x02D\x84\x08\x08\x8a\x02\x00$\x01\x00\x80\x01\x01\x01@\x08\x00\x00\x00\x12\x00\x80a\x88\x08\x00\x00\x00\x02@ \x88%\xd20\xc4\x04\x00HB\x90\x01\n@ \x00\x90\t\x00\x00\x00\x03H\x82@\x00\x01@@\x04\x04H\x10\x00\x00\x00\x00\x00\x00\x80\x08\x00\x00\xcf?\xf5\x00\x00\x10\x00\x00\x18\xa3\x80\x00\xa8\x00\x19"\x06\x90\x84\xa0\x14!\x19@D2\x80f\x10\xa0"\xa0\t!\x00@f\x01\x01\x00\x02\x10\x00\x00 \t\x00\x10$\x00\x02$\x8c\x11\x01\x00\x90\x04\x80\x00@\x11\x8c \x04\x08\x00\x90\t\x08\x82!\x03H\x01\x00\x00\x00\x00\x08\x04\x04(\x08`\x00\x00 \x08\x00\x00\t\x00\x11@@P\x00\x00\x12\x11 !\xa8\x80\x8c\x00\x04\x00B \x8c\x00\xc0!\x00\x00\x80HF\x01\x01\n\x00\x10\x80\x10\x00\x00@ \x00H\x02P\x12\x10@\x00\x04\x84h\x08B\x00\x00\x08\x00\x00\x00\t"\x02 \x08\x01\x00\x00\x10\x00\x00\x00\x00\x00\x00 $\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _______________ test_zfp[float64-gray-new-bytearray-mode1-None] ________________ dtype = dtype('float64'), itype = 'gray', enout = 'new', deout = 'bytearray' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x8b\x06:V\x7f\xf7\x87\xaf\x0e;1\xc7@\xe0\rq1\x04\xc3\x1a@8\x8e\x90\xc0@\x11\xa4c\xa9\x00\xd2\x00\x88\x02\x81\x8c\xa4 \x00\x10\x00\x00\x04\x01\x00\x01S\x00\x8c\x01\t\x00\x04\x00@\x03\x00\x00\x00\x84a\xa1\x00\x08@@\x04\x00A\x10\x8a\x80A\xa8\x08\x00\x80\x8c\x03B\x04\x0cp\x01 \x10\x00\x80HF\x80\x8e\xa0\x04\x02\x00\x80\t\x08@\x10\x94\x04@@\x00\x01\x01\x12D0A\x08\xa0\x02\x00 #H\x00\x89\x03\x1c@\x08\x04\x00 \x00\x10\x00\x00\xa0\x00\x00\x00\x00\x00\x004\x80A\x01\x00\x04\x00\x00\x00\x00\x00\x0e\x00\x00 \x00\x00\t\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0...0c\x02\x04\x00\x00`\x00\n@\x04\x01P\x18\x00\x00\x01\x02\x04@\x10H\x00\x00\x00"@\x85\x81!\x1d@H\x04\x84i\x12\x01 \x00\x08\t\x00\x90 \x00\x020\x80@\x00\x00P\x04\x00\x00\x06\x11\x08\x00\x04*\x00\x00\x01\x00\xc0 \x08BP\x10\x00\x01\x08\x00\x04@\x18j\x00@\x00\x01\x00\x00\x81\x03\x05\x00\x004\x00\x00\x10\x10$a\xa0\x01\x82\xa0 \x00B\x14\x84\x08\x92\x01\xd4\x04\x80@\x00\x01!\x00\x062\x80\x90\x01\x00\x00$ \x00\xc7P\x12\x1c@H\x00\x00`\x00\x02\x00\x02\x08\x00\x00\x90\x01 \x00\x00\x00@\x00\x00\x12\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[float64-gray-new-bytearray-mode1-omp] ________________ dtype = dtype('float64'), itype = 'gray', enout = 'new', deout = 'bytearray' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x8b\x06:V\x7f\xf7\x87\xaf\x0e;1\xc7@\xe0\rq1\x04\xc3\x1a@8\x8e\x90\xc0@\x11\xa4c\xa9\x00\xd2\x00\x88\x02\x81\x8c\xa4 \x00\x10\x00\x00\x04\x01\x00\x01S\x00\x8c\x01\t\x00\x04\x00@\x03\x00\x00\x00\x84a\xa1\x00\x08@@\x04\x00A\x10\x8a\x80A\xa8\x08\x00\x80\x8c\x03B\x04\x0cp\x01 \x10\x00\x80HF\x80\x8e\xa0\x04\x02\x00\x80\t\x08@\x10\x94\x04@@\x00\x01\x01\x12D0A\x08\xa0\x02\x00 #H\x00\x89\x03\x1c@\x08\x04\x00 \x00\x10\x00\x00\xa0\x00\x00\x00\x00\x00\x004\x80A\x01\x00\x04\x00\x00\x00\x00\x00\x0e\x00\x00 \x00\x00\t\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0...0c\x02\x04\x00\x00`\x00\n@\x04\x01P\x18\x00\x00\x01\x02\x04@\x10H\x00\x00\x00"@\x85\x81!\x1d@H\x04\x84i\x12\x01 \x00\x08\t\x00\x90 \x00\x020\x80@\x00\x00P\x04\x00\x00\x06\x11\x08\x00\x04*\x00\x00\x01\x00\xc0 \x08BP\x10\x00\x01\x08\x00\x04@\x18j\x00@\x00\x01\x00\x00\x81\x03\x05\x00\x004\x00\x00\x10\x10$a\xa0\x01\x82\xa0 \x00B\x14\x84\x08\x92\x01\xd4\x04\x80@\x00\x01!\x00\x062\x80\x90\x01\x00\x00$ \x00\xc7P\x12\x1c@H\x00\x00`\x00\x02\x00\x02\x08\x00\x00\x90\x01 \x00\x00\x00@\x00\x00\x12\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError __________________ test_zfp[float64-gray-out-new-mode0-None] ___________________ dtype = dtype('float64'), itype = 'gray', enout = 'out', deout = 'new' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfzt\xb3\x8f\xfd\x88\x00\x01\xf0\x1c`\x18c\x80xp\x0c\x0e4\x80A\xa4\x03\x81 \x08\x06 \x98\x06a\x8e\x90\x00\x04!\x00\x03\x12\x00\x00\x00\x80\x80\x00\x80`\x18\xe0\x00\xc7\x10\x10\x00 \x18\x00\x84 \x00\x02\x00@\x04\x03\x00\x00\x89 \x1c\x00H\x04\x00\x00\x10\x11$\x00\x08\x08\x8e\x00$\x00\x000\x0c\x01\xd2\x00\x00\x00\x80HB\x01 \x08\x00 \x00\x90\x08\x08\x00$\x01\x00\x03\x10\x02\x00@@\x00\x00\x00\x18\x00\x02\x03\x80\x00\x00\x80\x81 \x1c4\x801\x01 \x12\x01\xa41Y\xb7\xfe\x80$\x00\x00\x0b\x00 \x88\x05\x10q\xc5$\x03\x08BS\x00\xc1\x10\x80\x85!\x1c@@\x90\x80\x0c\x00@\x06\x91\x00&\x01\x11\x00\x00\x12\x01\xa4\x02\x08\x81\x82\x00\x04\x02B\x04\x00\x00B!\xc4\x00\x00HB\x01\x00\x00F\x08\x80\x10\x00\x02\x00\x00#@\x01\x00\x00\x1c@\x00\x00\x00@\x00h\x80C(\t\x00\x10\x00\x00@0\x8c\x04\x01 \x02\x11\x00@@\x80\x0e \x02\x80\x80\x00\x08\xd0\x10\xd4\x00@\x10\x12\x01!\x02D"\x9b\x7f\xe8\x02\x00\x04!\x08\x86 \x18\x01\x84 mU\x06B\x00\x00%\x00\x1e\x10a(\x00\x00\x85\x03\x11@@0\x84T \x12\x01\xa4P\x00\x00\x00\x91\n\x84\x02\x045\x01\x00\x01\x08\x12 \x00\x80\x86\x80\x00\x00\x02 \x08\x00\xd0!\x10\x04\x80\x00\x02\x00 \x12@0\x80\x10`\x02@$"H\xc5\x10\x03\x1d\x00\x08\x04\x84@\x18\x00\x04b\x08\t\x00\x10\r...\x00F\x1a\x00\x90\x01\x08\xd2\x11\x00\x00F@\x02\x00\x01\n\x04\x80I\x18\x82\x00@\x04\x08\x00\x10\r\x01\x1c\x00@\x01\x01 \x12\x10\xa0!\x88\xf7\xfe\x80 \x00@\x10\x00\x00\x06\xa0\x1e2\x80\xd4Y0\xc6\x81\x8a\xa3\x00 \x8e\x19\x00\x90\x0c\x02\x0cL\x03\xa2\x00\x00$\x00\x00\x00\x10\x01\x18@H\x00\x00I\x00\x10$\x02\xa8\x00\x00\x90\x84\x00\x02 \x0cU\x01 \x10\x00\x80\x00B\x91\x06\x80\x042\x80\x10\x00\x08\x920\xd4\x00\x01\x10\x00\x00!\x02D\x84\x08\x08\x8a\x02\x00$\x01\x00\x80\x01\x01\x01@\x08\x00\x00\x00\x12\x00\x80a\x88\x08\x00\x00\x00\x02@ \x88%\xd20\xc4\x04\x00HB\x90\x01\n@ \x00\x90\t\x00\x00\x00\x03H\x82@\x00\x01@@\x04\x04H\x10\x00\x00\x00\x00\x00\x00\x80\x08\x00\x00\xcf?\xf5\x00\x00\x10\x00\x00\x18\xa3\x80\x00\xa8\x00\x19"\x06\x90\x84\xa0\x14!\x19@D2\x80f\x10\xa0"\xa0\t!\x00@f\x01\x01\x00\x02\x10\x00\x00 \t\x00\x10$\x00\x02$\x8c\x11\x01\x00\x90\x04\x80\x00@\x11\x8c \x04\x08\x00\x90\t\x08\x82!\x03H\x01\x00\x00\x00\x00\x08\x04\x04(\x08`\x00\x00 \x08\x00\x00\t\x00\x11@@P\x00\x00\x12\x11 !\xa8\x80\x8c\x00\x04\x00B \x8c\x00\xc0!\x00\x00\x80HF\x01\x01\n\x00\x10\x80\x10\x00\x00@ \x00H\x02P\x12\x10@\x00\x04\x84h\x08B\x00\x00\x08\x00\x00\x00\t"\x02 \x08\x01\x00\x00\x10\x00\x00\x00\x00\x00\x00 $\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[float64-gray-out-new-mode0-omp] ___________________ dtype = dtype('float64'), itype = 'gray', enout = 'out', deout = 'new' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfzt\xb3\x8f\xfd\x88\x00\x01\xf0\x1c`\x18c\x80xp\x0c\x0e4\x80A\xa4\x03\x81 \x08\x06 \x98\x06a\x8e\x90\x00\x04!\x00\x03\x12\x00\x00\x00\x80\x80\x00\x80`\x18\xe0\x00\xc7\x10\x10\x00 \x18\x00\x84 \x00\x02\x00@\x04\x03\x00\x00\x89 \x1c\x00H\x04\x00\x00\x10\x11$\x00\x08\x08\x8e\x00$\x00\x000\x0c\x01\xd2\x00\x00\x00\x80HB\x01 \x08\x00 \x00\x90\x08\x08\x00$\x01\x00\x03\x10\x02\x00@@\x00\x00\x00\x18\x00\x02\x03\x80\x00\x00\x80\x81 \x1c4\x801\x01 \x12\x01\xa41Y\xb7\xfe\x80$\x00\x00\x0b\x00 \x88\x05\x10q\xc5$\x03\x08BS\x00\xc1\x10\x80\x85!\x1c@@\x90\x80\x0c\x00@\x06\x91\x00&\x01\x11\x00\x00\x12\x01\xa4\x02\x08\x81\x82\x00\x04\x02B\x04\x00\x00B!\xc4\x00\x00HB\x01\x00\x00F\x08\x80\x10\x00\x02\x00\x00#@\x01\x00\x00\x1c@\x00\x00\x00@\x00h\x80C(\t\x00\x10\x00\x00@0\x8c\x04\x01 \x02\x11\x00@@\x80\x0e \x02\x80\x80\x00\x08\xd0\x10\xd4\x00@\x10\x12\x01!\x02D"\x9b\x7f\xe8\x02\x00\x04!\x08\x86 \x18\x01\x84 mU\x06B\x00\x00%\x00\x1e\x10a(\x00\x00\x85\x03\x11@@0\x84T \x12\x01\xa4P\x00\x00\x00\x91\n\x84\x02\x045\x01\x00\x01\x08\x12 \x00\x80\x86\x80\x00\x00\x02 \x08\x00\xd0!\x10\x04\x80\x00\x02\x00 \x12@0\x80\x10`\x02@$"H\xc5\x10\x03\x1d\x00\x08\x04\x84@\x18\x00\x04b\x08\t\x00\x10\r...\x00F\x1a\x00\x90\x01\x08\xd2\x11\x00\x00F@\x02\x00\x01\n\x04\x80I\x18\x82\x00@\x04\x08\x00\x10\r\x01\x1c\x00@\x01\x01 \x12\x10\xa0!\x88\xf7\xfe\x80 \x00@\x10\x00\x00\x06\xa0\x1e2\x80\xd4Y0\xc6\x81\x8a\xa3\x00 \x8e\x19\x00\x90\x0c\x02\x0cL\x03\xa2\x00\x00$\x00\x00\x00\x10\x01\x18@H\x00\x00I\x00\x10$\x02\xa8\x00\x00\x90\x84\x00\x02 \x0cU\x01 \x10\x00\x80\x00B\x91\x06\x80\x042\x80\x10\x00\x08\x920\xd4\x00\x01\x10\x00\x00!\x02D\x84\x08\x08\x8a\x02\x00$\x01\x00\x80\x01\x01\x01@\x08\x00\x00\x00\x12\x00\x80a\x88\x08\x00\x00\x00\x02@ \x88%\xd20\xc4\x04\x00HB\x90\x01\n@ \x00\x90\t\x00\x00\x00\x03H\x82@\x00\x01@@\x04\x04H\x10\x00\x00\x00\x00\x00\x00\x80\x08\x00\x00\xcf?\xf5\x00\x00\x10\x00\x00\x18\xa3\x80\x00\xa8\x00\x19"\x06\x90\x84\xa0\x14!\x19@D2\x80f\x10\xa0"\xa0\t!\x00@f\x01\x01\x00\x02\x10\x00\x00 \t\x00\x10$\x00\x02$\x8c\x11\x01\x00\x90\x04\x80\x00@\x11\x8c \x04\x08\x00\x90\t\x08\x82!\x03H\x01\x00\x00\x00\x00\x08\x04\x04(\x08`\x00\x00 \x08\x00\x00\t\x00\x11@@P\x00\x00\x12\x11 !\xa8\x80\x8c\x00\x04\x00B \x8c\x00\xc0!\x00\x00\x80HF\x01\x01\n\x00\x10\x80\x10\x00\x00@ \x00H\x02P\x12\x10@\x00\x04\x84h\x08B\x00\x00\x08\x00\x00\x00\t"\x02 \x08\x01\x00\x00\x10\x00\x00\x00\x00\x00\x00 $\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError __________________ test_zfp[float64-gray-out-new-mode1-None] ___________________ dtype = dtype('float64'), itype = 'gray', enout = 'out', deout = 'new' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x8b\x06:V\x7f\xf7\x87\xaf\x0e;1\xc7@\xe0\rq1\x04\xc3\x1a@8\x8e\x90\xc0@\x11\xa4c\xa9\x00\xd2\x00\x88\x02\x81\x8c\xa4 \x00\x10\x00\x00\x04\x01\x00\x01S\x00\x8c\x01\t\x00\x04\x00@\x03\x00\x00\x00\x84a\xa1\x00\x08@@\x04\x00A\x10\x8a\x80A\xa8\x08\x00\x80\x8c\x03B\x04\x0cp\x01 \x10\x00\x80HF\x80\x8e\xa0\x04\x02\x00\x80\t\x08@\x10\x94\x04@@\x00\x01\x01\x12D0A\x08\xa0\x02\x00 #H\x00\x89\x03\x1c@\x08\x04\x00 \x00\x10\x00\x00\xa0\x00\x00\x00\x00\x00\x004\x80A\x01\x00\x04\x00\x00\x00\x00\x00\x0e\x00\x00 \x00\x00\t\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0...0c\x02\x04\x00\x00`\x00\n@\x04\x01P\x18\x00\x00\x01\x02\x04@\x10H\x00\x00\x00"@\x85\x81!\x1d@H\x04\x84i\x12\x01 \x00\x08\t\x00\x90 \x00\x020\x80@\x00\x00P\x04\x00\x00\x06\x11\x08\x00\x04*\x00\x00\x01\x00\xc0 \x08BP\x10\x00\x01\x08\x00\x04@\x18j\x00@\x00\x01\x00\x00\x81\x03\x05\x00\x004\x00\x00\x10\x10$a\xa0\x01\x82\xa0 \x00B\x14\x84\x08\x92\x01\xd4\x04\x80@\x00\x01!\x00\x062\x80\x90\x01\x00\x00$ \x00\xc7P\x12\x1c@H\x00\x00`\x00\x02\x00\x02\x08\x00\x00\x90\x01 \x00\x00\x00@\x00\x00\x12\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[float64-gray-out-new-mode1-omp] ___________________ dtype = dtype('float64'), itype = 'gray', enout = 'out', deout = 'new' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x8b\x06:V\x7f\xf7\x87\xaf\x0e;1\xc7@\xe0\rq1\x04\xc3\x1a@8\x8e\x90\xc0@\x11\xa4c\xa9\x00\xd2\x00\x88\x02\x81\x8c\xa4 \x00\x10\x00\x00\x04\x01\x00\x01S\x00\x8c\x01\t\x00\x04\x00@\x03\x00\x00\x00\x84a\xa1\x00\x08@@\x04\x00A\x10\x8a\x80A\xa8\x08\x00\x80\x8c\x03B\x04\x0cp\x01 \x10\x00\x80HF\x80\x8e\xa0\x04\x02\x00\x80\t\x08@\x10\x94\x04@@\x00\x01\x01\x12D0A\x08\xa0\x02\x00 #H\x00\x89\x03\x1c@\x08\x04\x00 \x00\x10\x00\x00\xa0\x00\x00\x00\x00\x00\x004\x80A\x01\x00\x04\x00\x00\x00\x00\x00\x0e\x00\x00 \x00\x00\t\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0...0c\x02\x04\x00\x00`\x00\n@\x04\x01P\x18\x00\x00\x01\x02\x04@\x10H\x00\x00\x00"@\x85\x81!\x1d@H\x04\x84i\x12\x01 \x00\x08\t\x00\x90 \x00\x020\x80@\x00\x00P\x04\x00\x00\x06\x11\x08\x00\x04*\x00\x00\x01\x00\xc0 \x08BP\x10\x00\x01\x08\x00\x04@\x18j\x00@\x00\x01\x00\x00\x81\x03\x05\x00\x004\x00\x00\x10\x10$a\xa0\x01\x82\xa0 \x00B\x14\x84\x08\x92\x01\xd4\x04\x80@\x00\x01!\x00\x062\x80\x90\x01\x00\x00$ \x00\xc7P\x12\x1c@H\x00\x00`\x00\x02\x00\x02\x08\x00\x00\x90\x01 \x00\x00\x00@\x00\x00\x12\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError __________________ test_zfp[float64-gray-out-out-mode0-None] ___________________ dtype = dtype('float64'), itype = 'gray', enout = 'out', deout = 'out' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfzt\xb3\x8f\xfd\x88\x00\x01\xf0\x1c`\x18c\x80xp\x0c\x0e4\x80A\xa4\x03\x81 \x08\x06 \x98\x06a\x8e\x90\x00\x04!\x00\x03\x12\x00\x00\x00\x80\x80\x00\x80`\x18\xe0\x00\xc7\x10\x10\x00 \x18\x00\x84 \x00\x02\x00@\x04\x03\x00\x00\x89 \x1c\x00H\x04\x00\x00\x10\x11$\x00\x08\x08\x8e\x00$\x00\x000\x0c\x01\xd2\x00\x00\x00\x80HB\x01 \x08\x00 \x00\x90\x08\x08\x00$\x01\x00\x03\x10\x02\x00@@\x00\x00\x00\x18\x00\x02\x03\x80\x00\x00\x80\x81 \x1c4\x801\x01 \x12\x01\xa41Y\xb7\xfe\x80$\x00\x00\x0b\x00 \x88\x05\x10q\xc5$\x03\x08BS\x00\xc1\x10\x80\x85!\x1c@@\x90\x80\x0c\x00@\x06\x91\x00&\x01\x11\x00\x00\x12\x01\xa4\x02\x08\x81\x82\x00\x04\x02B\x04\x00\x00B!\xc4\x00\x00HB\x01\x00\x00F\x08\x80\x10\x00\x02\x00\x00#@\x01\x00\x00\x1c@\x00\x00\x00@\x00h\x80C(\t\x00\x10\x00\x00@0\x8c\x04\x01 \x02\x11\x00@@\x80\x0e \x02\x80\x80\x00\x08\xd0\x10\xd4\x00@\x10\x12\x01!\x02D"\x9b\x7f\xe8\x02\x00\x04!\x08\x86 \x18\x01\x84 mU\x06B\x00\x00%\x00\x1e\x10a(\x00\x00\x85\x03\x11@@0\x84T \x12\x01\xa4P\x00\x00\x00\x91\n\x84\x02\x045\x01\x00\x01\x08\x12 \x00\x80\x86\x80\x00\x00\x02 \x08\x00\xd0!\x10\x04\x80\x00\x02\x00 \x12@0\x80\x10`\x02@$"H\xc5\x10\x03\x1d\x00\x08\x04\x84@\x18\x00\x04b\x08\t\x00\x10\r...\x00F\x1a\x00\x90\x01\x08\xd2\x11\x00\x00F@\x02\x00\x01\n\x04\x80I\x18\x82\x00@\x04\x08\x00\x10\r\x01\x1c\x00@\x01\x01 \x12\x10\xa0!\x88\xf7\xfe\x80 \x00@\x10\x00\x00\x06\xa0\x1e2\x80\xd4Y0\xc6\x81\x8a\xa3\x00 \x8e\x19\x00\x90\x0c\x02\x0cL\x03\xa2\x00\x00$\x00\x00\x00\x10\x01\x18@H\x00\x00I\x00\x10$\x02\xa8\x00\x00\x90\x84\x00\x02 \x0cU\x01 \x10\x00\x80\x00B\x91\x06\x80\x042\x80\x10\x00\x08\x920\xd4\x00\x01\x10\x00\x00!\x02D\x84\x08\x08\x8a\x02\x00$\x01\x00\x80\x01\x01\x01@\x08\x00\x00\x00\x12\x00\x80a\x88\x08\x00\x00\x00\x02@ \x88%\xd20\xc4\x04\x00HB\x90\x01\n@ \x00\x90\t\x00\x00\x00\x03H\x82@\x00\x01@@\x04\x04H\x10\x00\x00\x00\x00\x00\x00\x80\x08\x00\x00\xcf?\xf5\x00\x00\x10\x00\x00\x18\xa3\x80\x00\xa8\x00\x19"\x06\x90\x84\xa0\x14!\x19@D2\x80f\x10\xa0"\xa0\t!\x00@f\x01\x01\x00\x02\x10\x00\x00 \t\x00\x10$\x00\x02$\x8c\x11\x01\x00\x90\x04\x80\x00@\x11\x8c \x04\x08\x00\x90\t\x08\x82!\x03H\x01\x00\x00\x00\x00\x08\x04\x04(\x08`\x00\x00 \x08\x00\x00\t\x00\x11@@P\x00\x00\x12\x11 !\xa8\x80\x8c\x00\x04\x00B \x8c\x00\xc0!\x00\x00\x80HF\x01\x01\n\x00\x10\x80\x10\x00\x00@ \x00H\x02P\x12\x10@\x00\x04\x84h\x08B\x00\x00\x08\x00\x00\x00\t"\x02 \x08\x01\x00\x00\x10\x00\x00\x00\x00\x00\x00 $\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[float64-gray-out-out-mode0-omp] ___________________ dtype = dtype('float64'), itype = 'gray', enout = 'out', deout = 'out' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfzt\xb3\x8f\xfd\x88\x00\x01\xf0\x1c`\x18c\x80xp\x0c\x0e4\x80A\xa4\x03\x81 \x08\x06 \x98\x06a\x8e\x90\x00\x04!\x00\x03\x12\x00\x00\x00\x80\x80\x00\x80`\x18\xe0\x00\xc7\x10\x10\x00 \x18\x00\x84 \x00\x02\x00@\x04\x03\x00\x00\x89 \x1c\x00H\x04\x00\x00\x10\x11$\x00\x08\x08\x8e\x00$\x00\x000\x0c\x01\xd2\x00\x00\x00\x80HB\x01 \x08\x00 \x00\x90\x08\x08\x00$\x01\x00\x03\x10\x02\x00@@\x00\x00\x00\x18\x00\x02\x03\x80\x00\x00\x80\x81 \x1c4\x801\x01 \x12\x01\xa41Y\xb7\xfe\x80$\x00\x00\x0b\x00 \x88\x05\x10q\xc5$\x03\x08BS\x00\xc1\x10\x80\x85!\x1c@@\x90\x80\x0c\x00@\x06\x91\x00&\x01\x11\x00\x00\x12\x01\xa4\x02\x08\x81\x82\x00\x04\x02B\x04\x00\x00B!\xc4\x00\x00HB\x01\x00\x00F\x08\x80\x10\x00\x02\x00\x00#@\x01\x00\x00\x1c@\x00\x00\x00@\x00h\x80C(\t\x00\x10\x00\x00@0\x8c\x04\x01 \x02\x11\x00@@\x80\x0e \x02\x80\x80\x00\x08\xd0\x10\xd4\x00@\x10\x12\x01!\x02D"\x9b\x7f\xe8\x02\x00\x04!\x08\x86 \x18\x01\x84 mU\x06B\x00\x00%\x00\x1e\x10a(\x00\x00\x85\x03\x11@@0\x84T \x12\x01\xa4P\x00\x00\x00\x91\n\x84\x02\x045\x01\x00\x01\x08\x12 \x00\x80\x86\x80\x00\x00\x02 \x08\x00\xd0!\x10\x04\x80\x00\x02\x00 \x12@0\x80\x10`\x02@$"H\xc5\x10\x03\x1d\x00\x08\x04\x84@\x18\x00\x04b\x08\t\x00\x10\r...\x00F\x1a\x00\x90\x01\x08\xd2\x11\x00\x00F@\x02\x00\x01\n\x04\x80I\x18\x82\x00@\x04\x08\x00\x10\r\x01\x1c\x00@\x01\x01 \x12\x10\xa0!\x88\xf7\xfe\x80 \x00@\x10\x00\x00\x06\xa0\x1e2\x80\xd4Y0\xc6\x81\x8a\xa3\x00 \x8e\x19\x00\x90\x0c\x02\x0cL\x03\xa2\x00\x00$\x00\x00\x00\x10\x01\x18@H\x00\x00I\x00\x10$\x02\xa8\x00\x00\x90\x84\x00\x02 \x0cU\x01 \x10\x00\x80\x00B\x91\x06\x80\x042\x80\x10\x00\x08\x920\xd4\x00\x01\x10\x00\x00!\x02D\x84\x08\x08\x8a\x02\x00$\x01\x00\x80\x01\x01\x01@\x08\x00\x00\x00\x12\x00\x80a\x88\x08\x00\x00\x00\x02@ \x88%\xd20\xc4\x04\x00HB\x90\x01\n@ \x00\x90\t\x00\x00\x00\x03H\x82@\x00\x01@@\x04\x04H\x10\x00\x00\x00\x00\x00\x00\x80\x08\x00\x00\xcf?\xf5\x00\x00\x10\x00\x00\x18\xa3\x80\x00\xa8\x00\x19"\x06\x90\x84\xa0\x14!\x19@D2\x80f\x10\xa0"\xa0\t!\x00@f\x01\x01\x00\x02\x10\x00\x00 \t\x00\x10$\x00\x02$\x8c\x11\x01\x00\x90\x04\x80\x00@\x11\x8c \x04\x08\x00\x90\t\x08\x82!\x03H\x01\x00\x00\x00\x00\x08\x04\x04(\x08`\x00\x00 \x08\x00\x00\t\x00\x11@@P\x00\x00\x12\x11 !\xa8\x80\x8c\x00\x04\x00B \x8c\x00\xc0!\x00\x00\x80HF\x01\x01\n\x00\x10\x80\x10\x00\x00@ \x00H\x02P\x12\x10@\x00\x04\x84h\x08B\x00\x00\x08\x00\x00\x00\t"\x02 \x08\x01\x00\x00\x10\x00\x00\x00\x00\x00\x00 $\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError __________________ test_zfp[float64-gray-out-out-mode1-None] ___________________ dtype = dtype('float64'), itype = 'gray', enout = 'out', deout = 'out' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x8b\x06:V\x7f\xf7\x87\xaf\x0e;1\xc7@\xe0\rq1\x04\xc3\x1a@8\x8e\x90\xc0@\x11\xa4c\xa9\x00\xd2\x00\x88\x02\x81\x8c\xa4 \x00\x10\x00\x00\x04\x01\x00\x01S\x00\x8c\x01\t\x00\x04\x00@\x03\x00\x00\x00\x84a\xa1\x00\x08@@\x04\x00A\x10\x8a\x80A\xa8\x08\x00\x80\x8c\x03B\x04\x0cp\x01 \x10\x00\x80HF\x80\x8e\xa0\x04\x02\x00\x80\t\x08@\x10\x94\x04@@\x00\x01\x01\x12D0A\x08\xa0\x02\x00 #H\x00\x89\x03\x1c@\x08\x04\x00 \x00\x10\x00\x00\xa0\x00\x00\x00\x00\x00\x004\x80A\x01\x00\x04\x00\x00\x00\x00\x00\x0e\x00\x00 \x00\x00\t\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0...0c\x02\x04\x00\x00`\x00\n@\x04\x01P\x18\x00\x00\x01\x02\x04@\x10H\x00\x00\x00"@\x85\x81!\x1d@H\x04\x84i\x12\x01 \x00\x08\t\x00\x90 \x00\x020\x80@\x00\x00P\x04\x00\x00\x06\x11\x08\x00\x04*\x00\x00\x01\x00\xc0 \x08BP\x10\x00\x01\x08\x00\x04@\x18j\x00@\x00\x01\x00\x00\x81\x03\x05\x00\x004\x00\x00\x10\x10$a\xa0\x01\x82\xa0 \x00B\x14\x84\x08\x92\x01\xd4\x04\x80@\x00\x01!\x00\x062\x80\x90\x01\x00\x00$ \x00\xc7P\x12\x1c@H\x00\x00`\x00\x02\x00\x02\x08\x00\x00\x90\x01 \x00\x00\x00@\x00\x00\x12\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[float64-gray-out-out-mode1-omp] ___________________ dtype = dtype('float64'), itype = 'gray', enout = 'out', deout = 'out' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x8b\x06:V\x7f\xf7\x87\xaf\x0e;1\xc7@\xe0\rq1\x04\xc3\x1a@8\x8e\x90\xc0@\x11\xa4c\xa9\x00\xd2\x00\x88\x02\x81\x8c\xa4 \x00\x10\x00\x00\x04\x01\x00\x01S\x00\x8c\x01\t\x00\x04\x00@\x03\x00\x00\x00\x84a\xa1\x00\x08@@\x04\x00A\x10\x8a\x80A\xa8\x08\x00\x80\x8c\x03B\x04\x0cp\x01 \x10\x00\x80HF\x80\x8e\xa0\x04\x02\x00\x80\t\x08@\x10\x94\x04@@\x00\x01\x01\x12D0A\x08\xa0\x02\x00 #H\x00\x89\x03\x1c@\x08\x04\x00 \x00\x10\x00\x00\xa0\x00\x00\x00\x00\x00\x004\x80A\x01\x00\x04\x00\x00\x00\x00\x00\x0e\x00\x00 \x00\x00\t\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0...0c\x02\x04\x00\x00`\x00\n@\x04\x01P\x18\x00\x00\x01\x02\x04@\x10H\x00\x00\x00"@\x85\x81!\x1d@H\x04\x84i\x12\x01 \x00\x08\t\x00\x90 \x00\x020\x80@\x00\x00P\x04\x00\x00\x06\x11\x08\x00\x04*\x00\x00\x01\x00\xc0 \x08BP\x10\x00\x01\x08\x00\x04@\x18j\x00@\x00\x01\x00\x00\x81\x03\x05\x00\x004\x00\x00\x10\x10$a\xa0\x01\x82\xa0 \x00B\x14\x84\x08\x92\x01\xd4\x04\x80@\x00\x01!\x00\x062\x80\x90\x01\x00\x00$ \x00\xc7P\x12\x1c@H\x00\x00`\x00\x02\x00\x02\x08\x00\x00\x90\x01 \x00\x00\x00@\x00\x00\x12\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _______________ test_zfp[float64-gray-out-bytearray-mode0-None] ________________ dtype = dtype('float64'), itype = 'gray', enout = 'out', deout = 'bytearray' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfzt\xb3\x8f\xfd\x88\x00\x01\xf0\x1c`\x18c\x80xp\x0c\x0e4\x80A\xa4\x03\x81 \x08\x06 \x98\x06a\x8e\x90\x00\x04!\x00\x03\x12\x00\x00\x00\x80\x80\x00\x80`\x18\xe0\x00\xc7\x10\x10\x00 \x18\x00\x84 \x00\x02\x00@\x04\x03\x00\x00\x89 \x1c\x00H\x04\x00\x00\x10\x11$\x00\x08\x08\x8e\x00$\x00\x000\x0c\x01\xd2\x00\x00\x00\x80HB\x01 \x08\x00 \x00\x90\x08\x08\x00$\x01\x00\x03\x10\x02\x00@@\x00\x00\x00\x18\x00\x02\x03\x80\x00\x00\x80\x81 \x1c4\x801\x01 \x12\x01\xa41Y\xb7\xfe\x80$\x00\x00\x0b\x00 \x88\x05\x10q\xc5$\x03\x08BS\x00\xc1\x10\x80\x85!\x1c@@\x90\x80\x0c\x00@\x06\x91\x00&\x01\x11\x00\x00\x12\x01\xa4\x02\x08\x81\x82\x00\x04\x02B\x04\x00\x00B!\xc4\x00\x00HB\x01\x00\x00F\x08\x80\x10\x00\x02\x00\x00#@\x01\x00\x00\x1c@\x00\x00\x00@\x00h\x80C(\t\x00\x10\x00\x00@0\x8c\x04\x01 \x02\x11\x00@@\x80\x0e \x02\x80\x80\x00\x08\xd0\x10\xd4\x00@\x10\x12\x01!\x02D"\x9b\x7f\xe8\x02\x00\x04!\x08\x86 \x18\x01\x84 mU\x06B\x00\x00%\x00\x1e\x10a(\x00\x00\x85\x03\x11@@0\x84T \x12\x01\xa4P\x00\x00\x00\x91\n\x84\x02\x045\x01\x00\x01\x08\x12 \x00\x80\x86\x80\x00\x00\x02 \x08\x00\xd0!\x10\x04\x80\x00\x02\x00 \x12@0\x80\x10`\x02@$"H\xc5\x10\x03\x1d\x00\x08\x04\x84@\x18\x00\x04b\x08\t\x00\x10\r...\x00F\x1a\x00\x90\x01\x08\xd2\x11\x00\x00F@\x02\x00\x01\n\x04\x80I\x18\x82\x00@\x04\x08\x00\x10\r\x01\x1c\x00@\x01\x01 \x12\x10\xa0!\x88\xf7\xfe\x80 \x00@\x10\x00\x00\x06\xa0\x1e2\x80\xd4Y0\xc6\x81\x8a\xa3\x00 \x8e\x19\x00\x90\x0c\x02\x0cL\x03\xa2\x00\x00$\x00\x00\x00\x10\x01\x18@H\x00\x00I\x00\x10$\x02\xa8\x00\x00\x90\x84\x00\x02 \x0cU\x01 \x10\x00\x80\x00B\x91\x06\x80\x042\x80\x10\x00\x08\x920\xd4\x00\x01\x10\x00\x00!\x02D\x84\x08\x08\x8a\x02\x00$\x01\x00\x80\x01\x01\x01@\x08\x00\x00\x00\x12\x00\x80a\x88\x08\x00\x00\x00\x02@ \x88%\xd20\xc4\x04\x00HB\x90\x01\n@ \x00\x90\t\x00\x00\x00\x03H\x82@\x00\x01@@\x04\x04H\x10\x00\x00\x00\x00\x00\x00\x80\x08\x00\x00\xcf?\xf5\x00\x00\x10\x00\x00\x18\xa3\x80\x00\xa8\x00\x19"\x06\x90\x84\xa0\x14!\x19@D2\x80f\x10\xa0"\xa0\t!\x00@f\x01\x01\x00\x02\x10\x00\x00 \t\x00\x10$\x00\x02$\x8c\x11\x01\x00\x90\x04\x80\x00@\x11\x8c \x04\x08\x00\x90\t\x08\x82!\x03H\x01\x00\x00\x00\x00\x08\x04\x04(\x08`\x00\x00 \x08\x00\x00\t\x00\x11@@P\x00\x00\x12\x11 !\xa8\x80\x8c\x00\x04\x00B \x8c\x00\xc0!\x00\x00\x80HF\x01\x01\n\x00\x10\x80\x10\x00\x00@ \x00H\x02P\x12\x10@\x00\x04\x84h\x08B\x00\x00\x08\x00\x00\x00\t"\x02 \x08\x01\x00\x00\x10\x00\x00\x00\x00\x00\x00 $\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[float64-gray-out-bytearray-mode0-omp] ________________ dtype = dtype('float64'), itype = 'gray', enout = 'out', deout = 'bytearray' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfzt\xb3\x8f\xfd\x88\x00\x01\xf0\x1c`\x18c\x80xp\x0c\x0e4\x80A\xa4\x03\x81 \x08\x06 \x98\x06a\x8e\x90\x00\x04!\x00\x03\x12\x00\x00\x00\x80\x80\x00\x80`\x18\xe0\x00\xc7\x10\x10\x00 \x18\x00\x84 \x00\x02\x00@\x04\x03\x00\x00\x89 \x1c\x00H\x04\x00\x00\x10\x11$\x00\x08\x08\x8e\x00$\x00\x000\x0c\x01\xd2\x00\x00\x00\x80HB\x01 \x08\x00 \x00\x90\x08\x08\x00$\x01\x00\x03\x10\x02\x00@@\x00\x00\x00\x18\x00\x02\x03\x80\x00\x00\x80\x81 \x1c4\x801\x01 \x12\x01\xa41Y\xb7\xfe\x80$\x00\x00\x0b\x00 \x88\x05\x10q\xc5$\x03\x08BS\x00\xc1\x10\x80\x85!\x1c@@\x90\x80\x0c\x00@\x06\x91\x00&\x01\x11\x00\x00\x12\x01\xa4\x02\x08\x81\x82\x00\x04\x02B\x04\x00\x00B!\xc4\x00\x00HB\x01\x00\x00F\x08\x80\x10\x00\x02\x00\x00#@\x01\x00\x00\x1c@\x00\x00\x00@\x00h\x80C(\t\x00\x10\x00\x00@0\x8c\x04\x01 \x02\x11\x00@@\x80\x0e \x02\x80\x80\x00\x08\xd0\x10\xd4\x00@\x10\x12\x01!\x02D"\x9b\x7f\xe8\x02\x00\x04!\x08\x86 \x18\x01\x84 mU\x06B\x00\x00%\x00\x1e\x10a(\x00\x00\x85\x03\x11@@0\x84T \x12\x01\xa4P\x00\x00\x00\x91\n\x84\x02\x045\x01\x00\x01\x08\x12 \x00\x80\x86\x80\x00\x00\x02 \x08\x00\xd0!\x10\x04\x80\x00\x02\x00 \x12@0\x80\x10`\x02@$"H\xc5\x10\x03\x1d\x00\x08\x04\x84@\x18\x00\x04b\x08\t\x00\x10\r...\x00F\x1a\x00\x90\x01\x08\xd2\x11\x00\x00F@\x02\x00\x01\n\x04\x80I\x18\x82\x00@\x04\x08\x00\x10\r\x01\x1c\x00@\x01\x01 \x12\x10\xa0!\x88\xf7\xfe\x80 \x00@\x10\x00\x00\x06\xa0\x1e2\x80\xd4Y0\xc6\x81\x8a\xa3\x00 \x8e\x19\x00\x90\x0c\x02\x0cL\x03\xa2\x00\x00$\x00\x00\x00\x10\x01\x18@H\x00\x00I\x00\x10$\x02\xa8\x00\x00\x90\x84\x00\x02 \x0cU\x01 \x10\x00\x80\x00B\x91\x06\x80\x042\x80\x10\x00\x08\x920\xd4\x00\x01\x10\x00\x00!\x02D\x84\x08\x08\x8a\x02\x00$\x01\x00\x80\x01\x01\x01@\x08\x00\x00\x00\x12\x00\x80a\x88\x08\x00\x00\x00\x02@ \x88%\xd20\xc4\x04\x00HB\x90\x01\n@ \x00\x90\t\x00\x00\x00\x03H\x82@\x00\x01@@\x04\x04H\x10\x00\x00\x00\x00\x00\x00\x80\x08\x00\x00\xcf?\xf5\x00\x00\x10\x00\x00\x18\xa3\x80\x00\xa8\x00\x19"\x06\x90\x84\xa0\x14!\x19@D2\x80f\x10\xa0"\xa0\t!\x00@f\x01\x01\x00\x02\x10\x00\x00 \t\x00\x10$\x00\x02$\x8c\x11\x01\x00\x90\x04\x80\x00@\x11\x8c \x04\x08\x00\x90\t\x08\x82!\x03H\x01\x00\x00\x00\x00\x08\x04\x04(\x08`\x00\x00 \x08\x00\x00\t\x00\x11@@P\x00\x00\x12\x11 !\xa8\x80\x8c\x00\x04\x00B \x8c\x00\xc0!\x00\x00\x80HF\x01\x01\n\x00\x10\x80\x10\x00\x00@ \x00H\x02P\x12\x10@\x00\x04\x84h\x08B\x00\x00\x08\x00\x00\x00\t"\x02 \x08\x01\x00\x00\x10\x00\x00\x00\x00\x00\x00 $\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _______________ test_zfp[float64-gray-out-bytearray-mode1-None] ________________ dtype = dtype('float64'), itype = 'gray', enout = 'out', deout = 'bytearray' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x8b\x06:V\x7f\xf7\x87\xaf\x0e;1\xc7@\xe0\rq1\x04\xc3\x1a@8\x8e\x90\xc0@\x11\xa4c\xa9\x00\xd2\x00\x88\x02\x81\x8c\xa4 \x00\x10\x00\x00\x04\x01\x00\x01S\x00\x8c\x01\t\x00\x04\x00@\x03\x00\x00\x00\x84a\xa1\x00\x08@@\x04\x00A\x10\x8a\x80A\xa8\x08\x00\x80\x8c\x03B\x04\x0cp\x01 \x10\x00\x80HF\x80\x8e\xa0\x04\x02\x00\x80\t\x08@\x10\x94\x04@@\x00\x01\x01\x12D0A\x08\xa0\x02\x00 #H\x00\x89\x03\x1c@\x08\x04\x00 \x00\x10\x00\x00\xa0\x00\x00\x00\x00\x00\x004\x80A\x01\x00\x04\x00\x00\x00\x00\x00\x0e\x00\x00 \x00\x00\t\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0...0c\x02\x04\x00\x00`\x00\n@\x04\x01P\x18\x00\x00\x01\x02\x04@\x10H\x00\x00\x00"@\x85\x81!\x1d@H\x04\x84i\x12\x01 \x00\x08\t\x00\x90 \x00\x020\x80@\x00\x00P\x04\x00\x00\x06\x11\x08\x00\x04*\x00\x00\x01\x00\xc0 \x08BP\x10\x00\x01\x08\x00\x04@\x18j\x00@\x00\x01\x00\x00\x81\x03\x05\x00\x004\x00\x00\x10\x10$a\xa0\x01\x82\xa0 \x00B\x14\x84\x08\x92\x01\xd4\x04\x80@\x00\x01!\x00\x062\x80\x90\x01\x00\x00$ \x00\xc7P\x12\x1c@H\x00\x00`\x00\x02\x00\x02\x08\x00\x00\x90\x01 \x00\x00\x00@\x00\x00\x12\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[float64-gray-out-bytearray-mode1-omp] ________________ dtype = dtype('float64'), itype = 'gray', enout = 'out', deout = 'bytearray' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x8b\x06:V\x7f\xf7\x87\xaf\x0e;1\xc7@\xe0\rq1\x04\xc3\x1a@8\x8e\x90\xc0@\x11\xa4c\xa9\x00\xd2\x00\x88\x02\x81\x8c\xa4 \x00\x10\x00\x00\x04\x01\x00\x01S\x00\x8c\x01\t\x00\x04\x00@\x03\x00\x00\x00\x84a\xa1\x00\x08@@\x04\x00A\x10\x8a\x80A\xa8\x08\x00\x80\x8c\x03B\x04\x0cp\x01 \x10\x00\x80HF\x80\x8e\xa0\x04\x02\x00\x80\t\x08@\x10\x94\x04@@\x00\x01\x01\x12D0A\x08\xa0\x02\x00 #H\x00\x89\x03\x1c@\x08\x04\x00 \x00\x10\x00\x00\xa0\x00\x00\x00\x00\x00\x004\x80A\x01\x00\x04\x00\x00\x00\x00\x00\x0e\x00\x00 \x00\x00\t\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0...0c\x02\x04\x00\x00`\x00\n@\x04\x01P\x18\x00\x00\x01\x02\x04@\x10H\x00\x00\x00"@\x85\x81!\x1d@H\x04\x84i\x12\x01 \x00\x08\t\x00\x90 \x00\x020\x80@\x00\x00P\x04\x00\x00\x06\x11\x08\x00\x04*\x00\x00\x01\x00\xc0 \x08BP\x10\x00\x01\x08\x00\x04@\x18j\x00@\x00\x01\x00\x00\x81\x03\x05\x00\x004\x00\x00\x10\x10$a\xa0\x01\x82\xa0 \x00B\x14\x84\x08\x92\x01\xd4\x04\x80@\x00\x01!\x00\x062\x80\x90\x01\x00\x00$ \x00\xc7P\x12\x1c@H\x00\x00`\x00\x02\x00\x02\x08\x00\x00\x90\x01 \x00\x00\x00@\x00\x00\x12\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _______________ test_zfp[float64-gray-bytearray-new-mode0-None] ________________ dtype = dtype('float64'), itype = 'gray', enout = 'bytearray', deout = 'new' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfzt\xb3\x8f\xfd\x88\x00\x01\xf0\x1c`\x18c\x80xp\x0c\x0e4\x80A\xa4\x03\x81 \x08\x06 \x98\x06a\x8e\x90\x00\x04!\x00\x03\x12\x00\x00\x00\x80\x80\x00\x80`\x18\xe0\x00\xc7\x10\x10\x00 \x18\x00\x84 \x00\x02\x00@\x04\x03\x00\x00\x89 \x1c\x00H\x04\x00\x00\x10\x11$\x00\x08\x08\x8e\x00$\x00\x000\x0c\x01\xd2\x00\x00\x00\x80HB\x01 \x08\x00 \x00\x90\x08\x08\x00$\x01\x00\x03\x10\x02\x00@@\x00\x00\x00\x18\x00\x02\x03\x80\x00\x00\x80\x81 \x1c4\x801\x01 \x12\x01\xa41Y\xb7\xfe\x80$\x00\x00\x0b\x00 \x88\x05\x10q\xc5$\x03\x08BS\x00\xc1\x10\x80\x85!\x1c@@\x90\x80\x0c\x00@\x06\x91\x00&\x01\x11\x00\x00\x12\x01\xa4\x02\x08\x81\x82\x00\x04\x02B\x04\x00\x00B!\xc4\x00\x00HB\x01\x00\x00F\x08\x80\x10\x00\x02\x00\x00#@\x01\x00\x00\x1c@\x00\x00\x00@\x00h\x80C(\t\x00\x10\x00\x00@0\x8c\x04\x01 \x02\x11\x00@@\x80\x0e \x02\x80\x80\x00\x08\xd0\x10\xd4\x00@\x10\x12\x01!\x02D"\x9b\x7f\xe8\x02\x00\x04!\x08\x86 \x18\x01\x84 mU\x06B\x00\x00%\x00\x1e\x10a(\x00\x00\x85\x03\x11@@0\x84T \x12\x01\xa4P\x00\x00\x00\x91\n\x84\x02\x045\x01\x00\x01\x08\x12 \x00\x80\x86\x80\x00\x00\x02 \x08\x00\xd0!\x10\x04\x80\x00\x02\x00 \x12@0\x80\x10`\x02@$"H\xc5\x10\x03\x1d\x00\x08\x04\x84@\x18\x00\x04b\x08\t\x00\x10\r...\x00F\x1a\x00\x90\x01\x08\xd2\x11\x00\x00F@\x02\x00\x01\n\x04\x80I\x18\x82\x00@\x04\x08\x00\x10\r\x01\x1c\x00@\x01\x01 \x12\x10\xa0!\x88\xf7\xfe\x80 \x00@\x10\x00\x00\x06\xa0\x1e2\x80\xd4Y0\xc6\x81\x8a\xa3\x00 \x8e\x19\x00\x90\x0c\x02\x0cL\x03\xa2\x00\x00$\x00\x00\x00\x10\x01\x18@H\x00\x00I\x00\x10$\x02\xa8\x00\x00\x90\x84\x00\x02 \x0cU\x01 \x10\x00\x80\x00B\x91\x06\x80\x042\x80\x10\x00\x08\x920\xd4\x00\x01\x10\x00\x00!\x02D\x84\x08\x08\x8a\x02\x00$\x01\x00\x80\x01\x01\x01@\x08\x00\x00\x00\x12\x00\x80a\x88\x08\x00\x00\x00\x02@ \x88%\xd20\xc4\x04\x00HB\x90\x01\n@ \x00\x90\t\x00\x00\x00\x03H\x82@\x00\x01@@\x04\x04H\x10\x00\x00\x00\x00\x00\x00\x80\x08\x00\x00\xcf?\xf5\x00\x00\x10\x00\x00\x18\xa3\x80\x00\xa8\x00\x19"\x06\x90\x84\xa0\x14!\x19@D2\x80f\x10\xa0"\xa0\t!\x00@f\x01\x01\x00\x02\x10\x00\x00 \t\x00\x10$\x00\x02$\x8c\x11\x01\x00\x90\x04\x80\x00@\x11\x8c \x04\x08\x00\x90\t\x08\x82!\x03H\x01\x00\x00\x00\x00\x08\x04\x04(\x08`\x00\x00 \x08\x00\x00\t\x00\x11@@P\x00\x00\x12\x11 !\xa8\x80\x8c\x00\x04\x00B \x8c\x00\xc0!\x00\x00\x80HF\x01\x01\n\x00\x10\x80\x10\x00\x00@ \x00H\x02P\x12\x10@\x00\x04\x84h\x08B\x00\x00\x08\x00\x00\x00\t"\x02 \x08\x01\x00\x00\x10\x00\x00\x00\x00\x00\x00 $\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[float64-gray-bytearray-new-mode0-omp] ________________ dtype = dtype('float64'), itype = 'gray', enout = 'bytearray', deout = 'new' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfzt\xb3\x8f\xfd\x88\x00\x01\xf0\x1c`\x18c\x80xp\x0c\x0e4\x80A\xa4\x03\x81 \x08\x06 \x98\x06a\x8e\x90\x00\x04!\x00\x03\x12\x00\x00\x00\x80\x80\x00\x80`\x18\xe0\x00\xc7\x10\x10\x00 \x18\x00\x84 \x00\x02\x00@\x04\x03\x00\x00\x89 \x1c\x00H\x04\x00\x00\x10\x11$\x00\x08\x08\x8e\x00$\x00\x000\x0c\x01\xd2\x00\x00\x00\x80HB\x01 \x08\x00 \x00\x90\x08\x08\x00$\x01\x00\x03\x10\x02\x00@@\x00\x00\x00\x18\x00\x02\x03\x80\x00\x00\x80\x81 \x1c4\x801\x01 \x12\x01\xa41Y\xb7\xfe\x80$\x00\x00\x0b\x00 \x88\x05\x10q\xc5$\x03\x08BS\x00\xc1\x10\x80\x85!\x1c@@\x90\x80\x0c\x00@\x06\x91\x00&\x01\x11\x00\x00\x12\x01\xa4\x02\x08\x81\x82\x00\x04\x02B\x04\x00\x00B!\xc4\x00\x00HB\x01\x00\x00F\x08\x80\x10\x00\x02\x00\x00#@\x01\x00\x00\x1c@\x00\x00\x00@\x00h\x80C(\t\x00\x10\x00\x00@0\x8c\x04\x01 \x02\x11\x00@@\x80\x0e \x02\x80\x80\x00\x08\xd0\x10\xd4\x00@\x10\x12\x01!\x02D"\x9b\x7f\xe8\x02\x00\x04!\x08\x86 \x18\x01\x84 mU\x06B\x00\x00%\x00\x1e\x10a(\x00\x00\x85\x03\x11@@0\x84T \x12\x01\xa4P\x00\x00\x00\x91\n\x84\x02\x045\x01\x00\x01\x08\x12 \x00\x80\x86\x80\x00\x00\x02 \x08\x00\xd0!\x10\x04\x80\x00\x02\x00 \x12@0\x80\x10`\x02@$"H\xc5\x10\x03\x1d\x00\x08\x04\x84@\x18\x00\x04b\x08\t\x00\x10\r...\x00F\x1a\x00\x90\x01\x08\xd2\x11\x00\x00F@\x02\x00\x01\n\x04\x80I\x18\x82\x00@\x04\x08\x00\x10\r\x01\x1c\x00@\x01\x01 \x12\x10\xa0!\x88\xf7\xfe\x80 \x00@\x10\x00\x00\x06\xa0\x1e2\x80\xd4Y0\xc6\x81\x8a\xa3\x00 \x8e\x19\x00\x90\x0c\x02\x0cL\x03\xa2\x00\x00$\x00\x00\x00\x10\x01\x18@H\x00\x00I\x00\x10$\x02\xa8\x00\x00\x90\x84\x00\x02 \x0cU\x01 \x10\x00\x80\x00B\x91\x06\x80\x042\x80\x10\x00\x08\x920\xd4\x00\x01\x10\x00\x00!\x02D\x84\x08\x08\x8a\x02\x00$\x01\x00\x80\x01\x01\x01@\x08\x00\x00\x00\x12\x00\x80a\x88\x08\x00\x00\x00\x02@ \x88%\xd20\xc4\x04\x00HB\x90\x01\n@ \x00\x90\t\x00\x00\x00\x03H\x82@\x00\x01@@\x04\x04H\x10\x00\x00\x00\x00\x00\x00\x80\x08\x00\x00\xcf?\xf5\x00\x00\x10\x00\x00\x18\xa3\x80\x00\xa8\x00\x19"\x06\x90\x84\xa0\x14!\x19@D2\x80f\x10\xa0"\xa0\t!\x00@f\x01\x01\x00\x02\x10\x00\x00 \t\x00\x10$\x00\x02$\x8c\x11\x01\x00\x90\x04\x80\x00@\x11\x8c \x04\x08\x00\x90\t\x08\x82!\x03H\x01\x00\x00\x00\x00\x08\x04\x04(\x08`\x00\x00 \x08\x00\x00\t\x00\x11@@P\x00\x00\x12\x11 !\xa8\x80\x8c\x00\x04\x00B \x8c\x00\xc0!\x00\x00\x80HF\x01\x01\n\x00\x10\x80\x10\x00\x00@ \x00H\x02P\x12\x10@\x00\x04\x84h\x08B\x00\x00\x08\x00\x00\x00\t"\x02 \x08\x01\x00\x00\x10\x00\x00\x00\x00\x00\x00 $\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _______________ test_zfp[float64-gray-bytearray-new-mode1-None] ________________ dtype = dtype('float64'), itype = 'gray', enout = 'bytearray', deout = 'new' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x8b\x06:V\x7f\xf7\x87\xaf\x0e;1\xc7@\xe0\rq1\x04\xc3\x1a@8\x8e\x90\xc0@\x11\xa4c\xa9\x00\xd2\x00\x88\x02\x81\x8c\xa4 \x00\x10\x00\x00\x04\x01\x00\x01S\x00\x8c\x01\t\x00\x04\x00@\x03\x00\x00\x00\x84a\xa1\x00\x08@@\x04\x00A\x10\x8a\x80A\xa8\x08\x00\x80\x8c\x03B\x04\x0cp\x01 \x10\x00\x80HF\x80\x8e\xa0\x04\x02\x00\x80\t\x08@\x10\x94\x04@@\x00\x01\x01\x12D0A\x08\xa0\x02\x00 #H\x00\x89\x03\x1c@\x08\x04\x00 \x00\x10\x00\x00\xa0\x00\x00\x00\x00\x00\x004\x80A\x01\x00\x04\x00\x00\x00\x00\x00\x0e\x00\x00 \x00\x00\t\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0...0c\x02\x04\x00\x00`\x00\n@\x04\x01P\x18\x00\x00\x01\x02\x04@\x10H\x00\x00\x00"@\x85\x81!\x1d@H\x04\x84i\x12\x01 \x00\x08\t\x00\x90 \x00\x020\x80@\x00\x00P\x04\x00\x00\x06\x11\x08\x00\x04*\x00\x00\x01\x00\xc0 \x08BP\x10\x00\x01\x08\x00\x04@\x18j\x00@\x00\x01\x00\x00\x81\x03\x05\x00\x004\x00\x00\x10\x10$a\xa0\x01\x82\xa0 \x00B\x14\x84\x08\x92\x01\xd4\x04\x80@\x00\x01!\x00\x062\x80\x90\x01\x00\x00$ \x00\xc7P\x12\x1c@H\x00\x00`\x00\x02\x00\x02\x08\x00\x00\x90\x01 \x00\x00\x00@\x00\x00\x12\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[float64-gray-bytearray-new-mode1-omp] ________________ dtype = dtype('float64'), itype = 'gray', enout = 'bytearray', deout = 'new' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x8b\x06:V\x7f\xf7\x87\xaf\x0e;1\xc7@\xe0\rq1\x04\xc3\x1a@8\x8e\x90\xc0@\x11\xa4c\xa9\x00\xd2\x00\x88\x02\x81\x8c\xa4 \x00\x10\x00\x00\x04\x01\x00\x01S\x00\x8c\x01\t\x00\x04\x00@\x03\x00\x00\x00\x84a\xa1\x00\x08@@\x04\x00A\x10\x8a\x80A\xa8\x08\x00\x80\x8c\x03B\x04\x0cp\x01 \x10\x00\x80HF\x80\x8e\xa0\x04\x02\x00\x80\t\x08@\x10\x94\x04@@\x00\x01\x01\x12D0A\x08\xa0\x02\x00 #H\x00\x89\x03\x1c@\x08\x04\x00 \x00\x10\x00\x00\xa0\x00\x00\x00\x00\x00\x004\x80A\x01\x00\x04\x00\x00\x00\x00\x00\x0e\x00\x00 \x00\x00\t\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0...0c\x02\x04\x00\x00`\x00\n@\x04\x01P\x18\x00\x00\x01\x02\x04@\x10H\x00\x00\x00"@\x85\x81!\x1d@H\x04\x84i\x12\x01 \x00\x08\t\x00\x90 \x00\x020\x80@\x00\x00P\x04\x00\x00\x06\x11\x08\x00\x04*\x00\x00\x01\x00\xc0 \x08BP\x10\x00\x01\x08\x00\x04@\x18j\x00@\x00\x01\x00\x00\x81\x03\x05\x00\x004\x00\x00\x10\x10$a\xa0\x01\x82\xa0 \x00B\x14\x84\x08\x92\x01\xd4\x04\x80@\x00\x01!\x00\x062\x80\x90\x01\x00\x00$ \x00\xc7P\x12\x1c@H\x00\x00`\x00\x02\x00\x02\x08\x00\x00\x90\x01 \x00\x00\x00@\x00\x00\x12\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _______________ test_zfp[float64-gray-bytearray-out-mode0-None] ________________ dtype = dtype('float64'), itype = 'gray', enout = 'bytearray', deout = 'out' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfzt\xb3\x8f\xfd\x88\x00\x01\xf0\x1c`\x18c\x80xp\x0c\x0e4\x80A\xa4\x03\x81 \x08\x06 \x98\x06a\x8e\x90\x00\x04!\x00\x03\x12\x00\x00\x00\x80\x80\x00\x80`\x18\xe0\x00\xc7\x10\x10\x00 \x18\x00\x84 \x00\x02\x00@\x04\x03\x00\x00\x89 \x1c\x00H\x04\x00\x00\x10\x11$\x00\x08\x08\x8e\x00$\x00\x000\x0c\x01\xd2\x00\x00\x00\x80HB\x01 \x08\x00 \x00\x90\x08\x08\x00$\x01\x00\x03\x10\x02\x00@@\x00\x00\x00\x18\x00\x02\x03\x80\x00\x00\x80\x81 \x1c4\x801\x01 \x12\x01\xa41Y\xb7\xfe\x80$\x00\x00\x0b\x00 \x88\x05\x10q\xc5$\x03\x08BS\x00\xc1\x10\x80\x85!\x1c@@\x90\x80\x0c\x00@\x06\x91\x00&\x01\x11\x00\x00\x12\x01\xa4\x02\x08\x81\x82\x00\x04\x02B\x04\x00\x00B!\xc4\x00\x00HB\x01\x00\x00F\x08\x80\x10\x00\x02\x00\x00#@\x01\x00\x00\x1c@\x00\x00\x00@\x00h\x80C(\t\x00\x10\x00\x00@0\x8c\x04\x01 \x02\x11\x00@@\x80\x0e \x02\x80\x80\x00\x08\xd0\x10\xd4\x00@\x10\x12\x01!\x02D"\x9b\x7f\xe8\x02\x00\x04!\x08\x86 \x18\x01\x84 mU\x06B\x00\x00%\x00\x1e\x10a(\x00\x00\x85\x03\x11@@0\x84T \x12\x01\xa4P\x00\x00\x00\x91\n\x84\x02\x045\x01\x00\x01\x08\x12 \x00\x80\x86\x80\x00\x00\x02 \x08\x00\xd0!\x10\x04\x80\x00\x02\x00 \x12@0\x80\x10`\x02@$"H\xc5\x10\x03\x1d\x00\x08\x04\x84@\x18\x00\x04b\x08\t\x00\x10\r...\x00F\x1a\x00\x90\x01\x08\xd2\x11\x00\x00F@\x02\x00\x01\n\x04\x80I\x18\x82\x00@\x04\x08\x00\x10\r\x01\x1c\x00@\x01\x01 \x12\x10\xa0!\x88\xf7\xfe\x80 \x00@\x10\x00\x00\x06\xa0\x1e2\x80\xd4Y0\xc6\x81\x8a\xa3\x00 \x8e\x19\x00\x90\x0c\x02\x0cL\x03\xa2\x00\x00$\x00\x00\x00\x10\x01\x18@H\x00\x00I\x00\x10$\x02\xa8\x00\x00\x90\x84\x00\x02 \x0cU\x01 \x10\x00\x80\x00B\x91\x06\x80\x042\x80\x10\x00\x08\x920\xd4\x00\x01\x10\x00\x00!\x02D\x84\x08\x08\x8a\x02\x00$\x01\x00\x80\x01\x01\x01@\x08\x00\x00\x00\x12\x00\x80a\x88\x08\x00\x00\x00\x02@ \x88%\xd20\xc4\x04\x00HB\x90\x01\n@ \x00\x90\t\x00\x00\x00\x03H\x82@\x00\x01@@\x04\x04H\x10\x00\x00\x00\x00\x00\x00\x80\x08\x00\x00\xcf?\xf5\x00\x00\x10\x00\x00\x18\xa3\x80\x00\xa8\x00\x19"\x06\x90\x84\xa0\x14!\x19@D2\x80f\x10\xa0"\xa0\t!\x00@f\x01\x01\x00\x02\x10\x00\x00 \t\x00\x10$\x00\x02$\x8c\x11\x01\x00\x90\x04\x80\x00@\x11\x8c \x04\x08\x00\x90\t\x08\x82!\x03H\x01\x00\x00\x00\x00\x08\x04\x04(\x08`\x00\x00 \x08\x00\x00\t\x00\x11@@P\x00\x00\x12\x11 !\xa8\x80\x8c\x00\x04\x00B \x8c\x00\xc0!\x00\x00\x80HF\x01\x01\n\x00\x10\x80\x10\x00\x00@ \x00H\x02P\x12\x10@\x00\x04\x84h\x08B\x00\x00\x08\x00\x00\x00\t"\x02 \x08\x01\x00\x00\x10\x00\x00\x00\x00\x00\x00 $\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[float64-gray-bytearray-out-mode0-omp] ________________ dtype = dtype('float64'), itype = 'gray', enout = 'bytearray', deout = 'out' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfzt\xb3\x8f\xfd\x88\x00\x01\xf0\x1c`\x18c\x80xp\x0c\x0e4\x80A\xa4\x03\x81 \x08\x06 \x98\x06a\x8e\x90\x00\x04!\x00\x03\x12\x00\x00\x00\x80\x80\x00\x80`\x18\xe0\x00\xc7\x10\x10\x00 \x18\x00\x84 \x00\x02\x00@\x04\x03\x00\x00\x89 \x1c\x00H\x04\x00\x00\x10\x11$\x00\x08\x08\x8e\x00$\x00\x000\x0c\x01\xd2\x00\x00\x00\x80HB\x01 \x08\x00 \x00\x90\x08\x08\x00$\x01\x00\x03\x10\x02\x00@@\x00\x00\x00\x18\x00\x02\x03\x80\x00\x00\x80\x81 \x1c4\x801\x01 \x12\x01\xa41Y\xb7\xfe\x80$\x00\x00\x0b\x00 \x88\x05\x10q\xc5$\x03\x08BS\x00\xc1\x10\x80\x85!\x1c@@\x90\x80\x0c\x00@\x06\x91\x00&\x01\x11\x00\x00\x12\x01\xa4\x02\x08\x81\x82\x00\x04\x02B\x04\x00\x00B!\xc4\x00\x00HB\x01\x00\x00F\x08\x80\x10\x00\x02\x00\x00#@\x01\x00\x00\x1c@\x00\x00\x00@\x00h\x80C(\t\x00\x10\x00\x00@0\x8c\x04\x01 \x02\x11\x00@@\x80\x0e \x02\x80\x80\x00\x08\xd0\x10\xd4\x00@\x10\x12\x01!\x02D"\x9b\x7f\xe8\x02\x00\x04!\x08\x86 \x18\x01\x84 mU\x06B\x00\x00%\x00\x1e\x10a(\x00\x00\x85\x03\x11@@0\x84T \x12\x01\xa4P\x00\x00\x00\x91\n\x84\x02\x045\x01\x00\x01\x08\x12 \x00\x80\x86\x80\x00\x00\x02 \x08\x00\xd0!\x10\x04\x80\x00\x02\x00 \x12@0\x80\x10`\x02@$"H\xc5\x10\x03\x1d\x00\x08\x04\x84@\x18\x00\x04b\x08\t\x00\x10\r...\x00F\x1a\x00\x90\x01\x08\xd2\x11\x00\x00F@\x02\x00\x01\n\x04\x80I\x18\x82\x00@\x04\x08\x00\x10\r\x01\x1c\x00@\x01\x01 \x12\x10\xa0!\x88\xf7\xfe\x80 \x00@\x10\x00\x00\x06\xa0\x1e2\x80\xd4Y0\xc6\x81\x8a\xa3\x00 \x8e\x19\x00\x90\x0c\x02\x0cL\x03\xa2\x00\x00$\x00\x00\x00\x10\x01\x18@H\x00\x00I\x00\x10$\x02\xa8\x00\x00\x90\x84\x00\x02 \x0cU\x01 \x10\x00\x80\x00B\x91\x06\x80\x042\x80\x10\x00\x08\x920\xd4\x00\x01\x10\x00\x00!\x02D\x84\x08\x08\x8a\x02\x00$\x01\x00\x80\x01\x01\x01@\x08\x00\x00\x00\x12\x00\x80a\x88\x08\x00\x00\x00\x02@ \x88%\xd20\xc4\x04\x00HB\x90\x01\n@ \x00\x90\t\x00\x00\x00\x03H\x82@\x00\x01@@\x04\x04H\x10\x00\x00\x00\x00\x00\x00\x80\x08\x00\x00\xcf?\xf5\x00\x00\x10\x00\x00\x18\xa3\x80\x00\xa8\x00\x19"\x06\x90\x84\xa0\x14!\x19@D2\x80f\x10\xa0"\xa0\t!\x00@f\x01\x01\x00\x02\x10\x00\x00 \t\x00\x10$\x00\x02$\x8c\x11\x01\x00\x90\x04\x80\x00@\x11\x8c \x04\x08\x00\x90\t\x08\x82!\x03H\x01\x00\x00\x00\x00\x08\x04\x04(\x08`\x00\x00 \x08\x00\x00\t\x00\x11@@P\x00\x00\x12\x11 !\xa8\x80\x8c\x00\x04\x00B \x8c\x00\xc0!\x00\x00\x80HF\x01\x01\n\x00\x10\x80\x10\x00\x00@ \x00H\x02P\x12\x10@\x00\x04\x84h\x08B\x00\x00\x08\x00\x00\x00\t"\x02 \x08\x01\x00\x00\x10\x00\x00\x00\x00\x00\x00 $\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _______________ test_zfp[float64-gray-bytearray-out-mode1-None] ________________ dtype = dtype('float64'), itype = 'gray', enout = 'bytearray', deout = 'out' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x8b\x06:V\x7f\xf7\x87\xaf\x0e;1\xc7@\xe0\rq1\x04\xc3\x1a@8\x8e\x90\xc0@\x11\xa4c\xa9\x00\xd2\x00\x88\x02\x81\x8c\xa4 \x00\x10\x00\x00\x04\x01\x00\x01S\x00\x8c\x01\t\x00\x04\x00@\x03\x00\x00\x00\x84a\xa1\x00\x08@@\x04\x00A\x10\x8a\x80A\xa8\x08\x00\x80\x8c\x03B\x04\x0cp\x01 \x10\x00\x80HF\x80\x8e\xa0\x04\x02\x00\x80\t\x08@\x10\x94\x04@@\x00\x01\x01\x12D0A\x08\xa0\x02\x00 #H\x00\x89\x03\x1c@\x08\x04\x00 \x00\x10\x00\x00\xa0\x00\x00\x00\x00\x00\x004\x80A\x01\x00\x04\x00\x00\x00\x00\x00\x0e\x00\x00 \x00\x00\t\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0...0c\x02\x04\x00\x00`\x00\n@\x04\x01P\x18\x00\x00\x01\x02\x04@\x10H\x00\x00\x00"@\x85\x81!\x1d@H\x04\x84i\x12\x01 \x00\x08\t\x00\x90 \x00\x020\x80@\x00\x00P\x04\x00\x00\x06\x11\x08\x00\x04*\x00\x00\x01\x00\xc0 \x08BP\x10\x00\x01\x08\x00\x04@\x18j\x00@\x00\x01\x00\x00\x81\x03\x05\x00\x004\x00\x00\x10\x10$a\xa0\x01\x82\xa0 \x00B\x14\x84\x08\x92\x01\xd4\x04\x80@\x00\x01!\x00\x062\x80\x90\x01\x00\x00$ \x00\xc7P\x12\x1c@H\x00\x00`\x00\x02\x00\x02\x08\x00\x00\x90\x01 \x00\x00\x00@\x00\x00\x12\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[float64-gray-bytearray-out-mode1-omp] ________________ dtype = dtype('float64'), itype = 'gray', enout = 'bytearray', deout = 'out' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x8b\x06:V\x7f\xf7\x87\xaf\x0e;1\xc7@\xe0\rq1\x04\xc3\x1a@8\x8e\x90\xc0@\x11\xa4c\xa9\x00\xd2\x00\x88\x02\x81\x8c\xa4 \x00\x10\x00\x00\x04\x01\x00\x01S\x00\x8c\x01\t\x00\x04\x00@\x03\x00\x00\x00\x84a\xa1\x00\x08@@\x04\x00A\x10\x8a\x80A\xa8\x08\x00\x80\x8c\x03B\x04\x0cp\x01 \x10\x00\x80HF\x80\x8e\xa0\x04\x02\x00\x80\t\x08@\x10\x94\x04@@\x00\x01\x01\x12D0A\x08\xa0\x02\x00 #H\x00\x89\x03\x1c@\x08\x04\x00 \x00\x10\x00\x00\xa0\x00\x00\x00\x00\x00\x004\x80A\x01\x00\x04\x00\x00\x00\x00\x00\x0e\x00\x00 \x00\x00\t\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0...0c\x02\x04\x00\x00`\x00\n@\x04\x01P\x18\x00\x00\x01\x02\x04@\x10H\x00\x00\x00"@\x85\x81!\x1d@H\x04\x84i\x12\x01 \x00\x08\t\x00\x90 \x00\x020\x80@\x00\x00P\x04\x00\x00\x06\x11\x08\x00\x04*\x00\x00\x01\x00\xc0 \x08BP\x10\x00\x01\x08\x00\x04@\x18j\x00@\x00\x01\x00\x00\x81\x03\x05\x00\x004\x00\x00\x10\x10$a\xa0\x01\x82\xa0 \x00B\x14\x84\x08\x92\x01\xd4\x04\x80@\x00\x01!\x00\x062\x80\x90\x01\x00\x00$ \x00\xc7P\x12\x1c@H\x00\x00`\x00\x02\x00\x02\x08\x00\x00\x90\x01 \x00\x00\x00@\x00\x00\x12\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ____________ test_zfp[float64-gray-bytearray-bytearray-mode0-None] _____________ dtype = dtype('float64'), itype = 'gray', enout = 'bytearray' deout = 'bytearray', mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfzt\xb3\x8f\xfd\x88\x00\x01\xf0\x1c`\x18c\x80xp\x0c\x0e4\x80A\xa4\x03\x81 \x08\x06 \x98\x06a\x8e\x90\x00\x04!\x00\x03\x12\x00\x00\x00\x80\x80\x00\x80`\x18\xe0\x00\xc7\x10\x10\x00 \x18\x00\x84 \x00\x02\x00@\x04\x03\x00\x00\x89 \x1c\x00H\x04\x00\x00\x10\x11$\x00\x08\x08\x8e\x00$\x00\x000\x0c\x01\xd2\x00\x00\x00\x80HB\x01 \x08\x00 \x00\x90\x08\x08\x00$\x01\x00\x03\x10\x02\x00@@\x00\x00\x00\x18\x00\x02\x03\x80\x00\x00\x80\x81 \x1c4\x801\x01 \x12\x01\xa41Y\xb7\xfe\x80$\x00\x00\x0b\x00 \x88\x05\x10q\xc5$\x03\x08BS\x00\xc1\x10\x80\x85!\x1c@@\x90\x80\x0c\x00@\x06\x91\x00&\x01\x11\x00\x00\x12\x01\xa4\x02\x08\x81\x82\x00\x04\x02B\x04\x00\x00B!\xc4\x00\x00HB\x01\x00\x00F\x08\x80\x10\x00\x02\x00\x00#@\x01\x00\x00\x1c@\x00\x00\x00@\x00h\x80C(\t\x00\x10\x00\x00@0\x8c\x04\x01 \x02\x11\x00@@\x80\x0e \x02\x80\x80\x00\x08\xd0\x10\xd4\x00@\x10\x12\x01!\x02D"\x9b\x7f\xe8\x02\x00\x04!\x08\x86 \x18\x01\x84 mU\x06B\x00\x00%\x00\x1e\x10a(\x00\x00\x85\x03\x11@@0\x84T \x12\x01\xa4P\x00\x00\x00\x91\n\x84\x02\x045\x01\x00\x01\x08\x12 \x00\x80\x86\x80\x00\x00\x02 \x08\x00\xd0!\x10\x04\x80\x00\x02\x00 \x12@0\x80\x10`\x02@$"H\xc5\x10\x03\x1d\x00\x08\x04\x84@\x18\x00\x04b\x08\t\x00\x10\r...\x00F\x1a\x00\x90\x01\x08\xd2\x11\x00\x00F@\x02\x00\x01\n\x04\x80I\x18\x82\x00@\x04\x08\x00\x10\r\x01\x1c\x00@\x01\x01 \x12\x10\xa0!\x88\xf7\xfe\x80 \x00@\x10\x00\x00\x06\xa0\x1e2\x80\xd4Y0\xc6\x81\x8a\xa3\x00 \x8e\x19\x00\x90\x0c\x02\x0cL\x03\xa2\x00\x00$\x00\x00\x00\x10\x01\x18@H\x00\x00I\x00\x10$\x02\xa8\x00\x00\x90\x84\x00\x02 \x0cU\x01 \x10\x00\x80\x00B\x91\x06\x80\x042\x80\x10\x00\x08\x920\xd4\x00\x01\x10\x00\x00!\x02D\x84\x08\x08\x8a\x02\x00$\x01\x00\x80\x01\x01\x01@\x08\x00\x00\x00\x12\x00\x80a\x88\x08\x00\x00\x00\x02@ \x88%\xd20\xc4\x04\x00HB\x90\x01\n@ \x00\x90\t\x00\x00\x00\x03H\x82@\x00\x01@@\x04\x04H\x10\x00\x00\x00\x00\x00\x00\x80\x08\x00\x00\xcf?\xf5\x00\x00\x10\x00\x00\x18\xa3\x80\x00\xa8\x00\x19"\x06\x90\x84\xa0\x14!\x19@D2\x80f\x10\xa0"\xa0\t!\x00@f\x01\x01\x00\x02\x10\x00\x00 \t\x00\x10$\x00\x02$\x8c\x11\x01\x00\x90\x04\x80\x00@\x11\x8c \x04\x08\x00\x90\t\x08\x82!\x03H\x01\x00\x00\x00\x00\x08\x04\x04(\x08`\x00\x00 \x08\x00\x00\t\x00\x11@@P\x00\x00\x12\x11 !\xa8\x80\x8c\x00\x04\x00B \x8c\x00\xc0!\x00\x00\x80HF\x01\x01\n\x00\x10\x80\x10\x00\x00@ \x00H\x02P\x12\x10@\x00\x04\x84h\x08B\x00\x00\x08\x00\x00\x00\t"\x02 \x08\x01\x00\x00\x10\x00\x00\x00\x00\x00\x00 $\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _____________ test_zfp[float64-gray-bytearray-bytearray-mode0-omp] _____________ dtype = dtype('float64'), itype = 'gray', enout = 'bytearray' deout = 'bytearray', mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfzt\xb3\x8f\xfd\x88\x00\x01\xf0\x1c`\x18c\x80xp\x0c\x0e4\x80A\xa4\x03\x81 \x08\x06 \x98\x06a\x8e\x90\x00\x04!\x00\x03\x12\x00\x00\x00\x80\x80\x00\x80`\x18\xe0\x00\xc7\x10\x10\x00 \x18\x00\x84 \x00\x02\x00@\x04\x03\x00\x00\x89 \x1c\x00H\x04\x00\x00\x10\x11$\x00\x08\x08\x8e\x00$\x00\x000\x0c\x01\xd2\x00\x00\x00\x80HB\x01 \x08\x00 \x00\x90\x08\x08\x00$\x01\x00\x03\x10\x02\x00@@\x00\x00\x00\x18\x00\x02\x03\x80\x00\x00\x80\x81 \x1c4\x801\x01 \x12\x01\xa41Y\xb7\xfe\x80$\x00\x00\x0b\x00 \x88\x05\x10q\xc5$\x03\x08BS\x00\xc1\x10\x80\x85!\x1c@@\x90\x80\x0c\x00@\x06\x91\x00&\x01\x11\x00\x00\x12\x01\xa4\x02\x08\x81\x82\x00\x04\x02B\x04\x00\x00B!\xc4\x00\x00HB\x01\x00\x00F\x08\x80\x10\x00\x02\x00\x00#@\x01\x00\x00\x1c@\x00\x00\x00@\x00h\x80C(\t\x00\x10\x00\x00@0\x8c\x04\x01 \x02\x11\x00@@\x80\x0e \x02\x80\x80\x00\x08\xd0\x10\xd4\x00@\x10\x12\x01!\x02D"\x9b\x7f\xe8\x02\x00\x04!\x08\x86 \x18\x01\x84 mU\x06B\x00\x00%\x00\x1e\x10a(\x00\x00\x85\x03\x11@@0\x84T \x12\x01\xa4P\x00\x00\x00\x91\n\x84\x02\x045\x01\x00\x01\x08\x12 \x00\x80\x86\x80\x00\x00\x02 \x08\x00\xd0!\x10\x04\x80\x00\x02\x00 \x12@0\x80\x10`\x02@$"H\xc5\x10\x03\x1d\x00\x08\x04\x84@\x18\x00\x04b\x08\t\x00\x10\r...\x00F\x1a\x00\x90\x01\x08\xd2\x11\x00\x00F@\x02\x00\x01\n\x04\x80I\x18\x82\x00@\x04\x08\x00\x10\r\x01\x1c\x00@\x01\x01 \x12\x10\xa0!\x88\xf7\xfe\x80 \x00@\x10\x00\x00\x06\xa0\x1e2\x80\xd4Y0\xc6\x81\x8a\xa3\x00 \x8e\x19\x00\x90\x0c\x02\x0cL\x03\xa2\x00\x00$\x00\x00\x00\x10\x01\x18@H\x00\x00I\x00\x10$\x02\xa8\x00\x00\x90\x84\x00\x02 \x0cU\x01 \x10\x00\x80\x00B\x91\x06\x80\x042\x80\x10\x00\x08\x920\xd4\x00\x01\x10\x00\x00!\x02D\x84\x08\x08\x8a\x02\x00$\x01\x00\x80\x01\x01\x01@\x08\x00\x00\x00\x12\x00\x80a\x88\x08\x00\x00\x00\x02@ \x88%\xd20\xc4\x04\x00HB\x90\x01\n@ \x00\x90\t\x00\x00\x00\x03H\x82@\x00\x01@@\x04\x04H\x10\x00\x00\x00\x00\x00\x00\x80\x08\x00\x00\xcf?\xf5\x00\x00\x10\x00\x00\x18\xa3\x80\x00\xa8\x00\x19"\x06\x90\x84\xa0\x14!\x19@D2\x80f\x10\xa0"\xa0\t!\x00@f\x01\x01\x00\x02\x10\x00\x00 \t\x00\x10$\x00\x02$\x8c\x11\x01\x00\x90\x04\x80\x00@\x11\x8c \x04\x08\x00\x90\t\x08\x82!\x03H\x01\x00\x00\x00\x00\x08\x04\x04(\x08`\x00\x00 \x08\x00\x00\t\x00\x11@@P\x00\x00\x12\x11 !\xa8\x80\x8c\x00\x04\x00B \x8c\x00\xc0!\x00\x00\x80HF\x01\x01\n\x00\x10\x80\x10\x00\x00@ \x00H\x02P\x12\x10@\x00\x04\x84h\x08B\x00\x00\x08\x00\x00\x00\t"\x02 \x08\x01\x00\x00\x10\x00\x00\x00\x00\x00\x00 $\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ____________ test_zfp[float64-gray-bytearray-bytearray-mode1-None] _____________ dtype = dtype('float64'), itype = 'gray', enout = 'bytearray' deout = 'bytearray', mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x8b\x06:V\x7f\xf7\x87\xaf\x0e;1\xc7@\xe0\rq1\x04\xc3\x1a@8\x8e\x90\xc0@\x11\xa4c\xa9\x00\xd2\x00\x88\x02\x81\x8c\xa4 \x00\x10\x00\x00\x04\x01\x00\x01S\x00\x8c\x01\t\x00\x04\x00@\x03\x00\x00\x00\x84a\xa1\x00\x08@@\x04\x00A\x10\x8a\x80A\xa8\x08\x00\x80\x8c\x03B\x04\x0cp\x01 \x10\x00\x80HF\x80\x8e\xa0\x04\x02\x00\x80\t\x08@\x10\x94\x04@@\x00\x01\x01\x12D0A\x08\xa0\x02\x00 #H\x00\x89\x03\x1c@\x08\x04\x00 \x00\x10\x00\x00\xa0\x00\x00\x00\x00\x00\x004\x80A\x01\x00\x04\x00\x00\x00\x00\x00\x0e\x00\x00 \x00\x00\t\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0...0c\x02\x04\x00\x00`\x00\n@\x04\x01P\x18\x00\x00\x01\x02\x04@\x10H\x00\x00\x00"@\x85\x81!\x1d@H\x04\x84i\x12\x01 \x00\x08\t\x00\x90 \x00\x020\x80@\x00\x00P\x04\x00\x00\x06\x11\x08\x00\x04*\x00\x00\x01\x00\xc0 \x08BP\x10\x00\x01\x08\x00\x04@\x18j\x00@\x00\x01\x00\x00\x81\x03\x05\x00\x004\x00\x00\x10\x10$a\xa0\x01\x82\xa0 \x00B\x14\x84\x08\x92\x01\xd4\x04\x80@\x00\x01!\x00\x062\x80\x90\x01\x00\x00$ \x00\xc7P\x12\x1c@H\x00\x00`\x00\x02\x00\x02\x08\x00\x00\x90\x01 \x00\x00\x00@\x00\x00\x12\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _____________ test_zfp[float64-gray-bytearray-bytearray-mode1-omp] _____________ dtype = dtype('float64'), itype = 'gray', enout = 'bytearray' deout = 'bytearray', mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x8b\x06:V\x7f\xf7\x87\xaf\x0e;1\xc7@\xe0\rq1\x04\xc3\x1a@8\x8e\x90\xc0@\x11\xa4c\xa9\x00\xd2\x00\x88\x02\x81\x8c\xa4 \x00\x10\x00\x00\x04\x01\x00\x01S\x00\x8c\x01\t\x00\x04\x00@\x03\x00\x00\x00\x84a\xa1\x00\x08@@\x04\x00A\x10\x8a\x80A\xa8\x08\x00\x80\x8c\x03B\x04\x0cp\x01 \x10\x00\x80HF\x80\x8e\xa0\x04\x02\x00\x80\t\x08@\x10\x94\x04@@\x00\x01\x01\x12D0A\x08\xa0\x02\x00 #H\x00\x89\x03\x1c@\x08\x04\x00 \x00\x10\x00\x00\xa0\x00\x00\x00\x00\x00\x004\x80A\x01\x00\x04\x00\x00\x00\x00\x00\x0e\x00\x00 \x00\x00\t\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0...0c\x02\x04\x00\x00`\x00\n@\x04\x01P\x18\x00\x00\x01\x02\x04@\x10H\x00\x00\x00"@\x85\x81!\x1d@H\x04\x84i\x12\x01 \x00\x08\t\x00\x90 \x00\x020\x80@\x00\x00P\x04\x00\x00\x06\x11\x08\x00\x04*\x00\x00\x01\x00\xc0 \x08BP\x10\x00\x01\x08\x00\x04@\x18j\x00@\x00\x01\x00\x00\x81\x03\x05\x00\x004\x00\x00\x10\x10$a\xa0\x01\x82\xa0 \x00B\x14\x84\x08\x92\x01\xd4\x04\x80@\x00\x01!\x00\x062\x80\x90\x01\x00\x00$ \x00\xc7P\x12\x1c@H\x00\x00`\x00\x02\x00\x02\x08\x00\x00\x90\x01 \x00\x00\x00@\x00\x00\x12\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError __________________ test_zfp[float64-line-new-new-mode0-None] ___________________ dtype = dtype('float64'), itype = 'line', enout = 'new', deout = 'new' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfz\x14\xb3\x8f\xfd\x88\x00\x00\x00\x00\x04@\x10D\x01\x83\x01@\x00D\x00\x00@\x00@\x04\x01\x04@\x00D\x01\x00\x04@\x00\x04\x01\x04@\x00\x10D\x01\x00\x00\x00\x00\x00\x00\x04@\x00\x04\x00\x00@@\x00@\x00\x04\x00\x10\x04\x10\x1a+6\xff\xd4\x00\x04\x08\x00\x00\x80\x08"\x00\xc0\x00 \x08 \x00\x80 \x08\x08 \x00\x02 \x00\x02\x00\x00\x02\x00\x08"\x00\x02 \xa0\x00\x08\x00\x02\x00\x00*\n\x00\x82\x80\x00"\x00\x80U\x9b\x7f\xea\x00\x80\x00\x00\n\x00\x82 \x08\x01\x04-\x82\xa0\x08\n\x00\x80\x80\x00\x08(\x00\x02\x80\x00*\x00\x00\x00 \x00\x08\x00\x82\x80 \x08(\x00\x82\x00\x08 \x00\x02\xa0\x08(\x00\x80U\x9b\x7f\xe8\x00\x80 \x00\x08\n\x00\xc0@D\x1a\xa5\x00\x80 \x00 \x00\x82\x00\xa0\x00\x02\x00\x80 \x08\x02 \x00\x82 \x08*\x00\x82\x82\x80\x08*\x00\x80\x00\x08\x00\x02\x00\x80\xa0\x08 \x00@\x00J\x85Y\xf7\xfe\xa0D\x00\x05\x00\x00\x04\x01\x01\x01@\x10D\x01\x04\x00\x00\x10T\x01\x00@\x10T\x01\x01\x04\x00\x00D\x00\x01@@\x00\x04\x00\x00@\x00\x00\x14\x00\x05@\x00P\x00\x05\x00@\x00\x00\x01\x00\x00\x10X3o\xf9@\x00\x00\x00\x10\x14\x01\x00\x00\xa8\x02\r\x00\x01@\x00\x00\x01\x05@@\x00P\x01\x05\x00\x00DP\x00\x05@\x00T\x01\x00\x05\x00\x10P\x01\x01\x00\x10\x00\x10\x01\x00\x00\x10@\x01\xef\xfd@\x10\x10\x00\x00@\x11\x00`\x080\x14\x80\xb3A\x10\x00\x00\x00\x00P\x04\x04\x11\x00@\x00\x00\x10\x00\x00A\x10\x00\x14\x00AP\x00\x00\x05\x00\x01\x00\x04\x14\x10\x00\x01\x00\x00\x11\x00\x01\x01\x00\x00\x04\x00\x01P\x00\x04,\xe3\xff@\x04\x10\x00\x00\x00\x00\x11\x00\x01P\x00\x04\x10\x00@\x00\x04\x11\x00\x00\x00P\x00\x15\x00\x01\x10\x00\x04\x01\x00\x01P\x00\x11\x04\x00A\x00\x04\x04\x00A\x01\x10\x00\x10\x00@P\x00\x00\x00\x00@P\x00\x01\x00\x00\x00\x10\x00\x14\x00\x00P') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[float64-line-new-new-mode0-omp] ___________________ dtype = dtype('float64'), itype = 'line', enout = 'new', deout = 'new' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfz\x14\xb3\x8f\xfd\x88\x00\x00\x00\x00\x04@\x10D\x01\x83\x01@\x00D\x00\x00@\x00@\x04\x01\x04@\x00D\x01\x00\x04@\x00\x04\x01\x04@\x00\x10D\x01\x00\x00\x00\x00\x00\x00\x04@\x00\x04\x00\x00@@\x00@\x00\x04\x00\x10\x04\x10\x1a+6\xff\xd4\x00\x04\x08\x00\x00\x80\x08"\x00\xc0\x00 \x08 \x00\x80 \x08\x08 \x00\x02 \x00\x02\x00\x00\x02\x00\x08"\x00\x02 \xa0\x00\x08\x00\x02\x00\x00*\n\x00\x82\x80\x00"\x00\x80U\x9b\x7f\xea\x00\x80\x00\x00\n\x00\x82 \x08\x01\x04-\x82\xa0\x08\n\x00\x80\x80\x00\x08(\x00\x02\x80\x00*\x00\x00\x00 \x00\x08\x00\x82\x80 \x08(\x00\x82\x00\x08 \x00\x02\xa0\x08(\x00\x80U\x9b\x7f\xe8\x00\x80 \x00\x08\n\x00\xc0@D\x1a\xa5\x00\x80 \x00 \x00\x82\x00\xa0\x00\x02\x00\x80 \x08\x02 \x00\x82 \x08*\x00\x82\x82\x80\x08*\x00\x80\x00\x08\x00\x02\x00\x80\xa0\x08 \x00@\x00J\x85Y\xf7\xfe\xa0D\x00\x05\x00\x00\x04\x01\x01\x01@\x10D\x01\x04\x00\x00\x10T\x01\x00@\x10T\x01\x01\x04\x00\x00D\x00\x01@@\x00\x04\x00\x00@\x00\x00\x14\x00\x05@\x00P\x00\x05\x00@\x00\x00\x01\x00\x00\x10X3o\xf9@\x00\x00\x00\x10\x14\x01\x00\x00\xa8\x02\r\x00\x01@\x00\x00\x01\x05@@\x00P\x01\x05\x00\x00DP\x00\x05@\x00T\x01\x00\x05\x00\x10P\x01\x01\x00\x10\x00\x10\x01\x00\x00\x10@\x01\xef\xfd@\x10\x10\x00\x00@\x11\x00`\x080\x14\x80\xb3A\x10\x00\x00\x00\x00P\x04\x04\x11\x00@\x00\x00\x10\x00\x00A\x10\x00\x14\x00AP\x00\x00\x05\x00\x01\x00\x04\x14\x10\x00\x01\x00\x00\x11\x00\x01\x01\x00\x00\x04\x00\x01P\x00\x04,\xe3\xff@\x04\x10\x00\x00\x00\x00\x11\x00\x01P\x00\x04\x10\x00@\x00\x04\x11\x00\x00\x00P\x00\x15\x00\x01\x10\x00\x04\x01\x00\x01P\x00\x11\x04\x00A\x00\x04\x04\x00A\x01\x10\x00\x10\x00@P\x00\x00\x00\x00@P\x00\x01\x00\x00\x00\x10\x00\x14\x00\x00P') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError __________________ test_zfp[float64-line-new-new-mode1-None] ___________________ dtype = dtype('float64'), itype = 'line', enout = 'new', deout = 'new' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00A\xa8\x8bV\x7f\xf7\x87\xaf\xa8\x00\x00\x80 \x04\x01\x04\x00\x80 \x02\n\x80 \x00\x00\x00\n\x80 \x80\x02\x02\x00\x80\x00\x80\x02\x08\x80\x00\x00\x08\x02\x00\x80 \x80\x08\x00\x08\x00\x00\x08\x02\x00\x00\x00 \xa0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x88\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x80 \x84P\xac\xff\xe0\x00\x00\x00\x05\x00AP\x06\x00\x05\x00@P\x00\x15\x00AA\x10\x00\x04\x00\x00P\x00\x04\x11\x00@\x00\x00\x04\x00\x00@\x00\x00\x01\x00\x01P\x10\x00\x11\x00\x01@\x00\x10\x11\x00\x01\x10\x04\x05\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00A\xab\x05Y\xff\xc0\x00\xa0\x00"\x00\xc0\x10\x14\x00\x02...x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xf0\x00\x00\x00\x00\x00\x00\x00\x15\x04A"\x88\xa0\x16\x7f\x00 \x00*\x00\x81\x10\x04\x00 \x00\x00\x00\x08\n\x00\x00\x82\xa0\x00*\x00\x02\x00\xa0\x08"\x00\x80\x00\x08\n(\x00\x82\xa0\x00\x02\x00\x82\x80\x80\x00"\x00\x02 \x08\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xff\x80\x00\x00\x00\x00\x00\x00\x00\x00\x80 \x04\x06 \xb3\x00 \x00\x00\n\x80\x00\xa8\x80\x00\x00\x80 \x00\x02\x08\x80 \x00\x00\x02\x80 \x00\x00\x00\x02\x00 \x00\x02\x02\x08\x80\x00\xa8\x00\x02\x80\x80 \x88\x02\n\x00\x00\x08\x88\x00\x08\x80 (\x02\n\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[float64-line-new-new-mode1-omp] ___________________ dtype = dtype('float64'), itype = 'line', enout = 'new', deout = 'new' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00A\xa8\x8bV\x7f\xf7\x87\xaf\xa8\x00\x00\x80 \x04\x01\x04\x00\x80 \x02\n\x80 \x00\x00\x00\n\x80 \x80\x02\x02\x00\x80\x00\x80\x02\x08\x80\x00\x00\x08\x02\x00\x80 \x80\x08\x00\x08\x00\x00\x08\x02\x00\x00\x00 \xa0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x88\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x80 \x84P\xac\xff\xe0\x00\x00\x00\x05\x00AP\x06\x00\x05\x00@P\x00\x15\x00AA\x10\x00\x04\x00\x00P\x00\x04\x11\x00@\x00\x00\x04\x00\x00@\x00\x00\x01\x00\x01P\x10\x00\x11\x00\x01@\x00\x10\x11\x00\x01\x10\x04\x05\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00A\xab\x05Y\xff\xc0\x00\xa0\x00"\x00\xc0\x10\x14\x00\x02...x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xf0\x00\x00\x00\x00\x00\x00\x00\x15\x04A"\x88\xa0\x16\x7f\x00 \x00*\x00\x81\x10\x04\x00 \x00\x00\x00\x08\n\x00\x00\x82\xa0\x00*\x00\x02\x00\xa0\x08"\x00\x80\x00\x08\n(\x00\x82\xa0\x00\x02\x00\x82\x80\x80\x00"\x00\x02 \x08\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xff\x80\x00\x00\x00\x00\x00\x00\x00\x00\x80 \x04\x06 \xb3\x00 \x00\x00\n\x80\x00\xa8\x80\x00\x00\x80 \x00\x02\x08\x80 \x00\x00\x02\x80 \x00\x00\x00\x02\x00 \x00\x02\x02\x08\x80\x00\xa8\x00\x02\x80\x80 \x88\x02\n\x00\x00\x08\x88\x00\x08\x80 (\x02\n\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError __________________ test_zfp[float64-line-new-out-mode0-None] ___________________ dtype = dtype('float64'), itype = 'line', enout = 'new', deout = 'out' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfz\x14\xb3\x8f\xfd\x88\x00\x00\x00\x00\x04@\x10D\x01\x83\x01@\x00D\x00\x00@\x00@\x04\x01\x04@\x00D\x01\x00\x04@\x00\x04\x01\x04@\x00\x10D\x01\x00\x00\x00\x00\x00\x00\x04@\x00\x04\x00\x00@@\x00@\x00\x04\x00\x10\x04\x10\x1a+6\xff\xd4\x00\x04\x08\x00\x00\x80\x08"\x00\xc0\x00 \x08 \x00\x80 \x08\x08 \x00\x02 \x00\x02\x00\x00\x02\x00\x08"\x00\x02 \xa0\x00\x08\x00\x02\x00\x00*\n\x00\x82\x80\x00"\x00\x80U\x9b\x7f\xea\x00\x80\x00\x00\n\x00\x82 \x08\x01\x04-\x82\xa0\x08\n\x00\x80\x80\x00\x08(\x00\x02\x80\x00*\x00\x00\x00 \x00\x08\x00\x82\x80 \x08(\x00\x82\x00\x08 \x00\x02\xa0\x08(\x00\x80U\x9b\x7f\xe8\x00\x80 \x00\x08\n\x00\xc0@D\x1a\xa5\x00\x80 \x00 \x00\x82\x00\xa0\x00\x02\x00\x80 \x08\x02 \x00\x82 \x08*\x00\x82\x82\x80\x08*\x00\x80\x00\x08\x00\x02\x00\x80\xa0\x08 \x00@\x00J\x85Y\xf7\xfe\xa0D\x00\x05\x00\x00\x04\x01\x01\x01@\x10D\x01\x04\x00\x00\x10T\x01\x00@\x10T\x01\x01\x04\x00\x00D\x00\x01@@\x00\x04\x00\x00@\x00\x00\x14\x00\x05@\x00P\x00\x05\x00@\x00\x00\x01\x00\x00\x10X3o\xf9@\x00\x00\x00\x10\x14\x01\x00\x00\xa8\x02\r\x00\x01@\x00\x00\x01\x05@@\x00P\x01\x05\x00\x00DP\x00\x05@\x00T\x01\x00\x05\x00\x10P\x01\x01\x00\x10\x00\x10\x01\x00\x00\x10@\x01\xef\xfd@\x10\x10\x00\x00@\x11\x00`\x080\x14\x80\xb3A\x10\x00\x00\x00\x00P\x04\x04\x11\x00@\x00\x00\x10\x00\x00A\x10\x00\x14\x00AP\x00\x00\x05\x00\x01\x00\x04\x14\x10\x00\x01\x00\x00\x11\x00\x01\x01\x00\x00\x04\x00\x01P\x00\x04,\xe3\xff@\x04\x10\x00\x00\x00\x00\x11\x00\x01P\x00\x04\x10\x00@\x00\x04\x11\x00\x00\x00P\x00\x15\x00\x01\x10\x00\x04\x01\x00\x01P\x00\x11\x04\x00A\x00\x04\x04\x00A\x01\x10\x00\x10\x00@P\x00\x00\x00\x00@P\x00\x01\x00\x00\x00\x10\x00\x14\x00\x00P') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[float64-line-new-out-mode0-omp] ___________________ dtype = dtype('float64'), itype = 'line', enout = 'new', deout = 'out' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfz\x14\xb3\x8f\xfd\x88\x00\x00\x00\x00\x04@\x10D\x01\x83\x01@\x00D\x00\x00@\x00@\x04\x01\x04@\x00D\x01\x00\x04@\x00\x04\x01\x04@\x00\x10D\x01\x00\x00\x00\x00\x00\x00\x04@\x00\x04\x00\x00@@\x00@\x00\x04\x00\x10\x04\x10\x1a+6\xff\xd4\x00\x04\x08\x00\x00\x80\x08"\x00\xc0\x00 \x08 \x00\x80 \x08\x08 \x00\x02 \x00\x02\x00\x00\x02\x00\x08"\x00\x02 \xa0\x00\x08\x00\x02\x00\x00*\n\x00\x82\x80\x00"\x00\x80U\x9b\x7f\xea\x00\x80\x00\x00\n\x00\x82 \x08\x01\x04-\x82\xa0\x08\n\x00\x80\x80\x00\x08(\x00\x02\x80\x00*\x00\x00\x00 \x00\x08\x00\x82\x80 \x08(\x00\x82\x00\x08 \x00\x02\xa0\x08(\x00\x80U\x9b\x7f\xe8\x00\x80 \x00\x08\n\x00\xc0@D\x1a\xa5\x00\x80 \x00 \x00\x82\x00\xa0\x00\x02\x00\x80 \x08\x02 \x00\x82 \x08*\x00\x82\x82\x80\x08*\x00\x80\x00\x08\x00\x02\x00\x80\xa0\x08 \x00@\x00J\x85Y\xf7\xfe\xa0D\x00\x05\x00\x00\x04\x01\x01\x01@\x10D\x01\x04\x00\x00\x10T\x01\x00@\x10T\x01\x01\x04\x00\x00D\x00\x01@@\x00\x04\x00\x00@\x00\x00\x14\x00\x05@\x00P\x00\x05\x00@\x00\x00\x01\x00\x00\x10X3o\xf9@\x00\x00\x00\x10\x14\x01\x00\x00\xa8\x02\r\x00\x01@\x00\x00\x01\x05@@\x00P\x01\x05\x00\x00DP\x00\x05@\x00T\x01\x00\x05\x00\x10P\x01\x01\x00\x10\x00\x10\x01\x00\x00\x10@\x01\xef\xfd@\x10\x10\x00\x00@\x11\x00`\x080\x14\x80\xb3A\x10\x00\x00\x00\x00P\x04\x04\x11\x00@\x00\x00\x10\x00\x00A\x10\x00\x14\x00AP\x00\x00\x05\x00\x01\x00\x04\x14\x10\x00\x01\x00\x00\x11\x00\x01\x01\x00\x00\x04\x00\x01P\x00\x04,\xe3\xff@\x04\x10\x00\x00\x00\x00\x11\x00\x01P\x00\x04\x10\x00@\x00\x04\x11\x00\x00\x00P\x00\x15\x00\x01\x10\x00\x04\x01\x00\x01P\x00\x11\x04\x00A\x00\x04\x04\x00A\x01\x10\x00\x10\x00@P\x00\x00\x00\x00@P\x00\x01\x00\x00\x00\x10\x00\x14\x00\x00P') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError __________________ test_zfp[float64-line-new-out-mode1-None] ___________________ dtype = dtype('float64'), itype = 'line', enout = 'new', deout = 'out' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00A\xa8\x8bV\x7f\xf7\x87\xaf\xa8\x00\x00\x80 \x04\x01\x04\x00\x80 \x02\n\x80 \x00\x00\x00\n\x80 \x80\x02\x02\x00\x80\x00\x80\x02\x08\x80\x00\x00\x08\x02\x00\x80 \x80\x08\x00\x08\x00\x00\x08\x02\x00\x00\x00 \xa0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x88\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x80 \x84P\xac\xff\xe0\x00\x00\x00\x05\x00AP\x06\x00\x05\x00@P\x00\x15\x00AA\x10\x00\x04\x00\x00P\x00\x04\x11\x00@\x00\x00\x04\x00\x00@\x00\x00\x01\x00\x01P\x10\x00\x11\x00\x01@\x00\x10\x11\x00\x01\x10\x04\x05\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00A\xab\x05Y\xff\xc0\x00\xa0\x00"\x00\xc0\x10\x14\x00\x02...x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xf0\x00\x00\x00\x00\x00\x00\x00\x15\x04A"\x88\xa0\x16\x7f\x00 \x00*\x00\x81\x10\x04\x00 \x00\x00\x00\x08\n\x00\x00\x82\xa0\x00*\x00\x02\x00\xa0\x08"\x00\x80\x00\x08\n(\x00\x82\xa0\x00\x02\x00\x82\x80\x80\x00"\x00\x02 \x08\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xff\x80\x00\x00\x00\x00\x00\x00\x00\x00\x80 \x04\x06 \xb3\x00 \x00\x00\n\x80\x00\xa8\x80\x00\x00\x80 \x00\x02\x08\x80 \x00\x00\x02\x80 \x00\x00\x00\x02\x00 \x00\x02\x02\x08\x80\x00\xa8\x00\x02\x80\x80 \x88\x02\n\x00\x00\x08\x88\x00\x08\x80 (\x02\n\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[float64-line-new-out-mode1-omp] ___________________ dtype = dtype('float64'), itype = 'line', enout = 'new', deout = 'out' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00A\xa8\x8bV\x7f\xf7\x87\xaf\xa8\x00\x00\x80 \x04\x01\x04\x00\x80 \x02\n\x80 \x00\x00\x00\n\x80 \x80\x02\x02\x00\x80\x00\x80\x02\x08\x80\x00\x00\x08\x02\x00\x80 \x80\x08\x00\x08\x00\x00\x08\x02\x00\x00\x00 \xa0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x88\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x80 \x84P\xac\xff\xe0\x00\x00\x00\x05\x00AP\x06\x00\x05\x00@P\x00\x15\x00AA\x10\x00\x04\x00\x00P\x00\x04\x11\x00@\x00\x00\x04\x00\x00@\x00\x00\x01\x00\x01P\x10\x00\x11\x00\x01@\x00\x10\x11\x00\x01\x10\x04\x05\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00A\xab\x05Y\xff\xc0\x00\xa0\x00"\x00\xc0\x10\x14\x00\x02...x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xf0\x00\x00\x00\x00\x00\x00\x00\x15\x04A"\x88\xa0\x16\x7f\x00 \x00*\x00\x81\x10\x04\x00 \x00\x00\x00\x08\n\x00\x00\x82\xa0\x00*\x00\x02\x00\xa0\x08"\x00\x80\x00\x08\n(\x00\x82\xa0\x00\x02\x00\x82\x80\x80\x00"\x00\x02 \x08\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xff\x80\x00\x00\x00\x00\x00\x00\x00\x00\x80 \x04\x06 \xb3\x00 \x00\x00\n\x80\x00\xa8\x80\x00\x00\x80 \x00\x02\x08\x80 \x00\x00\x02\x80 \x00\x00\x00\x02\x00 \x00\x02\x02\x08\x80\x00\xa8\x00\x02\x80\x80 \x88\x02\n\x00\x00\x08\x88\x00\x08\x80 (\x02\n\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _______________ test_zfp[float64-line-new-bytearray-mode0-None] ________________ dtype = dtype('float64'), itype = 'line', enout = 'new', deout = 'bytearray' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfz\x14\xb3\x8f\xfd\x88\x00\x00\x00\x00\x04@\x10D\x01\x83\x01@\x00D\x00\x00@\x00@\x04\x01\x04@\x00D\x01\x00\x04@\x00\x04\x01\x04@\x00\x10D\x01\x00\x00\x00\x00\x00\x00\x04@\x00\x04\x00\x00@@\x00@\x00\x04\x00\x10\x04\x10\x1a+6\xff\xd4\x00\x04\x08\x00\x00\x80\x08"\x00\xc0\x00 \x08 \x00\x80 \x08\x08 \x00\x02 \x00\x02\x00\x00\x02\x00\x08"\x00\x02 \xa0\x00\x08\x00\x02\x00\x00*\n\x00\x82\x80\x00"\x00\x80U\x9b\x7f\xea\x00\x80\x00\x00\n\x00\x82 \x08\x01\x04-\x82\xa0\x08\n\x00\x80\x80\x00\x08(\x00\x02\x80\x00*\x00\x00\x00 \x00\x08\x00\x82\x80 \x08(\x00\x82\x00\x08 \x00\x02\xa0\x08(\x00\x80U\x9b\x7f\xe8\x00\x80 \x00\x08\n\x00\xc0@D\x1a\xa5\x00\x80 \x00 \x00\x82\x00\xa0\x00\x02\x00\x80 \x08\x02 \x00\x82 \x08*\x00\x82\x82\x80\x08*\x00\x80\x00\x08\x00\x02\x00\x80\xa0\x08 \x00@\x00J\x85Y\xf7\xfe\xa0D\x00\x05\x00\x00\x04\x01\x01\x01@\x10D\x01\x04\x00\x00\x10T\x01\x00@\x10T\x01\x01\x04\x00\x00D\x00\x01@@\x00\x04\x00\x00@\x00\x00\x14\x00\x05@\x00P\x00\x05\x00@\x00\x00\x01\x00\x00\x10X3o\xf9@\x00\x00\x00\x10\x14\x01\x00\x00\xa8\x02\r\x00\x01@\x00\x00\x01\x05@@\x00P\x01\x05\x00\x00DP\x00\x05@\x00T\x01\x00\x05\x00\x10P\x01\x01\x00\x10\x00\x10\x01\x00\x00\x10@\x01\xef\xfd@\x10\x10\x00\x00@\x11\x00`\x080\x14\x80\xb3A\x10\x00\x00\x00\x00P\x04\x04\x11\x00@\x00\x00\x10\x00\x00A\x10\x00\x14\x00AP\x00\x00\x05\x00\x01\x00\x04\x14\x10\x00\x01\x00\x00\x11\x00\x01\x01\x00\x00\x04\x00\x01P\x00\x04,\xe3\xff@\x04\x10\x00\x00\x00\x00\x11\x00\x01P\x00\x04\x10\x00@\x00\x04\x11\x00\x00\x00P\x00\x15\x00\x01\x10\x00\x04\x01\x00\x01P\x00\x11\x04\x00A\x00\x04\x04\x00A\x01\x10\x00\x10\x00@P\x00\x00\x00\x00@P\x00\x01\x00\x00\x00\x10\x00\x14\x00\x00P') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[float64-line-new-bytearray-mode0-omp] ________________ dtype = dtype('float64'), itype = 'line', enout = 'new', deout = 'bytearray' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfz\x14\xb3\x8f\xfd\x88\x00\x00\x00\x00\x04@\x10D\x01\x83\x01@\x00D\x00\x00@\x00@\x04\x01\x04@\x00D\x01\x00\x04@\x00\x04\x01\x04@\x00\x10D\x01\x00\x00\x00\x00\x00\x00\x04@\x00\x04\x00\x00@@\x00@\x00\x04\x00\x10\x04\x10\x1a+6\xff\xd4\x00\x04\x08\x00\x00\x80\x08"\x00\xc0\x00 \x08 \x00\x80 \x08\x08 \x00\x02 \x00\x02\x00\x00\x02\x00\x08"\x00\x02 \xa0\x00\x08\x00\x02\x00\x00*\n\x00\x82\x80\x00"\x00\x80U\x9b\x7f\xea\x00\x80\x00\x00\n\x00\x82 \x08\x01\x04-\x82\xa0\x08\n\x00\x80\x80\x00\x08(\x00\x02\x80\x00*\x00\x00\x00 \x00\x08\x00\x82\x80 \x08(\x00\x82\x00\x08 \x00\x02\xa0\x08(\x00\x80U\x9b\x7f\xe8\x00\x80 \x00\x08\n\x00\xc0@D\x1a\xa5\x00\x80 \x00 \x00\x82\x00\xa0\x00\x02\x00\x80 \x08\x02 \x00\x82 \x08*\x00\x82\x82\x80\x08*\x00\x80\x00\x08\x00\x02\x00\x80\xa0\x08 \x00@\x00J\x85Y\xf7\xfe\xa0D\x00\x05\x00\x00\x04\x01\x01\x01@\x10D\x01\x04\x00\x00\x10T\x01\x00@\x10T\x01\x01\x04\x00\x00D\x00\x01@@\x00\x04\x00\x00@\x00\x00\x14\x00\x05@\x00P\x00\x05\x00@\x00\x00\x01\x00\x00\x10X3o\xf9@\x00\x00\x00\x10\x14\x01\x00\x00\xa8\x02\r\x00\x01@\x00\x00\x01\x05@@\x00P\x01\x05\x00\x00DP\x00\x05@\x00T\x01\x00\x05\x00\x10P\x01\x01\x00\x10\x00\x10\x01\x00\x00\x10@\x01\xef\xfd@\x10\x10\x00\x00@\x11\x00`\x080\x14\x80\xb3A\x10\x00\x00\x00\x00P\x04\x04\x11\x00@\x00\x00\x10\x00\x00A\x10\x00\x14\x00AP\x00\x00\x05\x00\x01\x00\x04\x14\x10\x00\x01\x00\x00\x11\x00\x01\x01\x00\x00\x04\x00\x01P\x00\x04,\xe3\xff@\x04\x10\x00\x00\x00\x00\x11\x00\x01P\x00\x04\x10\x00@\x00\x04\x11\x00\x00\x00P\x00\x15\x00\x01\x10\x00\x04\x01\x00\x01P\x00\x11\x04\x00A\x00\x04\x04\x00A\x01\x10\x00\x10\x00@P\x00\x00\x00\x00@P\x00\x01\x00\x00\x00\x10\x00\x14\x00\x00P') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _______________ test_zfp[float64-line-new-bytearray-mode1-None] ________________ dtype = dtype('float64'), itype = 'line', enout = 'new', deout = 'bytearray' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00A\xa8\x8bV\x7f\xf7\x87\xaf\xa8\x00\x00\x80 \x04\x01\x04\x00\x80 \x02\n\x80 \x00\x00\x00\n\x80 \x80\x02\x02\x00\x80\x00\x80\x02\x08\x80\x00\x00\x08\x02\x00\x80 \x80\x08\x00\x08\x00\x00\x08\x02\x00\x00\x00 \xa0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x88\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x80 \x84P\xac\xff\xe0\x00\x00\x00\x05\x00AP\x06\x00\x05\x00@P\x00\x15\x00AA\x10\x00\x04\x00\x00P\x00\x04\x11\x00@\x00\x00\x04\x00\x00@\x00\x00\x01\x00\x01P\x10\x00\x11\x00\x01@\x00\x10\x11\x00\x01\x10\x04\x05\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00A\xab\x05Y\xff\xc0\x00\xa0\x00"\x00\xc0\x10\x14\x00\x02...x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xf0\x00\x00\x00\x00\x00\x00\x00\x15\x04A"\x88\xa0\x16\x7f\x00 \x00*\x00\x81\x10\x04\x00 \x00\x00\x00\x08\n\x00\x00\x82\xa0\x00*\x00\x02\x00\xa0\x08"\x00\x80\x00\x08\n(\x00\x82\xa0\x00\x02\x00\x82\x80\x80\x00"\x00\x02 \x08\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xff\x80\x00\x00\x00\x00\x00\x00\x00\x00\x80 \x04\x06 \xb3\x00 \x00\x00\n\x80\x00\xa8\x80\x00\x00\x80 \x00\x02\x08\x80 \x00\x00\x02\x80 \x00\x00\x00\x02\x00 \x00\x02\x02\x08\x80\x00\xa8\x00\x02\x80\x80 \x88\x02\n\x00\x00\x08\x88\x00\x08\x80 (\x02\n\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[float64-line-new-bytearray-mode1-omp] ________________ dtype = dtype('float64'), itype = 'line', enout = 'new', deout = 'bytearray' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00A\xa8\x8bV\x7f\xf7\x87\xaf\xa8\x00\x00\x80 \x04\x01\x04\x00\x80 \x02\n\x80 \x00\x00\x00\n\x80 \x80\x02\x02\x00\x80\x00\x80\x02\x08\x80\x00\x00\x08\x02\x00\x80 \x80\x08\x00\x08\x00\x00\x08\x02\x00\x00\x00 \xa0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x88\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x80 \x84P\xac\xff\xe0\x00\x00\x00\x05\x00AP\x06\x00\x05\x00@P\x00\x15\x00AA\x10\x00\x04\x00\x00P\x00\x04\x11\x00@\x00\x00\x04\x00\x00@\x00\x00\x01\x00\x01P\x10\x00\x11\x00\x01@\x00\x10\x11\x00\x01\x10\x04\x05\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00A\xab\x05Y\xff\xc0\x00\xa0\x00"\x00\xc0\x10\x14\x00\x02...x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xf0\x00\x00\x00\x00\x00\x00\x00\x15\x04A"\x88\xa0\x16\x7f\x00 \x00*\x00\x81\x10\x04\x00 \x00\x00\x00\x08\n\x00\x00\x82\xa0\x00*\x00\x02\x00\xa0\x08"\x00\x80\x00\x08\n(\x00\x82\xa0\x00\x02\x00\x82\x80\x80\x00"\x00\x02 \x08\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xff\x80\x00\x00\x00\x00\x00\x00\x00\x00\x80 \x04\x06 \xb3\x00 \x00\x00\n\x80\x00\xa8\x80\x00\x00\x80 \x00\x02\x08\x80 \x00\x00\x02\x80 \x00\x00\x00\x02\x00 \x00\x02\x02\x08\x80\x00\xa8\x00\x02\x80\x80 \x88\x02\n\x00\x00\x08\x88\x00\x08\x80 (\x02\n\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError __________________ test_zfp[float64-line-out-new-mode0-None] ___________________ dtype = dtype('float64'), itype = 'line', enout = 'out', deout = 'new' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfz\x14\xb3\x8f\xfd\x88\x00\x00\x00\x00\x04@\x10D\x01\x83\x01@\x00D\x00\x00@\x00@\x04\x01\x04@\x00D\x01\x00\x04@\x00\x04\x01\x04@\x00\x10D\x01\x00\x00\x00\x00\x00\x00\x04@\x00\x04\x00\x00@@\x00@\x00\x04\x00\x10\x04\x10\x1a+6\xff\xd4\x00\x04\x08\x00\x00\x80\x08"\x00\xc0\x00 \x08 \x00\x80 \x08\x08 \x00\x02 \x00\x02\x00\x00\x02\x00\x08"\x00\x02 \xa0\x00\x08\x00\x02\x00\x00*\n\x00\x82\x80\x00"\x00\x80U\x9b\x7f\xea\x00\x80\x00\x00\n\x00\x82 \x08\x01\x04-\x82\xa0\x08\n\x00\x80\x80\x00\x08(\x00\x02\x80\x00*\x00\x00\x00 \x00\x08\x00\x82\x80 \x08(\x00\x82\x00\x08 \x00\x02\xa0\x08(\x00\x80U\x9b\x7f\xe8\x00\x80 \x00\x08\n\x00\xc0@D\x1a\xa5\x00\x80 \x00 \x00\x82\x00\xa0\x00\x02\x00\x80 \x08\x02 \x00\x82 \x08*\x00\x82\x82\x80\x08*\x00\x80\x00\x08\x00\x02\x00\x80\xa0\x08 \x00@\x00J\x85Y\xf7\xfe\xa0D\x00\x05\x00\x00\x04\x01\x01\x01@\x10D\x01\x04\x00\x00\x10T\x01\x00@\x10T\x01\x01\x04\x00\x00D\x00\x01@@\x00\x04\x00\x00@\x00\x00\x14\x00\x05@\x00P\x00\x05\x00@\x00\x00\x01\x00\x00\x10X3o\xf9@\x00\x00\x00\x10\x14\x01\x00\x00\xa8\x02\r\x00\x01@\x00\x00\x01\x05@@\x00P\x01\x05\x00\x00DP\x00\x05@\x00T\x01\x00\x05\x00\x10P\x01\x01\x00\x10\x00\x10\x01\x00\x00\x10@\x01\xef\xfd@\x10\x10\x00\x00@\x11\x00`\x080\x14\x80\xb3A\x10\x00\x00\x00\x00P\x04\x04\x11\x00@\x00\x00\x10\x00\x00A\x10\x00\x14\x00AP\x00\x00\x05\x00\x01\x00\x04\x14\x10\x00\x01\x00\x00\x11\x00\x01\x01\x00\x00\x04\x00\x01P\x00\x04,\xe3\xff@\x04\x10\x00\x00\x00\x00\x11\x00\x01P\x00\x04\x10\x00@\x00\x04\x11\x00\x00\x00P\x00\x15\x00\x01\x10\x00\x04\x01\x00\x01P\x00\x11\x04\x00A\x00\x04\x04\x00A\x01\x10\x00\x10\x00@P\x00\x00\x00\x00@P\x00\x01\x00\x00\x00\x10\x00\x14\x00\x00P') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[float64-line-out-new-mode0-omp] ___________________ dtype = dtype('float64'), itype = 'line', enout = 'out', deout = 'new' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfz\x14\xb3\x8f\xfd\x88\x00\x00\x00\x00\x04@\x10D\x01\x83\x01@\x00D\x00\x00@\x00@\x04\x01\x04@\x00D\x01\x00\x04@\x00\x04\x01\x04@\x00\x10D\x01\x00\x00\x00\x00\x00\x00\x04@\x00\x04\x00\x00@@\x00@\x00\x04\x00\x10\x04\x10\x1a+6\xff\xd4\x00\x04\x08\x00\x00\x80\x08"\x00\xc0\x00 \x08 \x00\x80 \x08\x08 \x00\x02 \x00\x02\x00\x00\x02\x00\x08"\x00\x02 \xa0\x00\x08\x00\x02\x00\x00*\n\x00\x82\x80\x00"\x00\x80U\x9b\x7f\xea\x00\x80\x00\x00\n\x00\x82 \x08\x01\x04-\x82\xa0\x08\n\x00\x80\x80\x00\x08(\x00\x02\x80\x00*\x00\x00\x00 \x00\x08\x00\x82\x80 \x08(\x00\x82\x00\x08 \x00\x02\xa0\x08(\x00\x80U\x9b\x7f\xe8\x00\x80 \x00\x08\n\x00\xc0@D\x1a\xa5\x00\x80 \x00 \x00\x82\x00\xa0\x00\x02\x00\x80 \x08\x02 \x00\x82 \x08*\x00\x82\x82\x80\x08*\x00\x80\x00\x08\x00\x02\x00\x80\xa0\x08 \x00@\x00J\x85Y\xf7\xfe\xa0D\x00\x05\x00\x00\x04\x01\x01\x01@\x10D\x01\x04\x00\x00\x10T\x01\x00@\x10T\x01\x01\x04\x00\x00D\x00\x01@@\x00\x04\x00\x00@\x00\x00\x14\x00\x05@\x00P\x00\x05\x00@\x00\x00\x01\x00\x00\x10X3o\xf9@\x00\x00\x00\x10\x14\x01\x00\x00\xa8\x02\r\x00\x01@\x00\x00\x01\x05@@\x00P\x01\x05\x00\x00DP\x00\x05@\x00T\x01\x00\x05\x00\x10P\x01\x01\x00\x10\x00\x10\x01\x00\x00\x10@\x01\xef\xfd@\x10\x10\x00\x00@\x11\x00`\x080\x14\x80\xb3A\x10\x00\x00\x00\x00P\x04\x04\x11\x00@\x00\x00\x10\x00\x00A\x10\x00\x14\x00AP\x00\x00\x05\x00\x01\x00\x04\x14\x10\x00\x01\x00\x00\x11\x00\x01\x01\x00\x00\x04\x00\x01P\x00\x04,\xe3\xff@\x04\x10\x00\x00\x00\x00\x11\x00\x01P\x00\x04\x10\x00@\x00\x04\x11\x00\x00\x00P\x00\x15\x00\x01\x10\x00\x04\x01\x00\x01P\x00\x11\x04\x00A\x00\x04\x04\x00A\x01\x10\x00\x10\x00@P\x00\x00\x00\x00@P\x00\x01\x00\x00\x00\x10\x00\x14\x00\x00P') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError __________________ test_zfp[float64-line-out-new-mode1-None] ___________________ dtype = dtype('float64'), itype = 'line', enout = 'out', deout = 'new' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00A\xa8\x8bV\x7f\xf7\x87\xaf\xa8\x00\x00\x80 \x04\x01\x04\x00\x80 \x02\n\x80 \x00\x00\x00\n\x80 \x80\x02\x02\x00\x80\x00\x80\x02\x08\x80\x00\x00\x08\x02\x00\x80 \x80\x08\x00\x08\x00\x00\x08\x02\x00\x00\x00 \xa0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x88\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x80 \x84P\xac\xff\xe0\x00\x00\x00\x05\x00AP\x06\x00\x05\x00@P\x00\x15\x00AA\x10\x00\x04\x00\x00P\x00\x04\x11\x00@\x00\x00\x04\x00\x00@\x00\x00\x01\x00\x01P\x10\x00\x11\x00\x01@\x00\x10\x11\x00\x01\x10\x04\x05\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00A\xab\x05Y\xff\xc0\x00\xa0\x00"\x00\xc0\x10\x14\x00\x02...x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xf0\x00\x00\x00\x00\x00\x00\x00\x15\x04A"\x88\xa0\x16\x7f\x00 \x00*\x00\x81\x10\x04\x00 \x00\x00\x00\x08\n\x00\x00\x82\xa0\x00*\x00\x02\x00\xa0\x08"\x00\x80\x00\x08\n(\x00\x82\xa0\x00\x02\x00\x82\x80\x80\x00"\x00\x02 \x08\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xff\x80\x00\x00\x00\x00\x00\x00\x00\x00\x80 \x04\x06 \xb3\x00 \x00\x00\n\x80\x00\xa8\x80\x00\x00\x80 \x00\x02\x08\x80 \x00\x00\x02\x80 \x00\x00\x00\x02\x00 \x00\x02\x02\x08\x80\x00\xa8\x00\x02\x80\x80 \x88\x02\n\x00\x00\x08\x88\x00\x08\x80 (\x02\n\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[float64-line-out-new-mode1-omp] ___________________ dtype = dtype('float64'), itype = 'line', enout = 'out', deout = 'new' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00A\xa8\x8bV\x7f\xf7\x87\xaf\xa8\x00\x00\x80 \x04\x01\x04\x00\x80 \x02\n\x80 \x00\x00\x00\n\x80 \x80\x02\x02\x00\x80\x00\x80\x02\x08\x80\x00\x00\x08\x02\x00\x80 \x80\x08\x00\x08\x00\x00\x08\x02\x00\x00\x00 \xa0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x88\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x80 \x84P\xac\xff\xe0\x00\x00\x00\x05\x00AP\x06\x00\x05\x00@P\x00\x15\x00AA\x10\x00\x04\x00\x00P\x00\x04\x11\x00@\x00\x00\x04\x00\x00@\x00\x00\x01\x00\x01P\x10\x00\x11\x00\x01@\x00\x10\x11\x00\x01\x10\x04\x05\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00A\xab\x05Y\xff\xc0\x00\xa0\x00"\x00\xc0\x10\x14\x00\x02...x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xf0\x00\x00\x00\x00\x00\x00\x00\x15\x04A"\x88\xa0\x16\x7f\x00 \x00*\x00\x81\x10\x04\x00 \x00\x00\x00\x08\n\x00\x00\x82\xa0\x00*\x00\x02\x00\xa0\x08"\x00\x80\x00\x08\n(\x00\x82\xa0\x00\x02\x00\x82\x80\x80\x00"\x00\x02 \x08\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xff\x80\x00\x00\x00\x00\x00\x00\x00\x00\x80 \x04\x06 \xb3\x00 \x00\x00\n\x80\x00\xa8\x80\x00\x00\x80 \x00\x02\x08\x80 \x00\x00\x02\x80 \x00\x00\x00\x02\x00 \x00\x02\x02\x08\x80\x00\xa8\x00\x02\x80\x80 \x88\x02\n\x00\x00\x08\x88\x00\x08\x80 (\x02\n\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError __________________ test_zfp[float64-line-out-out-mode0-None] ___________________ dtype = dtype('float64'), itype = 'line', enout = 'out', deout = 'out' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfz\x14\xb3\x8f\xfd\x88\x00\x00\x00\x00\x04@\x10D\x01\x83\x01@\x00D\x00\x00@\x00@\x04\x01\x04@\x00D\x01\x00\x04@\x00\x04\x01\x04@\x00\x10D\x01\x00\x00\x00\x00\x00\x00\x04@\x00\x04\x00\x00@@\x00@\x00\x04\x00\x10\x04\x10\x1a+6\xff\xd4\x00\x04\x08\x00\x00\x80\x08"\x00\xc0\x00 \x08 \x00\x80 \x08\x08 \x00\x02 \x00\x02\x00\x00\x02\x00\x08"\x00\x02 \xa0\x00\x08\x00\x02\x00\x00*\n\x00\x82\x80\x00"\x00\x80U\x9b\x7f\xea\x00\x80\x00\x00\n\x00\x82 \x08\x01\x04-\x82\xa0\x08\n\x00\x80\x80\x00\x08(\x00\x02\x80\x00*\x00\x00\x00 \x00\x08\x00\x82\x80 \x08(\x00\x82\x00\x08 \x00\x02\xa0\x08(\x00\x80U\x9b\x7f\xe8\x00\x80 \x00\x08\n\x00\xc0@D\x1a\xa5\x00\x80 \x00 \x00\x82\x00\xa0\x00\x02\x00\x80 \x08\x02 \x00\x82 \x08*\x00\x82\x82\x80\x08*\x00\x80\x00\x08\x00\x02\x00\x80\xa0\x08 \x00@\x00J\x85Y\xf7\xfe\xa0D\x00\x05\x00\x00\x04\x01\x01\x01@\x10D\x01\x04\x00\x00\x10T\x01\x00@\x10T\x01\x01\x04\x00\x00D\x00\x01@@\x00\x04\x00\x00@\x00\x00\x14\x00\x05@\x00P\x00\x05\x00@\x00\x00\x01\x00\x00\x10X3o\xf9@\x00\x00\x00\x10\x14\x01\x00\x00\xa8\x02\r\x00\x01@\x00\x00\x01\x05@@\x00P\x01\x05\x00\x00DP\x00\x05@\x00T\x01\x00\x05\x00\x10P\x01\x01\x00\x10\x00\x10\x01\x00\x00\x10@\x01\xef\xfd@\x10\x10\x00\x00@\x11\x00`\x080\x14\x80\xb3A\x10\x00\x00\x00\x00P\x04\x04\x11\x00@\x00\x00\x10\x00\x00A\x10\x00\x14\x00AP\x00\x00\x05\x00\x01\x00\x04\x14\x10\x00\x01\x00\x00\x11\x00\x01\x01\x00\x00\x04\x00\x01P\x00\x04,\xe3\xff@\x04\x10\x00\x00\x00\x00\x11\x00\x01P\x00\x04\x10\x00@\x00\x04\x11\x00\x00\x00P\x00\x15\x00\x01\x10\x00\x04\x01\x00\x01P\x00\x11\x04\x00A\x00\x04\x04\x00A\x01\x10\x00\x10\x00@P\x00\x00\x00\x00@P\x00\x01\x00\x00\x00\x10\x00\x14\x00\x00P') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[float64-line-out-out-mode0-omp] ___________________ dtype = dtype('float64'), itype = 'line', enout = 'out', deout = 'out' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfz\x14\xb3\x8f\xfd\x88\x00\x00\x00\x00\x04@\x10D\x01\x83\x01@\x00D\x00\x00@\x00@\x04\x01\x04@\x00D\x01\x00\x04@\x00\x04\x01\x04@\x00\x10D\x01\x00\x00\x00\x00\x00\x00\x04@\x00\x04\x00\x00@@\x00@\x00\x04\x00\x10\x04\x10\x1a+6\xff\xd4\x00\x04\x08\x00\x00\x80\x08"\x00\xc0\x00 \x08 \x00\x80 \x08\x08 \x00\x02 \x00\x02\x00\x00\x02\x00\x08"\x00\x02 \xa0\x00\x08\x00\x02\x00\x00*\n\x00\x82\x80\x00"\x00\x80U\x9b\x7f\xea\x00\x80\x00\x00\n\x00\x82 \x08\x01\x04-\x82\xa0\x08\n\x00\x80\x80\x00\x08(\x00\x02\x80\x00*\x00\x00\x00 \x00\x08\x00\x82\x80 \x08(\x00\x82\x00\x08 \x00\x02\xa0\x08(\x00\x80U\x9b\x7f\xe8\x00\x80 \x00\x08\n\x00\xc0@D\x1a\xa5\x00\x80 \x00 \x00\x82\x00\xa0\x00\x02\x00\x80 \x08\x02 \x00\x82 \x08*\x00\x82\x82\x80\x08*\x00\x80\x00\x08\x00\x02\x00\x80\xa0\x08 \x00@\x00J\x85Y\xf7\xfe\xa0D\x00\x05\x00\x00\x04\x01\x01\x01@\x10D\x01\x04\x00\x00\x10T\x01\x00@\x10T\x01\x01\x04\x00\x00D\x00\x01@@\x00\x04\x00\x00@\x00\x00\x14\x00\x05@\x00P\x00\x05\x00@\x00\x00\x01\x00\x00\x10X3o\xf9@\x00\x00\x00\x10\x14\x01\x00\x00\xa8\x02\r\x00\x01@\x00\x00\x01\x05@@\x00P\x01\x05\x00\x00DP\x00\x05@\x00T\x01\x00\x05\x00\x10P\x01\x01\x00\x10\x00\x10\x01\x00\x00\x10@\x01\xef\xfd@\x10\x10\x00\x00@\x11\x00`\x080\x14\x80\xb3A\x10\x00\x00\x00\x00P\x04\x04\x11\x00@\x00\x00\x10\x00\x00A\x10\x00\x14\x00AP\x00\x00\x05\x00\x01\x00\x04\x14\x10\x00\x01\x00\x00\x11\x00\x01\x01\x00\x00\x04\x00\x01P\x00\x04,\xe3\xff@\x04\x10\x00\x00\x00\x00\x11\x00\x01P\x00\x04\x10\x00@\x00\x04\x11\x00\x00\x00P\x00\x15\x00\x01\x10\x00\x04\x01\x00\x01P\x00\x11\x04\x00A\x00\x04\x04\x00A\x01\x10\x00\x10\x00@P\x00\x00\x00\x00@P\x00\x01\x00\x00\x00\x10\x00\x14\x00\x00P') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError __________________ test_zfp[float64-line-out-out-mode1-None] ___________________ dtype = dtype('float64'), itype = 'line', enout = 'out', deout = 'out' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00A\xa8\x8bV\x7f\xf7\x87\xaf\xa8\x00\x00\x80 \x04\x01\x04\x00\x80 \x02\n\x80 \x00\x00\x00\n\x80 \x80\x02\x02\x00\x80\x00\x80\x02\x08\x80\x00\x00\x08\x02\x00\x80 \x80\x08\x00\x08\x00\x00\x08\x02\x00\x00\x00 \xa0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x88\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x80 \x84P\xac\xff\xe0\x00\x00\x00\x05\x00AP\x06\x00\x05\x00@P\x00\x15\x00AA\x10\x00\x04\x00\x00P\x00\x04\x11\x00@\x00\x00\x04\x00\x00@\x00\x00\x01\x00\x01P\x10\x00\x11\x00\x01@\x00\x10\x11\x00\x01\x10\x04\x05\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00A\xab\x05Y\xff\xc0\x00\xa0\x00"\x00\xc0\x10\x14\x00\x02...x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xf0\x00\x00\x00\x00\x00\x00\x00\x15\x04A"\x88\xa0\x16\x7f\x00 \x00*\x00\x81\x10\x04\x00 \x00\x00\x00\x08\n\x00\x00\x82\xa0\x00*\x00\x02\x00\xa0\x08"\x00\x80\x00\x08\n(\x00\x82\xa0\x00\x02\x00\x82\x80\x80\x00"\x00\x02 \x08\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xff\x80\x00\x00\x00\x00\x00\x00\x00\x00\x80 \x04\x06 \xb3\x00 \x00\x00\n\x80\x00\xa8\x80\x00\x00\x80 \x00\x02\x08\x80 \x00\x00\x02\x80 \x00\x00\x00\x02\x00 \x00\x02\x02\x08\x80\x00\xa8\x00\x02\x80\x80 \x88\x02\n\x00\x00\x08\x88\x00\x08\x80 (\x02\n\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[float64-line-out-out-mode1-omp] ___________________ dtype = dtype('float64'), itype = 'line', enout = 'out', deout = 'out' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00A\xa8\x8bV\x7f\xf7\x87\xaf\xa8\x00\x00\x80 \x04\x01\x04\x00\x80 \x02\n\x80 \x00\x00\x00\n\x80 \x80\x02\x02\x00\x80\x00\x80\x02\x08\x80\x00\x00\x08\x02\x00\x80 \x80\x08\x00\x08\x00\x00\x08\x02\x00\x00\x00 \xa0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x88\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x80 \x84P\xac\xff\xe0\x00\x00\x00\x05\x00AP\x06\x00\x05\x00@P\x00\x15\x00AA\x10\x00\x04\x00\x00P\x00\x04\x11\x00@\x00\x00\x04\x00\x00@\x00\x00\x01\x00\x01P\x10\x00\x11\x00\x01@\x00\x10\x11\x00\x01\x10\x04\x05\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00A\xab\x05Y\xff\xc0\x00\xa0\x00"\x00\xc0\x10\x14\x00\x02...x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xf0\x00\x00\x00\x00\x00\x00\x00\x15\x04A"\x88\xa0\x16\x7f\x00 \x00*\x00\x81\x10\x04\x00 \x00\x00\x00\x08\n\x00\x00\x82\xa0\x00*\x00\x02\x00\xa0\x08"\x00\x80\x00\x08\n(\x00\x82\xa0\x00\x02\x00\x82\x80\x80\x00"\x00\x02 \x08\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xff\x80\x00\x00\x00\x00\x00\x00\x00\x00\x80 \x04\x06 \xb3\x00 \x00\x00\n\x80\x00\xa8\x80\x00\x00\x80 \x00\x02\x08\x80 \x00\x00\x02\x80 \x00\x00\x00\x02\x00 \x00\x02\x02\x08\x80\x00\xa8\x00\x02\x80\x80 \x88\x02\n\x00\x00\x08\x88\x00\x08\x80 (\x02\n\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _______________ test_zfp[float64-line-out-bytearray-mode0-None] ________________ dtype = dtype('float64'), itype = 'line', enout = 'out', deout = 'bytearray' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfz\x14\xb3\x8f\xfd\x88\x00\x00\x00\x00\x04@\x10D\x01\x83\x01@\x00D\x00\x00@\x00@\x04\x01\x04@\x00D\x01\x00\x04@\x00\x04\x01\x04@\x00\x10D\x01\x00\x00\x00\x00\x00\x00\x04@\x00\x04\x00\x00@@\x00@\x00\x04\x00\x10\x04\x10\x1a+6\xff\xd4\x00\x04\x08\x00\x00\x80\x08"\x00\xc0\x00 \x08 \x00\x80 \x08\x08 \x00\x02 \x00\x02\x00\x00\x02\x00\x08"\x00\x02 \xa0\x00\x08\x00\x02\x00\x00*\n\x00\x82\x80\x00"\x00\x80U\x9b\x7f\xea\x00\x80\x00\x00\n\x00\x82 \x08\x01\x04-\x82\xa0\x08\n\x00\x80\x80\x00\x08(\x00\x02\x80\x00*\x00\x00\x00 \x00\x08\x00\x82\x80 \x08(\x00\x82\x00\x08 \x00\x02\xa0\x08(\x00\x80U\x9b\x7f\xe8\x00\x80 \x00\x08\n\x00\xc0@D\x1a\xa5\x00\x80 \x00 \x00\x82\x00\xa0\x00\x02\x00\x80 \x08\x02 \x00\x82 \x08*\x00\x82\x82\x80\x08*\x00\x80\x00\x08\x00\x02\x00\x80\xa0\x08 \x00@\x00J\x85Y\xf7\xfe\xa0D\x00\x05\x00\x00\x04\x01\x01\x01@\x10D\x01\x04\x00\x00\x10T\x01\x00@\x10T\x01\x01\x04\x00\x00D\x00\x01@@\x00\x04\x00\x00@\x00\x00\x14\x00\x05@\x00P\x00\x05\x00@\x00\x00\x01\x00\x00\x10X3o\xf9@\x00\x00\x00\x10\x14\x01\x00\x00\xa8\x02\r\x00\x01@\x00\x00\x01\x05@@\x00P\x01\x05\x00\x00DP\x00\x05@\x00T\x01\x00\x05\x00\x10P\x01\x01\x00\x10\x00\x10\x01\x00\x00\x10@\x01\xef\xfd@\x10\x10\x00\x00@\x11\x00`\x080\x14\x80\xb3A\x10\x00\x00\x00\x00P\x04\x04\x11\x00@\x00\x00\x10\x00\x00A\x10\x00\x14\x00AP\x00\x00\x05\x00\x01\x00\x04\x14\x10\x00\x01\x00\x00\x11\x00\x01\x01\x00\x00\x04\x00\x01P\x00\x04,\xe3\xff@\x04\x10\x00\x00\x00\x00\x11\x00\x01P\x00\x04\x10\x00@\x00\x04\x11\x00\x00\x00P\x00\x15\x00\x01\x10\x00\x04\x01\x00\x01P\x00\x11\x04\x00A\x00\x04\x04\x00A\x01\x10\x00\x10\x00@P\x00\x00\x00\x00@P\x00\x01\x00\x00\x00\x10\x00\x14\x00\x00P') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[float64-line-out-bytearray-mode0-omp] ________________ dtype = dtype('float64'), itype = 'line', enout = 'out', deout = 'bytearray' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfz\x14\xb3\x8f\xfd\x88\x00\x00\x00\x00\x04@\x10D\x01\x83\x01@\x00D\x00\x00@\x00@\x04\x01\x04@\x00D\x01\x00\x04@\x00\x04\x01\x04@\x00\x10D\x01\x00\x00\x00\x00\x00\x00\x04@\x00\x04\x00\x00@@\x00@\x00\x04\x00\x10\x04\x10\x1a+6\xff\xd4\x00\x04\x08\x00\x00\x80\x08"\x00\xc0\x00 \x08 \x00\x80 \x08\x08 \x00\x02 \x00\x02\x00\x00\x02\x00\x08"\x00\x02 \xa0\x00\x08\x00\x02\x00\x00*\n\x00\x82\x80\x00"\x00\x80U\x9b\x7f\xea\x00\x80\x00\x00\n\x00\x82 \x08\x01\x04-\x82\xa0\x08\n\x00\x80\x80\x00\x08(\x00\x02\x80\x00*\x00\x00\x00 \x00\x08\x00\x82\x80 \x08(\x00\x82\x00\x08 \x00\x02\xa0\x08(\x00\x80U\x9b\x7f\xe8\x00\x80 \x00\x08\n\x00\xc0@D\x1a\xa5\x00\x80 \x00 \x00\x82\x00\xa0\x00\x02\x00\x80 \x08\x02 \x00\x82 \x08*\x00\x82\x82\x80\x08*\x00\x80\x00\x08\x00\x02\x00\x80\xa0\x08 \x00@\x00J\x85Y\xf7\xfe\xa0D\x00\x05\x00\x00\x04\x01\x01\x01@\x10D\x01\x04\x00\x00\x10T\x01\x00@\x10T\x01\x01\x04\x00\x00D\x00\x01@@\x00\x04\x00\x00@\x00\x00\x14\x00\x05@\x00P\x00\x05\x00@\x00\x00\x01\x00\x00\x10X3o\xf9@\x00\x00\x00\x10\x14\x01\x00\x00\xa8\x02\r\x00\x01@\x00\x00\x01\x05@@\x00P\x01\x05\x00\x00DP\x00\x05@\x00T\x01\x00\x05\x00\x10P\x01\x01\x00\x10\x00\x10\x01\x00\x00\x10@\x01\xef\xfd@\x10\x10\x00\x00@\x11\x00`\x080\x14\x80\xb3A\x10\x00\x00\x00\x00P\x04\x04\x11\x00@\x00\x00\x10\x00\x00A\x10\x00\x14\x00AP\x00\x00\x05\x00\x01\x00\x04\x14\x10\x00\x01\x00\x00\x11\x00\x01\x01\x00\x00\x04\x00\x01P\x00\x04,\xe3\xff@\x04\x10\x00\x00\x00\x00\x11\x00\x01P\x00\x04\x10\x00@\x00\x04\x11\x00\x00\x00P\x00\x15\x00\x01\x10\x00\x04\x01\x00\x01P\x00\x11\x04\x00A\x00\x04\x04\x00A\x01\x10\x00\x10\x00@P\x00\x00\x00\x00@P\x00\x01\x00\x00\x00\x10\x00\x14\x00\x00P') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _______________ test_zfp[float64-line-out-bytearray-mode1-None] ________________ dtype = dtype('float64'), itype = 'line', enout = 'out', deout = 'bytearray' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00A\xa8\x8bV\x7f\xf7\x87\xaf\xa8\x00\x00\x80 \x04\x01\x04\x00\x80 \x02\n\x80 \x00\x00\x00\n\x80 \x80\x02\x02\x00\x80\x00\x80\x02\x08\x80\x00\x00\x08\x02\x00\x80 \x80\x08\x00\x08\x00\x00\x08\x02\x00\x00\x00 \xa0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x88\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x80 \x84P\xac\xff\xe0\x00\x00\x00\x05\x00AP\x06\x00\x05\x00@P\x00\x15\x00AA\x10\x00\x04\x00\x00P\x00\x04\x11\x00@\x00\x00\x04\x00\x00@\x00\x00\x01\x00\x01P\x10\x00\x11\x00\x01@\x00\x10\x11\x00\x01\x10\x04\x05\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00A\xab\x05Y\xff\xc0\x00\xa0\x00"\x00\xc0\x10\x14\x00\x02...x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xf0\x00\x00\x00\x00\x00\x00\x00\x15\x04A"\x88\xa0\x16\x7f\x00 \x00*\x00\x81\x10\x04\x00 \x00\x00\x00\x08\n\x00\x00\x82\xa0\x00*\x00\x02\x00\xa0\x08"\x00\x80\x00\x08\n(\x00\x82\xa0\x00\x02\x00\x82\x80\x80\x00"\x00\x02 \x08\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xff\x80\x00\x00\x00\x00\x00\x00\x00\x00\x80 \x04\x06 \xb3\x00 \x00\x00\n\x80\x00\xa8\x80\x00\x00\x80 \x00\x02\x08\x80 \x00\x00\x02\x80 \x00\x00\x00\x02\x00 \x00\x02\x02\x08\x80\x00\xa8\x00\x02\x80\x80 \x88\x02\n\x00\x00\x08\x88\x00\x08\x80 (\x02\n\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[float64-line-out-bytearray-mode1-omp] ________________ dtype = dtype('float64'), itype = 'line', enout = 'out', deout = 'bytearray' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00A\xa8\x8bV\x7f\xf7\x87\xaf\xa8\x00\x00\x80 \x04\x01\x04\x00\x80 \x02\n\x80 \x00\x00\x00\n\x80 \x80\x02\x02\x00\x80\x00\x80\x02\x08\x80\x00\x00\x08\x02\x00\x80 \x80\x08\x00\x08\x00\x00\x08\x02\x00\x00\x00 \xa0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x88\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x80 \x84P\xac\xff\xe0\x00\x00\x00\x05\x00AP\x06\x00\x05\x00@P\x00\x15\x00AA\x10\x00\x04\x00\x00P\x00\x04\x11\x00@\x00\x00\x04\x00\x00@\x00\x00\x01\x00\x01P\x10\x00\x11\x00\x01@\x00\x10\x11\x00\x01\x10\x04\x05\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00A\xab\x05Y\xff\xc0\x00\xa0\x00"\x00\xc0\x10\x14\x00\x02...x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xf0\x00\x00\x00\x00\x00\x00\x00\x15\x04A"\x88\xa0\x16\x7f\x00 \x00*\x00\x81\x10\x04\x00 \x00\x00\x00\x08\n\x00\x00\x82\xa0\x00*\x00\x02\x00\xa0\x08"\x00\x80\x00\x08\n(\x00\x82\xa0\x00\x02\x00\x82\x80\x80\x00"\x00\x02 \x08\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xff\x80\x00\x00\x00\x00\x00\x00\x00\x00\x80 \x04\x06 \xb3\x00 \x00\x00\n\x80\x00\xa8\x80\x00\x00\x80 \x00\x02\x08\x80 \x00\x00\x02\x80 \x00\x00\x00\x02\x00 \x00\x02\x02\x08\x80\x00\xa8\x00\x02\x80\x80 \x88\x02\n\x00\x00\x08\x88\x00\x08\x80 (\x02\n\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _______________ test_zfp[float64-line-bytearray-new-mode0-None] ________________ dtype = dtype('float64'), itype = 'line', enout = 'bytearray', deout = 'new' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfz\x14\xb3\x8f\xfd\x88\x00\x00\x00\x00\x04@\x10D\x01\x83\x01@\x00D\x00\x00@\x00@\x04\x01\x04@\x00D\x01\x00\x04@\x00\x04\x01\x04@\x00\x10D\x01\x00\x00\x00\x00\x00\x00\x04@\x00\x04\x00\x00@@\x00@\x00\x04\x00\x10\x04\x10\x1a+6\xff\xd4\x00\x04\x08\x00\x00\x80\x08"\x00\xc0\x00 \x08 \x00\x80 \x08\x08 \x00\x02 \x00\x02\x00\x00\x02\x00\x08"\x00\x02 \xa0\x00\x08\x00\x02\x00\x00*\n\x00\x82\x80\x00"\x00\x80U\x9b\x7f\xea\x00\x80\x00\x00\n\x00\x82 \x08\x01\x04-\x82\xa0\x08\n\x00\x80\x80\x00\x08(\x00\x02\x80\x00*\x00\x00\x00 \x00\x08\x00\x82\x80 \x08(\x00\x82\x00\x08 \x00\x02\xa0\x08(\x00\x80U\x9b\x7f\xe8\x00\x80 \x00\x08\n\x00\xc0@D\x1a\xa5\x00\x80 \x00 \x00\x82\x00\xa0\x00\x02\x00\x80 \x08\x02 \x00\x82 \x08*\x00\x82\x82\x80\x08*\x00\x80\x00\x08\x00\x02\x00\x80\xa0\x08 \x00@\x00J\x85Y\xf7\xfe\xa0D\x00\x05\x00\x00\x04\x01\x01\x01@\x10D\x01\x04\x00\x00\x10T\x01\x00@\x10T\x01\x01\x04\x00\x00D\x00\x01@@\x00\x04\x00\x00@\x00\x00\x14\x00\x05@\x00P\x00\x05\x00@\x00\x00\x01\x00\x00\x10X3o\xf9@\x00\x00\x00\x10\x14\x01\x00\x00\xa8\x02\r\x00\x01@\x00\x00\x01\x05@@\x00P\x01\x05\x00\x00DP\x00\x05@\x00T\x01\x00\x05\x00\x10P\x01\x01\x00\x10\x00\x10\x01\x00\x00\x10@\x01\xef\xfd@\x10\x10\x00\x00@\x11\x00`\x080\x14\x80\xb3A\x10\x00\x00\x00\x00P\x04\x04\x11\x00@\x00\x00\x10\x00\x00A\x10\x00\x14\x00AP\x00\x00\x05\x00\x01\x00\x04\x14\x10\x00\x01\x00\x00\x11\x00\x01\x01\x00\x00\x04\x00\x01P\x00\x04,\xe3\xff@\x04\x10\x00\x00\x00\x00\x11\x00\x01P\x00\x04\x10\x00@\x00\x04\x11\x00\x00\x00P\x00\x15\x00\x01\x10\x00\x04\x01\x00\x01P\x00\x11\x04\x00A\x00\x04\x04\x00A\x01\x10\x00\x10\x00@P\x00\x00\x00\x00@P\x00\x01\x00\x00\x00\x10\x00\x14\x00\x00P') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[float64-line-bytearray-new-mode0-omp] ________________ dtype = dtype('float64'), itype = 'line', enout = 'bytearray', deout = 'new' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfz\x14\xb3\x8f\xfd\x88\x00\x00\x00\x00\x04@\x10D\x01\x83\x01@\x00D\x00\x00@\x00@\x04\x01\x04@\x00D\x01\x00\x04@\x00\x04\x01\x04@\x00\x10D\x01\x00\x00\x00\x00\x00\x00\x04@\x00\x04\x00\x00@@\x00@\x00\x04\x00\x10\x04\x10\x1a+6\xff\xd4\x00\x04\x08\x00\x00\x80\x08"\x00\xc0\x00 \x08 \x00\x80 \x08\x08 \x00\x02 \x00\x02\x00\x00\x02\x00\x08"\x00\x02 \xa0\x00\x08\x00\x02\x00\x00*\n\x00\x82\x80\x00"\x00\x80U\x9b\x7f\xea\x00\x80\x00\x00\n\x00\x82 \x08\x01\x04-\x82\xa0\x08\n\x00\x80\x80\x00\x08(\x00\x02\x80\x00*\x00\x00\x00 \x00\x08\x00\x82\x80 \x08(\x00\x82\x00\x08 \x00\x02\xa0\x08(\x00\x80U\x9b\x7f\xe8\x00\x80 \x00\x08\n\x00\xc0@D\x1a\xa5\x00\x80 \x00 \x00\x82\x00\xa0\x00\x02\x00\x80 \x08\x02 \x00\x82 \x08*\x00\x82\x82\x80\x08*\x00\x80\x00\x08\x00\x02\x00\x80\xa0\x08 \x00@\x00J\x85Y\xf7\xfe\xa0D\x00\x05\x00\x00\x04\x01\x01\x01@\x10D\x01\x04\x00\x00\x10T\x01\x00@\x10T\x01\x01\x04\x00\x00D\x00\x01@@\x00\x04\x00\x00@\x00\x00\x14\x00\x05@\x00P\x00\x05\x00@\x00\x00\x01\x00\x00\x10X3o\xf9@\x00\x00\x00\x10\x14\x01\x00\x00\xa8\x02\r\x00\x01@\x00\x00\x01\x05@@\x00P\x01\x05\x00\x00DP\x00\x05@\x00T\x01\x00\x05\x00\x10P\x01\x01\x00\x10\x00\x10\x01\x00\x00\x10@\x01\xef\xfd@\x10\x10\x00\x00@\x11\x00`\x080\x14\x80\xb3A\x10\x00\x00\x00\x00P\x04\x04\x11\x00@\x00\x00\x10\x00\x00A\x10\x00\x14\x00AP\x00\x00\x05\x00\x01\x00\x04\x14\x10\x00\x01\x00\x00\x11\x00\x01\x01\x00\x00\x04\x00\x01P\x00\x04,\xe3\xff@\x04\x10\x00\x00\x00\x00\x11\x00\x01P\x00\x04\x10\x00@\x00\x04\x11\x00\x00\x00P\x00\x15\x00\x01\x10\x00\x04\x01\x00\x01P\x00\x11\x04\x00A\x00\x04\x04\x00A\x01\x10\x00\x10\x00@P\x00\x00\x00\x00@P\x00\x01\x00\x00\x00\x10\x00\x14\x00\x00P') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _______________ test_zfp[float64-line-bytearray-new-mode1-None] ________________ dtype = dtype('float64'), itype = 'line', enout = 'bytearray', deout = 'new' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00A\xa8\x8bV\x7f\xf7\x87\xaf\xa8\x00\x00\x80 \x04\x01\x04\x00\x80 \x02\n\x80 \x00\x00\x00\n\x80 \x80\x02\x02\x00\x80\x00\x80\x02\x08\x80\x00\x00\x08\x02\x00\x80 \x80\x08\x00\x08\x00\x00\x08\x02\x00\x00\x00 \xa0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x88\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x80 \x84P\xac\xff\xe0\x00\x00\x00\x05\x00AP\x06\x00\x05\x00@P\x00\x15\x00AA\x10\x00\x04\x00\x00P\x00\x04\x11\x00@\x00\x00\x04\x00\x00@\x00\x00\x01\x00\x01P\x10\x00\x11\x00\x01@\x00\x10\x11\x00\x01\x10\x04\x05\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00A\xab\x05Y\xff\xc0\x00\xa0\x00"\x00\xc0\x10\x14\x00\x02...x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xf0\x00\x00\x00\x00\x00\x00\x00\x15\x04A"\x88\xa0\x16\x7f\x00 \x00*\x00\x81\x10\x04\x00 \x00\x00\x00\x08\n\x00\x00\x82\xa0\x00*\x00\x02\x00\xa0\x08"\x00\x80\x00\x08\n(\x00\x82\xa0\x00\x02\x00\x82\x80\x80\x00"\x00\x02 \x08\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xff\x80\x00\x00\x00\x00\x00\x00\x00\x00\x80 \x04\x06 \xb3\x00 \x00\x00\n\x80\x00\xa8\x80\x00\x00\x80 \x00\x02\x08\x80 \x00\x00\x02\x80 \x00\x00\x00\x02\x00 \x00\x02\x02\x08\x80\x00\xa8\x00\x02\x80\x80 \x88\x02\n\x00\x00\x08\x88\x00\x08\x80 (\x02\n\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[float64-line-bytearray-new-mode1-omp] ________________ dtype = dtype('float64'), itype = 'line', enout = 'bytearray', deout = 'new' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00A\xa8\x8bV\x7f\xf7\x87\xaf\xa8\x00\x00\x80 \x04\x01\x04\x00\x80 \x02\n\x80 \x00\x00\x00\n\x80 \x80\x02\x02\x00\x80\x00\x80\x02\x08\x80\x00\x00\x08\x02\x00\x80 \x80\x08\x00\x08\x00\x00\x08\x02\x00\x00\x00 \xa0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x88\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x80 \x84P\xac\xff\xe0\x00\x00\x00\x05\x00AP\x06\x00\x05\x00@P\x00\x15\x00AA\x10\x00\x04\x00\x00P\x00\x04\x11\x00@\x00\x00\x04\x00\x00@\x00\x00\x01\x00\x01P\x10\x00\x11\x00\x01@\x00\x10\x11\x00\x01\x10\x04\x05\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00A\xab\x05Y\xff\xc0\x00\xa0\x00"\x00\xc0\x10\x14\x00\x02...x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xf0\x00\x00\x00\x00\x00\x00\x00\x15\x04A"\x88\xa0\x16\x7f\x00 \x00*\x00\x81\x10\x04\x00 \x00\x00\x00\x08\n\x00\x00\x82\xa0\x00*\x00\x02\x00\xa0\x08"\x00\x80\x00\x08\n(\x00\x82\xa0\x00\x02\x00\x82\x80\x80\x00"\x00\x02 \x08\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xff\x80\x00\x00\x00\x00\x00\x00\x00\x00\x80 \x04\x06 \xb3\x00 \x00\x00\n\x80\x00\xa8\x80\x00\x00\x80 \x00\x02\x08\x80 \x00\x00\x02\x80 \x00\x00\x00\x02\x00 \x00\x02\x02\x08\x80\x00\xa8\x00\x02\x80\x80 \x88\x02\n\x00\x00\x08\x88\x00\x08\x80 (\x02\n\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _______________ test_zfp[float64-line-bytearray-out-mode0-None] ________________ dtype = dtype('float64'), itype = 'line', enout = 'bytearray', deout = 'out' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfz\x14\xb3\x8f\xfd\x88\x00\x00\x00\x00\x04@\x10D\x01\x83\x01@\x00D\x00\x00@\x00@\x04\x01\x04@\x00D\x01\x00\x04@\x00\x04\x01\x04@\x00\x10D\x01\x00\x00\x00\x00\x00\x00\x04@\x00\x04\x00\x00@@\x00@\x00\x04\x00\x10\x04\x10\x1a+6\xff\xd4\x00\x04\x08\x00\x00\x80\x08"\x00\xc0\x00 \x08 \x00\x80 \x08\x08 \x00\x02 \x00\x02\x00\x00\x02\x00\x08"\x00\x02 \xa0\x00\x08\x00\x02\x00\x00*\n\x00\x82\x80\x00"\x00\x80U\x9b\x7f\xea\x00\x80\x00\x00\n\x00\x82 \x08\x01\x04-\x82\xa0\x08\n\x00\x80\x80\x00\x08(\x00\x02\x80\x00*\x00\x00\x00 \x00\x08\x00\x82\x80 \x08(\x00\x82\x00\x08 \x00\x02\xa0\x08(\x00\x80U\x9b\x7f\xe8\x00\x80 \x00\x08\n\x00\xc0@D\x1a\xa5\x00\x80 \x00 \x00\x82\x00\xa0\x00\x02\x00\x80 \x08\x02 \x00\x82 \x08*\x00\x82\x82\x80\x08*\x00\x80\x00\x08\x00\x02\x00\x80\xa0\x08 \x00@\x00J\x85Y\xf7\xfe\xa0D\x00\x05\x00\x00\x04\x01\x01\x01@\x10D\x01\x04\x00\x00\x10T\x01\x00@\x10T\x01\x01\x04\x00\x00D\x00\x01@@\x00\x04\x00\x00@\x00\x00\x14\x00\x05@\x00P\x00\x05\x00@\x00\x00\x01\x00\x00\x10X3o\xf9@\x00\x00\x00\x10\x14\x01\x00\x00\xa8\x02\r\x00\x01@\x00\x00\x01\x05@@\x00P\x01\x05\x00\x00DP\x00\x05@\x00T\x01\x00\x05\x00\x10P\x01\x01\x00\x10\x00\x10\x01\x00\x00\x10@\x01\xef\xfd@\x10\x10\x00\x00@\x11\x00`\x080\x14\x80\xb3A\x10\x00\x00\x00\x00P\x04\x04\x11\x00@\x00\x00\x10\x00\x00A\x10\x00\x14\x00AP\x00\x00\x05\x00\x01\x00\x04\x14\x10\x00\x01\x00\x00\x11\x00\x01\x01\x00\x00\x04\x00\x01P\x00\x04,\xe3\xff@\x04\x10\x00\x00\x00\x00\x11\x00\x01P\x00\x04\x10\x00@\x00\x04\x11\x00\x00\x00P\x00\x15\x00\x01\x10\x00\x04\x01\x00\x01P\x00\x11\x04\x00A\x00\x04\x04\x00A\x01\x10\x00\x10\x00@P\x00\x00\x00\x00@P\x00\x01\x00\x00\x00\x10\x00\x14\x00\x00P') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[float64-line-bytearray-out-mode0-omp] ________________ dtype = dtype('float64'), itype = 'line', enout = 'bytearray', deout = 'out' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfz\x14\xb3\x8f\xfd\x88\x00\x00\x00\x00\x04@\x10D\x01\x83\x01@\x00D\x00\x00@\x00@\x04\x01\x04@\x00D\x01\x00\x04@\x00\x04\x01\x04@\x00\x10D\x01\x00\x00\x00\x00\x00\x00\x04@\x00\x04\x00\x00@@\x00@\x00\x04\x00\x10\x04\x10\x1a+6\xff\xd4\x00\x04\x08\x00\x00\x80\x08"\x00\xc0\x00 \x08 \x00\x80 \x08\x08 \x00\x02 \x00\x02\x00\x00\x02\x00\x08"\x00\x02 \xa0\x00\x08\x00\x02\x00\x00*\n\x00\x82\x80\x00"\x00\x80U\x9b\x7f\xea\x00\x80\x00\x00\n\x00\x82 \x08\x01\x04-\x82\xa0\x08\n\x00\x80\x80\x00\x08(\x00\x02\x80\x00*\x00\x00\x00 \x00\x08\x00\x82\x80 \x08(\x00\x82\x00\x08 \x00\x02\xa0\x08(\x00\x80U\x9b\x7f\xe8\x00\x80 \x00\x08\n\x00\xc0@D\x1a\xa5\x00\x80 \x00 \x00\x82\x00\xa0\x00\x02\x00\x80 \x08\x02 \x00\x82 \x08*\x00\x82\x82\x80\x08*\x00\x80\x00\x08\x00\x02\x00\x80\xa0\x08 \x00@\x00J\x85Y\xf7\xfe\xa0D\x00\x05\x00\x00\x04\x01\x01\x01@\x10D\x01\x04\x00\x00\x10T\x01\x00@\x10T\x01\x01\x04\x00\x00D\x00\x01@@\x00\x04\x00\x00@\x00\x00\x14\x00\x05@\x00P\x00\x05\x00@\x00\x00\x01\x00\x00\x10X3o\xf9@\x00\x00\x00\x10\x14\x01\x00\x00\xa8\x02\r\x00\x01@\x00\x00\x01\x05@@\x00P\x01\x05\x00\x00DP\x00\x05@\x00T\x01\x00\x05\x00\x10P\x01\x01\x00\x10\x00\x10\x01\x00\x00\x10@\x01\xef\xfd@\x10\x10\x00\x00@\x11\x00`\x080\x14\x80\xb3A\x10\x00\x00\x00\x00P\x04\x04\x11\x00@\x00\x00\x10\x00\x00A\x10\x00\x14\x00AP\x00\x00\x05\x00\x01\x00\x04\x14\x10\x00\x01\x00\x00\x11\x00\x01\x01\x00\x00\x04\x00\x01P\x00\x04,\xe3\xff@\x04\x10\x00\x00\x00\x00\x11\x00\x01P\x00\x04\x10\x00@\x00\x04\x11\x00\x00\x00P\x00\x15\x00\x01\x10\x00\x04\x01\x00\x01P\x00\x11\x04\x00A\x00\x04\x04\x00A\x01\x10\x00\x10\x00@P\x00\x00\x00\x00@P\x00\x01\x00\x00\x00\x10\x00\x14\x00\x00P') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _______________ test_zfp[float64-line-bytearray-out-mode1-None] ________________ dtype = dtype('float64'), itype = 'line', enout = 'bytearray', deout = 'out' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00A\xa8\x8bV\x7f\xf7\x87\xaf\xa8\x00\x00\x80 \x04\x01\x04\x00\x80 \x02\n\x80 \x00\x00\x00\n\x80 \x80\x02\x02\x00\x80\x00\x80\x02\x08\x80\x00\x00\x08\x02\x00\x80 \x80\x08\x00\x08\x00\x00\x08\x02\x00\x00\x00 \xa0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x88\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x80 \x84P\xac\xff\xe0\x00\x00\x00\x05\x00AP\x06\x00\x05\x00@P\x00\x15\x00AA\x10\x00\x04\x00\x00P\x00\x04\x11\x00@\x00\x00\x04\x00\x00@\x00\x00\x01\x00\x01P\x10\x00\x11\x00\x01@\x00\x10\x11\x00\x01\x10\x04\x05\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00A\xab\x05Y\xff\xc0\x00\xa0\x00"\x00\xc0\x10\x14\x00\x02...x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xf0\x00\x00\x00\x00\x00\x00\x00\x15\x04A"\x88\xa0\x16\x7f\x00 \x00*\x00\x81\x10\x04\x00 \x00\x00\x00\x08\n\x00\x00\x82\xa0\x00*\x00\x02\x00\xa0\x08"\x00\x80\x00\x08\n(\x00\x82\xa0\x00\x02\x00\x82\x80\x80\x00"\x00\x02 \x08\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xff\x80\x00\x00\x00\x00\x00\x00\x00\x00\x80 \x04\x06 \xb3\x00 \x00\x00\n\x80\x00\xa8\x80\x00\x00\x80 \x00\x02\x08\x80 \x00\x00\x02\x80 \x00\x00\x00\x02\x00 \x00\x02\x02\x08\x80\x00\xa8\x00\x02\x80\x80 \x88\x02\n\x00\x00\x08\x88\x00\x08\x80 (\x02\n\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[float64-line-bytearray-out-mode1-omp] ________________ dtype = dtype('float64'), itype = 'line', enout = 'bytearray', deout = 'out' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00A\xa8\x8bV\x7f\xf7\x87\xaf\xa8\x00\x00\x80 \x04\x01\x04\x00\x80 \x02\n\x80 \x00\x00\x00\n\x80 \x80\x02\x02\x00\x80\x00\x80\x02\x08\x80\x00\x00\x08\x02\x00\x80 \x80\x08\x00\x08\x00\x00\x08\x02\x00\x00\x00 \xa0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x88\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x80 \x84P\xac\xff\xe0\x00\x00\x00\x05\x00AP\x06\x00\x05\x00@P\x00\x15\x00AA\x10\x00\x04\x00\x00P\x00\x04\x11\x00@\x00\x00\x04\x00\x00@\x00\x00\x01\x00\x01P\x10\x00\x11\x00\x01@\x00\x10\x11\x00\x01\x10\x04\x05\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00A\xab\x05Y\xff\xc0\x00\xa0\x00"\x00\xc0\x10\x14\x00\x02...x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xf0\x00\x00\x00\x00\x00\x00\x00\x15\x04A"\x88\xa0\x16\x7f\x00 \x00*\x00\x81\x10\x04\x00 \x00\x00\x00\x08\n\x00\x00\x82\xa0\x00*\x00\x02\x00\xa0\x08"\x00\x80\x00\x08\n(\x00\x82\xa0\x00\x02\x00\x82\x80\x80\x00"\x00\x02 \x08\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xff\x80\x00\x00\x00\x00\x00\x00\x00\x00\x80 \x04\x06 \xb3\x00 \x00\x00\n\x80\x00\xa8\x80\x00\x00\x80 \x00\x02\x08\x80 \x00\x00\x02\x80 \x00\x00\x00\x02\x00 \x00\x02\x02\x08\x80\x00\xa8\x00\x02\x80\x80 \x88\x02\n\x00\x00\x08\x88\x00\x08\x80 (\x02\n\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ____________ test_zfp[float64-line-bytearray-bytearray-mode0-None] _____________ dtype = dtype('float64'), itype = 'line', enout = 'bytearray' deout = 'bytearray', mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfz\x14\xb3\x8f\xfd\x88\x00\x00\x00\x00\x04@\x10D\x01\x83\x01@\x00D\x00\x00@\x00@\x04\x01\x04@\x00D\x01\x00\x04@\x00\x04\x01\x04@\x00\x10D\x01\x00\x00\x00\x00\x00\x00\x04@\x00\x04\x00\x00@@\x00@\x00\x04\x00\x10\x04\x10\x1a+6\xff\xd4\x00\x04\x08\x00\x00\x80\x08"\x00\xc0\x00 \x08 \x00\x80 \x08\x08 \x00\x02 \x00\x02\x00\x00\x02\x00\x08"\x00\x02 \xa0\x00\x08\x00\x02\x00\x00*\n\x00\x82\x80\x00"\x00\x80U\x9b\x7f\xea\x00\x80\x00\x00\n\x00\x82 \x08\x01\x04-\x82\xa0\x08\n\x00\x80\x80\x00\x08(\x00\x02\x80\x00*\x00\x00\x00 \x00\x08\x00\x82\x80 \x08(\x00\x82\x00\x08 \x00\x02\xa0\x08(\x00\x80U\x9b\x7f\xe8\x00\x80 \x00\x08\n\x00\xc0@D\x1a\xa5\x00\x80 \x00 \x00\x82\x00\xa0\x00\x02\x00\x80 \x08\x02 \x00\x82 \x08*\x00\x82\x82\x80\x08*\x00\x80\x00\x08\x00\x02\x00\x80\xa0\x08 \x00@\x00J\x85Y\xf7\xfe\xa0D\x00\x05\x00\x00\x04\x01\x01\x01@\x10D\x01\x04\x00\x00\x10T\x01\x00@\x10T\x01\x01\x04\x00\x00D\x00\x01@@\x00\x04\x00\x00@\x00\x00\x14\x00\x05@\x00P\x00\x05\x00@\x00\x00\x01\x00\x00\x10X3o\xf9@\x00\x00\x00\x10\x14\x01\x00\x00\xa8\x02\r\x00\x01@\x00\x00\x01\x05@@\x00P\x01\x05\x00\x00DP\x00\x05@\x00T\x01\x00\x05\x00\x10P\x01\x01\x00\x10\x00\x10\x01\x00\x00\x10@\x01\xef\xfd@\x10\x10\x00\x00@\x11\x00`\x080\x14\x80\xb3A\x10\x00\x00\x00\x00P\x04\x04\x11\x00@\x00\x00\x10\x00\x00A\x10\x00\x14\x00AP\x00\x00\x05\x00\x01\x00\x04\x14\x10\x00\x01\x00\x00\x11\x00\x01\x01\x00\x00\x04\x00\x01P\x00\x04,\xe3\xff@\x04\x10\x00\x00\x00\x00\x11\x00\x01P\x00\x04\x10\x00@\x00\x04\x11\x00\x00\x00P\x00\x15\x00\x01\x10\x00\x04\x01\x00\x01P\x00\x11\x04\x00A\x00\x04\x04\x00A\x01\x10\x00\x10\x00@P\x00\x00\x00\x00@P\x00\x01\x00\x00\x00\x10\x00\x14\x00\x00P') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _____________ test_zfp[float64-line-bytearray-bytearray-mode0-omp] _____________ dtype = dtype('float64'), itype = 'line', enout = 'bytearray' deout = 'bytearray', mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfz\x14\xb3\x8f\xfd\x88\x00\x00\x00\x00\x04@\x10D\x01\x83\x01@\x00D\x00\x00@\x00@\x04\x01\x04@\x00D\x01\x00\x04@\x00\x04\x01\x04@\x00\x10D\x01\x00\x00\x00\x00\x00\x00\x04@\x00\x04\x00\x00@@\x00@\x00\x04\x00\x10\x04\x10\x1a+6\xff\xd4\x00\x04\x08\x00\x00\x80\x08"\x00\xc0\x00 \x08 \x00\x80 \x08\x08 \x00\x02 \x00\x02\x00\x00\x02\x00\x08"\x00\x02 \xa0\x00\x08\x00\x02\x00\x00*\n\x00\x82\x80\x00"\x00\x80U\x9b\x7f\xea\x00\x80\x00\x00\n\x00\x82 \x08\x01\x04-\x82\xa0\x08\n\x00\x80\x80\x00\x08(\x00\x02\x80\x00*\x00\x00\x00 \x00\x08\x00\x82\x80 \x08(\x00\x82\x00\x08 \x00\x02\xa0\x08(\x00\x80U\x9b\x7f\xe8\x00\x80 \x00\x08\n\x00\xc0@D\x1a\xa5\x00\x80 \x00 \x00\x82\x00\xa0\x00\x02\x00\x80 \x08\x02 \x00\x82 \x08*\x00\x82\x82\x80\x08*\x00\x80\x00\x08\x00\x02\x00\x80\xa0\x08 \x00@\x00J\x85Y\xf7\xfe\xa0D\x00\x05\x00\x00\x04\x01\x01\x01@\x10D\x01\x04\x00\x00\x10T\x01\x00@\x10T\x01\x01\x04\x00\x00D\x00\x01@@\x00\x04\x00\x00@\x00\x00\x14\x00\x05@\x00P\x00\x05\x00@\x00\x00\x01\x00\x00\x10X3o\xf9@\x00\x00\x00\x10\x14\x01\x00\x00\xa8\x02\r\x00\x01@\x00\x00\x01\x05@@\x00P\x01\x05\x00\x00DP\x00\x05@\x00T\x01\x00\x05\x00\x10P\x01\x01\x00\x10\x00\x10\x01\x00\x00\x10@\x01\xef\xfd@\x10\x10\x00\x00@\x11\x00`\x080\x14\x80\xb3A\x10\x00\x00\x00\x00P\x04\x04\x11\x00@\x00\x00\x10\x00\x00A\x10\x00\x14\x00AP\x00\x00\x05\x00\x01\x00\x04\x14\x10\x00\x01\x00\x00\x11\x00\x01\x01\x00\x00\x04\x00\x01P\x00\x04,\xe3\xff@\x04\x10\x00\x00\x00\x00\x11\x00\x01P\x00\x04\x10\x00@\x00\x04\x11\x00\x00\x00P\x00\x15\x00\x01\x10\x00\x04\x01\x00\x01P\x00\x11\x04\x00A\x00\x04\x04\x00A\x01\x10\x00\x10\x00@P\x00\x00\x00\x00@P\x00\x01\x00\x00\x00\x10\x00\x14\x00\x00P') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ____________ test_zfp[float64-line-bytearray-bytearray-mode1-None] _____________ dtype = dtype('float64'), itype = 'line', enout = 'bytearray' deout = 'bytearray', mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00A\xa8\x8bV\x7f\xf7\x87\xaf\xa8\x00\x00\x80 \x04\x01\x04\x00\x80 \x02\n\x80 \x00\x00\x00\n\x80 \x80\x02\x02\x00\x80\x00\x80\x02\x08\x80\x00\x00\x08\x02\x00\x80 \x80\x08\x00\x08\x00\x00\x08\x02\x00\x00\x00 \xa0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x88\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x80 \x84P\xac\xff\xe0\x00\x00\x00\x05\x00AP\x06\x00\x05\x00@P\x00\x15\x00AA\x10\x00\x04\x00\x00P\x00\x04\x11\x00@\x00\x00\x04\x00\x00@\x00\x00\x01\x00\x01P\x10\x00\x11\x00\x01@\x00\x10\x11\x00\x01\x10\x04\x05\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00A\xab\x05Y\xff\xc0\x00\xa0\x00"\x00\xc0\x10\x14\x00\x02...x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xf0\x00\x00\x00\x00\x00\x00\x00\x15\x04A"\x88\xa0\x16\x7f\x00 \x00*\x00\x81\x10\x04\x00 \x00\x00\x00\x08\n\x00\x00\x82\xa0\x00*\x00\x02\x00\xa0\x08"\x00\x80\x00\x08\n(\x00\x82\xa0\x00\x02\x00\x82\x80\x80\x00"\x00\x02 \x08\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xff\x80\x00\x00\x00\x00\x00\x00\x00\x00\x80 \x04\x06 \xb3\x00 \x00\x00\n\x80\x00\xa8\x80\x00\x00\x80 \x00\x02\x08\x80 \x00\x00\x02\x80 \x00\x00\x00\x02\x00 \x00\x02\x02\x08\x80\x00\xa8\x00\x02\x80\x80 \x88\x02\n\x00\x00\x08\x88\x00\x08\x80 (\x02\n\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _____________ test_zfp[float64-line-bytearray-bytearray-mode1-omp] _____________ dtype = dtype('float64'), itype = 'line', enout = 'bytearray' deout = 'bytearray', mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00A\xa8\x8bV\x7f\xf7\x87\xaf\xa8\x00\x00\x80 \x04\x01\x04\x00\x80 \x02\n\x80 \x00\x00\x00\n\x80 \x80\x02\x02\x00\x80\x00\x80\x02\x08\x80\x00\x00\x08\x02\x00\x80 \x80\x08\x00\x08\x00\x00\x08\x02\x00\x00\x00 \xa0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x88\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x80 \x84P\xac\xff\xe0\x00\x00\x00\x05\x00AP\x06\x00\x05\x00@P\x00\x15\x00AA\x10\x00\x04\x00\x00P\x00\x04\x11\x00@\x00\x00\x04\x00\x00@\x00\x00\x01\x00\x01P\x10\x00\x11\x00\x01@\x00\x10\x11\x00\x01\x10\x04\x05\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00A\xab\x05Y\xff\xc0\x00\xa0\x00"\x00\xc0\x10\x14\x00\x02...x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xf0\x00\x00\x00\x00\x00\x00\x00\x15\x04A"\x88\xa0\x16\x7f\x00 \x00*\x00\x81\x10\x04\x00 \x00\x00\x00\x08\n\x00\x00\x82\xa0\x00*\x00\x02\x00\xa0\x08"\x00\x80\x00\x08\n(\x00\x82\xa0\x00\x02\x00\x82\x80\x80\x00"\x00\x02 \x08\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xff\x80\x00\x00\x00\x00\x00\x00\x00\x00\x80 \x04\x06 \xb3\x00 \x00\x00\n\x80\x00\xa8\x80\x00\x00\x80 \x00\x02\x08\x80 \x00\x00\x02\x80 \x00\x00\x00\x02\x00 \x00\x02\x02\x08\x80\x00\xa8\x00\x02\x80\x80 \x88\x02\n\x00\x00\x08\x88\x00\x08\x80 (\x02\n\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[int32-rgba-new-new-mode0-None] ____________________ dtype = dtype('int32'), itype = 'rgba', enout = 'new', deout = 'new' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x008\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ____________________ test_zfp[int32-rgba-new-new-mode0-omp] ____________________ dtype = dtype('int32'), itype = 'rgba', enout = 'new', deout = 'new' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x008\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[int32-rgba-new-new-mode1-None] ____________________ dtype = dtype('int32'), itype = 'rgba', enout = 'new', deout = 'new', mode = 'p' execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x008\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ____________________ test_zfp[int32-rgba-new-new-mode1-omp] ____________________ dtype = dtype('int32'), itype = 'rgba', enout = 'new', deout = 'new', mode = 'p' execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x008\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[int32-rgba-new-out-mode0-None] ____________________ dtype = dtype('int32'), itype = 'rgba', enout = 'new', deout = 'out' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x008\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ____________________ test_zfp[int32-rgba-new-out-mode0-omp] ____________________ dtype = dtype('int32'), itype = 'rgba', enout = 'new', deout = 'out' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x008\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[int32-rgba-new-out-mode1-None] ____________________ dtype = dtype('int32'), itype = 'rgba', enout = 'new', deout = 'out', mode = 'p' execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x008\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ____________________ test_zfp[int32-rgba-new-out-mode1-omp] ____________________ dtype = dtype('int32'), itype = 'rgba', enout = 'new', deout = 'out', mode = 'p' execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x008\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[int32-rgba-new-bytearray-mode0-None] _________________ dtype = dtype('int32'), itype = 'rgba', enout = 'new', deout = 'bytearray' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x008\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _________________ test_zfp[int32-rgba-new-bytearray-mode0-omp] _________________ dtype = dtype('int32'), itype = 'rgba', enout = 'new', deout = 'bytearray' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x008\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[int32-rgba-new-bytearray-mode1-None] _________________ dtype = dtype('int32'), itype = 'rgba', enout = 'new', deout = 'bytearray' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x008\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _________________ test_zfp[int32-rgba-new-bytearray-mode1-omp] _________________ dtype = dtype('int32'), itype = 'rgba', enout = 'new', deout = 'bytearray' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x008\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[int32-rgba-out-new-mode0-None] ____________________ dtype = dtype('int32'), itype = 'rgba', enout = 'out', deout = 'new' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x008\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ____________________ test_zfp[int32-rgba-out-new-mode0-omp] ____________________ dtype = dtype('int32'), itype = 'rgba', enout = 'out', deout = 'new' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x008\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[int32-rgba-out-new-mode1-None] ____________________ dtype = dtype('int32'), itype = 'rgba', enout = 'out', deout = 'new', mode = 'p' execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x008\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ____________________ test_zfp[int32-rgba-out-new-mode1-omp] ____________________ dtype = dtype('int32'), itype = 'rgba', enout = 'out', deout = 'new', mode = 'p' execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x008\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[int32-rgba-out-out-mode0-None] ____________________ dtype = dtype('int32'), itype = 'rgba', enout = 'out', deout = 'out' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x008\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ____________________ test_zfp[int32-rgba-out-out-mode0-omp] ____________________ dtype = dtype('int32'), itype = 'rgba', enout = 'out', deout = 'out' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x008\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[int32-rgba-out-out-mode1-None] ____________________ dtype = dtype('int32'), itype = 'rgba', enout = 'out', deout = 'out', mode = 'p' execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x008\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ____________________ test_zfp[int32-rgba-out-out-mode1-omp] ____________________ dtype = dtype('int32'), itype = 'rgba', enout = 'out', deout = 'out', mode = 'p' execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x008\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[int32-rgba-out-bytearray-mode0-None] _________________ dtype = dtype('int32'), itype = 'rgba', enout = 'out', deout = 'bytearray' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x008\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _________________ test_zfp[int32-rgba-out-bytearray-mode0-omp] _________________ dtype = dtype('int32'), itype = 'rgba', enout = 'out', deout = 'bytearray' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x008\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[int32-rgba-out-bytearray-mode1-None] _________________ dtype = dtype('int32'), itype = 'rgba', enout = 'out', deout = 'bytearray' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x008\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _________________ test_zfp[int32-rgba-out-bytearray-mode1-omp] _________________ dtype = dtype('int32'), itype = 'rgba', enout = 'out', deout = 'bytearray' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x008\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[int32-rgba-bytearray-new-mode0-None] _________________ dtype = dtype('int32'), itype = 'rgba', enout = 'bytearray', deout = 'new' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x008\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _________________ test_zfp[int32-rgba-bytearray-new-mode0-omp] _________________ dtype = dtype('int32'), itype = 'rgba', enout = 'bytearray', deout = 'new' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x008\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[int32-rgba-bytearray-new-mode1-None] _________________ dtype = dtype('int32'), itype = 'rgba', enout = 'bytearray', deout = 'new' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x008\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _________________ test_zfp[int32-rgba-bytearray-new-mode1-omp] _________________ dtype = dtype('int32'), itype = 'rgba', enout = 'bytearray', deout = 'new' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x008\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[int32-rgba-bytearray-out-mode0-None] _________________ dtype = dtype('int32'), itype = 'rgba', enout = 'bytearray', deout = 'out' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x008\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _________________ test_zfp[int32-rgba-bytearray-out-mode0-omp] _________________ dtype = dtype('int32'), itype = 'rgba', enout = 'bytearray', deout = 'out' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x008\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[int32-rgba-bytearray-out-mode1-None] _________________ dtype = dtype('int32'), itype = 'rgba', enout = 'bytearray', deout = 'out' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x008\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _________________ test_zfp[int32-rgba-bytearray-out-mode1-omp] _________________ dtype = dtype('int32'), itype = 'rgba', enout = 'bytearray', deout = 'out' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x008\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _____________ test_zfp[int32-rgba-bytearray-bytearray-mode0-None] ______________ dtype = dtype('int32'), itype = 'rgba', enout = 'bytearray', deout = 'bytearray' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x008\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ______________ test_zfp[int32-rgba-bytearray-bytearray-mode0-omp] ______________ dtype = dtype('int32'), itype = 'rgba', enout = 'bytearray', deout = 'bytearray' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x008\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _____________ test_zfp[int32-rgba-bytearray-bytearray-mode1-None] ______________ dtype = dtype('int32'), itype = 'rgba', enout = 'bytearray', deout = 'bytearray' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x008\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ______________ test_zfp[int32-rgba-bytearray-bytearray-mode1-omp] ______________ dtype = dtype('int32'), itype = 'rgba', enout = 'bytearray', deout = 'bytearray' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x008\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[int32-view-new-new-mode0-None] ____________________ dtype = dtype('int32'), itype = 'view', enout = 'new', deout = 'new' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00(\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ____________________ test_zfp[int32-view-new-new-mode0-omp] ____________________ dtype = dtype('int32'), itype = 'view', enout = 'new', deout = 'new' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00(\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[int32-view-new-new-mode1-None] ____________________ dtype = dtype('int32'), itype = 'view', enout = 'new', deout = 'new', mode = 'p' execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00(\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ____________________ test_zfp[int32-view-new-new-mode1-omp] ____________________ dtype = dtype('int32'), itype = 'view', enout = 'new', deout = 'new', mode = 'p' execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00(\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[int32-view-new-out-mode0-None] ____________________ dtype = dtype('int32'), itype = 'view', enout = 'new', deout = 'out' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00(\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ____________________ test_zfp[int32-view-new-out-mode0-omp] ____________________ dtype = dtype('int32'), itype = 'view', enout = 'new', deout = 'out' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00(\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[int32-view-new-out-mode1-None] ____________________ dtype = dtype('int32'), itype = 'view', enout = 'new', deout = 'out', mode = 'p' execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00(\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ____________________ test_zfp[int32-view-new-out-mode1-omp] ____________________ dtype = dtype('int32'), itype = 'view', enout = 'new', deout = 'out', mode = 'p' execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00(\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[int32-view-new-bytearray-mode0-None] _________________ dtype = dtype('int32'), itype = 'view', enout = 'new', deout = 'bytearray' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00(\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _________________ test_zfp[int32-view-new-bytearray-mode0-omp] _________________ dtype = dtype('int32'), itype = 'view', enout = 'new', deout = 'bytearray' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00(\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[int32-view-new-bytearray-mode1-None] _________________ dtype = dtype('int32'), itype = 'view', enout = 'new', deout = 'bytearray' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00(\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _________________ test_zfp[int32-view-new-bytearray-mode1-omp] _________________ dtype = dtype('int32'), itype = 'view', enout = 'new', deout = 'bytearray' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00(\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[int32-view-out-new-mode0-None] ____________________ dtype = dtype('int32'), itype = 'view', enout = 'out', deout = 'new' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00(\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ____________________ test_zfp[int32-view-out-new-mode0-omp] ____________________ dtype = dtype('int32'), itype = 'view', enout = 'out', deout = 'new' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00(\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[int32-view-out-new-mode1-None] ____________________ dtype = dtype('int32'), itype = 'view', enout = 'out', deout = 'new', mode = 'p' execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00(\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ____________________ test_zfp[int32-view-out-new-mode1-omp] ____________________ dtype = dtype('int32'), itype = 'view', enout = 'out', deout = 'new', mode = 'p' execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00(\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[int32-view-out-out-mode0-None] ____________________ dtype = dtype('int32'), itype = 'view', enout = 'out', deout = 'out' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00(\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ____________________ test_zfp[int32-view-out-out-mode0-omp] ____________________ dtype = dtype('int32'), itype = 'view', enout = 'out', deout = 'out' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00(\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[int32-view-out-out-mode1-None] ____________________ dtype = dtype('int32'), itype = 'view', enout = 'out', deout = 'out', mode = 'p' execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00(\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ____________________ test_zfp[int32-view-out-out-mode1-omp] ____________________ dtype = dtype('int32'), itype = 'view', enout = 'out', deout = 'out', mode = 'p' execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00(\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[int32-view-out-bytearray-mode0-None] _________________ dtype = dtype('int32'), itype = 'view', enout = 'out', deout = 'bytearray' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00(\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _________________ test_zfp[int32-view-out-bytearray-mode0-omp] _________________ dtype = dtype('int32'), itype = 'view', enout = 'out', deout = 'bytearray' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00(\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[int32-view-out-bytearray-mode1-None] _________________ dtype = dtype('int32'), itype = 'view', enout = 'out', deout = 'bytearray' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00(\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _________________ test_zfp[int32-view-out-bytearray-mode1-omp] _________________ dtype = dtype('int32'), itype = 'view', enout = 'out', deout = 'bytearray' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00(\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[int32-view-bytearray-new-mode0-None] _________________ dtype = dtype('int32'), itype = 'view', enout = 'bytearray', deout = 'new' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00(\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _________________ test_zfp[int32-view-bytearray-new-mode0-omp] _________________ dtype = dtype('int32'), itype = 'view', enout = 'bytearray', deout = 'new' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00(\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[int32-view-bytearray-new-mode1-None] _________________ dtype = dtype('int32'), itype = 'view', enout = 'bytearray', deout = 'new' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00(\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _________________ test_zfp[int32-view-bytearray-new-mode1-omp] _________________ dtype = dtype('int32'), itype = 'view', enout = 'bytearray', deout = 'new' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00(\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[int32-view-bytearray-out-mode0-None] _________________ dtype = dtype('int32'), itype = 'view', enout = 'bytearray', deout = 'out' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00(\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _________________ test_zfp[int32-view-bytearray-out-mode0-omp] _________________ dtype = dtype('int32'), itype = 'view', enout = 'bytearray', deout = 'out' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00(\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[int32-view-bytearray-out-mode1-None] _________________ dtype = dtype('int32'), itype = 'view', enout = 'bytearray', deout = 'out' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00(\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _________________ test_zfp[int32-view-bytearray-out-mode1-omp] _________________ dtype = dtype('int32'), itype = 'view', enout = 'bytearray', deout = 'out' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00(\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _____________ test_zfp[int32-view-bytearray-bytearray-mode0-None] ______________ dtype = dtype('int32'), itype = 'view', enout = 'bytearray', deout = 'bytearray' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00(\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ______________ test_zfp[int32-view-bytearray-bytearray-mode0-omp] ______________ dtype = dtype('int32'), itype = 'view', enout = 'bytearray', deout = 'bytearray' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00(\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _____________ test_zfp[int32-view-bytearray-bytearray-mode1-None] ______________ dtype = dtype('int32'), itype = 'view', enout = 'bytearray', deout = 'bytearray' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00(\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ______________ test_zfp[int32-view-bytearray-bytearray-mode1-omp] ______________ dtype = dtype('int32'), itype = 'view', enout = 'bytearray', deout = 'bytearray' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00(\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[int32-gray-new-new-mode0-None] ____________________ dtype = dtype('int32'), itype = 'gray', enout = 'new', deout = 'new' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ____________________ test_zfp[int32-gray-new-new-mode0-omp] ____________________ dtype = dtype('int32'), itype = 'gray', enout = 'new', deout = 'new' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[int32-gray-new-new-mode1-None] ____________________ dtype = dtype('int32'), itype = 'gray', enout = 'new', deout = 'new', mode = 'p' execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ____________________ test_zfp[int32-gray-new-new-mode1-omp] ____________________ dtype = dtype('int32'), itype = 'gray', enout = 'new', deout = 'new', mode = 'p' execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[int32-gray-new-out-mode0-None] ____________________ dtype = dtype('int32'), itype = 'gray', enout = 'new', deout = 'out' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ____________________ test_zfp[int32-gray-new-out-mode0-omp] ____________________ dtype = dtype('int32'), itype = 'gray', enout = 'new', deout = 'out' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[int32-gray-new-out-mode1-None] ____________________ dtype = dtype('int32'), itype = 'gray', enout = 'new', deout = 'out', mode = 'p' execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ____________________ test_zfp[int32-gray-new-out-mode1-omp] ____________________ dtype = dtype('int32'), itype = 'gray', enout = 'new', deout = 'out', mode = 'p' execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[int32-gray-new-bytearray-mode0-None] _________________ dtype = dtype('int32'), itype = 'gray', enout = 'new', deout = 'bytearray' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _________________ test_zfp[int32-gray-new-bytearray-mode0-omp] _________________ dtype = dtype('int32'), itype = 'gray', enout = 'new', deout = 'bytearray' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[int32-gray-new-bytearray-mode1-None] _________________ dtype = dtype('int32'), itype = 'gray', enout = 'new', deout = 'bytearray' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _________________ test_zfp[int32-gray-new-bytearray-mode1-omp] _________________ dtype = dtype('int32'), itype = 'gray', enout = 'new', deout = 'bytearray' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[int32-gray-out-new-mode0-None] ____________________ dtype = dtype('int32'), itype = 'gray', enout = 'out', deout = 'new' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ____________________ test_zfp[int32-gray-out-new-mode0-omp] ____________________ dtype = dtype('int32'), itype = 'gray', enout = 'out', deout = 'new' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[int32-gray-out-new-mode1-None] ____________________ dtype = dtype('int32'), itype = 'gray', enout = 'out', deout = 'new', mode = 'p' execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ____________________ test_zfp[int32-gray-out-new-mode1-omp] ____________________ dtype = dtype('int32'), itype = 'gray', enout = 'out', deout = 'new', mode = 'p' execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[int32-gray-out-out-mode0-None] ____________________ dtype = dtype('int32'), itype = 'gray', enout = 'out', deout = 'out' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ____________________ test_zfp[int32-gray-out-out-mode0-omp] ____________________ dtype = dtype('int32'), itype = 'gray', enout = 'out', deout = 'out' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[int32-gray-out-out-mode1-None] ____________________ dtype = dtype('int32'), itype = 'gray', enout = 'out', deout = 'out', mode = 'p' execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ____________________ test_zfp[int32-gray-out-out-mode1-omp] ____________________ dtype = dtype('int32'), itype = 'gray', enout = 'out', deout = 'out', mode = 'p' execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[int32-gray-out-bytearray-mode0-None] _________________ dtype = dtype('int32'), itype = 'gray', enout = 'out', deout = 'bytearray' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _________________ test_zfp[int32-gray-out-bytearray-mode0-omp] _________________ dtype = dtype('int32'), itype = 'gray', enout = 'out', deout = 'bytearray' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[int32-gray-out-bytearray-mode1-None] _________________ dtype = dtype('int32'), itype = 'gray', enout = 'out', deout = 'bytearray' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _________________ test_zfp[int32-gray-out-bytearray-mode1-omp] _________________ dtype = dtype('int32'), itype = 'gray', enout = 'out', deout = 'bytearray' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[int32-gray-bytearray-new-mode0-None] _________________ dtype = dtype('int32'), itype = 'gray', enout = 'bytearray', deout = 'new' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _________________ test_zfp[int32-gray-bytearray-new-mode0-omp] _________________ dtype = dtype('int32'), itype = 'gray', enout = 'bytearray', deout = 'new' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[int32-gray-bytearray-new-mode1-None] _________________ dtype = dtype('int32'), itype = 'gray', enout = 'bytearray', deout = 'new' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _________________ test_zfp[int32-gray-bytearray-new-mode1-omp] _________________ dtype = dtype('int32'), itype = 'gray', enout = 'bytearray', deout = 'new' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[int32-gray-bytearray-out-mode0-None] _________________ dtype = dtype('int32'), itype = 'gray', enout = 'bytearray', deout = 'out' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _________________ test_zfp[int32-gray-bytearray-out-mode0-omp] _________________ dtype = dtype('int32'), itype = 'gray', enout = 'bytearray', deout = 'out' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[int32-gray-bytearray-out-mode1-None] _________________ dtype = dtype('int32'), itype = 'gray', enout = 'bytearray', deout = 'out' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _________________ test_zfp[int32-gray-bytearray-out-mode1-omp] _________________ dtype = dtype('int32'), itype = 'gray', enout = 'bytearray', deout = 'out' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _____________ test_zfp[int32-gray-bytearray-bytearray-mode0-None] ______________ dtype = dtype('int32'), itype = 'gray', enout = 'bytearray', deout = 'bytearray' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ______________ test_zfp[int32-gray-bytearray-bytearray-mode0-omp] ______________ dtype = dtype('int32'), itype = 'gray', enout = 'bytearray', deout = 'bytearray' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _____________ test_zfp[int32-gray-bytearray-bytearray-mode1-None] ______________ dtype = dtype('int32'), itype = 'gray', enout = 'bytearray', deout = 'bytearray' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ______________ test_zfp[int32-gray-bytearray-bytearray-mode1-omp] ______________ dtype = dtype('int32'), itype = 'gray', enout = 'bytearray', deout = 'bytearray' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[int32-line-new-new-mode0-None] ____________________ dtype = dtype('int32'), itype = 'line', enout = 'new', deout = 'new' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\x00\x00\x00\x00\x88\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ____________________ test_zfp[int32-line-new-new-mode0-omp] ____________________ dtype = dtype('int32'), itype = 'line', enout = 'new', deout = 'new' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\x00\x00\x00\x00\x88\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[int32-line-new-new-mode1-None] ____________________ dtype = dtype('int32'), itype = 'line', enout = 'new', deout = 'new', mode = 'p' execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ____________________ test_zfp[int32-line-new-new-mode1-omp] ____________________ dtype = dtype('int32'), itype = 'line', enout = 'new', deout = 'new', mode = 'p' execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[int32-line-new-out-mode0-None] ____________________ dtype = dtype('int32'), itype = 'line', enout = 'new', deout = 'out' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\x00\x00\x00\x00\x88\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ____________________ test_zfp[int32-line-new-out-mode0-omp] ____________________ dtype = dtype('int32'), itype = 'line', enout = 'new', deout = 'out' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\x00\x00\x00\x00\x88\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[int32-line-new-out-mode1-None] ____________________ dtype = dtype('int32'), itype = 'line', enout = 'new', deout = 'out', mode = 'p' execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ____________________ test_zfp[int32-line-new-out-mode1-omp] ____________________ dtype = dtype('int32'), itype = 'line', enout = 'new', deout = 'out', mode = 'p' execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[int32-line-new-bytearray-mode0-None] _________________ dtype = dtype('int32'), itype = 'line', enout = 'new', deout = 'bytearray' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\x00\x00\x00\x00\x88\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _________________ test_zfp[int32-line-new-bytearray-mode0-omp] _________________ dtype = dtype('int32'), itype = 'line', enout = 'new', deout = 'bytearray' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\x00\x00\x00\x00\x88\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[int32-line-new-bytearray-mode1-None] _________________ dtype = dtype('int32'), itype = 'line', enout = 'new', deout = 'bytearray' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _________________ test_zfp[int32-line-new-bytearray-mode1-omp] _________________ dtype = dtype('int32'), itype = 'line', enout = 'new', deout = 'bytearray' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[int32-line-out-new-mode0-None] ____________________ dtype = dtype('int32'), itype = 'line', enout = 'out', deout = 'new' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\x00\x00\x00\x00\x88\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ____________________ test_zfp[int32-line-out-new-mode0-omp] ____________________ dtype = dtype('int32'), itype = 'line', enout = 'out', deout = 'new' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\x00\x00\x00\x00\x88\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[int32-line-out-new-mode1-None] ____________________ dtype = dtype('int32'), itype = 'line', enout = 'out', deout = 'new', mode = 'p' execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ____________________ test_zfp[int32-line-out-new-mode1-omp] ____________________ dtype = dtype('int32'), itype = 'line', enout = 'out', deout = 'new', mode = 'p' execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[int32-line-out-out-mode0-None] ____________________ dtype = dtype('int32'), itype = 'line', enout = 'out', deout = 'out' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\x00\x00\x00\x00\x88\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ____________________ test_zfp[int32-line-out-out-mode0-omp] ____________________ dtype = dtype('int32'), itype = 'line', enout = 'out', deout = 'out' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\x00\x00\x00\x00\x88\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[int32-line-out-out-mode1-None] ____________________ dtype = dtype('int32'), itype = 'line', enout = 'out', deout = 'out', mode = 'p' execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ____________________ test_zfp[int32-line-out-out-mode1-omp] ____________________ dtype = dtype('int32'), itype = 'line', enout = 'out', deout = 'out', mode = 'p' execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[int32-line-out-bytearray-mode0-None] _________________ dtype = dtype('int32'), itype = 'line', enout = 'out', deout = 'bytearray' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\x00\x00\x00\x00\x88\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _________________ test_zfp[int32-line-out-bytearray-mode0-omp] _________________ dtype = dtype('int32'), itype = 'line', enout = 'out', deout = 'bytearray' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\x00\x00\x00\x00\x88\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[int32-line-out-bytearray-mode1-None] _________________ dtype = dtype('int32'), itype = 'line', enout = 'out', deout = 'bytearray' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _________________ test_zfp[int32-line-out-bytearray-mode1-omp] _________________ dtype = dtype('int32'), itype = 'line', enout = 'out', deout = 'bytearray' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[int32-line-bytearray-new-mode0-None] _________________ dtype = dtype('int32'), itype = 'line', enout = 'bytearray', deout = 'new' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\x00\x00\x00\x00\x88\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _________________ test_zfp[int32-line-bytearray-new-mode0-omp] _________________ dtype = dtype('int32'), itype = 'line', enout = 'bytearray', deout = 'new' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\x00\x00\x00\x00\x88\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[int32-line-bytearray-new-mode1-None] _________________ dtype = dtype('int32'), itype = 'line', enout = 'bytearray', deout = 'new' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _________________ test_zfp[int32-line-bytearray-new-mode1-omp] _________________ dtype = dtype('int32'), itype = 'line', enout = 'bytearray', deout = 'new' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[int32-line-bytearray-out-mode0-None] _________________ dtype = dtype('int32'), itype = 'line', enout = 'bytearray', deout = 'out' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\x00\x00\x00\x00\x88\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _________________ test_zfp[int32-line-bytearray-out-mode0-omp] _________________ dtype = dtype('int32'), itype = 'line', enout = 'bytearray', deout = 'out' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\x00\x00\x00\x00\x88\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[int32-line-bytearray-out-mode1-None] _________________ dtype = dtype('int32'), itype = 'line', enout = 'bytearray', deout = 'out' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _________________ test_zfp[int32-line-bytearray-out-mode1-omp] _________________ dtype = dtype('int32'), itype = 'line', enout = 'bytearray', deout = 'out' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _____________ test_zfp[int32-line-bytearray-bytearray-mode0-None] ______________ dtype = dtype('int32'), itype = 'line', enout = 'bytearray', deout = 'bytearray' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\x00\x00\x00\x00\x88\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ______________ test_zfp[int32-line-bytearray-bytearray-mode0-omp] ______________ dtype = dtype('int32'), itype = 'line', enout = 'bytearray', deout = 'bytearray' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\x00\x00\x00\x00\x88\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _____________ test_zfp[int32-line-bytearray-bytearray-mode1-None] ______________ dtype = dtype('int32'), itype = 'line', enout = 'bytearray', deout = 'bytearray' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ______________ test_zfp[int32-line-bytearray-bytearray-mode1-omp] ______________ dtype = dtype('int32'), itype = 'line', enout = 'bytearray', deout = 'bytearray' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[int64-rgba-new-new-mode0-None] ____________________ dtype = dtype('int64'), itype = 'rgba', enout = 'new', deout = 'new' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x009\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ____________________ test_zfp[int64-rgba-new-new-mode0-omp] ____________________ dtype = dtype('int64'), itype = 'rgba', enout = 'new', deout = 'new' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x009\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[int64-rgba-new-new-mode1-None] ____________________ dtype = dtype('int64'), itype = 'rgba', enout = 'new', deout = 'new', mode = 'p' execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x009\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ____________________ test_zfp[int64-rgba-new-new-mode1-omp] ____________________ dtype = dtype('int64'), itype = 'rgba', enout = 'new', deout = 'new', mode = 'p' execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x009\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[int64-rgba-new-out-mode0-None] ____________________ dtype = dtype('int64'), itype = 'rgba', enout = 'new', deout = 'out' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x009\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ____________________ test_zfp[int64-rgba-new-out-mode0-omp] ____________________ dtype = dtype('int64'), itype = 'rgba', enout = 'new', deout = 'out' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x009\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[int64-rgba-new-out-mode1-None] ____________________ dtype = dtype('int64'), itype = 'rgba', enout = 'new', deout = 'out', mode = 'p' execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x009\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ____________________ test_zfp[int64-rgba-new-out-mode1-omp] ____________________ dtype = dtype('int64'), itype = 'rgba', enout = 'new', deout = 'out', mode = 'p' execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x009\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[int64-rgba-new-bytearray-mode0-None] _________________ dtype = dtype('int64'), itype = 'rgba', enout = 'new', deout = 'bytearray' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x009\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _________________ test_zfp[int64-rgba-new-bytearray-mode0-omp] _________________ dtype = dtype('int64'), itype = 'rgba', enout = 'new', deout = 'bytearray' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x009\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[int64-rgba-new-bytearray-mode1-None] _________________ dtype = dtype('int64'), itype = 'rgba', enout = 'new', deout = 'bytearray' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x009\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _________________ test_zfp[int64-rgba-new-bytearray-mode1-omp] _________________ dtype = dtype('int64'), itype = 'rgba', enout = 'new', deout = 'bytearray' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x009\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[int64-rgba-out-new-mode0-None] ____________________ dtype = dtype('int64'), itype = 'rgba', enout = 'out', deout = 'new' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x009\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ____________________ test_zfp[int64-rgba-out-new-mode0-omp] ____________________ dtype = dtype('int64'), itype = 'rgba', enout = 'out', deout = 'new' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x009\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[int64-rgba-out-new-mode1-None] ____________________ dtype = dtype('int64'), itype = 'rgba', enout = 'out', deout = 'new', mode = 'p' execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x009\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ____________________ test_zfp[int64-rgba-out-new-mode1-omp] ____________________ dtype = dtype('int64'), itype = 'rgba', enout = 'out', deout = 'new', mode = 'p' execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x009\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[int64-rgba-out-out-mode0-None] ____________________ dtype = dtype('int64'), itype = 'rgba', enout = 'out', deout = 'out' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x009\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ____________________ test_zfp[int64-rgba-out-out-mode0-omp] ____________________ dtype = dtype('int64'), itype = 'rgba', enout = 'out', deout = 'out' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x009\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[int64-rgba-out-out-mode1-None] ____________________ dtype = dtype('int64'), itype = 'rgba', enout = 'out', deout = 'out', mode = 'p' execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x009\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ____________________ test_zfp[int64-rgba-out-out-mode1-omp] ____________________ dtype = dtype('int64'), itype = 'rgba', enout = 'out', deout = 'out', mode = 'p' execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x009\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[int64-rgba-out-bytearray-mode0-None] _________________ dtype = dtype('int64'), itype = 'rgba', enout = 'out', deout = 'bytearray' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x009\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _________________ test_zfp[int64-rgba-out-bytearray-mode0-omp] _________________ dtype = dtype('int64'), itype = 'rgba', enout = 'out', deout = 'bytearray' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x009\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[int64-rgba-out-bytearray-mode1-None] _________________ dtype = dtype('int64'), itype = 'rgba', enout = 'out', deout = 'bytearray' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x009\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _________________ test_zfp[int64-rgba-out-bytearray-mode1-omp] _________________ dtype = dtype('int64'), itype = 'rgba', enout = 'out', deout = 'bytearray' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x009\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[int64-rgba-bytearray-new-mode0-None] _________________ dtype = dtype('int64'), itype = 'rgba', enout = 'bytearray', deout = 'new' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x009\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _________________ test_zfp[int64-rgba-bytearray-new-mode0-omp] _________________ dtype = dtype('int64'), itype = 'rgba', enout = 'bytearray', deout = 'new' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x009\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[int64-rgba-bytearray-new-mode1-None] _________________ dtype = dtype('int64'), itype = 'rgba', enout = 'bytearray', deout = 'new' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x009\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _________________ test_zfp[int64-rgba-bytearray-new-mode1-omp] _________________ dtype = dtype('int64'), itype = 'rgba', enout = 'bytearray', deout = 'new' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x009\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[int64-rgba-bytearray-out-mode0-None] _________________ dtype = dtype('int64'), itype = 'rgba', enout = 'bytearray', deout = 'out' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x009\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _________________ test_zfp[int64-rgba-bytearray-out-mode0-omp] _________________ dtype = dtype('int64'), itype = 'rgba', enout = 'bytearray', deout = 'out' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x009\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[int64-rgba-bytearray-out-mode1-None] _________________ dtype = dtype('int64'), itype = 'rgba', enout = 'bytearray', deout = 'out' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x009\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _________________ test_zfp[int64-rgba-bytearray-out-mode1-omp] _________________ dtype = dtype('int64'), itype = 'rgba', enout = 'bytearray', deout = 'out' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x009\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _____________ test_zfp[int64-rgba-bytearray-bytearray-mode0-None] ______________ dtype = dtype('int64'), itype = 'rgba', enout = 'bytearray', deout = 'bytearray' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x009\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ______________ test_zfp[int64-rgba-bytearray-bytearray-mode0-omp] ______________ dtype = dtype('int64'), itype = 'rgba', enout = 'bytearray', deout = 'bytearray' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x009\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _____________ test_zfp[int64-rgba-bytearray-bytearray-mode1-None] ______________ dtype = dtype('int64'), itype = 'rgba', enout = 'bytearray', deout = 'bytearray' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x009\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ______________ test_zfp[int64-rgba-bytearray-bytearray-mode1-omp] ______________ dtype = dtype('int64'), itype = 'rgba', enout = 'bytearray', deout = 'bytearray' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x009\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[int64-view-new-new-mode0-None] ____________________ dtype = dtype('int64'), itype = 'view', enout = 'new', deout = 'new' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00)\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ____________________ test_zfp[int64-view-new-new-mode0-omp] ____________________ dtype = dtype('int64'), itype = 'view', enout = 'new', deout = 'new' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00)\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[int64-view-new-new-mode1-None] ____________________ dtype = dtype('int64'), itype = 'view', enout = 'new', deout = 'new', mode = 'p' execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00)\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ____________________ test_zfp[int64-view-new-new-mode1-omp] ____________________ dtype = dtype('int64'), itype = 'view', enout = 'new', deout = 'new', mode = 'p' execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00)\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[int64-view-new-out-mode0-None] ____________________ dtype = dtype('int64'), itype = 'view', enout = 'new', deout = 'out' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00)\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ____________________ test_zfp[int64-view-new-out-mode0-omp] ____________________ dtype = dtype('int64'), itype = 'view', enout = 'new', deout = 'out' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00)\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[int64-view-new-out-mode1-None] ____________________ dtype = dtype('int64'), itype = 'view', enout = 'new', deout = 'out', mode = 'p' execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00)\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ____________________ test_zfp[int64-view-new-out-mode1-omp] ____________________ dtype = dtype('int64'), itype = 'view', enout = 'new', deout = 'out', mode = 'p' execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00)\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[int64-view-new-bytearray-mode0-None] _________________ dtype = dtype('int64'), itype = 'view', enout = 'new', deout = 'bytearray' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00)\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _________________ test_zfp[int64-view-new-bytearray-mode0-omp] _________________ dtype = dtype('int64'), itype = 'view', enout = 'new', deout = 'bytearray' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00)\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[int64-view-new-bytearray-mode1-None] _________________ dtype = dtype('int64'), itype = 'view', enout = 'new', deout = 'bytearray' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00)\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _________________ test_zfp[int64-view-new-bytearray-mode1-omp] _________________ dtype = dtype('int64'), itype = 'view', enout = 'new', deout = 'bytearray' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00)\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[int64-view-out-new-mode0-None] ____________________ dtype = dtype('int64'), itype = 'view', enout = 'out', deout = 'new' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00)\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ____________________ test_zfp[int64-view-out-new-mode0-omp] ____________________ dtype = dtype('int64'), itype = 'view', enout = 'out', deout = 'new' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00)\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[int64-view-out-new-mode1-None] ____________________ dtype = dtype('int64'), itype = 'view', enout = 'out', deout = 'new', mode = 'p' execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00)\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ____________________ test_zfp[int64-view-out-new-mode1-omp] ____________________ dtype = dtype('int64'), itype = 'view', enout = 'out', deout = 'new', mode = 'p' execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00)\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[int64-view-out-out-mode0-None] ____________________ dtype = dtype('int64'), itype = 'view', enout = 'out', deout = 'out' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00)\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ____________________ test_zfp[int64-view-out-out-mode0-omp] ____________________ dtype = dtype('int64'), itype = 'view', enout = 'out', deout = 'out' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00)\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[int64-view-out-out-mode1-None] ____________________ dtype = dtype('int64'), itype = 'view', enout = 'out', deout = 'out', mode = 'p' execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00)\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ____________________ test_zfp[int64-view-out-out-mode1-omp] ____________________ dtype = dtype('int64'), itype = 'view', enout = 'out', deout = 'out', mode = 'p' execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00)\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[int64-view-out-bytearray-mode0-None] _________________ dtype = dtype('int64'), itype = 'view', enout = 'out', deout = 'bytearray' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00)\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _________________ test_zfp[int64-view-out-bytearray-mode0-omp] _________________ dtype = dtype('int64'), itype = 'view', enout = 'out', deout = 'bytearray' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00)\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[int64-view-out-bytearray-mode1-None] _________________ dtype = dtype('int64'), itype = 'view', enout = 'out', deout = 'bytearray' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00)\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _________________ test_zfp[int64-view-out-bytearray-mode1-omp] _________________ dtype = dtype('int64'), itype = 'view', enout = 'out', deout = 'bytearray' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00)\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[int64-view-bytearray-new-mode0-None] _________________ dtype = dtype('int64'), itype = 'view', enout = 'bytearray', deout = 'new' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00)\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _________________ test_zfp[int64-view-bytearray-new-mode0-omp] _________________ dtype = dtype('int64'), itype = 'view', enout = 'bytearray', deout = 'new' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00)\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[int64-view-bytearray-new-mode1-None] _________________ dtype = dtype('int64'), itype = 'view', enout = 'bytearray', deout = 'new' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00)\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _________________ test_zfp[int64-view-bytearray-new-mode1-omp] _________________ dtype = dtype('int64'), itype = 'view', enout = 'bytearray', deout = 'new' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00)\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[int64-view-bytearray-out-mode0-None] _________________ dtype = dtype('int64'), itype = 'view', enout = 'bytearray', deout = 'out' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00)\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _________________ test_zfp[int64-view-bytearray-out-mode0-omp] _________________ dtype = dtype('int64'), itype = 'view', enout = 'bytearray', deout = 'out' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00)\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[int64-view-bytearray-out-mode1-None] _________________ dtype = dtype('int64'), itype = 'view', enout = 'bytearray', deout = 'out' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00)\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _________________ test_zfp[int64-view-bytearray-out-mode1-omp] _________________ dtype = dtype('int64'), itype = 'view', enout = 'bytearray', deout = 'out' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00)\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _____________ test_zfp[int64-view-bytearray-bytearray-mode0-None] ______________ dtype = dtype('int64'), itype = 'view', enout = 'bytearray', deout = 'bytearray' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00)\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ______________ test_zfp[int64-view-bytearray-bytearray-mode0-omp] ______________ dtype = dtype('int64'), itype = 'view', enout = 'bytearray', deout = 'bytearray' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00)\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _____________ test_zfp[int64-view-bytearray-bytearray-mode1-None] ______________ dtype = dtype('int64'), itype = 'view', enout = 'bytearray', deout = 'bytearray' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00)\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ______________ test_zfp[int64-view-bytearray-bytearray-mode1-omp] ______________ dtype = dtype('int64'), itype = 'view', enout = 'bytearray', deout = 'bytearray' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00)\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[int64-gray-new-new-mode0-None] ____________________ dtype = dtype('int64'), itype = 'gray', enout = 'new', deout = 'new' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ____________________ test_zfp[int64-gray-new-new-mode0-omp] ____________________ dtype = dtype('int64'), itype = 'gray', enout = 'new', deout = 'new' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[int64-gray-new-new-mode1-None] ____________________ dtype = dtype('int64'), itype = 'gray', enout = 'new', deout = 'new', mode = 'p' execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ____________________ test_zfp[int64-gray-new-new-mode1-omp] ____________________ dtype = dtype('int64'), itype = 'gray', enout = 'new', deout = 'new', mode = 'p' execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[int64-gray-new-out-mode0-None] ____________________ dtype = dtype('int64'), itype = 'gray', enout = 'new', deout = 'out' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ____________________ test_zfp[int64-gray-new-out-mode0-omp] ____________________ dtype = dtype('int64'), itype = 'gray', enout = 'new', deout = 'out' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[int64-gray-new-out-mode1-None] ____________________ dtype = dtype('int64'), itype = 'gray', enout = 'new', deout = 'out', mode = 'p' execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ____________________ test_zfp[int64-gray-new-out-mode1-omp] ____________________ dtype = dtype('int64'), itype = 'gray', enout = 'new', deout = 'out', mode = 'p' execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[int64-gray-new-bytearray-mode0-None] _________________ dtype = dtype('int64'), itype = 'gray', enout = 'new', deout = 'bytearray' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _________________ test_zfp[int64-gray-new-bytearray-mode0-omp] _________________ dtype = dtype('int64'), itype = 'gray', enout = 'new', deout = 'bytearray' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[int64-gray-new-bytearray-mode1-None] _________________ dtype = dtype('int64'), itype = 'gray', enout = 'new', deout = 'bytearray' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _________________ test_zfp[int64-gray-new-bytearray-mode1-omp] _________________ dtype = dtype('int64'), itype = 'gray', enout = 'new', deout = 'bytearray' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[int64-gray-out-new-mode0-None] ____________________ dtype = dtype('int64'), itype = 'gray', enout = 'out', deout = 'new' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ____________________ test_zfp[int64-gray-out-new-mode0-omp] ____________________ dtype = dtype('int64'), itype = 'gray', enout = 'out', deout = 'new' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[int64-gray-out-new-mode1-None] ____________________ dtype = dtype('int64'), itype = 'gray', enout = 'out', deout = 'new', mode = 'p' execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ____________________ test_zfp[int64-gray-out-new-mode1-omp] ____________________ dtype = dtype('int64'), itype = 'gray', enout = 'out', deout = 'new', mode = 'p' execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[int64-gray-out-out-mode0-None] ____________________ dtype = dtype('int64'), itype = 'gray', enout = 'out', deout = 'out' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ____________________ test_zfp[int64-gray-out-out-mode0-omp] ____________________ dtype = dtype('int64'), itype = 'gray', enout = 'out', deout = 'out' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[int64-gray-out-out-mode1-None] ____________________ dtype = dtype('int64'), itype = 'gray', enout = 'out', deout = 'out', mode = 'p' execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ____________________ test_zfp[int64-gray-out-out-mode1-omp] ____________________ dtype = dtype('int64'), itype = 'gray', enout = 'out', deout = 'out', mode = 'p' execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[int64-gray-out-bytearray-mode0-None] _________________ dtype = dtype('int64'), itype = 'gray', enout = 'out', deout = 'bytearray' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _________________ test_zfp[int64-gray-out-bytearray-mode0-omp] _________________ dtype = dtype('int64'), itype = 'gray', enout = 'out', deout = 'bytearray' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[int64-gray-out-bytearray-mode1-None] _________________ dtype = dtype('int64'), itype = 'gray', enout = 'out', deout = 'bytearray' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _________________ test_zfp[int64-gray-out-bytearray-mode1-omp] _________________ dtype = dtype('int64'), itype = 'gray', enout = 'out', deout = 'bytearray' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[int64-gray-bytearray-new-mode0-None] _________________ dtype = dtype('int64'), itype = 'gray', enout = 'bytearray', deout = 'new' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _________________ test_zfp[int64-gray-bytearray-new-mode0-omp] _________________ dtype = dtype('int64'), itype = 'gray', enout = 'bytearray', deout = 'new' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[int64-gray-bytearray-new-mode1-None] _________________ dtype = dtype('int64'), itype = 'gray', enout = 'bytearray', deout = 'new' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _________________ test_zfp[int64-gray-bytearray-new-mode1-omp] _________________ dtype = dtype('int64'), itype = 'gray', enout = 'bytearray', deout = 'new' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[int64-gray-bytearray-out-mode0-None] _________________ dtype = dtype('int64'), itype = 'gray', enout = 'bytearray', deout = 'out' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _________________ test_zfp[int64-gray-bytearray-out-mode0-omp] _________________ dtype = dtype('int64'), itype = 'gray', enout = 'bytearray', deout = 'out' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[int64-gray-bytearray-out-mode1-None] _________________ dtype = dtype('int64'), itype = 'gray', enout = 'bytearray', deout = 'out' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _________________ test_zfp[int64-gray-bytearray-out-mode1-omp] _________________ dtype = dtype('int64'), itype = 'gray', enout = 'bytearray', deout = 'out' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _____________ test_zfp[int64-gray-bytearray-bytearray-mode0-None] ______________ dtype = dtype('int64'), itype = 'gray', enout = 'bytearray', deout = 'bytearray' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ______________ test_zfp[int64-gray-bytearray-bytearray-mode0-omp] ______________ dtype = dtype('int64'), itype = 'gray', enout = 'bytearray', deout = 'bytearray' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _____________ test_zfp[int64-gray-bytearray-bytearray-mode1-None] ______________ dtype = dtype('int64'), itype = 'gray', enout = 'bytearray', deout = 'bytearray' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ______________ test_zfp[int64-gray-bytearray-bytearray-mode1-omp] ______________ dtype = dtype('int64'), itype = 'gray', enout = 'bytearray', deout = 'bytearray' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[int64-line-new-new-mode0-None] ____________________ dtype = dtype('int64'), itype = 'line', enout = 'new', deout = 'new' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\x00\x00\x00\x00\x88\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ____________________ test_zfp[int64-line-new-new-mode0-omp] ____________________ dtype = dtype('int64'), itype = 'line', enout = 'new', deout = 'new' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\x00\x00\x00\x00\x88\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[int64-line-new-new-mode1-None] ____________________ dtype = dtype('int64'), itype = 'line', enout = 'new', deout = 'new', mode = 'p' execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ____________________ test_zfp[int64-line-new-new-mode1-omp] ____________________ dtype = dtype('int64'), itype = 'line', enout = 'new', deout = 'new', mode = 'p' execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[int64-line-new-out-mode0-None] ____________________ dtype = dtype('int64'), itype = 'line', enout = 'new', deout = 'out' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\x00\x00\x00\x00\x88\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ____________________ test_zfp[int64-line-new-out-mode0-omp] ____________________ dtype = dtype('int64'), itype = 'line', enout = 'new', deout = 'out' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\x00\x00\x00\x00\x88\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[int64-line-new-out-mode1-None] ____________________ dtype = dtype('int64'), itype = 'line', enout = 'new', deout = 'out', mode = 'p' execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ____________________ test_zfp[int64-line-new-out-mode1-omp] ____________________ dtype = dtype('int64'), itype = 'line', enout = 'new', deout = 'out', mode = 'p' execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[int64-line-new-bytearray-mode0-None] _________________ dtype = dtype('int64'), itype = 'line', enout = 'new', deout = 'bytearray' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\x00\x00\x00\x00\x88\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _________________ test_zfp[int64-line-new-bytearray-mode0-omp] _________________ dtype = dtype('int64'), itype = 'line', enout = 'new', deout = 'bytearray' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\x00\x00\x00\x00\x88\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[int64-line-new-bytearray-mode1-None] _________________ dtype = dtype('int64'), itype = 'line', enout = 'new', deout = 'bytearray' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _________________ test_zfp[int64-line-new-bytearray-mode1-omp] _________________ dtype = dtype('int64'), itype = 'line', enout = 'new', deout = 'bytearray' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[int64-line-out-new-mode0-None] ____________________ dtype = dtype('int64'), itype = 'line', enout = 'out', deout = 'new' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\x00\x00\x00\x00\x88\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ____________________ test_zfp[int64-line-out-new-mode0-omp] ____________________ dtype = dtype('int64'), itype = 'line', enout = 'out', deout = 'new' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\x00\x00\x00\x00\x88\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[int64-line-out-new-mode1-None] ____________________ dtype = dtype('int64'), itype = 'line', enout = 'out', deout = 'new', mode = 'p' execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ____________________ test_zfp[int64-line-out-new-mode1-omp] ____________________ dtype = dtype('int64'), itype = 'line', enout = 'out', deout = 'new', mode = 'p' execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[int64-line-out-out-mode0-None] ____________________ dtype = dtype('int64'), itype = 'line', enout = 'out', deout = 'out' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\x00\x00\x00\x00\x88\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ____________________ test_zfp[int64-line-out-out-mode0-omp] ____________________ dtype = dtype('int64'), itype = 'line', enout = 'out', deout = 'out' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\x00\x00\x00\x00\x88\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[int64-line-out-out-mode1-None] ____________________ dtype = dtype('int64'), itype = 'line', enout = 'out', deout = 'out', mode = 'p' execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ____________________ test_zfp[int64-line-out-out-mode1-omp] ____________________ dtype = dtype('int64'), itype = 'line', enout = 'out', deout = 'out', mode = 'p' execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[int64-line-out-bytearray-mode0-None] _________________ dtype = dtype('int64'), itype = 'line', enout = 'out', deout = 'bytearray' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\x00\x00\x00\x00\x88\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _________________ test_zfp[int64-line-out-bytearray-mode0-omp] _________________ dtype = dtype('int64'), itype = 'line', enout = 'out', deout = 'bytearray' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\x00\x00\x00\x00\x88\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[int64-line-out-bytearray-mode1-None] _________________ dtype = dtype('int64'), itype = 'line', enout = 'out', deout = 'bytearray' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _________________ test_zfp[int64-line-out-bytearray-mode1-omp] _________________ dtype = dtype('int64'), itype = 'line', enout = 'out', deout = 'bytearray' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[int64-line-bytearray-new-mode0-None] _________________ dtype = dtype('int64'), itype = 'line', enout = 'bytearray', deout = 'new' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\x00\x00\x00\x00\x88\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _________________ test_zfp[int64-line-bytearray-new-mode0-omp] _________________ dtype = dtype('int64'), itype = 'line', enout = 'bytearray', deout = 'new' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\x00\x00\x00\x00\x88\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[int64-line-bytearray-new-mode1-None] _________________ dtype = dtype('int64'), itype = 'line', enout = 'bytearray', deout = 'new' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _________________ test_zfp[int64-line-bytearray-new-mode1-omp] _________________ dtype = dtype('int64'), itype = 'line', enout = 'bytearray', deout = 'new' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[int64-line-bytearray-out-mode0-None] _________________ dtype = dtype('int64'), itype = 'line', enout = 'bytearray', deout = 'out' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\x00\x00\x00\x00\x88\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _________________ test_zfp[int64-line-bytearray-out-mode0-omp] _________________ dtype = dtype('int64'), itype = 'line', enout = 'bytearray', deout = 'out' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\x00\x00\x00\x00\x88\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[int64-line-bytearray-out-mode1-None] _________________ dtype = dtype('int64'), itype = 'line', enout = 'bytearray', deout = 'out' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _________________ test_zfp[int64-line-bytearray-out-mode1-omp] _________________ dtype = dtype('int64'), itype = 'line', enout = 'bytearray', deout = 'out' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _____________ test_zfp[int64-line-bytearray-bytearray-mode0-None] ______________ dtype = dtype('int64'), itype = 'line', enout = 'bytearray', deout = 'bytearray' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\x00\x00\x00\x00\x88\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ______________ test_zfp[int64-line-bytearray-bytearray-mode0-omp] ______________ dtype = dtype('int64'), itype = 'line', enout = 'bytearray', deout = 'bytearray' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\x00\x00\x00\x00\x88\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _____________ test_zfp[int64-line-bytearray-bytearray-mode1-None] ______________ dtype = dtype('int64'), itype = 'line', enout = 'bytearray', deout = 'bytearray' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ______________ test_zfp[int64-line-bytearray-bytearray-mode1-omp] ______________ dtype = dtype('int64'), itype = 'line', enout = 'bytearray', deout = 'bytearray' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_lerc[uint8-gray-new-new-None-None] ____________________ dtype = dtype('uint8'), itype = 'gray', enout = 'new', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint8-gray-new-new-None-0.02] ____________________ dtype = dtype('uint8'), itype = 'gray', enout = 'new', deout = 'new' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint8-gray-new-new-True-None] ____________________ dtype = dtype('uint8'), itype = 'gray', enout = 'new', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint8-gray-new-new-True-0.02] ____________________ dtype = dtype('uint8'), itype = 'gray', enout = 'new', deout = 'new' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint8-gray-new-out-None-None] ____________________ dtype = dtype('uint8'), itype = 'gray', enout = 'new', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint8-gray-new-out-None-0.02] ____________________ dtype = dtype('uint8'), itype = 'gray', enout = 'new', deout = 'out' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint8-gray-new-out-True-None] ____________________ dtype = dtype('uint8'), itype = 'gray', enout = 'new', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint8-gray-new-out-True-0.02] ____________________ dtype = dtype('uint8'), itype = 'gray', enout = 'new', deout = 'out' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint8-gray-new-bytearray-None-None] _________________ dtype = dtype('uint8'), itype = 'gray', enout = 'new', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint8-gray-new-bytearray-None-0.02] _________________ dtype = dtype('uint8'), itype = 'gray', enout = 'new', deout = 'bytearray' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint8-gray-new-bytearray-True-None] _________________ dtype = dtype('uint8'), itype = 'gray', enout = 'new', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint8-gray-new-bytearray-True-0.02] _________________ dtype = dtype('uint8'), itype = 'gray', enout = 'new', deout = 'bytearray' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint8-gray-out-new-None-None] ____________________ dtype = dtype('uint8'), itype = 'gray', enout = 'out', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint8-gray-out-new-None-0.02] ____________________ dtype = dtype('uint8'), itype = 'gray', enout = 'out', deout = 'new' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint8-gray-out-new-True-None] ____________________ dtype = dtype('uint8'), itype = 'gray', enout = 'out', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint8-gray-out-new-True-0.02] ____________________ dtype = dtype('uint8'), itype = 'gray', enout = 'out', deout = 'new' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint8-gray-out-out-None-None] ____________________ dtype = dtype('uint8'), itype = 'gray', enout = 'out', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint8-gray-out-out-None-0.02] ____________________ dtype = dtype('uint8'), itype = 'gray', enout = 'out', deout = 'out' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint8-gray-out-out-True-None] ____________________ dtype = dtype('uint8'), itype = 'gray', enout = 'out', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint8-gray-out-out-True-0.02] ____________________ dtype = dtype('uint8'), itype = 'gray', enout = 'out', deout = 'out' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint8-gray-out-bytearray-None-None] _________________ dtype = dtype('uint8'), itype = 'gray', enout = 'out', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint8-gray-out-bytearray-None-0.02] _________________ dtype = dtype('uint8'), itype = 'gray', enout = 'out', deout = 'bytearray' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint8-gray-out-bytearray-True-None] _________________ dtype = dtype('uint8'), itype = 'gray', enout = 'out', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint8-gray-out-bytearray-True-0.02] _________________ dtype = dtype('uint8'), itype = 'gray', enout = 'out', deout = 'bytearray' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint8-gray-bytearray-new-None-None] _________________ dtype = dtype('uint8'), itype = 'gray', enout = 'bytearray', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint8-gray-bytearray-new-None-0.02] _________________ dtype = dtype('uint8'), itype = 'gray', enout = 'bytearray', deout = 'new' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint8-gray-bytearray-new-True-None] _________________ dtype = dtype('uint8'), itype = 'gray', enout = 'bytearray', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint8-gray-bytearray-new-True-0.02] _________________ dtype = dtype('uint8'), itype = 'gray', enout = 'bytearray', deout = 'new' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint8-gray-bytearray-out-None-None] _________________ dtype = dtype('uint8'), itype = 'gray', enout = 'bytearray', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint8-gray-bytearray-out-None-0.02] _________________ dtype = dtype('uint8'), itype = 'gray', enout = 'bytearray', deout = 'out' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint8-gray-bytearray-out-True-None] _________________ dtype = dtype('uint8'), itype = 'gray', enout = 'bytearray', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint8-gray-bytearray-out-True-0.02] _________________ dtype = dtype('uint8'), itype = 'gray', enout = 'bytearray', deout = 'out' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _____________ test_lerc[uint8-gray-bytearray-bytearray-None-None] ______________ dtype = dtype('uint8'), itype = 'gray', enout = 'bytearray', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _____________ test_lerc[uint8-gray-bytearray-bytearray-None-0.02] ______________ dtype = dtype('uint8'), itype = 'gray', enout = 'bytearray', deout = 'bytearray' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _____________ test_lerc[uint8-gray-bytearray-bytearray-True-None] ______________ dtype = dtype('uint8'), itype = 'gray', enout = 'bytearray', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _____________ test_lerc[uint8-gray-bytearray-bytearray-True-0.02] ______________ dtype = dtype('uint8'), itype = 'gray', enout = 'bytearray', deout = 'bytearray' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________________ test_lerc[uint8-rgb-new-new-None-None] ____________________ dtype = dtype('uint8'), itype = 'rgb', enout = 'new', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________________ test_lerc[uint8-rgb-new-new-None-0.02] ____________________ dtype = dtype('uint8'), itype = 'rgb', enout = 'new', deout = 'new' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________________ test_lerc[uint8-rgb-new-new-True-None] ____________________ dtype = dtype('uint8'), itype = 'rgb', enout = 'new', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________________ test_lerc[uint8-rgb-new-new-True-0.02] ____________________ dtype = dtype('uint8'), itype = 'rgb', enout = 'new', deout = 'new' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________________ test_lerc[uint8-rgb-new-out-None-None] ____________________ dtype = dtype('uint8'), itype = 'rgb', enout = 'new', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________________ test_lerc[uint8-rgb-new-out-None-0.02] ____________________ dtype = dtype('uint8'), itype = 'rgb', enout = 'new', deout = 'out' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________________ test_lerc[uint8-rgb-new-out-True-None] ____________________ dtype = dtype('uint8'), itype = 'rgb', enout = 'new', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________________ test_lerc[uint8-rgb-new-out-True-0.02] ____________________ dtype = dtype('uint8'), itype = 'rgb', enout = 'new', deout = 'out' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[uint8-rgb-new-bytearray-None-None] _________________ dtype = dtype('uint8'), itype = 'rgb', enout = 'new', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[uint8-rgb-new-bytearray-None-0.02] _________________ dtype = dtype('uint8'), itype = 'rgb', enout = 'new', deout = 'bytearray' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[uint8-rgb-new-bytearray-True-None] _________________ dtype = dtype('uint8'), itype = 'rgb', enout = 'new', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[uint8-rgb-new-bytearray-True-0.02] _________________ dtype = dtype('uint8'), itype = 'rgb', enout = 'new', deout = 'bytearray' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________________ test_lerc[uint8-rgb-out-new-None-None] ____________________ dtype = dtype('uint8'), itype = 'rgb', enout = 'out', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________________ test_lerc[uint8-rgb-out-new-None-0.02] ____________________ dtype = dtype('uint8'), itype = 'rgb', enout = 'out', deout = 'new' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________________ test_lerc[uint8-rgb-out-new-True-None] ____________________ dtype = dtype('uint8'), itype = 'rgb', enout = 'out', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________________ test_lerc[uint8-rgb-out-new-True-0.02] ____________________ dtype = dtype('uint8'), itype = 'rgb', enout = 'out', deout = 'new' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________________ test_lerc[uint8-rgb-out-out-None-None] ____________________ dtype = dtype('uint8'), itype = 'rgb', enout = 'out', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________________ test_lerc[uint8-rgb-out-out-None-0.02] ____________________ dtype = dtype('uint8'), itype = 'rgb', enout = 'out', deout = 'out' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________________ test_lerc[uint8-rgb-out-out-True-None] ____________________ dtype = dtype('uint8'), itype = 'rgb', enout = 'out', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________________ test_lerc[uint8-rgb-out-out-True-0.02] ____________________ dtype = dtype('uint8'), itype = 'rgb', enout = 'out', deout = 'out' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[uint8-rgb-out-bytearray-None-None] _________________ dtype = dtype('uint8'), itype = 'rgb', enout = 'out', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[uint8-rgb-out-bytearray-None-0.02] _________________ dtype = dtype('uint8'), itype = 'rgb', enout = 'out', deout = 'bytearray' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[uint8-rgb-out-bytearray-True-None] _________________ dtype = dtype('uint8'), itype = 'rgb', enout = 'out', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[uint8-rgb-out-bytearray-True-0.02] _________________ dtype = dtype('uint8'), itype = 'rgb', enout = 'out', deout = 'bytearray' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[uint8-rgb-bytearray-new-None-None] _________________ dtype = dtype('uint8'), itype = 'rgb', enout = 'bytearray', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[uint8-rgb-bytearray-new-None-0.02] _________________ dtype = dtype('uint8'), itype = 'rgb', enout = 'bytearray', deout = 'new' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[uint8-rgb-bytearray-new-True-None] _________________ dtype = dtype('uint8'), itype = 'rgb', enout = 'bytearray', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[uint8-rgb-bytearray-new-True-0.02] _________________ dtype = dtype('uint8'), itype = 'rgb', enout = 'bytearray', deout = 'new' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[uint8-rgb-bytearray-out-None-None] _________________ dtype = dtype('uint8'), itype = 'rgb', enout = 'bytearray', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[uint8-rgb-bytearray-out-None-0.02] _________________ dtype = dtype('uint8'), itype = 'rgb', enout = 'bytearray', deout = 'out' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[uint8-rgb-bytearray-out-True-None] _________________ dtype = dtype('uint8'), itype = 'rgb', enout = 'bytearray', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[uint8-rgb-bytearray-out-True-0.02] _________________ dtype = dtype('uint8'), itype = 'rgb', enout = 'bytearray', deout = 'out' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ______________ test_lerc[uint8-rgb-bytearray-bytearray-None-None] ______________ dtype = dtype('uint8'), itype = 'rgb', enout = 'bytearray', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ______________ test_lerc[uint8-rgb-bytearray-bytearray-None-0.02] ______________ dtype = dtype('uint8'), itype = 'rgb', enout = 'bytearray', deout = 'bytearray' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ______________ test_lerc[uint8-rgb-bytearray-bytearray-True-None] ______________ dtype = dtype('uint8'), itype = 'rgb', enout = 'bytearray', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ______________ test_lerc[uint8-rgb-bytearray-bytearray-True-0.02] ______________ dtype = dtype('uint8'), itype = 'rgb', enout = 'bytearray', deout = 'bytearray' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint8-rgba-new-new-None-None] ____________________ dtype = dtype('uint8'), itype = 'rgba', enout = 'new', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint8-rgba-new-new-None-0.02] ____________________ dtype = dtype('uint8'), itype = 'rgba', enout = 'new', deout = 'new' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint8-rgba-new-new-True-None] ____________________ dtype = dtype('uint8'), itype = 'rgba', enout = 'new', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint8-rgba-new-new-True-0.02] ____________________ dtype = dtype('uint8'), itype = 'rgba', enout = 'new', deout = 'new' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint8-rgba-new-out-None-None] ____________________ dtype = dtype('uint8'), itype = 'rgba', enout = 'new', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint8-rgba-new-out-None-0.02] ____________________ dtype = dtype('uint8'), itype = 'rgba', enout = 'new', deout = 'out' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint8-rgba-new-out-True-None] ____________________ dtype = dtype('uint8'), itype = 'rgba', enout = 'new', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint8-rgba-new-out-True-0.02] ____________________ dtype = dtype('uint8'), itype = 'rgba', enout = 'new', deout = 'out' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint8-rgba-new-bytearray-None-None] _________________ dtype = dtype('uint8'), itype = 'rgba', enout = 'new', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint8-rgba-new-bytearray-None-0.02] _________________ dtype = dtype('uint8'), itype = 'rgba', enout = 'new', deout = 'bytearray' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint8-rgba-new-bytearray-True-None] _________________ dtype = dtype('uint8'), itype = 'rgba', enout = 'new', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint8-rgba-new-bytearray-True-0.02] _________________ dtype = dtype('uint8'), itype = 'rgba', enout = 'new', deout = 'bytearray' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint8-rgba-out-new-None-None] ____________________ dtype = dtype('uint8'), itype = 'rgba', enout = 'out', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint8-rgba-out-new-None-0.02] ____________________ dtype = dtype('uint8'), itype = 'rgba', enout = 'out', deout = 'new' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint8-rgba-out-new-True-None] ____________________ dtype = dtype('uint8'), itype = 'rgba', enout = 'out', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint8-rgba-out-new-True-0.02] ____________________ dtype = dtype('uint8'), itype = 'rgba', enout = 'out', deout = 'new' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint8-rgba-out-out-None-None] ____________________ dtype = dtype('uint8'), itype = 'rgba', enout = 'out', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint8-rgba-out-out-None-0.02] ____________________ dtype = dtype('uint8'), itype = 'rgba', enout = 'out', deout = 'out' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint8-rgba-out-out-True-None] ____________________ dtype = dtype('uint8'), itype = 'rgba', enout = 'out', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint8-rgba-out-out-True-0.02] ____________________ dtype = dtype('uint8'), itype = 'rgba', enout = 'out', deout = 'out' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint8-rgba-out-bytearray-None-None] _________________ dtype = dtype('uint8'), itype = 'rgba', enout = 'out', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint8-rgba-out-bytearray-None-0.02] _________________ dtype = dtype('uint8'), itype = 'rgba', enout = 'out', deout = 'bytearray' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint8-rgba-out-bytearray-True-None] _________________ dtype = dtype('uint8'), itype = 'rgba', enout = 'out', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint8-rgba-out-bytearray-True-0.02] _________________ dtype = dtype('uint8'), itype = 'rgba', enout = 'out', deout = 'bytearray' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint8-rgba-bytearray-new-None-None] _________________ dtype = dtype('uint8'), itype = 'rgba', enout = 'bytearray', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint8-rgba-bytearray-new-None-0.02] _________________ dtype = dtype('uint8'), itype = 'rgba', enout = 'bytearray', deout = 'new' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint8-rgba-bytearray-new-True-None] _________________ dtype = dtype('uint8'), itype = 'rgba', enout = 'bytearray', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint8-rgba-bytearray-new-True-0.02] _________________ dtype = dtype('uint8'), itype = 'rgba', enout = 'bytearray', deout = 'new' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint8-rgba-bytearray-out-None-None] _________________ dtype = dtype('uint8'), itype = 'rgba', enout = 'bytearray', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint8-rgba-bytearray-out-None-0.02] _________________ dtype = dtype('uint8'), itype = 'rgba', enout = 'bytearray', deout = 'out' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint8-rgba-bytearray-out-True-None] _________________ dtype = dtype('uint8'), itype = 'rgba', enout = 'bytearray', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint8-rgba-bytearray-out-True-0.02] _________________ dtype = dtype('uint8'), itype = 'rgba', enout = 'bytearray', deout = 'out' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _____________ test_lerc[uint8-rgba-bytearray-bytearray-None-None] ______________ dtype = dtype('uint8'), itype = 'rgba', enout = 'bytearray', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _____________ test_lerc[uint8-rgba-bytearray-bytearray-None-0.02] ______________ dtype = dtype('uint8'), itype = 'rgba', enout = 'bytearray', deout = 'bytearray' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _____________ test_lerc[uint8-rgba-bytearray-bytearray-True-None] ______________ dtype = dtype('uint8'), itype = 'rgba', enout = 'bytearray', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _____________ test_lerc[uint8-rgba-bytearray-bytearray-True-0.02] ______________ dtype = dtype('uint8'), itype = 'rgba', enout = 'bytearray', deout = 'bytearray' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[uint8-channels-new-new-None-None] __________________ dtype = dtype('uint8'), itype = 'channels', enout = 'new', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[uint8-channels-new-new-None-0.02] __________________ dtype = dtype('uint8'), itype = 'channels', enout = 'new', deout = 'new' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[uint8-channels-new-new-True-None] __________________ dtype = dtype('uint8'), itype = 'channels', enout = 'new', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[uint8-channels-new-new-True-0.02] __________________ dtype = dtype('uint8'), itype = 'channels', enout = 'new', deout = 'new' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[uint8-channels-new-out-None-None] __________________ dtype = dtype('uint8'), itype = 'channels', enout = 'new', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[uint8-channels-new-out-None-0.02] __________________ dtype = dtype('uint8'), itype = 'channels', enout = 'new', deout = 'out' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[uint8-channels-new-out-True-None] __________________ dtype = dtype('uint8'), itype = 'channels', enout = 'new', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[uint8-channels-new-out-True-0.02] __________________ dtype = dtype('uint8'), itype = 'channels', enout = 'new', deout = 'out' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ______________ test_lerc[uint8-channels-new-bytearray-None-None] _______________ dtype = dtype('uint8'), itype = 'channels', enout = 'new', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ______________ test_lerc[uint8-channels-new-bytearray-None-0.02] _______________ dtype = dtype('uint8'), itype = 'channels', enout = 'new', deout = 'bytearray' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ______________ test_lerc[uint8-channels-new-bytearray-True-None] _______________ dtype = dtype('uint8'), itype = 'channels', enout = 'new', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ______________ test_lerc[uint8-channels-new-bytearray-True-0.02] _______________ dtype = dtype('uint8'), itype = 'channels', enout = 'new', deout = 'bytearray' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[uint8-channels-out-new-None-None] __________________ dtype = dtype('uint8'), itype = 'channels', enout = 'out', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[uint8-channels-out-new-None-0.02] __________________ dtype = dtype('uint8'), itype = 'channels', enout = 'out', deout = 'new' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[uint8-channels-out-new-True-None] __________________ dtype = dtype('uint8'), itype = 'channels', enout = 'out', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[uint8-channels-out-new-True-0.02] __________________ dtype = dtype('uint8'), itype = 'channels', enout = 'out', deout = 'new' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[uint8-channels-out-out-None-None] __________________ dtype = dtype('uint8'), itype = 'channels', enout = 'out', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[uint8-channels-out-out-None-0.02] __________________ dtype = dtype('uint8'), itype = 'channels', enout = 'out', deout = 'out' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[uint8-channels-out-out-True-None] __________________ dtype = dtype('uint8'), itype = 'channels', enout = 'out', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[uint8-channels-out-out-True-0.02] __________________ dtype = dtype('uint8'), itype = 'channels', enout = 'out', deout = 'out' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ______________ test_lerc[uint8-channels-out-bytearray-None-None] _______________ dtype = dtype('uint8'), itype = 'channels', enout = 'out', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ______________ test_lerc[uint8-channels-out-bytearray-None-0.02] _______________ dtype = dtype('uint8'), itype = 'channels', enout = 'out', deout = 'bytearray' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ______________ test_lerc[uint8-channels-out-bytearray-True-None] _______________ dtype = dtype('uint8'), itype = 'channels', enout = 'out', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ______________ test_lerc[uint8-channels-out-bytearray-True-0.02] _______________ dtype = dtype('uint8'), itype = 'channels', enout = 'out', deout = 'bytearray' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ______________ test_lerc[uint8-channels-bytearray-new-None-None] _______________ dtype = dtype('uint8'), itype = 'channels', enout = 'bytearray', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ______________ test_lerc[uint8-channels-bytearray-new-None-0.02] _______________ dtype = dtype('uint8'), itype = 'channels', enout = 'bytearray', deout = 'new' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ______________ test_lerc[uint8-channels-bytearray-new-True-None] _______________ dtype = dtype('uint8'), itype = 'channels', enout = 'bytearray', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ______________ test_lerc[uint8-channels-bytearray-new-True-0.02] _______________ dtype = dtype('uint8'), itype = 'channels', enout = 'bytearray', deout = 'new' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ______________ test_lerc[uint8-channels-bytearray-out-None-None] _______________ dtype = dtype('uint8'), itype = 'channels', enout = 'bytearray', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ______________ test_lerc[uint8-channels-bytearray-out-None-0.02] _______________ dtype = dtype('uint8'), itype = 'channels', enout = 'bytearray', deout = 'out' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ______________ test_lerc[uint8-channels-bytearray-out-True-None] _______________ dtype = dtype('uint8'), itype = 'channels', enout = 'bytearray', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ______________ test_lerc[uint8-channels-bytearray-out-True-0.02] _______________ dtype = dtype('uint8'), itype = 'channels', enout = 'bytearray', deout = 'out' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________ test_lerc[uint8-channels-bytearray-bytearray-None-None] ____________ dtype = dtype('uint8'), itype = 'channels', enout = 'bytearray' deout = 'bytearray', planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________ test_lerc[uint8-channels-bytearray-bytearray-None-0.02] ____________ dtype = dtype('uint8'), itype = 'channels', enout = 'bytearray' deout = 'bytearray', planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________ test_lerc[uint8-channels-bytearray-bytearray-True-None] ____________ dtype = dtype('uint8'), itype = 'channels', enout = 'bytearray' deout = 'bytearray', planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________ test_lerc[uint8-channels-bytearray-bytearray-True-0.02] ____________ dtype = dtype('uint8'), itype = 'channels', enout = 'bytearray' deout = 'bytearray', planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint8-stack-new-new-None-None] ___________________ dtype = dtype('uint8'), itype = 'stack', enout = 'new', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint8-stack-new-new-None-0.02] ___________________ dtype = dtype('uint8'), itype = 'stack', enout = 'new', deout = 'new' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint8-stack-new-new-True-None] ___________________ dtype = dtype('uint8'), itype = 'stack', enout = 'new', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint8-stack-new-new-True-0.02] ___________________ dtype = dtype('uint8'), itype = 'stack', enout = 'new', deout = 'new' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint8-stack-new-out-None-None] ___________________ dtype = dtype('uint8'), itype = 'stack', enout = 'new', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint8-stack-new-out-None-0.02] ___________________ dtype = dtype('uint8'), itype = 'stack', enout = 'new', deout = 'out' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint8-stack-new-out-True-None] ___________________ dtype = dtype('uint8'), itype = 'stack', enout = 'new', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint8-stack-new-out-True-0.02] ___________________ dtype = dtype('uint8'), itype = 'stack', enout = 'new', deout = 'out' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint8-stack-new-bytearray-None-None] ________________ dtype = dtype('uint8'), itype = 'stack', enout = 'new', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint8-stack-new-bytearray-None-0.02] ________________ dtype = dtype('uint8'), itype = 'stack', enout = 'new', deout = 'bytearray' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint8-stack-new-bytearray-True-None] ________________ dtype = dtype('uint8'), itype = 'stack', enout = 'new', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint8-stack-new-bytearray-True-0.02] ________________ dtype = dtype('uint8'), itype = 'stack', enout = 'new', deout = 'bytearray' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint8-stack-out-new-None-None] ___________________ dtype = dtype('uint8'), itype = 'stack', enout = 'out', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint8-stack-out-new-None-0.02] ___________________ dtype = dtype('uint8'), itype = 'stack', enout = 'out', deout = 'new' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint8-stack-out-new-True-None] ___________________ dtype = dtype('uint8'), itype = 'stack', enout = 'out', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint8-stack-out-new-True-0.02] ___________________ dtype = dtype('uint8'), itype = 'stack', enout = 'out', deout = 'new' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint8-stack-out-out-None-None] ___________________ dtype = dtype('uint8'), itype = 'stack', enout = 'out', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint8-stack-out-out-None-0.02] ___________________ dtype = dtype('uint8'), itype = 'stack', enout = 'out', deout = 'out' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint8-stack-out-out-True-None] ___________________ dtype = dtype('uint8'), itype = 'stack', enout = 'out', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint8-stack-out-out-True-0.02] ___________________ dtype = dtype('uint8'), itype = 'stack', enout = 'out', deout = 'out' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint8-stack-out-bytearray-None-None] ________________ dtype = dtype('uint8'), itype = 'stack', enout = 'out', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint8-stack-out-bytearray-None-0.02] ________________ dtype = dtype('uint8'), itype = 'stack', enout = 'out', deout = 'bytearray' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint8-stack-out-bytearray-True-None] ________________ dtype = dtype('uint8'), itype = 'stack', enout = 'out', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint8-stack-out-bytearray-True-0.02] ________________ dtype = dtype('uint8'), itype = 'stack', enout = 'out', deout = 'bytearray' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint8-stack-bytearray-new-None-None] ________________ dtype = dtype('uint8'), itype = 'stack', enout = 'bytearray', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint8-stack-bytearray-new-None-0.02] ________________ dtype = dtype('uint8'), itype = 'stack', enout = 'bytearray', deout = 'new' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint8-stack-bytearray-new-True-None] ________________ dtype = dtype('uint8'), itype = 'stack', enout = 'bytearray', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint8-stack-bytearray-new-True-0.02] ________________ dtype = dtype('uint8'), itype = 'stack', enout = 'bytearray', deout = 'new' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint8-stack-bytearray-out-None-None] ________________ dtype = dtype('uint8'), itype = 'stack', enout = 'bytearray', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint8-stack-bytearray-out-None-0.02] ________________ dtype = dtype('uint8'), itype = 'stack', enout = 'bytearray', deout = 'out' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint8-stack-bytearray-out-True-None] ________________ dtype = dtype('uint8'), itype = 'stack', enout = 'bytearray', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint8-stack-bytearray-out-True-0.02] ________________ dtype = dtype('uint8'), itype = 'stack', enout = 'bytearray', deout = 'out' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _____________ test_lerc[uint8-stack-bytearray-bytearray-None-None] _____________ dtype = dtype('uint8'), itype = 'stack', enout = 'bytearray' deout = 'bytearray', planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _____________ test_lerc[uint8-stack-bytearray-bytearray-None-0.02] _____________ dtype = dtype('uint8'), itype = 'stack', enout = 'bytearray' deout = 'bytearray', planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _____________ test_lerc[uint8-stack-bytearray-bytearray-True-None] _____________ dtype = dtype('uint8'), itype = 'stack', enout = 'bytearray' deout = 'bytearray', planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _____________ test_lerc[uint8-stack-bytearray-bytearray-True-0.02] _____________ dtype = dtype('uint8'), itype = 'stack', enout = 'bytearray' deout = 'bytearray', planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________________ test_lerc[int8-gray-new-new-None-None] ____________________ dtype = dtype('int8'), itype = 'gray', enout = 'new', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________________ test_lerc[int8-gray-new-new-None-0.02] ____________________ dtype = dtype('int8'), itype = 'gray', enout = 'new', deout = 'new' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________________ test_lerc[int8-gray-new-new-True-None] ____________________ dtype = dtype('int8'), itype = 'gray', enout = 'new', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________________ test_lerc[int8-gray-new-new-True-0.02] ____________________ dtype = dtype('int8'), itype = 'gray', enout = 'new', deout = 'new' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________________ test_lerc[int8-gray-new-out-None-None] ____________________ dtype = dtype('int8'), itype = 'gray', enout = 'new', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________________ test_lerc[int8-gray-new-out-None-0.02] ____________________ dtype = dtype('int8'), itype = 'gray', enout = 'new', deout = 'out' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________________ test_lerc[int8-gray-new-out-True-None] ____________________ dtype = dtype('int8'), itype = 'gray', enout = 'new', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________________ test_lerc[int8-gray-new-out-True-0.02] ____________________ dtype = dtype('int8'), itype = 'gray', enout = 'new', deout = 'out' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[int8-gray-new-bytearray-None-None] _________________ dtype = dtype('int8'), itype = 'gray', enout = 'new', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[int8-gray-new-bytearray-None-0.02] _________________ dtype = dtype('int8'), itype = 'gray', enout = 'new', deout = 'bytearray' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[int8-gray-new-bytearray-True-None] _________________ dtype = dtype('int8'), itype = 'gray', enout = 'new', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[int8-gray-new-bytearray-True-0.02] _________________ dtype = dtype('int8'), itype = 'gray', enout = 'new', deout = 'bytearray' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________________ test_lerc[int8-gray-out-new-None-None] ____________________ dtype = dtype('int8'), itype = 'gray', enout = 'out', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________________ test_lerc[int8-gray-out-new-None-0.02] ____________________ dtype = dtype('int8'), itype = 'gray', enout = 'out', deout = 'new' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________________ test_lerc[int8-gray-out-new-True-None] ____________________ dtype = dtype('int8'), itype = 'gray', enout = 'out', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________________ test_lerc[int8-gray-out-new-True-0.02] ____________________ dtype = dtype('int8'), itype = 'gray', enout = 'out', deout = 'new' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________________ test_lerc[int8-gray-out-out-None-None] ____________________ dtype = dtype('int8'), itype = 'gray', enout = 'out', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________________ test_lerc[int8-gray-out-out-None-0.02] ____________________ dtype = dtype('int8'), itype = 'gray', enout = 'out', deout = 'out' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________________ test_lerc[int8-gray-out-out-True-None] ____________________ dtype = dtype('int8'), itype = 'gray', enout = 'out', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________________ test_lerc[int8-gray-out-out-True-0.02] ____________________ dtype = dtype('int8'), itype = 'gray', enout = 'out', deout = 'out' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[int8-gray-out-bytearray-None-None] _________________ dtype = dtype('int8'), itype = 'gray', enout = 'out', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[int8-gray-out-bytearray-None-0.02] _________________ dtype = dtype('int8'), itype = 'gray', enout = 'out', deout = 'bytearray' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[int8-gray-out-bytearray-True-None] _________________ dtype = dtype('int8'), itype = 'gray', enout = 'out', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[int8-gray-out-bytearray-True-0.02] _________________ dtype = dtype('int8'), itype = 'gray', enout = 'out', deout = 'bytearray' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[int8-gray-bytearray-new-None-None] _________________ dtype = dtype('int8'), itype = 'gray', enout = 'bytearray', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[int8-gray-bytearray-new-None-0.02] _________________ dtype = dtype('int8'), itype = 'gray', enout = 'bytearray', deout = 'new' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[int8-gray-bytearray-new-True-None] _________________ dtype = dtype('int8'), itype = 'gray', enout = 'bytearray', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[int8-gray-bytearray-new-True-0.02] _________________ dtype = dtype('int8'), itype = 'gray', enout = 'bytearray', deout = 'new' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[int8-gray-bytearray-out-None-None] _________________ dtype = dtype('int8'), itype = 'gray', enout = 'bytearray', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[int8-gray-bytearray-out-None-0.02] _________________ dtype = dtype('int8'), itype = 'gray', enout = 'bytearray', deout = 'out' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[int8-gray-bytearray-out-True-None] _________________ dtype = dtype('int8'), itype = 'gray', enout = 'bytearray', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[int8-gray-bytearray-out-True-0.02] _________________ dtype = dtype('int8'), itype = 'gray', enout = 'bytearray', deout = 'out' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ______________ test_lerc[int8-gray-bytearray-bytearray-None-None] ______________ dtype = dtype('int8'), itype = 'gray', enout = 'bytearray', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ______________ test_lerc[int8-gray-bytearray-bytearray-None-0.02] ______________ dtype = dtype('int8'), itype = 'gray', enout = 'bytearray', deout = 'bytearray' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ______________ test_lerc[int8-gray-bytearray-bytearray-True-None] ______________ dtype = dtype('int8'), itype = 'gray', enout = 'bytearray', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ______________ test_lerc[int8-gray-bytearray-bytearray-True-0.02] ______________ dtype = dtype('int8'), itype = 'gray', enout = 'bytearray', deout = 'bytearray' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________________ test_lerc[int8-rgb-new-new-None-None] _____________________ dtype = dtype('int8'), itype = 'rgb', enout = 'new', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________________ test_lerc[int8-rgb-new-new-None-0.02] _____________________ dtype = dtype('int8'), itype = 'rgb', enout = 'new', deout = 'new' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________________ test_lerc[int8-rgb-new-new-True-None] _____________________ dtype = dtype('int8'), itype = 'rgb', enout = 'new', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________________ test_lerc[int8-rgb-new-new-True-0.02] _____________________ dtype = dtype('int8'), itype = 'rgb', enout = 'new', deout = 'new' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________________ test_lerc[int8-rgb-new-out-None-None] _____________________ dtype = dtype('int8'), itype = 'rgb', enout = 'new', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________________ test_lerc[int8-rgb-new-out-None-0.02] _____________________ dtype = dtype('int8'), itype = 'rgb', enout = 'new', deout = 'out' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________________ test_lerc[int8-rgb-new-out-True-None] _____________________ dtype = dtype('int8'), itype = 'rgb', enout = 'new', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________________ test_lerc[int8-rgb-new-out-True-0.02] _____________________ dtype = dtype('int8'), itype = 'rgb', enout = 'new', deout = 'out' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[int8-rgb-new-bytearray-None-None] __________________ dtype = dtype('int8'), itype = 'rgb', enout = 'new', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[int8-rgb-new-bytearray-None-0.02] __________________ dtype = dtype('int8'), itype = 'rgb', enout = 'new', deout = 'bytearray' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[int8-rgb-new-bytearray-True-None] __________________ dtype = dtype('int8'), itype = 'rgb', enout = 'new', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[int8-rgb-new-bytearray-True-0.02] __________________ dtype = dtype('int8'), itype = 'rgb', enout = 'new', deout = 'bytearray' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________________ test_lerc[int8-rgb-out-new-None-None] _____________________ dtype = dtype('int8'), itype = 'rgb', enout = 'out', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________________ test_lerc[int8-rgb-out-new-None-0.02] _____________________ dtype = dtype('int8'), itype = 'rgb', enout = 'out', deout = 'new' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________________ test_lerc[int8-rgb-out-new-True-None] _____________________ dtype = dtype('int8'), itype = 'rgb', enout = 'out', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________________ test_lerc[int8-rgb-out-new-True-0.02] _____________________ dtype = dtype('int8'), itype = 'rgb', enout = 'out', deout = 'new' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________________ test_lerc[int8-rgb-out-out-None-None] _____________________ dtype = dtype('int8'), itype = 'rgb', enout = 'out', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________________ test_lerc[int8-rgb-out-out-None-0.02] _____________________ dtype = dtype('int8'), itype = 'rgb', enout = 'out', deout = 'out' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________________ test_lerc[int8-rgb-out-out-True-None] _____________________ dtype = dtype('int8'), itype = 'rgb', enout = 'out', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________________ test_lerc[int8-rgb-out-out-True-0.02] _____________________ dtype = dtype('int8'), itype = 'rgb', enout = 'out', deout = 'out' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[int8-rgb-out-bytearray-None-None] __________________ dtype = dtype('int8'), itype = 'rgb', enout = 'out', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[int8-rgb-out-bytearray-None-0.02] __________________ dtype = dtype('int8'), itype = 'rgb', enout = 'out', deout = 'bytearray' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[int8-rgb-out-bytearray-True-None] __________________ dtype = dtype('int8'), itype = 'rgb', enout = 'out', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[int8-rgb-out-bytearray-True-0.02] __________________ dtype = dtype('int8'), itype = 'rgb', enout = 'out', deout = 'bytearray' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[int8-rgb-bytearray-new-None-None] __________________ dtype = dtype('int8'), itype = 'rgb', enout = 'bytearray', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[int8-rgb-bytearray-new-None-0.02] __________________ dtype = dtype('int8'), itype = 'rgb', enout = 'bytearray', deout = 'new' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[int8-rgb-bytearray-new-True-None] __________________ dtype = dtype('int8'), itype = 'rgb', enout = 'bytearray', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[int8-rgb-bytearray-new-True-0.02] __________________ dtype = dtype('int8'), itype = 'rgb', enout = 'bytearray', deout = 'new' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[int8-rgb-bytearray-out-None-None] __________________ dtype = dtype('int8'), itype = 'rgb', enout = 'bytearray', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[int8-rgb-bytearray-out-None-0.02] __________________ dtype = dtype('int8'), itype = 'rgb', enout = 'bytearray', deout = 'out' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[int8-rgb-bytearray-out-True-None] __________________ dtype = dtype('int8'), itype = 'rgb', enout = 'bytearray', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[int8-rgb-bytearray-out-True-0.02] __________________ dtype = dtype('int8'), itype = 'rgb', enout = 'bytearray', deout = 'out' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ______________ test_lerc[int8-rgb-bytearray-bytearray-None-None] _______________ dtype = dtype('int8'), itype = 'rgb', enout = 'bytearray', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ______________ test_lerc[int8-rgb-bytearray-bytearray-None-0.02] _______________ dtype = dtype('int8'), itype = 'rgb', enout = 'bytearray', deout = 'bytearray' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ______________ test_lerc[int8-rgb-bytearray-bytearray-True-None] _______________ dtype = dtype('int8'), itype = 'rgb', enout = 'bytearray', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ______________ test_lerc[int8-rgb-bytearray-bytearray-True-0.02] _______________ dtype = dtype('int8'), itype = 'rgb', enout = 'bytearray', deout = 'bytearray' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________________ test_lerc[int8-rgba-new-new-None-None] ____________________ dtype = dtype('int8'), itype = 'rgba', enout = 'new', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________________ test_lerc[int8-rgba-new-new-None-0.02] ____________________ dtype = dtype('int8'), itype = 'rgba', enout = 'new', deout = 'new' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________________ test_lerc[int8-rgba-new-new-True-None] ____________________ dtype = dtype('int8'), itype = 'rgba', enout = 'new', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________________ test_lerc[int8-rgba-new-new-True-0.02] ____________________ dtype = dtype('int8'), itype = 'rgba', enout = 'new', deout = 'new' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________________ test_lerc[int8-rgba-new-out-None-None] ____________________ dtype = dtype('int8'), itype = 'rgba', enout = 'new', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________________ test_lerc[int8-rgba-new-out-None-0.02] ____________________ dtype = dtype('int8'), itype = 'rgba', enout = 'new', deout = 'out' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________________ test_lerc[int8-rgba-new-out-True-None] ____________________ dtype = dtype('int8'), itype = 'rgba', enout = 'new', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________________ test_lerc[int8-rgba-new-out-True-0.02] ____________________ dtype = dtype('int8'), itype = 'rgba', enout = 'new', deout = 'out' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[int8-rgba-new-bytearray-None-None] _________________ dtype = dtype('int8'), itype = 'rgba', enout = 'new', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[int8-rgba-new-bytearray-None-0.02] _________________ dtype = dtype('int8'), itype = 'rgba', enout = 'new', deout = 'bytearray' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[int8-rgba-new-bytearray-True-None] _________________ dtype = dtype('int8'), itype = 'rgba', enout = 'new', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[int8-rgba-new-bytearray-True-0.02] _________________ dtype = dtype('int8'), itype = 'rgba', enout = 'new', deout = 'bytearray' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________________ test_lerc[int8-rgba-out-new-None-None] ____________________ dtype = dtype('int8'), itype = 'rgba', enout = 'out', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________________ test_lerc[int8-rgba-out-new-None-0.02] ____________________ dtype = dtype('int8'), itype = 'rgba', enout = 'out', deout = 'new' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________________ test_lerc[int8-rgba-out-new-True-None] ____________________ dtype = dtype('int8'), itype = 'rgba', enout = 'out', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________________ test_lerc[int8-rgba-out-new-True-0.02] ____________________ dtype = dtype('int8'), itype = 'rgba', enout = 'out', deout = 'new' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________________ test_lerc[int8-rgba-out-out-None-None] ____________________ dtype = dtype('int8'), itype = 'rgba', enout = 'out', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________________ test_lerc[int8-rgba-out-out-None-0.02] ____________________ dtype = dtype('int8'), itype = 'rgba', enout = 'out', deout = 'out' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________________ test_lerc[int8-rgba-out-out-True-None] ____________________ dtype = dtype('int8'), itype = 'rgba', enout = 'out', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________________ test_lerc[int8-rgba-out-out-True-0.02] ____________________ dtype = dtype('int8'), itype = 'rgba', enout = 'out', deout = 'out' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[int8-rgba-out-bytearray-None-None] _________________ dtype = dtype('int8'), itype = 'rgba', enout = 'out', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[int8-rgba-out-bytearray-None-0.02] _________________ dtype = dtype('int8'), itype = 'rgba', enout = 'out', deout = 'bytearray' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[int8-rgba-out-bytearray-True-None] _________________ dtype = dtype('int8'), itype = 'rgba', enout = 'out', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[int8-rgba-out-bytearray-True-0.02] _________________ dtype = dtype('int8'), itype = 'rgba', enout = 'out', deout = 'bytearray' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[int8-rgba-bytearray-new-None-None] _________________ dtype = dtype('int8'), itype = 'rgba', enout = 'bytearray', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[int8-rgba-bytearray-new-None-0.02] _________________ dtype = dtype('int8'), itype = 'rgba', enout = 'bytearray', deout = 'new' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[int8-rgba-bytearray-new-True-None] _________________ dtype = dtype('int8'), itype = 'rgba', enout = 'bytearray', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[int8-rgba-bytearray-new-True-0.02] _________________ dtype = dtype('int8'), itype = 'rgba', enout = 'bytearray', deout = 'new' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[int8-rgba-bytearray-out-None-None] _________________ dtype = dtype('int8'), itype = 'rgba', enout = 'bytearray', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[int8-rgba-bytearray-out-None-0.02] _________________ dtype = dtype('int8'), itype = 'rgba', enout = 'bytearray', deout = 'out' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[int8-rgba-bytearray-out-True-None] _________________ dtype = dtype('int8'), itype = 'rgba', enout = 'bytearray', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[int8-rgba-bytearray-out-True-0.02] _________________ dtype = dtype('int8'), itype = 'rgba', enout = 'bytearray', deout = 'out' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ______________ test_lerc[int8-rgba-bytearray-bytearray-None-None] ______________ dtype = dtype('int8'), itype = 'rgba', enout = 'bytearray', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ______________ test_lerc[int8-rgba-bytearray-bytearray-None-0.02] ______________ dtype = dtype('int8'), itype = 'rgba', enout = 'bytearray', deout = 'bytearray' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ______________ test_lerc[int8-rgba-bytearray-bytearray-True-None] ______________ dtype = dtype('int8'), itype = 'rgba', enout = 'bytearray', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ______________ test_lerc[int8-rgba-bytearray-bytearray-True-0.02] ______________ dtype = dtype('int8'), itype = 'rgba', enout = 'bytearray', deout = 'bytearray' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[int8-channels-new-new-None-None] __________________ dtype = dtype('int8'), itype = 'channels', enout = 'new', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[int8-channels-new-new-None-0.02] __________________ dtype = dtype('int8'), itype = 'channels', enout = 'new', deout = 'new' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[int8-channels-new-new-True-None] __________________ dtype = dtype('int8'), itype = 'channels', enout = 'new', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[int8-channels-new-new-True-0.02] __________________ dtype = dtype('int8'), itype = 'channels', enout = 'new', deout = 'new' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[int8-channels-new-out-None-None] __________________ dtype = dtype('int8'), itype = 'channels', enout = 'new', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[int8-channels-new-out-None-0.02] __________________ dtype = dtype('int8'), itype = 'channels', enout = 'new', deout = 'out' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[int8-channels-new-out-True-None] __________________ dtype = dtype('int8'), itype = 'channels', enout = 'new', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[int8-channels-new-out-True-0.02] __________________ dtype = dtype('int8'), itype = 'channels', enout = 'new', deout = 'out' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[int8-channels-new-bytearray-None-None] _______________ dtype = dtype('int8'), itype = 'channels', enout = 'new', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[int8-channels-new-bytearray-None-0.02] _______________ dtype = dtype('int8'), itype = 'channels', enout = 'new', deout = 'bytearray' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[int8-channels-new-bytearray-True-None] _______________ dtype = dtype('int8'), itype = 'channels', enout = 'new', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[int8-channels-new-bytearray-True-0.02] _______________ dtype = dtype('int8'), itype = 'channels', enout = 'new', deout = 'bytearray' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[int8-channels-out-new-None-None] __________________ dtype = dtype('int8'), itype = 'channels', enout = 'out', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[int8-channels-out-new-None-0.02] __________________ dtype = dtype('int8'), itype = 'channels', enout = 'out', deout = 'new' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[int8-channels-out-new-True-None] __________________ dtype = dtype('int8'), itype = 'channels', enout = 'out', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[int8-channels-out-new-True-0.02] __________________ dtype = dtype('int8'), itype = 'channels', enout = 'out', deout = 'new' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[int8-channels-out-out-None-None] __________________ dtype = dtype('int8'), itype = 'channels', enout = 'out', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[int8-channels-out-out-None-0.02] __________________ dtype = dtype('int8'), itype = 'channels', enout = 'out', deout = 'out' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[int8-channels-out-out-True-None] __________________ dtype = dtype('int8'), itype = 'channels', enout = 'out', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[int8-channels-out-out-True-0.02] __________________ dtype = dtype('int8'), itype = 'channels', enout = 'out', deout = 'out' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[int8-channels-out-bytearray-None-None] _______________ dtype = dtype('int8'), itype = 'channels', enout = 'out', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[int8-channels-out-bytearray-None-0.02] _______________ dtype = dtype('int8'), itype = 'channels', enout = 'out', deout = 'bytearray' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[int8-channels-out-bytearray-True-None] _______________ dtype = dtype('int8'), itype = 'channels', enout = 'out', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[int8-channels-out-bytearray-True-0.02] _______________ dtype = dtype('int8'), itype = 'channels', enout = 'out', deout = 'bytearray' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[int8-channels-bytearray-new-None-None] _______________ dtype = dtype('int8'), itype = 'channels', enout = 'bytearray', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[int8-channels-bytearray-new-None-0.02] _______________ dtype = dtype('int8'), itype = 'channels', enout = 'bytearray', deout = 'new' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[int8-channels-bytearray-new-True-None] _______________ dtype = dtype('int8'), itype = 'channels', enout = 'bytearray', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[int8-channels-bytearray-new-True-0.02] _______________ dtype = dtype('int8'), itype = 'channels', enout = 'bytearray', deout = 'new' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[int8-channels-bytearray-out-None-None] _______________ dtype = dtype('int8'), itype = 'channels', enout = 'bytearray', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[int8-channels-bytearray-out-None-0.02] _______________ dtype = dtype('int8'), itype = 'channels', enout = 'bytearray', deout = 'out' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[int8-channels-bytearray-out-True-None] _______________ dtype = dtype('int8'), itype = 'channels', enout = 'bytearray', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[int8-channels-bytearray-out-True-0.02] _______________ dtype = dtype('int8'), itype = 'channels', enout = 'bytearray', deout = 'out' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________ test_lerc[int8-channels-bytearray-bytearray-None-None] ____________ dtype = dtype('int8'), itype = 'channels', enout = 'bytearray' deout = 'bytearray', planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________ test_lerc[int8-channels-bytearray-bytearray-None-0.02] ____________ dtype = dtype('int8'), itype = 'channels', enout = 'bytearray' deout = 'bytearray', planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________ test_lerc[int8-channels-bytearray-bytearray-True-None] ____________ dtype = dtype('int8'), itype = 'channels', enout = 'bytearray' deout = 'bytearray', planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________ test_lerc[int8-channels-bytearray-bytearray-True-0.02] ____________ dtype = dtype('int8'), itype = 'channels', enout = 'bytearray' deout = 'bytearray', planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[int8-stack-new-new-None-None] ____________________ dtype = dtype('int8'), itype = 'stack', enout = 'new', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[int8-stack-new-new-None-0.02] ____________________ dtype = dtype('int8'), itype = 'stack', enout = 'new', deout = 'new' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[int8-stack-new-new-True-None] ____________________ dtype = dtype('int8'), itype = 'stack', enout = 'new', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[int8-stack-new-new-True-0.02] ____________________ dtype = dtype('int8'), itype = 'stack', enout = 'new', deout = 'new' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[int8-stack-new-out-None-None] ____________________ dtype = dtype('int8'), itype = 'stack', enout = 'new', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[int8-stack-new-out-None-0.02] ____________________ dtype = dtype('int8'), itype = 'stack', enout = 'new', deout = 'out' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[int8-stack-new-out-True-None] ____________________ dtype = dtype('int8'), itype = 'stack', enout = 'new', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[int8-stack-new-out-True-0.02] ____________________ dtype = dtype('int8'), itype = 'stack', enout = 'new', deout = 'out' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[int8-stack-new-bytearray-None-None] _________________ dtype = dtype('int8'), itype = 'stack', enout = 'new', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[int8-stack-new-bytearray-None-0.02] _________________ dtype = dtype('int8'), itype = 'stack', enout = 'new', deout = 'bytearray' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[int8-stack-new-bytearray-True-None] _________________ dtype = dtype('int8'), itype = 'stack', enout = 'new', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[int8-stack-new-bytearray-True-0.02] _________________ dtype = dtype('int8'), itype = 'stack', enout = 'new', deout = 'bytearray' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[int8-stack-out-new-None-None] ____________________ dtype = dtype('int8'), itype = 'stack', enout = 'out', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[int8-stack-out-new-None-0.02] ____________________ dtype = dtype('int8'), itype = 'stack', enout = 'out', deout = 'new' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[int8-stack-out-new-True-None] ____________________ dtype = dtype('int8'), itype = 'stack', enout = 'out', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[int8-stack-out-new-True-0.02] ____________________ dtype = dtype('int8'), itype = 'stack', enout = 'out', deout = 'new' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[int8-stack-out-out-None-None] ____________________ dtype = dtype('int8'), itype = 'stack', enout = 'out', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[int8-stack-out-out-None-0.02] ____________________ dtype = dtype('int8'), itype = 'stack', enout = 'out', deout = 'out' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[int8-stack-out-out-True-None] ____________________ dtype = dtype('int8'), itype = 'stack', enout = 'out', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[int8-stack-out-out-True-0.02] ____________________ dtype = dtype('int8'), itype = 'stack', enout = 'out', deout = 'out' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[int8-stack-out-bytearray-None-None] _________________ dtype = dtype('int8'), itype = 'stack', enout = 'out', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[int8-stack-out-bytearray-None-0.02] _________________ dtype = dtype('int8'), itype = 'stack', enout = 'out', deout = 'bytearray' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[int8-stack-out-bytearray-True-None] _________________ dtype = dtype('int8'), itype = 'stack', enout = 'out', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[int8-stack-out-bytearray-True-0.02] _________________ dtype = dtype('int8'), itype = 'stack', enout = 'out', deout = 'bytearray' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[int8-stack-bytearray-new-None-None] _________________ dtype = dtype('int8'), itype = 'stack', enout = 'bytearray', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[int8-stack-bytearray-new-None-0.02] _________________ dtype = dtype('int8'), itype = 'stack', enout = 'bytearray', deout = 'new' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[int8-stack-bytearray-new-True-None] _________________ dtype = dtype('int8'), itype = 'stack', enout = 'bytearray', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[int8-stack-bytearray-new-True-0.02] _________________ dtype = dtype('int8'), itype = 'stack', enout = 'bytearray', deout = 'new' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[int8-stack-bytearray-out-None-None] _________________ dtype = dtype('int8'), itype = 'stack', enout = 'bytearray', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[int8-stack-bytearray-out-None-0.02] _________________ dtype = dtype('int8'), itype = 'stack', enout = 'bytearray', deout = 'out' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[int8-stack-bytearray-out-True-None] _________________ dtype = dtype('int8'), itype = 'stack', enout = 'bytearray', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[int8-stack-bytearray-out-True-0.02] _________________ dtype = dtype('int8'), itype = 'stack', enout = 'bytearray', deout = 'out' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _____________ test_lerc[int8-stack-bytearray-bytearray-None-None] ______________ dtype = dtype('int8'), itype = 'stack', enout = 'bytearray', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _____________ test_lerc[int8-stack-bytearray-bytearray-None-0.02] ______________ dtype = dtype('int8'), itype = 'stack', enout = 'bytearray', deout = 'bytearray' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _____________ test_lerc[int8-stack-bytearray-bytearray-True-None] ______________ dtype = dtype('int8'), itype = 'stack', enout = 'bytearray', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _____________ test_lerc[int8-stack-bytearray-bytearray-True-0.02] ______________ dtype = dtype('int8'), itype = 'stack', enout = 'bytearray', deout = 'bytearray' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint16-gray-new-new-None-None] ___________________ dtype = dtype('uint16'), itype = 'gray', enout = 'new', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint16-gray-new-new-None-0.02] ___________________ dtype = dtype('uint16'), itype = 'gray', enout = 'new', deout = 'new' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint16-gray-new-new-True-None] ___________________ dtype = dtype('uint16'), itype = 'gray', enout = 'new', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint16-gray-new-new-True-0.02] ___________________ dtype = dtype('uint16'), itype = 'gray', enout = 'new', deout = 'new' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint16-gray-new-out-None-None] ___________________ dtype = dtype('uint16'), itype = 'gray', enout = 'new', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint16-gray-new-out-None-0.02] ___________________ dtype = dtype('uint16'), itype = 'gray', enout = 'new', deout = 'out' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint16-gray-new-out-True-None] ___________________ dtype = dtype('uint16'), itype = 'gray', enout = 'new', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint16-gray-new-out-True-0.02] ___________________ dtype = dtype('uint16'), itype = 'gray', enout = 'new', deout = 'out' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint16-gray-new-bytearray-None-None] ________________ dtype = dtype('uint16'), itype = 'gray', enout = 'new', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint16-gray-new-bytearray-None-0.02] ________________ dtype = dtype('uint16'), itype = 'gray', enout = 'new', deout = 'bytearray' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint16-gray-new-bytearray-True-None] ________________ dtype = dtype('uint16'), itype = 'gray', enout = 'new', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint16-gray-new-bytearray-True-0.02] ________________ dtype = dtype('uint16'), itype = 'gray', enout = 'new', deout = 'bytearray' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint16-gray-out-new-None-None] ___________________ dtype = dtype('uint16'), itype = 'gray', enout = 'out', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint16-gray-out-new-None-0.02] ___________________ dtype = dtype('uint16'), itype = 'gray', enout = 'out', deout = 'new' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint16-gray-out-new-True-None] ___________________ dtype = dtype('uint16'), itype = 'gray', enout = 'out', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint16-gray-out-new-True-0.02] ___________________ dtype = dtype('uint16'), itype = 'gray', enout = 'out', deout = 'new' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint16-gray-out-out-None-None] ___________________ dtype = dtype('uint16'), itype = 'gray', enout = 'out', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint16-gray-out-out-None-0.02] ___________________ dtype = dtype('uint16'), itype = 'gray', enout = 'out', deout = 'out' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint16-gray-out-out-True-None] ___________________ dtype = dtype('uint16'), itype = 'gray', enout = 'out', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint16-gray-out-out-True-0.02] ___________________ dtype = dtype('uint16'), itype = 'gray', enout = 'out', deout = 'out' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint16-gray-out-bytearray-None-None] ________________ dtype = dtype('uint16'), itype = 'gray', enout = 'out', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint16-gray-out-bytearray-None-0.02] ________________ dtype = dtype('uint16'), itype = 'gray', enout = 'out', deout = 'bytearray' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint16-gray-out-bytearray-True-None] ________________ dtype = dtype('uint16'), itype = 'gray', enout = 'out', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint16-gray-out-bytearray-True-0.02] ________________ dtype = dtype('uint16'), itype = 'gray', enout = 'out', deout = 'bytearray' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint16-gray-bytearray-new-None-None] ________________ dtype = dtype('uint16'), itype = 'gray', enout = 'bytearray', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint16-gray-bytearray-new-None-0.02] ________________ dtype = dtype('uint16'), itype = 'gray', enout = 'bytearray', deout = 'new' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint16-gray-bytearray-new-True-None] ________________ dtype = dtype('uint16'), itype = 'gray', enout = 'bytearray', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint16-gray-bytearray-new-True-0.02] ________________ dtype = dtype('uint16'), itype = 'gray', enout = 'bytearray', deout = 'new' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint16-gray-bytearray-out-None-None] ________________ dtype = dtype('uint16'), itype = 'gray', enout = 'bytearray', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint16-gray-bytearray-out-None-0.02] ________________ dtype = dtype('uint16'), itype = 'gray', enout = 'bytearray', deout = 'out' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint16-gray-bytearray-out-True-None] ________________ dtype = dtype('uint16'), itype = 'gray', enout = 'bytearray', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint16-gray-bytearray-out-True-0.02] ________________ dtype = dtype('uint16'), itype = 'gray', enout = 'bytearray', deout = 'out' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _____________ test_lerc[uint16-gray-bytearray-bytearray-None-None] _____________ dtype = dtype('uint16'), itype = 'gray', enout = 'bytearray' deout = 'bytearray', planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _____________ test_lerc[uint16-gray-bytearray-bytearray-None-0.02] _____________ dtype = dtype('uint16'), itype = 'gray', enout = 'bytearray' deout = 'bytearray', planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _____________ test_lerc[uint16-gray-bytearray-bytearray-True-None] _____________ dtype = dtype('uint16'), itype = 'gray', enout = 'bytearray' deout = 'bytearray', planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _____________ test_lerc[uint16-gray-bytearray-bytearray-True-0.02] _____________ dtype = dtype('uint16'), itype = 'gray', enout = 'bytearray' deout = 'bytearray', planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint16-rgb-new-new-None-None] ____________________ dtype = dtype('uint16'), itype = 'rgb', enout = 'new', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint16-rgb-new-new-None-0.02] ____________________ dtype = dtype('uint16'), itype = 'rgb', enout = 'new', deout = 'new' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint16-rgb-new-new-True-None] ____________________ dtype = dtype('uint16'), itype = 'rgb', enout = 'new', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint16-rgb-new-new-True-0.02] ____________________ dtype = dtype('uint16'), itype = 'rgb', enout = 'new', deout = 'new' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint16-rgb-new-out-None-None] ____________________ dtype = dtype('uint16'), itype = 'rgb', enout = 'new', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint16-rgb-new-out-None-0.02] ____________________ dtype = dtype('uint16'), itype = 'rgb', enout = 'new', deout = 'out' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint16-rgb-new-out-True-None] ____________________ dtype = dtype('uint16'), itype = 'rgb', enout = 'new', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint16-rgb-new-out-True-0.02] ____________________ dtype = dtype('uint16'), itype = 'rgb', enout = 'new', deout = 'out' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint16-rgb-new-bytearray-None-None] _________________ dtype = dtype('uint16'), itype = 'rgb', enout = 'new', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint16-rgb-new-bytearray-None-0.02] _________________ dtype = dtype('uint16'), itype = 'rgb', enout = 'new', deout = 'bytearray' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint16-rgb-new-bytearray-True-None] _________________ dtype = dtype('uint16'), itype = 'rgb', enout = 'new', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint16-rgb-new-bytearray-True-0.02] _________________ dtype = dtype('uint16'), itype = 'rgb', enout = 'new', deout = 'bytearray' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint16-rgb-out-new-None-None] ____________________ dtype = dtype('uint16'), itype = 'rgb', enout = 'out', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint16-rgb-out-new-None-0.02] ____________________ dtype = dtype('uint16'), itype = 'rgb', enout = 'out', deout = 'new' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint16-rgb-out-new-True-None] ____________________ dtype = dtype('uint16'), itype = 'rgb', enout = 'out', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint16-rgb-out-new-True-0.02] ____________________ dtype = dtype('uint16'), itype = 'rgb', enout = 'out', deout = 'new' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint16-rgb-out-out-None-None] ____________________ dtype = dtype('uint16'), itype = 'rgb', enout = 'out', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint16-rgb-out-out-None-0.02] ____________________ dtype = dtype('uint16'), itype = 'rgb', enout = 'out', deout = 'out' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint16-rgb-out-out-True-None] ____________________ dtype = dtype('uint16'), itype = 'rgb', enout = 'out', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint16-rgb-out-out-True-0.02] ____________________ dtype = dtype('uint16'), itype = 'rgb', enout = 'out', deout = 'out' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint16-rgb-out-bytearray-None-None] _________________ dtype = dtype('uint16'), itype = 'rgb', enout = 'out', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint16-rgb-out-bytearray-None-0.02] _________________ dtype = dtype('uint16'), itype = 'rgb', enout = 'out', deout = 'bytearray' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint16-rgb-out-bytearray-True-None] _________________ dtype = dtype('uint16'), itype = 'rgb', enout = 'out', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint16-rgb-out-bytearray-True-0.02] _________________ dtype = dtype('uint16'), itype = 'rgb', enout = 'out', deout = 'bytearray' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint16-rgb-bytearray-new-None-None] _________________ dtype = dtype('uint16'), itype = 'rgb', enout = 'bytearray', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint16-rgb-bytearray-new-None-0.02] _________________ dtype = dtype('uint16'), itype = 'rgb', enout = 'bytearray', deout = 'new' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint16-rgb-bytearray-new-True-None] _________________ dtype = dtype('uint16'), itype = 'rgb', enout = 'bytearray', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint16-rgb-bytearray-new-True-0.02] _________________ dtype = dtype('uint16'), itype = 'rgb', enout = 'bytearray', deout = 'new' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint16-rgb-bytearray-out-None-None] _________________ dtype = dtype('uint16'), itype = 'rgb', enout = 'bytearray', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint16-rgb-bytearray-out-None-0.02] _________________ dtype = dtype('uint16'), itype = 'rgb', enout = 'bytearray', deout = 'out' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint16-rgb-bytearray-out-True-None] _________________ dtype = dtype('uint16'), itype = 'rgb', enout = 'bytearray', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint16-rgb-bytearray-out-True-0.02] _________________ dtype = dtype('uint16'), itype = 'rgb', enout = 'bytearray', deout = 'out' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _____________ test_lerc[uint16-rgb-bytearray-bytearray-None-None] ______________ dtype = dtype('uint16'), itype = 'rgb', enout = 'bytearray', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _____________ test_lerc[uint16-rgb-bytearray-bytearray-None-0.02] ______________ dtype = dtype('uint16'), itype = 'rgb', enout = 'bytearray', deout = 'bytearray' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _____________ test_lerc[uint16-rgb-bytearray-bytearray-True-None] ______________ dtype = dtype('uint16'), itype = 'rgb', enout = 'bytearray', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _____________ test_lerc[uint16-rgb-bytearray-bytearray-True-0.02] ______________ dtype = dtype('uint16'), itype = 'rgb', enout = 'bytearray', deout = 'bytearray' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint16-rgba-new-new-None-None] ___________________ dtype = dtype('uint16'), itype = 'rgba', enout = 'new', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint16-rgba-new-new-None-0.02] ___________________ dtype = dtype('uint16'), itype = 'rgba', enout = 'new', deout = 'new' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint16-rgba-new-new-True-None] ___________________ dtype = dtype('uint16'), itype = 'rgba', enout = 'new', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint16-rgba-new-new-True-0.02] ___________________ dtype = dtype('uint16'), itype = 'rgba', enout = 'new', deout = 'new' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint16-rgba-new-out-None-None] ___________________ dtype = dtype('uint16'), itype = 'rgba', enout = 'new', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint16-rgba-new-out-None-0.02] ___________________ dtype = dtype('uint16'), itype = 'rgba', enout = 'new', deout = 'out' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint16-rgba-new-out-True-None] ___________________ dtype = dtype('uint16'), itype = 'rgba', enout = 'new', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint16-rgba-new-out-True-0.02] ___________________ dtype = dtype('uint16'), itype = 'rgba', enout = 'new', deout = 'out' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint16-rgba-new-bytearray-None-None] ________________ dtype = dtype('uint16'), itype = 'rgba', enout = 'new', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint16-rgba-new-bytearray-None-0.02] ________________ dtype = dtype('uint16'), itype = 'rgba', enout = 'new', deout = 'bytearray' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint16-rgba-new-bytearray-True-None] ________________ dtype = dtype('uint16'), itype = 'rgba', enout = 'new', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint16-rgba-new-bytearray-True-0.02] ________________ dtype = dtype('uint16'), itype = 'rgba', enout = 'new', deout = 'bytearray' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint16-rgba-out-new-None-None] ___________________ dtype = dtype('uint16'), itype = 'rgba', enout = 'out', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint16-rgba-out-new-None-0.02] ___________________ dtype = dtype('uint16'), itype = 'rgba', enout = 'out', deout = 'new' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint16-rgba-out-new-True-None] ___________________ dtype = dtype('uint16'), itype = 'rgba', enout = 'out', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint16-rgba-out-new-True-0.02] ___________________ dtype = dtype('uint16'), itype = 'rgba', enout = 'out', deout = 'new' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint16-rgba-out-out-None-None] ___________________ dtype = dtype('uint16'), itype = 'rgba', enout = 'out', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint16-rgba-out-out-None-0.02] ___________________ dtype = dtype('uint16'), itype = 'rgba', enout = 'out', deout = 'out' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint16-rgba-out-out-True-None] ___________________ dtype = dtype('uint16'), itype = 'rgba', enout = 'out', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint16-rgba-out-out-True-0.02] ___________________ dtype = dtype('uint16'), itype = 'rgba', enout = 'out', deout = 'out' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint16-rgba-out-bytearray-None-None] ________________ dtype = dtype('uint16'), itype = 'rgba', enout = 'out', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint16-rgba-out-bytearray-None-0.02] ________________ dtype = dtype('uint16'), itype = 'rgba', enout = 'out', deout = 'bytearray' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint16-rgba-out-bytearray-True-None] ________________ dtype = dtype('uint16'), itype = 'rgba', enout = 'out', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint16-rgba-out-bytearray-True-0.02] ________________ dtype = dtype('uint16'), itype = 'rgba', enout = 'out', deout = 'bytearray' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint16-rgba-bytearray-new-None-None] ________________ dtype = dtype('uint16'), itype = 'rgba', enout = 'bytearray', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint16-rgba-bytearray-new-None-0.02] ________________ dtype = dtype('uint16'), itype = 'rgba', enout = 'bytearray', deout = 'new' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint16-rgba-bytearray-new-True-None] ________________ dtype = dtype('uint16'), itype = 'rgba', enout = 'bytearray', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint16-rgba-bytearray-new-True-0.02] ________________ dtype = dtype('uint16'), itype = 'rgba', enout = 'bytearray', deout = 'new' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint16-rgba-bytearray-out-None-None] ________________ dtype = dtype('uint16'), itype = 'rgba', enout = 'bytearray', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint16-rgba-bytearray-out-None-0.02] ________________ dtype = dtype('uint16'), itype = 'rgba', enout = 'bytearray', deout = 'out' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint16-rgba-bytearray-out-True-None] ________________ dtype = dtype('uint16'), itype = 'rgba', enout = 'bytearray', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint16-rgba-bytearray-out-True-0.02] ________________ dtype = dtype('uint16'), itype = 'rgba', enout = 'bytearray', deout = 'out' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _____________ test_lerc[uint16-rgba-bytearray-bytearray-None-None] _____________ dtype = dtype('uint16'), itype = 'rgba', enout = 'bytearray' deout = 'bytearray', planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _____________ test_lerc[uint16-rgba-bytearray-bytearray-None-0.02] _____________ dtype = dtype('uint16'), itype = 'rgba', enout = 'bytearray' deout = 'bytearray', planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _____________ test_lerc[uint16-rgba-bytearray-bytearray-True-None] _____________ dtype = dtype('uint16'), itype = 'rgba', enout = 'bytearray' deout = 'bytearray', planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _____________ test_lerc[uint16-rgba-bytearray-bytearray-True-0.02] _____________ dtype = dtype('uint16'), itype = 'rgba', enout = 'bytearray' deout = 'bytearray', planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[uint16-channels-new-new-None-None] _________________ dtype = dtype('uint16'), itype = 'channels', enout = 'new', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[uint16-channels-new-new-None-0.02] _________________ dtype = dtype('uint16'), itype = 'channels', enout = 'new', deout = 'new' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[uint16-channels-new-new-True-None] _________________ dtype = dtype('uint16'), itype = 'channels', enout = 'new', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[uint16-channels-new-new-True-0.02] _________________ dtype = dtype('uint16'), itype = 'channels', enout = 'new', deout = 'new' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[uint16-channels-new-out-None-None] _________________ dtype = dtype('uint16'), itype = 'channels', enout = 'new', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[uint16-channels-new-out-None-0.02] _________________ dtype = dtype('uint16'), itype = 'channels', enout = 'new', deout = 'out' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[uint16-channels-new-out-True-None] _________________ dtype = dtype('uint16'), itype = 'channels', enout = 'new', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[uint16-channels-new-out-True-0.02] _________________ dtype = dtype('uint16'), itype = 'channels', enout = 'new', deout = 'out' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ______________ test_lerc[uint16-channels-new-bytearray-None-None] ______________ dtype = dtype('uint16'), itype = 'channels', enout = 'new', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ______________ test_lerc[uint16-channels-new-bytearray-None-0.02] ______________ dtype = dtype('uint16'), itype = 'channels', enout = 'new', deout = 'bytearray' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ______________ test_lerc[uint16-channels-new-bytearray-True-None] ______________ dtype = dtype('uint16'), itype = 'channels', enout = 'new', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ______________ test_lerc[uint16-channels-new-bytearray-True-0.02] ______________ dtype = dtype('uint16'), itype = 'channels', enout = 'new', deout = 'bytearray' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[uint16-channels-out-new-None-None] _________________ dtype = dtype('uint16'), itype = 'channels', enout = 'out', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[uint16-channels-out-new-None-0.02] _________________ dtype = dtype('uint16'), itype = 'channels', enout = 'out', deout = 'new' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[uint16-channels-out-new-True-None] _________________ dtype = dtype('uint16'), itype = 'channels', enout = 'out', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[uint16-channels-out-new-True-0.02] _________________ dtype = dtype('uint16'), itype = 'channels', enout = 'out', deout = 'new' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[uint16-channels-out-out-None-None] _________________ dtype = dtype('uint16'), itype = 'channels', enout = 'out', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[uint16-channels-out-out-None-0.02] _________________ dtype = dtype('uint16'), itype = 'channels', enout = 'out', deout = 'out' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[uint16-channels-out-out-True-None] _________________ dtype = dtype('uint16'), itype = 'channels', enout = 'out', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[uint16-channels-out-out-True-0.02] _________________ dtype = dtype('uint16'), itype = 'channels', enout = 'out', deout = 'out' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ______________ test_lerc[uint16-channels-out-bytearray-None-None] ______________ dtype = dtype('uint16'), itype = 'channels', enout = 'out', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ______________ test_lerc[uint16-channels-out-bytearray-None-0.02] ______________ dtype = dtype('uint16'), itype = 'channels', enout = 'out', deout = 'bytearray' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ______________ test_lerc[uint16-channels-out-bytearray-True-None] ______________ dtype = dtype('uint16'), itype = 'channels', enout = 'out', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ______________ test_lerc[uint16-channels-out-bytearray-True-0.02] ______________ dtype = dtype('uint16'), itype = 'channels', enout = 'out', deout = 'bytearray' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ______________ test_lerc[uint16-channels-bytearray-new-None-None] ______________ dtype = dtype('uint16'), itype = 'channels', enout = 'bytearray', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ______________ test_lerc[uint16-channels-bytearray-new-None-0.02] ______________ dtype = dtype('uint16'), itype = 'channels', enout = 'bytearray', deout = 'new' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ______________ test_lerc[uint16-channels-bytearray-new-True-None] ______________ dtype = dtype('uint16'), itype = 'channels', enout = 'bytearray', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ______________ test_lerc[uint16-channels-bytearray-new-True-0.02] ______________ dtype = dtype('uint16'), itype = 'channels', enout = 'bytearray', deout = 'new' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ______________ test_lerc[uint16-channels-bytearray-out-None-None] ______________ dtype = dtype('uint16'), itype = 'channels', enout = 'bytearray', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ______________ test_lerc[uint16-channels-bytearray-out-None-0.02] ______________ dtype = dtype('uint16'), itype = 'channels', enout = 'bytearray', deout = 'out' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ______________ test_lerc[uint16-channels-bytearray-out-True-None] ______________ dtype = dtype('uint16'), itype = 'channels', enout = 'bytearray', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ______________ test_lerc[uint16-channels-bytearray-out-True-0.02] ______________ dtype = dtype('uint16'), itype = 'channels', enout = 'bytearray', deout = 'out' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________ test_lerc[uint16-channels-bytearray-bytearray-None-None] ___________ dtype = dtype('uint16'), itype = 'channels', enout = 'bytearray' deout = 'bytearray', planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________ test_lerc[uint16-channels-bytearray-bytearray-None-0.02] ___________ dtype = dtype('uint16'), itype = 'channels', enout = 'bytearray' deout = 'bytearray', planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________ test_lerc[uint16-channels-bytearray-bytearray-True-None] ___________ dtype = dtype('uint16'), itype = 'channels', enout = 'bytearray' deout = 'bytearray', planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________ test_lerc[uint16-channels-bytearray-bytearray-True-0.02] ___________ dtype = dtype('uint16'), itype = 'channels', enout = 'bytearray' deout = 'bytearray', planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[uint16-stack-new-new-None-None] ___________________ dtype = dtype('uint16'), itype = 'stack', enout = 'new', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[uint16-stack-new-new-None-0.02] ___________________ dtype = dtype('uint16'), itype = 'stack', enout = 'new', deout = 'new' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[uint16-stack-new-new-True-None] ___________________ dtype = dtype('uint16'), itype = 'stack', enout = 'new', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[uint16-stack-new-new-True-0.02] ___________________ dtype = dtype('uint16'), itype = 'stack', enout = 'new', deout = 'new' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[uint16-stack-new-out-None-None] ___________________ dtype = dtype('uint16'), itype = 'stack', enout = 'new', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[uint16-stack-new-out-None-0.02] ___________________ dtype = dtype('uint16'), itype = 'stack', enout = 'new', deout = 'out' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[uint16-stack-new-out-True-None] ___________________ dtype = dtype('uint16'), itype = 'stack', enout = 'new', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[uint16-stack-new-out-True-0.02] ___________________ dtype = dtype('uint16'), itype = 'stack', enout = 'new', deout = 'out' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[uint16-stack-new-bytearray-None-None] ________________ dtype = dtype('uint16'), itype = 'stack', enout = 'new', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[uint16-stack-new-bytearray-None-0.02] ________________ dtype = dtype('uint16'), itype = 'stack', enout = 'new', deout = 'bytearray' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[uint16-stack-new-bytearray-True-None] ________________ dtype = dtype('uint16'), itype = 'stack', enout = 'new', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[uint16-stack-new-bytearray-True-0.02] ________________ dtype = dtype('uint16'), itype = 'stack', enout = 'new', deout = 'bytearray' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[uint16-stack-out-new-None-None] ___________________ dtype = dtype('uint16'), itype = 'stack', enout = 'out', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[uint16-stack-out-new-None-0.02] ___________________ dtype = dtype('uint16'), itype = 'stack', enout = 'out', deout = 'new' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[uint16-stack-out-new-True-None] ___________________ dtype = dtype('uint16'), itype = 'stack', enout = 'out', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[uint16-stack-out-new-True-0.02] ___________________ dtype = dtype('uint16'), itype = 'stack', enout = 'out', deout = 'new' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[uint16-stack-out-out-None-None] ___________________ dtype = dtype('uint16'), itype = 'stack', enout = 'out', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[uint16-stack-out-out-None-0.02] ___________________ dtype = dtype('uint16'), itype = 'stack', enout = 'out', deout = 'out' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[uint16-stack-out-out-True-None] ___________________ dtype = dtype('uint16'), itype = 'stack', enout = 'out', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[uint16-stack-out-out-True-0.02] ___________________ dtype = dtype('uint16'), itype = 'stack', enout = 'out', deout = 'out' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[uint16-stack-out-bytearray-None-None] ________________ dtype = dtype('uint16'), itype = 'stack', enout = 'out', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[uint16-stack-out-bytearray-None-0.02] ________________ dtype = dtype('uint16'), itype = 'stack', enout = 'out', deout = 'bytearray' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[uint16-stack-out-bytearray-True-None] ________________ dtype = dtype('uint16'), itype = 'stack', enout = 'out', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[uint16-stack-out-bytearray-True-0.02] ________________ dtype = dtype('uint16'), itype = 'stack', enout = 'out', deout = 'bytearray' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[uint16-stack-bytearray-new-None-None] ________________ dtype = dtype('uint16'), itype = 'stack', enout = 'bytearray', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[uint16-stack-bytearray-new-None-0.02] ________________ dtype = dtype('uint16'), itype = 'stack', enout = 'bytearray', deout = 'new' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[uint16-stack-bytearray-new-True-None] ________________ dtype = dtype('uint16'), itype = 'stack', enout = 'bytearray', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[uint16-stack-bytearray-new-True-0.02] ________________ dtype = dtype('uint16'), itype = 'stack', enout = 'bytearray', deout = 'new' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[uint16-stack-bytearray-out-None-None] ________________ dtype = dtype('uint16'), itype = 'stack', enout = 'bytearray', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[uint16-stack-bytearray-out-None-0.02] ________________ dtype = dtype('uint16'), itype = 'stack', enout = 'bytearray', deout = 'out' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[uint16-stack-bytearray-out-True-None] ________________ dtype = dtype('uint16'), itype = 'stack', enout = 'bytearray', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[uint16-stack-bytearray-out-True-0.02] ________________ dtype = dtype('uint16'), itype = 'stack', enout = 'bytearray', deout = 'out' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________ test_lerc[uint16-stack-bytearray-bytearray-None-None] _____________ dtype = dtype('uint16'), itype = 'stack', enout = 'bytearray' deout = 'bytearray', planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________ test_lerc[uint16-stack-bytearray-bytearray-None-0.02] _____________ dtype = dtype('uint16'), itype = 'stack', enout = 'bytearray' deout = 'bytearray', planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________ test_lerc[uint16-stack-bytearray-bytearray-True-None] _____________ dtype = dtype('uint16'), itype = 'stack', enout = 'bytearray' deout = 'bytearray', planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________ test_lerc[uint16-stack-bytearray-bytearray-True-0.02] _____________ dtype = dtype('uint16'), itype = 'stack', enout = 'bytearray' deout = 'bytearray', planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[int32-gray-new-new-None-None] ____________________ dtype = dtype('int32'), itype = 'gray', enout = 'new', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[int32-gray-new-new-None-0.02] ____________________ dtype = dtype('int32'), itype = 'gray', enout = 'new', deout = 'new' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[int32-gray-new-new-True-None] ____________________ dtype = dtype('int32'), itype = 'gray', enout = 'new', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[int32-gray-new-new-True-0.02] ____________________ dtype = dtype('int32'), itype = 'gray', enout = 'new', deout = 'new' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[int32-gray-new-out-None-None] ____________________ dtype = dtype('int32'), itype = 'gray', enout = 'new', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[int32-gray-new-out-None-0.02] ____________________ dtype = dtype('int32'), itype = 'gray', enout = 'new', deout = 'out' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[int32-gray-new-out-True-None] ____________________ dtype = dtype('int32'), itype = 'gray', enout = 'new', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[int32-gray-new-out-True-0.02] ____________________ dtype = dtype('int32'), itype = 'gray', enout = 'new', deout = 'out' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[int32-gray-new-bytearray-None-None] _________________ dtype = dtype('int32'), itype = 'gray', enout = 'new', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[int32-gray-new-bytearray-None-0.02] _________________ dtype = dtype('int32'), itype = 'gray', enout = 'new', deout = 'bytearray' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[int32-gray-new-bytearray-True-None] _________________ dtype = dtype('int32'), itype = 'gray', enout = 'new', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[int32-gray-new-bytearray-True-0.02] _________________ dtype = dtype('int32'), itype = 'gray', enout = 'new', deout = 'bytearray' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[int32-gray-out-new-None-None] ____________________ dtype = dtype('int32'), itype = 'gray', enout = 'out', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[int32-gray-out-new-None-0.02] ____________________ dtype = dtype('int32'), itype = 'gray', enout = 'out', deout = 'new' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[int32-gray-out-new-True-None] ____________________ dtype = dtype('int32'), itype = 'gray', enout = 'out', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[int32-gray-out-new-True-0.02] ____________________ dtype = dtype('int32'), itype = 'gray', enout = 'out', deout = 'new' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[int32-gray-out-out-None-None] ____________________ dtype = dtype('int32'), itype = 'gray', enout = 'out', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[int32-gray-out-out-None-0.02] ____________________ dtype = dtype('int32'), itype = 'gray', enout = 'out', deout = 'out' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[int32-gray-out-out-True-None] ____________________ dtype = dtype('int32'), itype = 'gray', enout = 'out', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[int32-gray-out-out-True-0.02] ____________________ dtype = dtype('int32'), itype = 'gray', enout = 'out', deout = 'out' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[int32-gray-out-bytearray-None-None] _________________ dtype = dtype('int32'), itype = 'gray', enout = 'out', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[int32-gray-out-bytearray-None-0.02] _________________ dtype = dtype('int32'), itype = 'gray', enout = 'out', deout = 'bytearray' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[int32-gray-out-bytearray-True-None] _________________ dtype = dtype('int32'), itype = 'gray', enout = 'out', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[int32-gray-out-bytearray-True-0.02] _________________ dtype = dtype('int32'), itype = 'gray', enout = 'out', deout = 'bytearray' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[int32-gray-bytearray-new-None-None] _________________ dtype = dtype('int32'), itype = 'gray', enout = 'bytearray', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[int32-gray-bytearray-new-None-0.02] _________________ dtype = dtype('int32'), itype = 'gray', enout = 'bytearray', deout = 'new' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[int32-gray-bytearray-new-True-None] _________________ dtype = dtype('int32'), itype = 'gray', enout = 'bytearray', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[int32-gray-bytearray-new-True-0.02] _________________ dtype = dtype('int32'), itype = 'gray', enout = 'bytearray', deout = 'new' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[int32-gray-bytearray-out-None-None] _________________ dtype = dtype('int32'), itype = 'gray', enout = 'bytearray', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[int32-gray-bytearray-out-None-0.02] _________________ dtype = dtype('int32'), itype = 'gray', enout = 'bytearray', deout = 'out' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[int32-gray-bytearray-out-True-None] _________________ dtype = dtype('int32'), itype = 'gray', enout = 'bytearray', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[int32-gray-bytearray-out-True-0.02] _________________ dtype = dtype('int32'), itype = 'gray', enout = 'bytearray', deout = 'out' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _____________ test_lerc[int32-gray-bytearray-bytearray-None-None] ______________ dtype = dtype('int32'), itype = 'gray', enout = 'bytearray', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _____________ test_lerc[int32-gray-bytearray-bytearray-None-0.02] ______________ dtype = dtype('int32'), itype = 'gray', enout = 'bytearray', deout = 'bytearray' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _____________ test_lerc[int32-gray-bytearray-bytearray-True-None] ______________ dtype = dtype('int32'), itype = 'gray', enout = 'bytearray', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _____________ test_lerc[int32-gray-bytearray-bytearray-True-0.02] ______________ dtype = dtype('int32'), itype = 'gray', enout = 'bytearray', deout = 'bytearray' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________________ test_lerc[int32-rgb-new-new-None-None] ____________________ dtype = dtype('int32'), itype = 'rgb', enout = 'new', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________________ test_lerc[int32-rgb-new-new-None-0.02] ____________________ dtype = dtype('int32'), itype = 'rgb', enout = 'new', deout = 'new' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________________ test_lerc[int32-rgb-new-new-True-None] ____________________ dtype = dtype('int32'), itype = 'rgb', enout = 'new', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________________ test_lerc[int32-rgb-new-new-True-0.02] ____________________ dtype = dtype('int32'), itype = 'rgb', enout = 'new', deout = 'new' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________________ test_lerc[int32-rgb-new-out-None-None] ____________________ dtype = dtype('int32'), itype = 'rgb', enout = 'new', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________________ test_lerc[int32-rgb-new-out-None-0.02] ____________________ dtype = dtype('int32'), itype = 'rgb', enout = 'new', deout = 'out' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________________ test_lerc[int32-rgb-new-out-True-None] ____________________ dtype = dtype('int32'), itype = 'rgb', enout = 'new', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________________ test_lerc[int32-rgb-new-out-True-0.02] ____________________ dtype = dtype('int32'), itype = 'rgb', enout = 'new', deout = 'out' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[int32-rgb-new-bytearray-None-None] _________________ dtype = dtype('int32'), itype = 'rgb', enout = 'new', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[int32-rgb-new-bytearray-None-0.02] _________________ dtype = dtype('int32'), itype = 'rgb', enout = 'new', deout = 'bytearray' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[int32-rgb-new-bytearray-True-None] _________________ dtype = dtype('int32'), itype = 'rgb', enout = 'new', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[int32-rgb-new-bytearray-True-0.02] _________________ dtype = dtype('int32'), itype = 'rgb', enout = 'new', deout = 'bytearray' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________________ test_lerc[int32-rgb-out-new-None-None] ____________________ dtype = dtype('int32'), itype = 'rgb', enout = 'out', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________________ test_lerc[int32-rgb-out-new-None-0.02] ____________________ dtype = dtype('int32'), itype = 'rgb', enout = 'out', deout = 'new' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________________ test_lerc[int32-rgb-out-new-True-None] ____________________ dtype = dtype('int32'), itype = 'rgb', enout = 'out', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________________ test_lerc[int32-rgb-out-new-True-0.02] ____________________ dtype = dtype('int32'), itype = 'rgb', enout = 'out', deout = 'new' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________________ test_lerc[int32-rgb-out-out-None-None] ____________________ dtype = dtype('int32'), itype = 'rgb', enout = 'out', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________________ test_lerc[int32-rgb-out-out-None-0.02] ____________________ dtype = dtype('int32'), itype = 'rgb', enout = 'out', deout = 'out' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________________ test_lerc[int32-rgb-out-out-True-None] ____________________ dtype = dtype('int32'), itype = 'rgb', enout = 'out', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________________ test_lerc[int32-rgb-out-out-True-0.02] ____________________ dtype = dtype('int32'), itype = 'rgb', enout = 'out', deout = 'out' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[int32-rgb-out-bytearray-None-None] _________________ dtype = dtype('int32'), itype = 'rgb', enout = 'out', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[int32-rgb-out-bytearray-None-0.02] _________________ dtype = dtype('int32'), itype = 'rgb', enout = 'out', deout = 'bytearray' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[int32-rgb-out-bytearray-True-None] _________________ dtype = dtype('int32'), itype = 'rgb', enout = 'out', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[int32-rgb-out-bytearray-True-0.02] _________________ dtype = dtype('int32'), itype = 'rgb', enout = 'out', deout = 'bytearray' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[int32-rgb-bytearray-new-None-None] _________________ dtype = dtype('int32'), itype = 'rgb', enout = 'bytearray', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[int32-rgb-bytearray-new-None-0.02] _________________ dtype = dtype('int32'), itype = 'rgb', enout = 'bytearray', deout = 'new' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[int32-rgb-bytearray-new-True-None] _________________ dtype = dtype('int32'), itype = 'rgb', enout = 'bytearray', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[int32-rgb-bytearray-new-True-0.02] _________________ dtype = dtype('int32'), itype = 'rgb', enout = 'bytearray', deout = 'new' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[int32-rgb-bytearray-out-None-None] _________________ dtype = dtype('int32'), itype = 'rgb', enout = 'bytearray', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[int32-rgb-bytearray-out-None-0.02] _________________ dtype = dtype('int32'), itype = 'rgb', enout = 'bytearray', deout = 'out' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[int32-rgb-bytearray-out-True-None] _________________ dtype = dtype('int32'), itype = 'rgb', enout = 'bytearray', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[int32-rgb-bytearray-out-True-0.02] _________________ dtype = dtype('int32'), itype = 'rgb', enout = 'bytearray', deout = 'out' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ______________ test_lerc[int32-rgb-bytearray-bytearray-None-None] ______________ dtype = dtype('int32'), itype = 'rgb', enout = 'bytearray', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ______________ test_lerc[int32-rgb-bytearray-bytearray-None-0.02] ______________ dtype = dtype('int32'), itype = 'rgb', enout = 'bytearray', deout = 'bytearray' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ______________ test_lerc[int32-rgb-bytearray-bytearray-True-None] ______________ dtype = dtype('int32'), itype = 'rgb', enout = 'bytearray', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ______________ test_lerc[int32-rgb-bytearray-bytearray-True-0.02] ______________ dtype = dtype('int32'), itype = 'rgb', enout = 'bytearray', deout = 'bytearray' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[int32-rgba-new-new-None-None] ____________________ dtype = dtype('int32'), itype = 'rgba', enout = 'new', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[int32-rgba-new-new-None-0.02] ____________________ dtype = dtype('int32'), itype = 'rgba', enout = 'new', deout = 'new' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[int32-rgba-new-new-True-None] ____________________ dtype = dtype('int32'), itype = 'rgba', enout = 'new', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[int32-rgba-new-new-True-0.02] ____________________ dtype = dtype('int32'), itype = 'rgba', enout = 'new', deout = 'new' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[int32-rgba-new-out-None-None] ____________________ dtype = dtype('int32'), itype = 'rgba', enout = 'new', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[int32-rgba-new-out-None-0.02] ____________________ dtype = dtype('int32'), itype = 'rgba', enout = 'new', deout = 'out' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[int32-rgba-new-out-True-None] ____________________ dtype = dtype('int32'), itype = 'rgba', enout = 'new', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[int32-rgba-new-out-True-0.02] ____________________ dtype = dtype('int32'), itype = 'rgba', enout = 'new', deout = 'out' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[int32-rgba-new-bytearray-None-None] _________________ dtype = dtype('int32'), itype = 'rgba', enout = 'new', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[int32-rgba-new-bytearray-None-0.02] _________________ dtype = dtype('int32'), itype = 'rgba', enout = 'new', deout = 'bytearray' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[int32-rgba-new-bytearray-True-None] _________________ dtype = dtype('int32'), itype = 'rgba', enout = 'new', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[int32-rgba-new-bytearray-True-0.02] _________________ dtype = dtype('int32'), itype = 'rgba', enout = 'new', deout = 'bytearray' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[int32-rgba-out-new-None-None] ____________________ dtype = dtype('int32'), itype = 'rgba', enout = 'out', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[int32-rgba-out-new-None-0.02] ____________________ dtype = dtype('int32'), itype = 'rgba', enout = 'out', deout = 'new' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[int32-rgba-out-new-True-None] ____________________ dtype = dtype('int32'), itype = 'rgba', enout = 'out', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[int32-rgba-out-new-True-0.02] ____________________ dtype = dtype('int32'), itype = 'rgba', enout = 'out', deout = 'new' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[int32-rgba-out-out-None-None] ____________________ dtype = dtype('int32'), itype = 'rgba', enout = 'out', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[int32-rgba-out-out-None-0.02] ____________________ dtype = dtype('int32'), itype = 'rgba', enout = 'out', deout = 'out' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[int32-rgba-out-out-True-None] ____________________ dtype = dtype('int32'), itype = 'rgba', enout = 'out', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[int32-rgba-out-out-True-0.02] ____________________ dtype = dtype('int32'), itype = 'rgba', enout = 'out', deout = 'out' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[int32-rgba-out-bytearray-None-None] _________________ dtype = dtype('int32'), itype = 'rgba', enout = 'out', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[int32-rgba-out-bytearray-None-0.02] _________________ dtype = dtype('int32'), itype = 'rgba', enout = 'out', deout = 'bytearray' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[int32-rgba-out-bytearray-True-None] _________________ dtype = dtype('int32'), itype = 'rgba', enout = 'out', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[int32-rgba-out-bytearray-True-0.02] _________________ dtype = dtype('int32'), itype = 'rgba', enout = 'out', deout = 'bytearray' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[int32-rgba-bytearray-new-None-None] _________________ dtype = dtype('int32'), itype = 'rgba', enout = 'bytearray', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[int32-rgba-bytearray-new-None-0.02] _________________ dtype = dtype('int32'), itype = 'rgba', enout = 'bytearray', deout = 'new' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[int32-rgba-bytearray-new-True-None] _________________ dtype = dtype('int32'), itype = 'rgba', enout = 'bytearray', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[int32-rgba-bytearray-new-True-0.02] _________________ dtype = dtype('int32'), itype = 'rgba', enout = 'bytearray', deout = 'new' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[int32-rgba-bytearray-out-None-None] _________________ dtype = dtype('int32'), itype = 'rgba', enout = 'bytearray', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[int32-rgba-bytearray-out-None-0.02] _________________ dtype = dtype('int32'), itype = 'rgba', enout = 'bytearray', deout = 'out' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[int32-rgba-bytearray-out-True-None] _________________ dtype = dtype('int32'), itype = 'rgba', enout = 'bytearray', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[int32-rgba-bytearray-out-True-0.02] _________________ dtype = dtype('int32'), itype = 'rgba', enout = 'bytearray', deout = 'out' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _____________ test_lerc[int32-rgba-bytearray-bytearray-None-None] ______________ dtype = dtype('int32'), itype = 'rgba', enout = 'bytearray', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _____________ test_lerc[int32-rgba-bytearray-bytearray-None-0.02] ______________ dtype = dtype('int32'), itype = 'rgba', enout = 'bytearray', deout = 'bytearray' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _____________ test_lerc[int32-rgba-bytearray-bytearray-True-None] ______________ dtype = dtype('int32'), itype = 'rgba', enout = 'bytearray', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _____________ test_lerc[int32-rgba-bytearray-bytearray-True-0.02] ______________ dtype = dtype('int32'), itype = 'rgba', enout = 'bytearray', deout = 'bytearray' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[int32-channels-new-new-None-None] __________________ dtype = dtype('int32'), itype = 'channels', enout = 'new', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[int32-channels-new-new-None-0.02] __________________ dtype = dtype('int32'), itype = 'channels', enout = 'new', deout = 'new' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[int32-channels-new-new-True-None] __________________ dtype = dtype('int32'), itype = 'channels', enout = 'new', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[int32-channels-new-new-True-0.02] __________________ dtype = dtype('int32'), itype = 'channels', enout = 'new', deout = 'new' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[int32-channels-new-out-None-None] __________________ dtype = dtype('int32'), itype = 'channels', enout = 'new', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[int32-channels-new-out-None-0.02] __________________ dtype = dtype('int32'), itype = 'channels', enout = 'new', deout = 'out' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[int32-channels-new-out-True-None] __________________ dtype = dtype('int32'), itype = 'channels', enout = 'new', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[int32-channels-new-out-True-0.02] __________________ dtype = dtype('int32'), itype = 'channels', enout = 'new', deout = 'out' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ______________ test_lerc[int32-channels-new-bytearray-None-None] _______________ dtype = dtype('int32'), itype = 'channels', enout = 'new', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ______________ test_lerc[int32-channels-new-bytearray-None-0.02] _______________ dtype = dtype('int32'), itype = 'channels', enout = 'new', deout = 'bytearray' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ______________ test_lerc[int32-channels-new-bytearray-True-None] _______________ dtype = dtype('int32'), itype = 'channels', enout = 'new', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ______________ test_lerc[int32-channels-new-bytearray-True-0.02] _______________ dtype = dtype('int32'), itype = 'channels', enout = 'new', deout = 'bytearray' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[int32-channels-out-new-None-None] __________________ dtype = dtype('int32'), itype = 'channels', enout = 'out', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[int32-channels-out-new-None-0.02] __________________ dtype = dtype('int32'), itype = 'channels', enout = 'out', deout = 'new' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[int32-channels-out-new-True-None] __________________ dtype = dtype('int32'), itype = 'channels', enout = 'out', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[int32-channels-out-new-True-0.02] __________________ dtype = dtype('int32'), itype = 'channels', enout = 'out', deout = 'new' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[int32-channels-out-out-None-None] __________________ dtype = dtype('int32'), itype = 'channels', enout = 'out', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[int32-channels-out-out-None-0.02] __________________ dtype = dtype('int32'), itype = 'channels', enout = 'out', deout = 'out' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[int32-channels-out-out-True-None] __________________ dtype = dtype('int32'), itype = 'channels', enout = 'out', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[int32-channels-out-out-True-0.02] __________________ dtype = dtype('int32'), itype = 'channels', enout = 'out', deout = 'out' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ______________ test_lerc[int32-channels-out-bytearray-None-None] _______________ dtype = dtype('int32'), itype = 'channels', enout = 'out', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ______________ test_lerc[int32-channels-out-bytearray-None-0.02] _______________ dtype = dtype('int32'), itype = 'channels', enout = 'out', deout = 'bytearray' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ______________ test_lerc[int32-channels-out-bytearray-True-None] _______________ dtype = dtype('int32'), itype = 'channels', enout = 'out', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ______________ test_lerc[int32-channels-out-bytearray-True-0.02] _______________ dtype = dtype('int32'), itype = 'channels', enout = 'out', deout = 'bytearray' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ______________ test_lerc[int32-channels-bytearray-new-None-None] _______________ dtype = dtype('int32'), itype = 'channels', enout = 'bytearray', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ______________ test_lerc[int32-channels-bytearray-new-None-0.02] _______________ dtype = dtype('int32'), itype = 'channels', enout = 'bytearray', deout = 'new' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ______________ test_lerc[int32-channels-bytearray-new-True-None] _______________ dtype = dtype('int32'), itype = 'channels', enout = 'bytearray', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ______________ test_lerc[int32-channels-bytearray-new-True-0.02] _______________ dtype = dtype('int32'), itype = 'channels', enout = 'bytearray', deout = 'new' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ______________ test_lerc[int32-channels-bytearray-out-None-None] _______________ dtype = dtype('int32'), itype = 'channels', enout = 'bytearray', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ______________ test_lerc[int32-channels-bytearray-out-None-0.02] _______________ dtype = dtype('int32'), itype = 'channels', enout = 'bytearray', deout = 'out' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ______________ test_lerc[int32-channels-bytearray-out-True-None] _______________ dtype = dtype('int32'), itype = 'channels', enout = 'bytearray', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ______________ test_lerc[int32-channels-bytearray-out-True-0.02] _______________ dtype = dtype('int32'), itype = 'channels', enout = 'bytearray', deout = 'out' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________ test_lerc[int32-channels-bytearray-bytearray-None-None] ____________ dtype = dtype('int32'), itype = 'channels', enout = 'bytearray' deout = 'bytearray', planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________ test_lerc[int32-channels-bytearray-bytearray-None-0.02] ____________ dtype = dtype('int32'), itype = 'channels', enout = 'bytearray' deout = 'bytearray', planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________ test_lerc[int32-channels-bytearray-bytearray-True-None] ____________ dtype = dtype('int32'), itype = 'channels', enout = 'bytearray' deout = 'bytearray', planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________ test_lerc[int32-channels-bytearray-bytearray-True-0.02] ____________ dtype = dtype('int32'), itype = 'channels', enout = 'bytearray' deout = 'bytearray', planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[int32-stack-new-new-None-None] ___________________ dtype = dtype('int32'), itype = 'stack', enout = 'new', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[int32-stack-new-new-None-0.02] ___________________ dtype = dtype('int32'), itype = 'stack', enout = 'new', deout = 'new' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[int32-stack-new-new-True-None] ___________________ dtype = dtype('int32'), itype = 'stack', enout = 'new', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[int32-stack-new-new-True-0.02] ___________________ dtype = dtype('int32'), itype = 'stack', enout = 'new', deout = 'new' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[int32-stack-new-out-None-None] ___________________ dtype = dtype('int32'), itype = 'stack', enout = 'new', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[int32-stack-new-out-None-0.02] ___________________ dtype = dtype('int32'), itype = 'stack', enout = 'new', deout = 'out' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[int32-stack-new-out-True-None] ___________________ dtype = dtype('int32'), itype = 'stack', enout = 'new', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[int32-stack-new-out-True-0.02] ___________________ dtype = dtype('int32'), itype = 'stack', enout = 'new', deout = 'out' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[int32-stack-new-bytearray-None-None] ________________ dtype = dtype('int32'), itype = 'stack', enout = 'new', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[int32-stack-new-bytearray-None-0.02] ________________ dtype = dtype('int32'), itype = 'stack', enout = 'new', deout = 'bytearray' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[int32-stack-new-bytearray-True-None] ________________ dtype = dtype('int32'), itype = 'stack', enout = 'new', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[int32-stack-new-bytearray-True-0.02] ________________ dtype = dtype('int32'), itype = 'stack', enout = 'new', deout = 'bytearray' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[int32-stack-out-new-None-None] ___________________ dtype = dtype('int32'), itype = 'stack', enout = 'out', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[int32-stack-out-new-None-0.02] ___________________ dtype = dtype('int32'), itype = 'stack', enout = 'out', deout = 'new' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[int32-stack-out-new-True-None] ___________________ dtype = dtype('int32'), itype = 'stack', enout = 'out', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[int32-stack-out-new-True-0.02] ___________________ dtype = dtype('int32'), itype = 'stack', enout = 'out', deout = 'new' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[int32-stack-out-out-None-None] ___________________ dtype = dtype('int32'), itype = 'stack', enout = 'out', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[int32-stack-out-out-None-0.02] ___________________ dtype = dtype('int32'), itype = 'stack', enout = 'out', deout = 'out' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[int32-stack-out-out-True-None] ___________________ dtype = dtype('int32'), itype = 'stack', enout = 'out', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[int32-stack-out-out-True-0.02] ___________________ dtype = dtype('int32'), itype = 'stack', enout = 'out', deout = 'out' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[int32-stack-out-bytearray-None-None] ________________ dtype = dtype('int32'), itype = 'stack', enout = 'out', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[int32-stack-out-bytearray-None-0.02] ________________ dtype = dtype('int32'), itype = 'stack', enout = 'out', deout = 'bytearray' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[int32-stack-out-bytearray-True-None] ________________ dtype = dtype('int32'), itype = 'stack', enout = 'out', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[int32-stack-out-bytearray-True-0.02] ________________ dtype = dtype('int32'), itype = 'stack', enout = 'out', deout = 'bytearray' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[int32-stack-bytearray-new-None-None] ________________ dtype = dtype('int32'), itype = 'stack', enout = 'bytearray', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[int32-stack-bytearray-new-None-0.02] ________________ dtype = dtype('int32'), itype = 'stack', enout = 'bytearray', deout = 'new' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[int32-stack-bytearray-new-True-None] ________________ dtype = dtype('int32'), itype = 'stack', enout = 'bytearray', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[int32-stack-bytearray-new-True-0.02] ________________ dtype = dtype('int32'), itype = 'stack', enout = 'bytearray', deout = 'new' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[int32-stack-bytearray-out-None-None] ________________ dtype = dtype('int32'), itype = 'stack', enout = 'bytearray', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[int32-stack-bytearray-out-None-0.02] ________________ dtype = dtype('int32'), itype = 'stack', enout = 'bytearray', deout = 'out' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[int32-stack-bytearray-out-True-None] ________________ dtype = dtype('int32'), itype = 'stack', enout = 'bytearray', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[int32-stack-bytearray-out-True-0.02] ________________ dtype = dtype('int32'), itype = 'stack', enout = 'bytearray', deout = 'out' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _____________ test_lerc[int32-stack-bytearray-bytearray-None-None] _____________ dtype = dtype('int32'), itype = 'stack', enout = 'bytearray' deout = 'bytearray', planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _____________ test_lerc[int32-stack-bytearray-bytearray-None-0.02] _____________ dtype = dtype('int32'), itype = 'stack', enout = 'bytearray' deout = 'bytearray', planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _____________ test_lerc[int32-stack-bytearray-bytearray-True-None] _____________ dtype = dtype('int32'), itype = 'stack', enout = 'bytearray' deout = 'bytearray', planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _____________ test_lerc[int32-stack-bytearray-bytearray-True-0.02] _____________ dtype = dtype('int32'), itype = 'stack', enout = 'bytearray' deout = 'bytearray', planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float32-gray-new-new-None-None] ___________________ dtype = dtype('float32'), itype = 'gray', enout = 'new', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float32-gray-new-new-None-0.02] ___________________ dtype = dtype('float32'), itype = 'gray', enout = 'new', deout = 'new' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float32-gray-new-new-True-None] ___________________ dtype = dtype('float32'), itype = 'gray', enout = 'new', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float32-gray-new-new-True-0.02] ___________________ dtype = dtype('float32'), itype = 'gray', enout = 'new', deout = 'new' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float32-gray-new-out-None-None] ___________________ dtype = dtype('float32'), itype = 'gray', enout = 'new', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float32-gray-new-out-None-0.02] ___________________ dtype = dtype('float32'), itype = 'gray', enout = 'new', deout = 'out' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float32-gray-new-out-True-None] ___________________ dtype = dtype('float32'), itype = 'gray', enout = 'new', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float32-gray-new-out-True-0.02] ___________________ dtype = dtype('float32'), itype = 'gray', enout = 'new', deout = 'out' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float32-gray-new-bytearray-None-None] ________________ dtype = dtype('float32'), itype = 'gray', enout = 'new', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float32-gray-new-bytearray-None-0.02] ________________ dtype = dtype('float32'), itype = 'gray', enout = 'new', deout = 'bytearray' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float32-gray-new-bytearray-True-None] ________________ dtype = dtype('float32'), itype = 'gray', enout = 'new', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float32-gray-new-bytearray-True-0.02] ________________ dtype = dtype('float32'), itype = 'gray', enout = 'new', deout = 'bytearray' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float32-gray-out-new-None-None] ___________________ dtype = dtype('float32'), itype = 'gray', enout = 'out', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float32-gray-out-new-None-0.02] ___________________ dtype = dtype('float32'), itype = 'gray', enout = 'out', deout = 'new' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float32-gray-out-new-True-None] ___________________ dtype = dtype('float32'), itype = 'gray', enout = 'out', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float32-gray-out-new-True-0.02] ___________________ dtype = dtype('float32'), itype = 'gray', enout = 'out', deout = 'new' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float32-gray-out-out-None-None] ___________________ dtype = dtype('float32'), itype = 'gray', enout = 'out', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float32-gray-out-out-None-0.02] ___________________ dtype = dtype('float32'), itype = 'gray', enout = 'out', deout = 'out' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float32-gray-out-out-True-None] ___________________ dtype = dtype('float32'), itype = 'gray', enout = 'out', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float32-gray-out-out-True-0.02] ___________________ dtype = dtype('float32'), itype = 'gray', enout = 'out', deout = 'out' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float32-gray-out-bytearray-None-None] ________________ dtype = dtype('float32'), itype = 'gray', enout = 'out', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float32-gray-out-bytearray-None-0.02] ________________ dtype = dtype('float32'), itype = 'gray', enout = 'out', deout = 'bytearray' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float32-gray-out-bytearray-True-None] ________________ dtype = dtype('float32'), itype = 'gray', enout = 'out', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float32-gray-out-bytearray-True-0.02] ________________ dtype = dtype('float32'), itype = 'gray', enout = 'out', deout = 'bytearray' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float32-gray-bytearray-new-None-None] ________________ dtype = dtype('float32'), itype = 'gray', enout = 'bytearray', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float32-gray-bytearray-new-None-0.02] ________________ dtype = dtype('float32'), itype = 'gray', enout = 'bytearray', deout = 'new' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float32-gray-bytearray-new-True-None] ________________ dtype = dtype('float32'), itype = 'gray', enout = 'bytearray', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float32-gray-bytearray-new-True-0.02] ________________ dtype = dtype('float32'), itype = 'gray', enout = 'bytearray', deout = 'new' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float32-gray-bytearray-out-None-None] ________________ dtype = dtype('float32'), itype = 'gray', enout = 'bytearray', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float32-gray-bytearray-out-None-0.02] ________________ dtype = dtype('float32'), itype = 'gray', enout = 'bytearray', deout = 'out' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float32-gray-bytearray-out-True-None] ________________ dtype = dtype('float32'), itype = 'gray', enout = 'bytearray', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float32-gray-bytearray-out-True-0.02] ________________ dtype = dtype('float32'), itype = 'gray', enout = 'bytearray', deout = 'out' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________ test_lerc[float32-gray-bytearray-bytearray-None-None] _____________ dtype = dtype('float32'), itype = 'gray', enout = 'bytearray' deout = 'bytearray', planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________ test_lerc[float32-gray-bytearray-bytearray-None-0.02] _____________ dtype = dtype('float32'), itype = 'gray', enout = 'bytearray' deout = 'bytearray', planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________ test_lerc[float32-gray-bytearray-bytearray-True-None] _____________ dtype = dtype('float32'), itype = 'gray', enout = 'bytearray' deout = 'bytearray', planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________ test_lerc[float32-gray-bytearray-bytearray-True-0.02] _____________ dtype = dtype('float32'), itype = 'gray', enout = 'bytearray' deout = 'bytearray', planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[float32-rgb-new-new-None-None] ___________________ dtype = dtype('float32'), itype = 'rgb', enout = 'new', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[float32-rgb-new-new-None-0.02] ___________________ dtype = dtype('float32'), itype = 'rgb', enout = 'new', deout = 'new' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[float32-rgb-new-new-True-None] ___________________ dtype = dtype('float32'), itype = 'rgb', enout = 'new', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[float32-rgb-new-new-True-0.02] ___________________ dtype = dtype('float32'), itype = 'rgb', enout = 'new', deout = 'new' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[float32-rgb-new-out-None-None] ___________________ dtype = dtype('float32'), itype = 'rgb', enout = 'new', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[float32-rgb-new-out-None-0.02] ___________________ dtype = dtype('float32'), itype = 'rgb', enout = 'new', deout = 'out' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[float32-rgb-new-out-True-None] ___________________ dtype = dtype('float32'), itype = 'rgb', enout = 'new', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[float32-rgb-new-out-True-0.02] ___________________ dtype = dtype('float32'), itype = 'rgb', enout = 'new', deout = 'out' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[float32-rgb-new-bytearray-None-None] ________________ dtype = dtype('float32'), itype = 'rgb', enout = 'new', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[float32-rgb-new-bytearray-None-0.02] ________________ dtype = dtype('float32'), itype = 'rgb', enout = 'new', deout = 'bytearray' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[float32-rgb-new-bytearray-True-None] ________________ dtype = dtype('float32'), itype = 'rgb', enout = 'new', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[float32-rgb-new-bytearray-True-0.02] ________________ dtype = dtype('float32'), itype = 'rgb', enout = 'new', deout = 'bytearray' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[float32-rgb-out-new-None-None] ___________________ dtype = dtype('float32'), itype = 'rgb', enout = 'out', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[float32-rgb-out-new-None-0.02] ___________________ dtype = dtype('float32'), itype = 'rgb', enout = 'out', deout = 'new' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[float32-rgb-out-new-True-None] ___________________ dtype = dtype('float32'), itype = 'rgb', enout = 'out', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[float32-rgb-out-new-True-0.02] ___________________ dtype = dtype('float32'), itype = 'rgb', enout = 'out', deout = 'new' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[float32-rgb-out-out-None-None] ___________________ dtype = dtype('float32'), itype = 'rgb', enout = 'out', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[float32-rgb-out-out-None-0.02] ___________________ dtype = dtype('float32'), itype = 'rgb', enout = 'out', deout = 'out' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[float32-rgb-out-out-True-None] ___________________ dtype = dtype('float32'), itype = 'rgb', enout = 'out', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[float32-rgb-out-out-True-0.02] ___________________ dtype = dtype('float32'), itype = 'rgb', enout = 'out', deout = 'out' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[float32-rgb-out-bytearray-None-None] ________________ dtype = dtype('float32'), itype = 'rgb', enout = 'out', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[float32-rgb-out-bytearray-None-0.02] ________________ dtype = dtype('float32'), itype = 'rgb', enout = 'out', deout = 'bytearray' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[float32-rgb-out-bytearray-True-None] ________________ dtype = dtype('float32'), itype = 'rgb', enout = 'out', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[float32-rgb-out-bytearray-True-0.02] ________________ dtype = dtype('float32'), itype = 'rgb', enout = 'out', deout = 'bytearray' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[float32-rgb-bytearray-new-None-None] ________________ dtype = dtype('float32'), itype = 'rgb', enout = 'bytearray', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[float32-rgb-bytearray-new-None-0.02] ________________ dtype = dtype('float32'), itype = 'rgb', enout = 'bytearray', deout = 'new' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[float32-rgb-bytearray-new-True-None] ________________ dtype = dtype('float32'), itype = 'rgb', enout = 'bytearray', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[float32-rgb-bytearray-new-True-0.02] ________________ dtype = dtype('float32'), itype = 'rgb', enout = 'bytearray', deout = 'new' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[float32-rgb-bytearray-out-None-None] ________________ dtype = dtype('float32'), itype = 'rgb', enout = 'bytearray', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[float32-rgb-bytearray-out-None-0.02] ________________ dtype = dtype('float32'), itype = 'rgb', enout = 'bytearray', deout = 'out' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[float32-rgb-bytearray-out-True-None] ________________ dtype = dtype('float32'), itype = 'rgb', enout = 'bytearray', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[float32-rgb-bytearray-out-True-0.02] ________________ dtype = dtype('float32'), itype = 'rgb', enout = 'bytearray', deout = 'out' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _____________ test_lerc[float32-rgb-bytearray-bytearray-None-None] _____________ dtype = dtype('float32'), itype = 'rgb', enout = 'bytearray' deout = 'bytearray', planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _____________ test_lerc[float32-rgb-bytearray-bytearray-None-0.02] _____________ dtype = dtype('float32'), itype = 'rgb', enout = 'bytearray' deout = 'bytearray', planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _____________ test_lerc[float32-rgb-bytearray-bytearray-True-None] _____________ dtype = dtype('float32'), itype = 'rgb', enout = 'bytearray' deout = 'bytearray', planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _____________ test_lerc[float32-rgb-bytearray-bytearray-True-0.02] _____________ dtype = dtype('float32'), itype = 'rgb', enout = 'bytearray' deout = 'bytearray', planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float32-rgba-new-new-None-None] ___________________ dtype = dtype('float32'), itype = 'rgba', enout = 'new', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float32-rgba-new-new-None-0.02] ___________________ dtype = dtype('float32'), itype = 'rgba', enout = 'new', deout = 'new' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float32-rgba-new-new-True-None] ___________________ dtype = dtype('float32'), itype = 'rgba', enout = 'new', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float32-rgba-new-new-True-0.02] ___________________ dtype = dtype('float32'), itype = 'rgba', enout = 'new', deout = 'new' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float32-rgba-new-out-None-None] ___________________ dtype = dtype('float32'), itype = 'rgba', enout = 'new', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float32-rgba-new-out-None-0.02] ___________________ dtype = dtype('float32'), itype = 'rgba', enout = 'new', deout = 'out' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float32-rgba-new-out-True-None] ___________________ dtype = dtype('float32'), itype = 'rgba', enout = 'new', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float32-rgba-new-out-True-0.02] ___________________ dtype = dtype('float32'), itype = 'rgba', enout = 'new', deout = 'out' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float32-rgba-new-bytearray-None-None] ________________ dtype = dtype('float32'), itype = 'rgba', enout = 'new', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float32-rgba-new-bytearray-None-0.02] ________________ dtype = dtype('float32'), itype = 'rgba', enout = 'new', deout = 'bytearray' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float32-rgba-new-bytearray-True-None] ________________ dtype = dtype('float32'), itype = 'rgba', enout = 'new', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float32-rgba-new-bytearray-True-0.02] ________________ dtype = dtype('float32'), itype = 'rgba', enout = 'new', deout = 'bytearray' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float32-rgba-out-new-None-None] ___________________ dtype = dtype('float32'), itype = 'rgba', enout = 'out', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float32-rgba-out-new-None-0.02] ___________________ dtype = dtype('float32'), itype = 'rgba', enout = 'out', deout = 'new' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float32-rgba-out-new-True-None] ___________________ dtype = dtype('float32'), itype = 'rgba', enout = 'out', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float32-rgba-out-new-True-0.02] ___________________ dtype = dtype('float32'), itype = 'rgba', enout = 'out', deout = 'new' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float32-rgba-out-out-None-None] ___________________ dtype = dtype('float32'), itype = 'rgba', enout = 'out', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float32-rgba-out-out-None-0.02] ___________________ dtype = dtype('float32'), itype = 'rgba', enout = 'out', deout = 'out' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float32-rgba-out-out-True-None] ___________________ dtype = dtype('float32'), itype = 'rgba', enout = 'out', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float32-rgba-out-out-True-0.02] ___________________ dtype = dtype('float32'), itype = 'rgba', enout = 'out', deout = 'out' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float32-rgba-out-bytearray-None-None] ________________ dtype = dtype('float32'), itype = 'rgba', enout = 'out', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float32-rgba-out-bytearray-None-0.02] ________________ dtype = dtype('float32'), itype = 'rgba', enout = 'out', deout = 'bytearray' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float32-rgba-out-bytearray-True-None] ________________ dtype = dtype('float32'), itype = 'rgba', enout = 'out', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float32-rgba-out-bytearray-True-0.02] ________________ dtype = dtype('float32'), itype = 'rgba', enout = 'out', deout = 'bytearray' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float32-rgba-bytearray-new-None-None] ________________ dtype = dtype('float32'), itype = 'rgba', enout = 'bytearray', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float32-rgba-bytearray-new-None-0.02] ________________ dtype = dtype('float32'), itype = 'rgba', enout = 'bytearray', deout = 'new' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float32-rgba-bytearray-new-True-None] ________________ dtype = dtype('float32'), itype = 'rgba', enout = 'bytearray', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float32-rgba-bytearray-new-True-0.02] ________________ dtype = dtype('float32'), itype = 'rgba', enout = 'bytearray', deout = 'new' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float32-rgba-bytearray-out-None-None] ________________ dtype = dtype('float32'), itype = 'rgba', enout = 'bytearray', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float32-rgba-bytearray-out-None-0.02] ________________ dtype = dtype('float32'), itype = 'rgba', enout = 'bytearray', deout = 'out' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float32-rgba-bytearray-out-True-None] ________________ dtype = dtype('float32'), itype = 'rgba', enout = 'bytearray', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float32-rgba-bytearray-out-True-0.02] ________________ dtype = dtype('float32'), itype = 'rgba', enout = 'bytearray', deout = 'out' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________ test_lerc[float32-rgba-bytearray-bytearray-None-None] _____________ dtype = dtype('float32'), itype = 'rgba', enout = 'bytearray' deout = 'bytearray', planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________ test_lerc[float32-rgba-bytearray-bytearray-None-0.02] _____________ dtype = dtype('float32'), itype = 'rgba', enout = 'bytearray' deout = 'bytearray', planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________ test_lerc[float32-rgba-bytearray-bytearray-True-None] _____________ dtype = dtype('float32'), itype = 'rgba', enout = 'bytearray' deout = 'bytearray', planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________ test_lerc[float32-rgba-bytearray-bytearray-True-0.02] _____________ dtype = dtype('float32'), itype = 'rgba', enout = 'bytearray' deout = 'bytearray', planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[float32-channels-new-new-None-None] _________________ dtype = dtype('float32'), itype = 'channels', enout = 'new', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[float32-channels-new-new-None-0.02] _________________ dtype = dtype('float32'), itype = 'channels', enout = 'new', deout = 'new' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[float32-channels-new-new-True-None] _________________ dtype = dtype('float32'), itype = 'channels', enout = 'new', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[float32-channels-new-new-True-0.02] _________________ dtype = dtype('float32'), itype = 'channels', enout = 'new', deout = 'new' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[float32-channels-new-out-None-None] _________________ dtype = dtype('float32'), itype = 'channels', enout = 'new', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[float32-channels-new-out-None-0.02] _________________ dtype = dtype('float32'), itype = 'channels', enout = 'new', deout = 'out' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[float32-channels-new-out-True-None] _________________ dtype = dtype('float32'), itype = 'channels', enout = 'new', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[float32-channels-new-out-True-0.02] _________________ dtype = dtype('float32'), itype = 'channels', enout = 'new', deout = 'out' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _____________ test_lerc[float32-channels-new-bytearray-None-None] ______________ dtype = dtype('float32'), itype = 'channels', enout = 'new', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _____________ test_lerc[float32-channels-new-bytearray-None-0.02] ______________ dtype = dtype('float32'), itype = 'channels', enout = 'new', deout = 'bytearray' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _____________ test_lerc[float32-channels-new-bytearray-True-None] ______________ dtype = dtype('float32'), itype = 'channels', enout = 'new', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _____________ test_lerc[float32-channels-new-bytearray-True-0.02] ______________ dtype = dtype('float32'), itype = 'channels', enout = 'new', deout = 'bytearray' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[float32-channels-out-new-None-None] _________________ dtype = dtype('float32'), itype = 'channels', enout = 'out', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[float32-channels-out-new-None-0.02] _________________ dtype = dtype('float32'), itype = 'channels', enout = 'out', deout = 'new' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[float32-channels-out-new-True-None] _________________ dtype = dtype('float32'), itype = 'channels', enout = 'out', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[float32-channels-out-new-True-0.02] _________________ dtype = dtype('float32'), itype = 'channels', enout = 'out', deout = 'new' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[float32-channels-out-out-None-None] _________________ dtype = dtype('float32'), itype = 'channels', enout = 'out', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[float32-channels-out-out-None-0.02] _________________ dtype = dtype('float32'), itype = 'channels', enout = 'out', deout = 'out' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[float32-channels-out-out-True-None] _________________ dtype = dtype('float32'), itype = 'channels', enout = 'out', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[float32-channels-out-out-True-0.02] _________________ dtype = dtype('float32'), itype = 'channels', enout = 'out', deout = 'out' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _____________ test_lerc[float32-channels-out-bytearray-None-None] ______________ dtype = dtype('float32'), itype = 'channels', enout = 'out', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _____________ test_lerc[float32-channels-out-bytearray-None-0.02] ______________ dtype = dtype('float32'), itype = 'channels', enout = 'out', deout = 'bytearray' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _____________ test_lerc[float32-channels-out-bytearray-True-None] ______________ dtype = dtype('float32'), itype = 'channels', enout = 'out', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _____________ test_lerc[float32-channels-out-bytearray-True-0.02] ______________ dtype = dtype('float32'), itype = 'channels', enout = 'out', deout = 'bytearray' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _____________ test_lerc[float32-channels-bytearray-new-None-None] ______________ dtype = dtype('float32'), itype = 'channels', enout = 'bytearray', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _____________ test_lerc[float32-channels-bytearray-new-None-0.02] ______________ dtype = dtype('float32'), itype = 'channels', enout = 'bytearray', deout = 'new' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _____________ test_lerc[float32-channels-bytearray-new-True-None] ______________ dtype = dtype('float32'), itype = 'channels', enout = 'bytearray', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _____________ test_lerc[float32-channels-bytearray-new-True-0.02] ______________ dtype = dtype('float32'), itype = 'channels', enout = 'bytearray', deout = 'new' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _____________ test_lerc[float32-channels-bytearray-out-None-None] ______________ dtype = dtype('float32'), itype = 'channels', enout = 'bytearray', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _____________ test_lerc[float32-channels-bytearray-out-None-0.02] ______________ dtype = dtype('float32'), itype = 'channels', enout = 'bytearray', deout = 'out' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _____________ test_lerc[float32-channels-bytearray-out-True-None] ______________ dtype = dtype('float32'), itype = 'channels', enout = 'bytearray', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _____________ test_lerc[float32-channels-bytearray-out-True-0.02] ______________ dtype = dtype('float32'), itype = 'channels', enout = 'bytearray', deout = 'out' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________ test_lerc[float32-channels-bytearray-bytearray-None-None] ___________ dtype = dtype('float32'), itype = 'channels', enout = 'bytearray' deout = 'bytearray', planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________ test_lerc[float32-channels-bytearray-bytearray-None-0.02] ___________ dtype = dtype('float32'), itype = 'channels', enout = 'bytearray' deout = 'bytearray', planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________ test_lerc[float32-channels-bytearray-bytearray-True-None] ___________ dtype = dtype('float32'), itype = 'channels', enout = 'bytearray' deout = 'bytearray', planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________ test_lerc[float32-channels-bytearray-bytearray-True-0.02] ___________ dtype = dtype('float32'), itype = 'channels', enout = 'bytearray' deout = 'bytearray', planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float32-stack-new-new-None-None] __________________ dtype = dtype('float32'), itype = 'stack', enout = 'new', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float32-stack-new-new-None-0.02] __________________ dtype = dtype('float32'), itype = 'stack', enout = 'new', deout = 'new' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float32-stack-new-new-True-None] __________________ dtype = dtype('float32'), itype = 'stack', enout = 'new', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float32-stack-new-new-True-0.02] __________________ dtype = dtype('float32'), itype = 'stack', enout = 'new', deout = 'new' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float32-stack-new-out-None-None] __________________ dtype = dtype('float32'), itype = 'stack', enout = 'new', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float32-stack-new-out-None-0.02] __________________ dtype = dtype('float32'), itype = 'stack', enout = 'new', deout = 'out' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float32-stack-new-out-True-None] __________________ dtype = dtype('float32'), itype = 'stack', enout = 'new', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float32-stack-new-out-True-0.02] __________________ dtype = dtype('float32'), itype = 'stack', enout = 'new', deout = 'out' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float32-stack-new-bytearray-None-None] _______________ dtype = dtype('float32'), itype = 'stack', enout = 'new', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float32-stack-new-bytearray-None-0.02] _______________ dtype = dtype('float32'), itype = 'stack', enout = 'new', deout = 'bytearray' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float32-stack-new-bytearray-True-None] _______________ dtype = dtype('float32'), itype = 'stack', enout = 'new', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float32-stack-new-bytearray-True-0.02] _______________ dtype = dtype('float32'), itype = 'stack', enout = 'new', deout = 'bytearray' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float32-stack-out-new-None-None] __________________ dtype = dtype('float32'), itype = 'stack', enout = 'out', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float32-stack-out-new-None-0.02] __________________ dtype = dtype('float32'), itype = 'stack', enout = 'out', deout = 'new' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float32-stack-out-new-True-None] __________________ dtype = dtype('float32'), itype = 'stack', enout = 'out', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float32-stack-out-new-True-0.02] __________________ dtype = dtype('float32'), itype = 'stack', enout = 'out', deout = 'new' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float32-stack-out-out-None-None] __________________ dtype = dtype('float32'), itype = 'stack', enout = 'out', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float32-stack-out-out-None-0.02] __________________ dtype = dtype('float32'), itype = 'stack', enout = 'out', deout = 'out' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float32-stack-out-out-True-None] __________________ dtype = dtype('float32'), itype = 'stack', enout = 'out', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float32-stack-out-out-True-0.02] __________________ dtype = dtype('float32'), itype = 'stack', enout = 'out', deout = 'out' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float32-stack-out-bytearray-None-None] _______________ dtype = dtype('float32'), itype = 'stack', enout = 'out', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float32-stack-out-bytearray-None-0.02] _______________ dtype = dtype('float32'), itype = 'stack', enout = 'out', deout = 'bytearray' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float32-stack-out-bytearray-True-None] _______________ dtype = dtype('float32'), itype = 'stack', enout = 'out', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float32-stack-out-bytearray-True-0.02] _______________ dtype = dtype('float32'), itype = 'stack', enout = 'out', deout = 'bytearray' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float32-stack-bytearray-new-None-None] _______________ dtype = dtype('float32'), itype = 'stack', enout = 'bytearray', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float32-stack-bytearray-new-None-0.02] _______________ dtype = dtype('float32'), itype = 'stack', enout = 'bytearray', deout = 'new' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float32-stack-bytearray-new-True-None] _______________ dtype = dtype('float32'), itype = 'stack', enout = 'bytearray', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float32-stack-bytearray-new-True-0.02] _______________ dtype = dtype('float32'), itype = 'stack', enout = 'bytearray', deout = 'new' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float32-stack-bytearray-out-None-None] _______________ dtype = dtype('float32'), itype = 'stack', enout = 'bytearray', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float32-stack-bytearray-out-None-0.02] _______________ dtype = dtype('float32'), itype = 'stack', enout = 'bytearray', deout = 'out' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float32-stack-bytearray-out-True-None] _______________ dtype = dtype('float32'), itype = 'stack', enout = 'bytearray', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float32-stack-bytearray-out-True-0.02] _______________ dtype = dtype('float32'), itype = 'stack', enout = 'bytearray', deout = 'out' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________ test_lerc[float32-stack-bytearray-bytearray-None-None] ____________ dtype = dtype('float32'), itype = 'stack', enout = 'bytearray' deout = 'bytearray', planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________ test_lerc[float32-stack-bytearray-bytearray-None-0.02] ____________ dtype = dtype('float32'), itype = 'stack', enout = 'bytearray' deout = 'bytearray', planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________ test_lerc[float32-stack-bytearray-bytearray-True-None] ____________ dtype = dtype('float32'), itype = 'stack', enout = 'bytearray' deout = 'bytearray', planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________ test_lerc[float32-stack-bytearray-bytearray-True-0.02] ____________ dtype = dtype('float32'), itype = 'stack', enout = 'bytearray' deout = 'bytearray', planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float64-gray-new-new-None-None] ___________________ dtype = dtype('float64'), itype = 'gray', enout = 'new', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float64-gray-new-new-None-0.02] ___________________ dtype = dtype('float64'), itype = 'gray', enout = 'new', deout = 'new' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float64-gray-new-new-True-None] ___________________ dtype = dtype('float64'), itype = 'gray', enout = 'new', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float64-gray-new-new-True-0.02] ___________________ dtype = dtype('float64'), itype = 'gray', enout = 'new', deout = 'new' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float64-gray-new-out-None-None] ___________________ dtype = dtype('float64'), itype = 'gray', enout = 'new', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float64-gray-new-out-None-0.02] ___________________ dtype = dtype('float64'), itype = 'gray', enout = 'new', deout = 'out' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float64-gray-new-out-True-None] ___________________ dtype = dtype('float64'), itype = 'gray', enout = 'new', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float64-gray-new-out-True-0.02] ___________________ dtype = dtype('float64'), itype = 'gray', enout = 'new', deout = 'out' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float64-gray-new-bytearray-None-None] ________________ dtype = dtype('float64'), itype = 'gray', enout = 'new', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float64-gray-new-bytearray-None-0.02] ________________ dtype = dtype('float64'), itype = 'gray', enout = 'new', deout = 'bytearray' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float64-gray-new-bytearray-True-None] ________________ dtype = dtype('float64'), itype = 'gray', enout = 'new', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float64-gray-new-bytearray-True-0.02] ________________ dtype = dtype('float64'), itype = 'gray', enout = 'new', deout = 'bytearray' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float64-gray-out-new-None-None] ___________________ dtype = dtype('float64'), itype = 'gray', enout = 'out', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float64-gray-out-new-None-0.02] ___________________ dtype = dtype('float64'), itype = 'gray', enout = 'out', deout = 'new' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float64-gray-out-new-True-None] ___________________ dtype = dtype('float64'), itype = 'gray', enout = 'out', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float64-gray-out-new-True-0.02] ___________________ dtype = dtype('float64'), itype = 'gray', enout = 'out', deout = 'new' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float64-gray-out-out-None-None] ___________________ dtype = dtype('float64'), itype = 'gray', enout = 'out', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float64-gray-out-out-None-0.02] ___________________ dtype = dtype('float64'), itype = 'gray', enout = 'out', deout = 'out' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float64-gray-out-out-True-None] ___________________ dtype = dtype('float64'), itype = 'gray', enout = 'out', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float64-gray-out-out-True-0.02] ___________________ dtype = dtype('float64'), itype = 'gray', enout = 'out', deout = 'out' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float64-gray-out-bytearray-None-None] ________________ dtype = dtype('float64'), itype = 'gray', enout = 'out', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float64-gray-out-bytearray-None-0.02] ________________ dtype = dtype('float64'), itype = 'gray', enout = 'out', deout = 'bytearray' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float64-gray-out-bytearray-True-None] ________________ dtype = dtype('float64'), itype = 'gray', enout = 'out', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float64-gray-out-bytearray-True-0.02] ________________ dtype = dtype('float64'), itype = 'gray', enout = 'out', deout = 'bytearray' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float64-gray-bytearray-new-None-None] ________________ dtype = dtype('float64'), itype = 'gray', enout = 'bytearray', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float64-gray-bytearray-new-None-0.02] ________________ dtype = dtype('float64'), itype = 'gray', enout = 'bytearray', deout = 'new' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float64-gray-bytearray-new-True-None] ________________ dtype = dtype('float64'), itype = 'gray', enout = 'bytearray', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float64-gray-bytearray-new-True-0.02] ________________ dtype = dtype('float64'), itype = 'gray', enout = 'bytearray', deout = 'new' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float64-gray-bytearray-out-None-None] ________________ dtype = dtype('float64'), itype = 'gray', enout = 'bytearray', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float64-gray-bytearray-out-None-0.02] ________________ dtype = dtype('float64'), itype = 'gray', enout = 'bytearray', deout = 'out' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float64-gray-bytearray-out-True-None] ________________ dtype = dtype('float64'), itype = 'gray', enout = 'bytearray', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float64-gray-bytearray-out-True-0.02] ________________ dtype = dtype('float64'), itype = 'gray', enout = 'bytearray', deout = 'out' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________ test_lerc[float64-gray-bytearray-bytearray-None-None] _____________ dtype = dtype('float64'), itype = 'gray', enout = 'bytearray' deout = 'bytearray', planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________ test_lerc[float64-gray-bytearray-bytearray-None-0.02] _____________ dtype = dtype('float64'), itype = 'gray', enout = 'bytearray' deout = 'bytearray', planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________ test_lerc[float64-gray-bytearray-bytearray-True-None] _____________ dtype = dtype('float64'), itype = 'gray', enout = 'bytearray' deout = 'bytearray', planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________ test_lerc[float64-gray-bytearray-bytearray-True-0.02] _____________ dtype = dtype('float64'), itype = 'gray', enout = 'bytearray' deout = 'bytearray', planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[float64-rgb-new-new-None-None] ___________________ dtype = dtype('float64'), itype = 'rgb', enout = 'new', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[float64-rgb-new-new-None-0.02] ___________________ dtype = dtype('float64'), itype = 'rgb', enout = 'new', deout = 'new' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[float64-rgb-new-new-True-None] ___________________ dtype = dtype('float64'), itype = 'rgb', enout = 'new', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[float64-rgb-new-new-True-0.02] ___________________ dtype = dtype('float64'), itype = 'rgb', enout = 'new', deout = 'new' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[float64-rgb-new-out-None-None] ___________________ dtype = dtype('float64'), itype = 'rgb', enout = 'new', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[float64-rgb-new-out-None-0.02] ___________________ dtype = dtype('float64'), itype = 'rgb', enout = 'new', deout = 'out' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[float64-rgb-new-out-True-None] ___________________ dtype = dtype('float64'), itype = 'rgb', enout = 'new', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[float64-rgb-new-out-True-0.02] ___________________ dtype = dtype('float64'), itype = 'rgb', enout = 'new', deout = 'out' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[float64-rgb-new-bytearray-None-None] ________________ dtype = dtype('float64'), itype = 'rgb', enout = 'new', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[float64-rgb-new-bytearray-None-0.02] ________________ dtype = dtype('float64'), itype = 'rgb', enout = 'new', deout = 'bytearray' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[float64-rgb-new-bytearray-True-None] ________________ dtype = dtype('float64'), itype = 'rgb', enout = 'new', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[float64-rgb-new-bytearray-True-0.02] ________________ dtype = dtype('float64'), itype = 'rgb', enout = 'new', deout = 'bytearray' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[float64-rgb-out-new-None-None] ___________________ dtype = dtype('float64'), itype = 'rgb', enout = 'out', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[float64-rgb-out-new-None-0.02] ___________________ dtype = dtype('float64'), itype = 'rgb', enout = 'out', deout = 'new' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[float64-rgb-out-new-True-None] ___________________ dtype = dtype('float64'), itype = 'rgb', enout = 'out', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[float64-rgb-out-new-True-0.02] ___________________ dtype = dtype('float64'), itype = 'rgb', enout = 'out', deout = 'new' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[float64-rgb-out-out-None-None] ___________________ dtype = dtype('float64'), itype = 'rgb', enout = 'out', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[float64-rgb-out-out-None-0.02] ___________________ dtype = dtype('float64'), itype = 'rgb', enout = 'out', deout = 'out' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[float64-rgb-out-out-True-None] ___________________ dtype = dtype('float64'), itype = 'rgb', enout = 'out', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[float64-rgb-out-out-True-0.02] ___________________ dtype = dtype('float64'), itype = 'rgb', enout = 'out', deout = 'out' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[float64-rgb-out-bytearray-None-None] ________________ dtype = dtype('float64'), itype = 'rgb', enout = 'out', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[float64-rgb-out-bytearray-None-0.02] ________________ dtype = dtype('float64'), itype = 'rgb', enout = 'out', deout = 'bytearray' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[float64-rgb-out-bytearray-True-None] ________________ dtype = dtype('float64'), itype = 'rgb', enout = 'out', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[float64-rgb-out-bytearray-True-0.02] ________________ dtype = dtype('float64'), itype = 'rgb', enout = 'out', deout = 'bytearray' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[float64-rgb-bytearray-new-None-None] ________________ dtype = dtype('float64'), itype = 'rgb', enout = 'bytearray', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[float64-rgb-bytearray-new-None-0.02] ________________ dtype = dtype('float64'), itype = 'rgb', enout = 'bytearray', deout = 'new' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[float64-rgb-bytearray-new-True-None] ________________ dtype = dtype('float64'), itype = 'rgb', enout = 'bytearray', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[float64-rgb-bytearray-new-True-0.02] ________________ dtype = dtype('float64'), itype = 'rgb', enout = 'bytearray', deout = 'new' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[float64-rgb-bytearray-out-None-None] ________________ dtype = dtype('float64'), itype = 'rgb', enout = 'bytearray', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[float64-rgb-bytearray-out-None-0.02] ________________ dtype = dtype('float64'), itype = 'rgb', enout = 'bytearray', deout = 'out' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[float64-rgb-bytearray-out-True-None] ________________ dtype = dtype('float64'), itype = 'rgb', enout = 'bytearray', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[float64-rgb-bytearray-out-True-0.02] ________________ dtype = dtype('float64'), itype = 'rgb', enout = 'bytearray', deout = 'out' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _____________ test_lerc[float64-rgb-bytearray-bytearray-None-None] _____________ dtype = dtype('float64'), itype = 'rgb', enout = 'bytearray' deout = 'bytearray', planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _____________ test_lerc[float64-rgb-bytearray-bytearray-None-0.02] _____________ dtype = dtype('float64'), itype = 'rgb', enout = 'bytearray' deout = 'bytearray', planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _____________ test_lerc[float64-rgb-bytearray-bytearray-True-None] _____________ dtype = dtype('float64'), itype = 'rgb', enout = 'bytearray' deout = 'bytearray', planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _____________ test_lerc[float64-rgb-bytearray-bytearray-True-0.02] _____________ dtype = dtype('float64'), itype = 'rgb', enout = 'bytearray' deout = 'bytearray', planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float64-rgba-new-new-None-None] ___________________ dtype = dtype('float64'), itype = 'rgba', enout = 'new', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float64-rgba-new-new-None-0.02] ___________________ dtype = dtype('float64'), itype = 'rgba', enout = 'new', deout = 'new' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float64-rgba-new-new-True-None] ___________________ dtype = dtype('float64'), itype = 'rgba', enout = 'new', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float64-rgba-new-new-True-0.02] ___________________ dtype = dtype('float64'), itype = 'rgba', enout = 'new', deout = 'new' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float64-rgba-new-out-None-None] ___________________ dtype = dtype('float64'), itype = 'rgba', enout = 'new', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float64-rgba-new-out-None-0.02] ___________________ dtype = dtype('float64'), itype = 'rgba', enout = 'new', deout = 'out' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float64-rgba-new-out-True-None] ___________________ dtype = dtype('float64'), itype = 'rgba', enout = 'new', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float64-rgba-new-out-True-0.02] ___________________ dtype = dtype('float64'), itype = 'rgba', enout = 'new', deout = 'out' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float64-rgba-new-bytearray-None-None] ________________ dtype = dtype('float64'), itype = 'rgba', enout = 'new', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float64-rgba-new-bytearray-None-0.02] ________________ dtype = dtype('float64'), itype = 'rgba', enout = 'new', deout = 'bytearray' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float64-rgba-new-bytearray-True-None] ________________ dtype = dtype('float64'), itype = 'rgba', enout = 'new', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float64-rgba-new-bytearray-True-0.02] ________________ dtype = dtype('float64'), itype = 'rgba', enout = 'new', deout = 'bytearray' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float64-rgba-out-new-None-None] ___________________ dtype = dtype('float64'), itype = 'rgba', enout = 'out', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float64-rgba-out-new-None-0.02] ___________________ dtype = dtype('float64'), itype = 'rgba', enout = 'out', deout = 'new' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float64-rgba-out-new-True-None] ___________________ dtype = dtype('float64'), itype = 'rgba', enout = 'out', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float64-rgba-out-new-True-0.02] ___________________ dtype = dtype('float64'), itype = 'rgba', enout = 'out', deout = 'new' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float64-rgba-out-out-None-None] ___________________ dtype = dtype('float64'), itype = 'rgba', enout = 'out', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float64-rgba-out-out-None-0.02] ___________________ dtype = dtype('float64'), itype = 'rgba', enout = 'out', deout = 'out' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float64-rgba-out-out-True-None] ___________________ dtype = dtype('float64'), itype = 'rgba', enout = 'out', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float64-rgba-out-out-True-0.02] ___________________ dtype = dtype('float64'), itype = 'rgba', enout = 'out', deout = 'out' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float64-rgba-out-bytearray-None-None] ________________ dtype = dtype('float64'), itype = 'rgba', enout = 'out', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float64-rgba-out-bytearray-None-0.02] ________________ dtype = dtype('float64'), itype = 'rgba', enout = 'out', deout = 'bytearray' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float64-rgba-out-bytearray-True-None] ________________ dtype = dtype('float64'), itype = 'rgba', enout = 'out', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float64-rgba-out-bytearray-True-0.02] ________________ dtype = dtype('float64'), itype = 'rgba', enout = 'out', deout = 'bytearray' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float64-rgba-bytearray-new-None-None] ________________ dtype = dtype('float64'), itype = 'rgba', enout = 'bytearray', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float64-rgba-bytearray-new-None-0.02] ________________ dtype = dtype('float64'), itype = 'rgba', enout = 'bytearray', deout = 'new' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float64-rgba-bytearray-new-True-None] ________________ dtype = dtype('float64'), itype = 'rgba', enout = 'bytearray', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float64-rgba-bytearray-new-True-0.02] ________________ dtype = dtype('float64'), itype = 'rgba', enout = 'bytearray', deout = 'new' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float64-rgba-bytearray-out-None-None] ________________ dtype = dtype('float64'), itype = 'rgba', enout = 'bytearray', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float64-rgba-bytearray-out-None-0.02] ________________ dtype = dtype('float64'), itype = 'rgba', enout = 'bytearray', deout = 'out' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float64-rgba-bytearray-out-True-None] ________________ dtype = dtype('float64'), itype = 'rgba', enout = 'bytearray', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float64-rgba-bytearray-out-True-0.02] ________________ dtype = dtype('float64'), itype = 'rgba', enout = 'bytearray', deout = 'out' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________ test_lerc[float64-rgba-bytearray-bytearray-None-None] _____________ dtype = dtype('float64'), itype = 'rgba', enout = 'bytearray' deout = 'bytearray', planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________ test_lerc[float64-rgba-bytearray-bytearray-None-0.02] _____________ dtype = dtype('float64'), itype = 'rgba', enout = 'bytearray' deout = 'bytearray', planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________ test_lerc[float64-rgba-bytearray-bytearray-True-None] _____________ dtype = dtype('float64'), itype = 'rgba', enout = 'bytearray' deout = 'bytearray', planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________ test_lerc[float64-rgba-bytearray-bytearray-True-0.02] _____________ dtype = dtype('float64'), itype = 'rgba', enout = 'bytearray' deout = 'bytearray', planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[float64-channels-new-new-None-None] _________________ dtype = dtype('float64'), itype = 'channels', enout = 'new', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[float64-channels-new-new-None-0.02] _________________ dtype = dtype('float64'), itype = 'channels', enout = 'new', deout = 'new' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[float64-channels-new-new-True-None] _________________ dtype = dtype('float64'), itype = 'channels', enout = 'new', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[float64-channels-new-new-True-0.02] _________________ dtype = dtype('float64'), itype = 'channels', enout = 'new', deout = 'new' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[float64-channels-new-out-None-None] _________________ dtype = dtype('float64'), itype = 'channels', enout = 'new', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[float64-channels-new-out-None-0.02] _________________ dtype = dtype('float64'), itype = 'channels', enout = 'new', deout = 'out' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[float64-channels-new-out-True-None] _________________ dtype = dtype('float64'), itype = 'channels', enout = 'new', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[float64-channels-new-out-True-0.02] _________________ dtype = dtype('float64'), itype = 'channels', enout = 'new', deout = 'out' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _____________ test_lerc[float64-channels-new-bytearray-None-None] ______________ dtype = dtype('float64'), itype = 'channels', enout = 'new', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _____________ test_lerc[float64-channels-new-bytearray-None-0.02] ______________ dtype = dtype('float64'), itype = 'channels', enout = 'new', deout = 'bytearray' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _____________ test_lerc[float64-channels-new-bytearray-True-None] ______________ dtype = dtype('float64'), itype = 'channels', enout = 'new', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _____________ test_lerc[float64-channels-new-bytearray-True-0.02] ______________ dtype = dtype('float64'), itype = 'channels', enout = 'new', deout = 'bytearray' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[float64-channels-out-new-None-None] _________________ dtype = dtype('float64'), itype = 'channels', enout = 'out', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[float64-channels-out-new-None-0.02] _________________ dtype = dtype('float64'), itype = 'channels', enout = 'out', deout = 'new' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[float64-channels-out-new-True-None] _________________ dtype = dtype('float64'), itype = 'channels', enout = 'out', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[float64-channels-out-new-True-0.02] _________________ dtype = dtype('float64'), itype = 'channels', enout = 'out', deout = 'new' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[float64-channels-out-out-None-None] _________________ dtype = dtype('float64'), itype = 'channels', enout = 'out', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[float64-channels-out-out-None-0.02] _________________ dtype = dtype('float64'), itype = 'channels', enout = 'out', deout = 'out' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[float64-channels-out-out-True-None] _________________ dtype = dtype('float64'), itype = 'channels', enout = 'out', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[float64-channels-out-out-True-0.02] _________________ dtype = dtype('float64'), itype = 'channels', enout = 'out', deout = 'out' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _____________ test_lerc[float64-channels-out-bytearray-None-None] ______________ dtype = dtype('float64'), itype = 'channels', enout = 'out', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _____________ test_lerc[float64-channels-out-bytearray-None-0.02] ______________ dtype = dtype('float64'), itype = 'channels', enout = 'out', deout = 'bytearray' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _____________ test_lerc[float64-channels-out-bytearray-True-None] ______________ dtype = dtype('float64'), itype = 'channels', enout = 'out', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _____________ test_lerc[float64-channels-out-bytearray-True-0.02] ______________ dtype = dtype('float64'), itype = 'channels', enout = 'out', deout = 'bytearray' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _____________ test_lerc[float64-channels-bytearray-new-None-None] ______________ dtype = dtype('float64'), itype = 'channels', enout = 'bytearray', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _____________ test_lerc[float64-channels-bytearray-new-None-0.02] ______________ dtype = dtype('float64'), itype = 'channels', enout = 'bytearray', deout = 'new' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _____________ test_lerc[float64-channels-bytearray-new-True-None] ______________ dtype = dtype('float64'), itype = 'channels', enout = 'bytearray', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _____________ test_lerc[float64-channels-bytearray-new-True-0.02] ______________ dtype = dtype('float64'), itype = 'channels', enout = 'bytearray', deout = 'new' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _____________ test_lerc[float64-channels-bytearray-out-None-None] ______________ dtype = dtype('float64'), itype = 'channels', enout = 'bytearray', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _____________ test_lerc[float64-channels-bytearray-out-None-0.02] ______________ dtype = dtype('float64'), itype = 'channels', enout = 'bytearray', deout = 'out' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _____________ test_lerc[float64-channels-bytearray-out-True-None] ______________ dtype = dtype('float64'), itype = 'channels', enout = 'bytearray', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _____________ test_lerc[float64-channels-bytearray-out-True-0.02] ______________ dtype = dtype('float64'), itype = 'channels', enout = 'bytearray', deout = 'out' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________ test_lerc[float64-channels-bytearray-bytearray-None-None] ___________ dtype = dtype('float64'), itype = 'channels', enout = 'bytearray' deout = 'bytearray', planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________ test_lerc[float64-channels-bytearray-bytearray-None-0.02] ___________ dtype = dtype('float64'), itype = 'channels', enout = 'bytearray' deout = 'bytearray', planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________ test_lerc[float64-channels-bytearray-bytearray-True-None] ___________ dtype = dtype('float64'), itype = 'channels', enout = 'bytearray' deout = 'bytearray', planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________ test_lerc[float64-channels-bytearray-bytearray-True-0.02] ___________ dtype = dtype('float64'), itype = 'channels', enout = 'bytearray' deout = 'bytearray', planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float64-stack-new-new-None-None] __________________ dtype = dtype('float64'), itype = 'stack', enout = 'new', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float64-stack-new-new-None-0.02] __________________ dtype = dtype('float64'), itype = 'stack', enout = 'new', deout = 'new' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float64-stack-new-new-True-None] __________________ dtype = dtype('float64'), itype = 'stack', enout = 'new', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float64-stack-new-new-True-0.02] __________________ dtype = dtype('float64'), itype = 'stack', enout = 'new', deout = 'new' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float64-stack-new-out-None-None] __________________ dtype = dtype('float64'), itype = 'stack', enout = 'new', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float64-stack-new-out-None-0.02] __________________ dtype = dtype('float64'), itype = 'stack', enout = 'new', deout = 'out' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float64-stack-new-out-True-None] __________________ dtype = dtype('float64'), itype = 'stack', enout = 'new', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float64-stack-new-out-True-0.02] __________________ dtype = dtype('float64'), itype = 'stack', enout = 'new', deout = 'out' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float64-stack-new-bytearray-None-None] _______________ dtype = dtype('float64'), itype = 'stack', enout = 'new', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float64-stack-new-bytearray-None-0.02] _______________ dtype = dtype('float64'), itype = 'stack', enout = 'new', deout = 'bytearray' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float64-stack-new-bytearray-True-None] _______________ dtype = dtype('float64'), itype = 'stack', enout = 'new', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float64-stack-new-bytearray-True-0.02] _______________ dtype = dtype('float64'), itype = 'stack', enout = 'new', deout = 'bytearray' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float64-stack-out-new-None-None] __________________ dtype = dtype('float64'), itype = 'stack', enout = 'out', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float64-stack-out-new-None-0.02] __________________ dtype = dtype('float64'), itype = 'stack', enout = 'out', deout = 'new' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float64-stack-out-new-True-None] __________________ dtype = dtype('float64'), itype = 'stack', enout = 'out', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float64-stack-out-new-True-0.02] __________________ dtype = dtype('float64'), itype = 'stack', enout = 'out', deout = 'new' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float64-stack-out-out-None-None] __________________ dtype = dtype('float64'), itype = 'stack', enout = 'out', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float64-stack-out-out-None-0.02] __________________ dtype = dtype('float64'), itype = 'stack', enout = 'out', deout = 'out' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float64-stack-out-out-True-None] __________________ dtype = dtype('float64'), itype = 'stack', enout = 'out', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float64-stack-out-out-True-0.02] __________________ dtype = dtype('float64'), itype = 'stack', enout = 'out', deout = 'out' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float64-stack-out-bytearray-None-None] _______________ dtype = dtype('float64'), itype = 'stack', enout = 'out', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float64-stack-out-bytearray-None-0.02] _______________ dtype = dtype('float64'), itype = 'stack', enout = 'out', deout = 'bytearray' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float64-stack-out-bytearray-True-None] _______________ dtype = dtype('float64'), itype = 'stack', enout = 'out', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float64-stack-out-bytearray-True-0.02] _______________ dtype = dtype('float64'), itype = 'stack', enout = 'out', deout = 'bytearray' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float64-stack-bytearray-new-None-None] _______________ dtype = dtype('float64'), itype = 'stack', enout = 'bytearray', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float64-stack-bytearray-new-None-0.02] _______________ dtype = dtype('float64'), itype = 'stack', enout = 'bytearray', deout = 'new' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float64-stack-bytearray-new-True-None] _______________ dtype = dtype('float64'), itype = 'stack', enout = 'bytearray', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float64-stack-bytearray-new-True-0.02] _______________ dtype = dtype('float64'), itype = 'stack', enout = 'bytearray', deout = 'new' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float64-stack-bytearray-out-None-None] _______________ dtype = dtype('float64'), itype = 'stack', enout = 'bytearray', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float64-stack-bytearray-out-None-0.02] _______________ dtype = dtype('float64'), itype = 'stack', enout = 'bytearray', deout = 'out' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float64-stack-bytearray-out-True-None] _______________ dtype = dtype('float64'), itype = 'stack', enout = 'bytearray', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float64-stack-bytearray-out-True-0.02] _______________ dtype = dtype('float64'), itype = 'stack', enout = 'bytearray', deout = 'out' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________ test_lerc[float64-stack-bytearray-bytearray-None-None] ____________ dtype = dtype('float64'), itype = 'stack', enout = 'bytearray' deout = 'bytearray', planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________ test_lerc[float64-stack-bytearray-bytearray-None-0.02] ____________ dtype = dtype('float64'), itype = 'stack', enout = 'bytearray' deout = 'bytearray', planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________ test_lerc[float64-stack-bytearray-bytearray-True-None] ____________ dtype = dtype('float64'), itype = 'stack', enout = 'bytearray' deout = 'bytearray', planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________ test_lerc[float64-stack-bytearray-bytearray-True-0.02] ____________ dtype = dtype('float64'), itype = 'stack', enout = 'bytearray' deout = 'bytearray', planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________________ test_lerc_files[world.lerc1] _________________________ file = 'world.lerc1' @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') @pytest.mark.parametrize( 'file', [ 'world.lerc1', 'california_400_400_1_float.lerc2', 'bluemarble_256_256_3_byte.lerc2', 'zstd.lerc2', ], ) def test_lerc_files(file): """Test LERC decoder with lerc testData files.""" with open(datafiles(f'lerc/{file}'), 'rb') as fh: encoded = fh.read() > decoded = imagecodecs.lerc_decode(encoded, masks=False) tests/test_imagecodecs.py:2580: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_getBlobInfo', ret) E imagecodecs._lerc.LercError: lerc_getBlobInfo returned Failed imagecodecs/_lerc.pyx:291: LercError ______________ test_lerc_files[california_400_400_1_float.lerc2] _______________ file = 'california_400_400_1_float.lerc2' @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') @pytest.mark.parametrize( 'file', [ 'world.lerc1', 'california_400_400_1_float.lerc2', 'bluemarble_256_256_3_byte.lerc2', 'zstd.lerc2', ], ) def test_lerc_files(file): """Test LERC decoder with lerc testData files.""" with open(datafiles(f'lerc/{file}'), 'rb') as fh: encoded = fh.read() > decoded = imagecodecs.lerc_decode(encoded, masks=False) tests/test_imagecodecs.py:2580: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_getBlobInfo', ret) E imagecodecs._lerc.LercError: lerc_getBlobInfo returned Failed imagecodecs/_lerc.pyx:291: LercError _______________ test_lerc_files[bluemarble_256_256_3_byte.lerc2] _______________ file = 'bluemarble_256_256_3_byte.lerc2' @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') @pytest.mark.parametrize( 'file', [ 'world.lerc1', 'california_400_400_1_float.lerc2', 'bluemarble_256_256_3_byte.lerc2', 'zstd.lerc2', ], ) def test_lerc_files(file): """Test LERC decoder with lerc testData files.""" with open(datafiles(f'lerc/{file}'), 'rb') as fh: encoded = fh.read() > decoded = imagecodecs.lerc_decode(encoded, masks=False) tests/test_imagecodecs.py:2580: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_getBlobInfo', ret) E imagecodecs._lerc.LercError: lerc_getBlobInfo returned Failed imagecodecs/_lerc.pyx:291: LercError _________________________ test_lerc_files[zstd.lerc2] __________________________ file = 'zstd.lerc2' @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') @pytest.mark.parametrize( 'file', [ 'world.lerc1', 'california_400_400_1_float.lerc2', 'bluemarble_256_256_3_byte.lerc2', 'zstd.lerc2', ], ) def test_lerc_files(file): """Test LERC decoder with lerc testData files.""" with open(datafiles(f'lerc/{file}'), 'rb') as fh: encoded = fh.read() > decoded = imagecodecs.lerc_decode(encoded, masks=False) tests/test_imagecodecs.py:2580: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_getBlobInfo', ret) E imagecodecs._lerc.LercError: lerc_getBlobInfo returned Failed imagecodecs/_lerc.pyx:291: LercError _________________________ test_lerc_compression[None] __________________________ compression = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') @pytest.mark.parametrize('compression', [None, 'zstd', 'deflate']) def test_lerc_compression(compression): """Test LERC with compression.""" data = image_data('rgb', 'uint16') compressionargs = { None: None, 'zstd': {'level': 10}, 'deflate': {'level': 7}, }[compression] > compressed = imagecodecs.lerc_encode( data, compression=compression, compressionargs=compressionargs ) tests/test_imagecodecs.py:2628: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________________ test_lerc_compression[zstd] __________________________ compression = 'zstd' @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') @pytest.mark.parametrize('compression', [None, 'zstd', 'deflate']) def test_lerc_compression(compression): """Test LERC with compression.""" data = image_data('rgb', 'uint16') compressionargs = { None: None, 'zstd': {'level': 10}, 'deflate': {'level': 7}, }[compression] > compressed = imagecodecs.lerc_encode( data, compression=compression, compressionargs=compressionargs ) tests/test_imagecodecs.py:2628: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________________ test_lerc_compression[deflate] ________________________ compression = 'deflate' @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') @pytest.mark.parametrize('compression', [None, 'zstd', 'deflate']) def test_lerc_compression(compression): """Test LERC with compression.""" data = image_data('rgb', 'uint16') compressionargs = { None: None, 'zstd': {'level': 10}, 'deflate': {'level': 7}, }[compression] > compressed = imagecodecs.lerc_encode( data, compression=compression, compressionargs=compressionargs ) tests/test_imagecodecs.py:2628: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________________________ test_lerc_masks ________________________________ @pytest.mark.skipif(not imagecodecs.LERC or IS_PYPY, reason='lerc missing') def test_lerc_masks(): """Test LERC codec with masks.""" stack = image_data('stack', numpy.float32) masks = image_data('stack', bool) # 1 band, no mask data = stack[0] > encoded = imagecodecs.lerc_encode(data) tests/test_imagecodecs.py:2644: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_tiff_files[rgb.tiled.jpeg.u1-False] ___________________ name = 'rgb.tiled.jpeg.u1', asrgb = False @pytest.mark.skipif(not imagecodecs.TIFF, reason='tiff missing') @pytest.mark.skipif(tifffile is None, reason='tifffile missing') @pytest.mark.parametrize('asrgb', [False, True]) @pytest.mark.parametrize('name', TIFF_FILES) def test_tiff_files(name, asrgb): """Test TIFF decode with existing files against tifffile.""" decode = imagecodecs.tiff_decode if ( 'depth' in name or 'jpeg.u2' in name or (not IS_CG and ('webp' in name or 'zstd' in name or 'lzma' in name)) ): pytest.xfail('not supported by libtiff or tiff_decode') filename = osp.join(TIFF_TEST_DIR, f'{name}.tif') with open(filename, 'rb') as fh: encoded = mmap.mmap(fh.fileno(), 0, access=mmap.ACCESS_READ) assert imagecodecs.tiff_check(encoded) if asrgb: if ( 'b1' in name or 'u1' in name or 'u2' in name or 'i1' in name or 'i2' in name ): decoded = decode(encoded, index=0, asrgb=1, verbose=1) else: with pytest.raises(imagecodecs.TiffError): decoded = decode(encoded, index=0, asrgb=1, verbose=1) return if 'b1' in name: pytest.xfail('not supported yet') data = tifffile.imread(filename) decoded = decode(encoded, index=None, verbose=1) if 'jpeg' in name: # tiff_decode returns RGBA for jpeg, tifffile returns RGB decoded = decoded[..., :3] > assert_array_equal(data, decoded) tests/test_imagecodecs.py:3373: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ args = (array([[[[134, 122, 100], [132, 120, 98], [129, 116, 99], ..., [141, 158, 166],..., [255, 147, 148], [255, 149, 151], [255, 146, 148]]]], shape=(2, 83, 111, 3), dtype=uint8)) kwargs = {}, old_name = 'y', new_name = 'desired' @functools.wraps(fun) def wrapper(*args, **kwargs): for old_name, new_name in zip(old_names, new_names): if old_name in kwargs: if dep_version: end_version = dep_version.split('.') end_version[1] = str(int(end_version[1]) + 2) end_version = '.'.join(end_version) msg = (f"Use of keyword argument `{old_name}` is " f"deprecated and replaced by `{new_name}`. " f"Support for `{old_name}` will be removed " f"in NumPy {end_version}.") warnings.warn(msg, DeprecationWarning, stacklevel=2) if new_name in kwargs: msg = (f"{fun.__name__}() got multiple values for " f"argument now known as `{new_name}`") raise TypeError(msg) kwargs[new_name] = kwargs.pop(old_name) > return fun(*args, **kwargs) E AssertionError: E Arrays are not equal E E Mismatched elements: 53818 / 55278 (97.4%) E Max absolute difference among violations: 128 E Max relative difference among violations: 0.50196 E ACTUAL: array([[[[134, 122, 100], E [132, 120, 98], E [129, 116, 99],... E DESIRED: array([[[[255, 100, 122], E [255, 98, 120], E [255, 99, 116],... /usr/lib64/python3.13/site-packages/numpy/_utils/__init__.py:85: AssertionError ________________________ test_tifffile[lzw-False-u1->] _________________________ byteorder = '>', dtype = 'u1', codec = 'lzw', predictor = False @pytest.mark.skipif(tifffile is None, reason='tifffile module missing') @pytest.mark.parametrize('byteorder', ['<', '>']) @pytest.mark.parametrize('dtype', ['u1', 'u2', 'f2', 'f4']) @pytest.mark.parametrize('predictor', [False, True]) @pytest.mark.parametrize( 'codec', [ 'deflate', 'lzw', 'lzma', 'zstd', 'packbits', 'webp', 'jpeg', 'lerc', 'lerc_zstd', 'lerc_deflate', ], ) def test_tifffile(byteorder, dtype, codec, predictor): """Test tifffile compression.""" compressionargs = None if codec == 'deflate' and not imagecodecs.ZLIB: # TODO: this should pass in tifffile >= 2020 pytest.xfail('zlib missing') elif codec == 'lzma' and not imagecodecs.LZMA: pytest.xfail('lzma missing') elif codec == 'zstd' and not imagecodecs.ZSTD: pytest.xfail('zstd missing') elif codec == 'packbits' and not imagecodecs.PACKBITS: pytest.xfail('packbits missing') elif codec == 'jpeg': if not imagecodecs.JPEG: pytest.xfail('jpeg missing') if predictor or dtype != 'u1': pytest.xfail('tiff/jpeg do not support this case') elif codec == 'jpegxl': if not imagecodecs.JPEGXL: pytest.xfail('jpegxl missing') if predictor: pytest.xfail('jpegxl does not support predictor') elif codec[:4] == 'lerc': if not imagecodecs.LERC: pytest.xfail('lerc missing') elif dtype == 'f2' or byteorder == '>': pytest.xfail('dtype not supported by lerc') elif dtype == 'f4' and predictor: pytest.xfail('lerc does not work with float predictor') if codec == 'lerc_zstd': if not imagecodecs.ZSTD: pytest.xfail('zstd codec missing') compressionargs = {'compression': 'zstd'} elif codec == 'lerc_deflate': if not imagecodecs.ZLIB: pytest.xfail('zlib codec missing') compressionargs = {'compression': 'deflate'} codec = 'lerc' elif codec == 'webp': if not imagecodecs.WEBP: pytest.xfail('webp missing') elif dtype != 'u1': pytest.xfail('dtype not supported') elif predictor: pytest.xfail('webp does not support predictor') data = image_data('rgb', dtype) if byteorder == '>': > data = data.byteswap().newbyteorder() E AttributeError: `newbyteorder` was removed from the ndarray class in NumPy 2.0. Use `arr.view(arr.dtype.newbyteorder(order))` instead. tests/test_imagecodecs.py:3495: AttributeError ________________________ test_tifffile[lzw-False-u2->] _________________________ byteorder = '>', dtype = 'u2', codec = 'lzw', predictor = False @pytest.mark.skipif(tifffile is None, reason='tifffile module missing') @pytest.mark.parametrize('byteorder', ['<', '>']) @pytest.mark.parametrize('dtype', ['u1', 'u2', 'f2', 'f4']) @pytest.mark.parametrize('predictor', [False, True]) @pytest.mark.parametrize( 'codec', [ 'deflate', 'lzw', 'lzma', 'zstd', 'packbits', 'webp', 'jpeg', 'lerc', 'lerc_zstd', 'lerc_deflate', ], ) def test_tifffile(byteorder, dtype, codec, predictor): """Test tifffile compression.""" compressionargs = None if codec == 'deflate' and not imagecodecs.ZLIB: # TODO: this should pass in tifffile >= 2020 pytest.xfail('zlib missing') elif codec == 'lzma' and not imagecodecs.LZMA: pytest.xfail('lzma missing') elif codec == 'zstd' and not imagecodecs.ZSTD: pytest.xfail('zstd missing') elif codec == 'packbits' and not imagecodecs.PACKBITS: pytest.xfail('packbits missing') elif codec == 'jpeg': if not imagecodecs.JPEG: pytest.xfail('jpeg missing') if predictor or dtype != 'u1': pytest.xfail('tiff/jpeg do not support this case') elif codec == 'jpegxl': if not imagecodecs.JPEGXL: pytest.xfail('jpegxl missing') if predictor: pytest.xfail('jpegxl does not support predictor') elif codec[:4] == 'lerc': if not imagecodecs.LERC: pytest.xfail('lerc missing') elif dtype == 'f2' or byteorder == '>': pytest.xfail('dtype not supported by lerc') elif dtype == 'f4' and predictor: pytest.xfail('lerc does not work with float predictor') if codec == 'lerc_zstd': if not imagecodecs.ZSTD: pytest.xfail('zstd codec missing') compressionargs = {'compression': 'zstd'} elif codec == 'lerc_deflate': if not imagecodecs.ZLIB: pytest.xfail('zlib codec missing') compressionargs = {'compression': 'deflate'} codec = 'lerc' elif codec == 'webp': if not imagecodecs.WEBP: pytest.xfail('webp missing') elif dtype != 'u1': pytest.xfail('dtype not supported') elif predictor: pytest.xfail('webp does not support predictor') data = image_data('rgb', dtype) if byteorder == '>': > data = data.byteswap().newbyteorder() E AttributeError: `newbyteorder` was removed from the ndarray class in NumPy 2.0. Use `arr.view(arr.dtype.newbyteorder(order))` instead. tests/test_imagecodecs.py:3495: AttributeError ________________________ test_tifffile[lzw-False-f2->] _________________________ byteorder = '>', dtype = 'f2', codec = 'lzw', predictor = False @pytest.mark.skipif(tifffile is None, reason='tifffile module missing') @pytest.mark.parametrize('byteorder', ['<', '>']) @pytest.mark.parametrize('dtype', ['u1', 'u2', 'f2', 'f4']) @pytest.mark.parametrize('predictor', [False, True]) @pytest.mark.parametrize( 'codec', [ 'deflate', 'lzw', 'lzma', 'zstd', 'packbits', 'webp', 'jpeg', 'lerc', 'lerc_zstd', 'lerc_deflate', ], ) def test_tifffile(byteorder, dtype, codec, predictor): """Test tifffile compression.""" compressionargs = None if codec == 'deflate' and not imagecodecs.ZLIB: # TODO: this should pass in tifffile >= 2020 pytest.xfail('zlib missing') elif codec == 'lzma' and not imagecodecs.LZMA: pytest.xfail('lzma missing') elif codec == 'zstd' and not imagecodecs.ZSTD: pytest.xfail('zstd missing') elif codec == 'packbits' and not imagecodecs.PACKBITS: pytest.xfail('packbits missing') elif codec == 'jpeg': if not imagecodecs.JPEG: pytest.xfail('jpeg missing') if predictor or dtype != 'u1': pytest.xfail('tiff/jpeg do not support this case') elif codec == 'jpegxl': if not imagecodecs.JPEGXL: pytest.xfail('jpegxl missing') if predictor: pytest.xfail('jpegxl does not support predictor') elif codec[:4] == 'lerc': if not imagecodecs.LERC: pytest.xfail('lerc missing') elif dtype == 'f2' or byteorder == '>': pytest.xfail('dtype not supported by lerc') elif dtype == 'f4' and predictor: pytest.xfail('lerc does not work with float predictor') if codec == 'lerc_zstd': if not imagecodecs.ZSTD: pytest.xfail('zstd codec missing') compressionargs = {'compression': 'zstd'} elif codec == 'lerc_deflate': if not imagecodecs.ZLIB: pytest.xfail('zlib codec missing') compressionargs = {'compression': 'deflate'} codec = 'lerc' elif codec == 'webp': if not imagecodecs.WEBP: pytest.xfail('webp missing') elif dtype != 'u1': pytest.xfail('dtype not supported') elif predictor: pytest.xfail('webp does not support predictor') data = image_data('rgb', dtype) if byteorder == '>': > data = data.byteswap().newbyteorder() E AttributeError: `newbyteorder` was removed from the ndarray class in NumPy 2.0. Use `arr.view(arr.dtype.newbyteorder(order))` instead. tests/test_imagecodecs.py:3495: AttributeError ________________________ test_tifffile[lzw-False-f4->] _________________________ byteorder = '>', dtype = 'f4', codec = 'lzw', predictor = False @pytest.mark.skipif(tifffile is None, reason='tifffile module missing') @pytest.mark.parametrize('byteorder', ['<', '>']) @pytest.mark.parametrize('dtype', ['u1', 'u2', 'f2', 'f4']) @pytest.mark.parametrize('predictor', [False, True]) @pytest.mark.parametrize( 'codec', [ 'deflate', 'lzw', 'lzma', 'zstd', 'packbits', 'webp', 'jpeg', 'lerc', 'lerc_zstd', 'lerc_deflate', ], ) def test_tifffile(byteorder, dtype, codec, predictor): """Test tifffile compression.""" compressionargs = None if codec == 'deflate' and not imagecodecs.ZLIB: # TODO: this should pass in tifffile >= 2020 pytest.xfail('zlib missing') elif codec == 'lzma' and not imagecodecs.LZMA: pytest.xfail('lzma missing') elif codec == 'zstd' and not imagecodecs.ZSTD: pytest.xfail('zstd missing') elif codec == 'packbits' and not imagecodecs.PACKBITS: pytest.xfail('packbits missing') elif codec == 'jpeg': if not imagecodecs.JPEG: pytest.xfail('jpeg missing') if predictor or dtype != 'u1': pytest.xfail('tiff/jpeg do not support this case') elif codec == 'jpegxl': if not imagecodecs.JPEGXL: pytest.xfail('jpegxl missing') if predictor: pytest.xfail('jpegxl does not support predictor') elif codec[:4] == 'lerc': if not imagecodecs.LERC: pytest.xfail('lerc missing') elif dtype == 'f2' or byteorder == '>': pytest.xfail('dtype not supported by lerc') elif dtype == 'f4' and predictor: pytest.xfail('lerc does not work with float predictor') if codec == 'lerc_zstd': if not imagecodecs.ZSTD: pytest.xfail('zstd codec missing') compressionargs = {'compression': 'zstd'} elif codec == 'lerc_deflate': if not imagecodecs.ZLIB: pytest.xfail('zlib codec missing') compressionargs = {'compression': 'deflate'} codec = 'lerc' elif codec == 'webp': if not imagecodecs.WEBP: pytest.xfail('webp missing') elif dtype != 'u1': pytest.xfail('dtype not supported') elif predictor: pytest.xfail('webp does not support predictor') data = image_data('rgb', dtype) if byteorder == '>': > data = data.byteswap().newbyteorder() E AttributeError: `newbyteorder` was removed from the ndarray class in NumPy 2.0. Use `arr.view(arr.dtype.newbyteorder(order))` instead. tests/test_imagecodecs.py:3495: AttributeError _________________________ test_tifffile[lzw-True-u1->] _________________________ byteorder = '>', dtype = 'u1', codec = 'lzw', predictor = True @pytest.mark.skipif(tifffile is None, reason='tifffile module missing') @pytest.mark.parametrize('byteorder', ['<', '>']) @pytest.mark.parametrize('dtype', ['u1', 'u2', 'f2', 'f4']) @pytest.mark.parametrize('predictor', [False, True]) @pytest.mark.parametrize( 'codec', [ 'deflate', 'lzw', 'lzma', 'zstd', 'packbits', 'webp', 'jpeg', 'lerc', 'lerc_zstd', 'lerc_deflate', ], ) def test_tifffile(byteorder, dtype, codec, predictor): """Test tifffile compression.""" compressionargs = None if codec == 'deflate' and not imagecodecs.ZLIB: # TODO: this should pass in tifffile >= 2020 pytest.xfail('zlib missing') elif codec == 'lzma' and not imagecodecs.LZMA: pytest.xfail('lzma missing') elif codec == 'zstd' and not imagecodecs.ZSTD: pytest.xfail('zstd missing') elif codec == 'packbits' and not imagecodecs.PACKBITS: pytest.xfail('packbits missing') elif codec == 'jpeg': if not imagecodecs.JPEG: pytest.xfail('jpeg missing') if predictor or dtype != 'u1': pytest.xfail('tiff/jpeg do not support this case') elif codec == 'jpegxl': if not imagecodecs.JPEGXL: pytest.xfail('jpegxl missing') if predictor: pytest.xfail('jpegxl does not support predictor') elif codec[:4] == 'lerc': if not imagecodecs.LERC: pytest.xfail('lerc missing') elif dtype == 'f2' or byteorder == '>': pytest.xfail('dtype not supported by lerc') elif dtype == 'f4' and predictor: pytest.xfail('lerc does not work with float predictor') if codec == 'lerc_zstd': if not imagecodecs.ZSTD: pytest.xfail('zstd codec missing') compressionargs = {'compression': 'zstd'} elif codec == 'lerc_deflate': if not imagecodecs.ZLIB: pytest.xfail('zlib codec missing') compressionargs = {'compression': 'deflate'} codec = 'lerc' elif codec == 'webp': if not imagecodecs.WEBP: pytest.xfail('webp missing') elif dtype != 'u1': pytest.xfail('dtype not supported') elif predictor: pytest.xfail('webp does not support predictor') data = image_data('rgb', dtype) if byteorder == '>': > data = data.byteswap().newbyteorder() E AttributeError: `newbyteorder` was removed from the ndarray class in NumPy 2.0. Use `arr.view(arr.dtype.newbyteorder(order))` instead. tests/test_imagecodecs.py:3495: AttributeError _________________________ test_tifffile[lzw-True-u2-<] _________________________ byteorder = '<', dtype = 'u2', codec = 'lzw', predictor = True @pytest.mark.skipif(tifffile is None, reason='tifffile module missing') @pytest.mark.parametrize('byteorder', ['<', '>']) @pytest.mark.parametrize('dtype', ['u1', 'u2', 'f2', 'f4']) @pytest.mark.parametrize('predictor', [False, True]) @pytest.mark.parametrize( 'codec', [ 'deflate', 'lzw', 'lzma', 'zstd', 'packbits', 'webp', 'jpeg', 'lerc', 'lerc_zstd', 'lerc_deflate', ], ) def test_tifffile(byteorder, dtype, codec, predictor): """Test tifffile compression.""" compressionargs = None if codec == 'deflate' and not imagecodecs.ZLIB: # TODO: this should pass in tifffile >= 2020 pytest.xfail('zlib missing') elif codec == 'lzma' and not imagecodecs.LZMA: pytest.xfail('lzma missing') elif codec == 'zstd' and not imagecodecs.ZSTD: pytest.xfail('zstd missing') elif codec == 'packbits' and not imagecodecs.PACKBITS: pytest.xfail('packbits missing') elif codec == 'jpeg': if not imagecodecs.JPEG: pytest.xfail('jpeg missing') if predictor or dtype != 'u1': pytest.xfail('tiff/jpeg do not support this case') elif codec == 'jpegxl': if not imagecodecs.JPEGXL: pytest.xfail('jpegxl missing') if predictor: pytest.xfail('jpegxl does not support predictor') elif codec[:4] == 'lerc': if not imagecodecs.LERC: pytest.xfail('lerc missing') elif dtype == 'f2' or byteorder == '>': pytest.xfail('dtype not supported by lerc') elif dtype == 'f4' and predictor: pytest.xfail('lerc does not work with float predictor') if codec == 'lerc_zstd': if not imagecodecs.ZSTD: pytest.xfail('zstd codec missing') compressionargs = {'compression': 'zstd'} elif codec == 'lerc_deflate': if not imagecodecs.ZLIB: pytest.xfail('zlib codec missing') compressionargs = {'compression': 'deflate'} codec = 'lerc' elif codec == 'webp': if not imagecodecs.WEBP: pytest.xfail('webp missing') elif dtype != 'u1': pytest.xfail('dtype not supported') elif predictor: pytest.xfail('webp does not support predictor') data = image_data('rgb', dtype) if byteorder == '>': data = data.byteswap().newbyteorder() with io.BytesIO() as fh: > tifffile.imwrite( fh, data, photometric='rgb', compression=codec, compressionargs=compressionargs, predictor=predictor, byteorder=byteorder, ) tests/test_imagecodecs.py:3498: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/site-packages/tifffile/tifffile.py:1425: in imwrite result = tif.write( /usr/lib/python3.13/site-packages/tifffile/tifffile.py:3607: in write iteritem = cast(bytes, next(dataiter)) /usr/lib/python3.13/site-packages/tifffile/tifffile.py:22629: in encode_chunks yield func(chunk) /usr/lib/python3.13/site-packages/tifffile/tifffile.py:22623: in func return encode(chunk) /usr/lib/python3.13/site-packages/tifffile/tifffile.py:3379: in compressionfunc data = predictorfunc(data, axis=axis) imagecodecs/_imcd.pyx:117: in imagecodecs._imcd.delta_encode return _delta(data, axis=axis, dist=dist, out=out, decode=False) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > data = data.byteswap().newbyteorder() E AttributeError: `newbyteorder` was removed from the ndarray class in NumPy 2.0. Use `arr.view(arr.dtype.newbyteorder(order))` instead. imagecodecs/_imcd.pyx:164: AttributeError _________________________ test_tifffile[lzw-True-u2->] _________________________ byteorder = '>', dtype = 'u2', codec = 'lzw', predictor = True @pytest.mark.skipif(tifffile is None, reason='tifffile module missing') @pytest.mark.parametrize('byteorder', ['<', '>']) @pytest.mark.parametrize('dtype', ['u1', 'u2', 'f2', 'f4']) @pytest.mark.parametrize('predictor', [False, True]) @pytest.mark.parametrize( 'codec', [ 'deflate', 'lzw', 'lzma', 'zstd', 'packbits', 'webp', 'jpeg', 'lerc', 'lerc_zstd', 'lerc_deflate', ], ) def test_tifffile(byteorder, dtype, codec, predictor): """Test tifffile compression.""" compressionargs = None if codec == 'deflate' and not imagecodecs.ZLIB: # TODO: this should pass in tifffile >= 2020 pytest.xfail('zlib missing') elif codec == 'lzma' and not imagecodecs.LZMA: pytest.xfail('lzma missing') elif codec == 'zstd' and not imagecodecs.ZSTD: pytest.xfail('zstd missing') elif codec == 'packbits' and not imagecodecs.PACKBITS: pytest.xfail('packbits missing') elif codec == 'jpeg': if not imagecodecs.JPEG: pytest.xfail('jpeg missing') if predictor or dtype != 'u1': pytest.xfail('tiff/jpeg do not support this case') elif codec == 'jpegxl': if not imagecodecs.JPEGXL: pytest.xfail('jpegxl missing') if predictor: pytest.xfail('jpegxl does not support predictor') elif codec[:4] == 'lerc': if not imagecodecs.LERC: pytest.xfail('lerc missing') elif dtype == 'f2' or byteorder == '>': pytest.xfail('dtype not supported by lerc') elif dtype == 'f4' and predictor: pytest.xfail('lerc does not work with float predictor') if codec == 'lerc_zstd': if not imagecodecs.ZSTD: pytest.xfail('zstd codec missing') compressionargs = {'compression': 'zstd'} elif codec == 'lerc_deflate': if not imagecodecs.ZLIB: pytest.xfail('zlib codec missing') compressionargs = {'compression': 'deflate'} codec = 'lerc' elif codec == 'webp': if not imagecodecs.WEBP: pytest.xfail('webp missing') elif dtype != 'u1': pytest.xfail('dtype not supported') elif predictor: pytest.xfail('webp does not support predictor') data = image_data('rgb', dtype) if byteorder == '>': > data = data.byteswap().newbyteorder() E AttributeError: `newbyteorder` was removed from the ndarray class in NumPy 2.0. Use `arr.view(arr.dtype.newbyteorder(order))` instead. tests/test_imagecodecs.py:3495: AttributeError _________________________ test_tifffile[lzw-True-f2-<] _________________________ byteorder = '<', dtype = 'f2', codec = 'lzw', predictor = True @pytest.mark.skipif(tifffile is None, reason='tifffile module missing') @pytest.mark.parametrize('byteorder', ['<', '>']) @pytest.mark.parametrize('dtype', ['u1', 'u2', 'f2', 'f4']) @pytest.mark.parametrize('predictor', [False, True]) @pytest.mark.parametrize( 'codec', [ 'deflate', 'lzw', 'lzma', 'zstd', 'packbits', 'webp', 'jpeg', 'lerc', 'lerc_zstd', 'lerc_deflate', ], ) def test_tifffile(byteorder, dtype, codec, predictor): """Test tifffile compression.""" compressionargs = None if codec == 'deflate' and not imagecodecs.ZLIB: # TODO: this should pass in tifffile >= 2020 pytest.xfail('zlib missing') elif codec == 'lzma' and not imagecodecs.LZMA: pytest.xfail('lzma missing') elif codec == 'zstd' and not imagecodecs.ZSTD: pytest.xfail('zstd missing') elif codec == 'packbits' and not imagecodecs.PACKBITS: pytest.xfail('packbits missing') elif codec == 'jpeg': if not imagecodecs.JPEG: pytest.xfail('jpeg missing') if predictor or dtype != 'u1': pytest.xfail('tiff/jpeg do not support this case') elif codec == 'jpegxl': if not imagecodecs.JPEGXL: pytest.xfail('jpegxl missing') if predictor: pytest.xfail('jpegxl does not support predictor') elif codec[:4] == 'lerc': if not imagecodecs.LERC: pytest.xfail('lerc missing') elif dtype == 'f2' or byteorder == '>': pytest.xfail('dtype not supported by lerc') elif dtype == 'f4' and predictor: pytest.xfail('lerc does not work with float predictor') if codec == 'lerc_zstd': if not imagecodecs.ZSTD: pytest.xfail('zstd codec missing') compressionargs = {'compression': 'zstd'} elif codec == 'lerc_deflate': if not imagecodecs.ZLIB: pytest.xfail('zlib codec missing') compressionargs = {'compression': 'deflate'} codec = 'lerc' elif codec == 'webp': if not imagecodecs.WEBP: pytest.xfail('webp missing') elif dtype != 'u1': pytest.xfail('dtype not supported') elif predictor: pytest.xfail('webp does not support predictor') data = image_data('rgb', dtype) if byteorder == '>': data = data.byteswap().newbyteorder() with io.BytesIO() as fh: tifffile.imwrite( fh, data, photometric='rgb', compression=codec, compressionargs=compressionargs, predictor=predictor, byteorder=byteorder, ) # with open(f'{codec}_{dtype}.tif', 'wb') as f: # fh.seek(0) # f.write(fh.read()) fh.seek(0) with tifffile.TiffFile(fh) as tif: assert tif.byteorder == byteorder image = tif.asarray() if byteorder == '>': image = image.byteswap().newbyteorder() if codec != 'jpeg': > assert_array_equal(data, image, verbose=True) tests/test_imagecodecs.py:3517: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ args = (array([[[0.5 , 0.766 , 0.6265 ], [0.6064 , 0.805 , 0.6533 ], [0.697 , 0.818 , 0.656 ], ... 0.00019, -7.19 ], [ -0.00005, 0.03296, 0.00409]]], shape=(32, 31, 3), dtype=float16)) kwargs = {'verbose': True}, old_name = 'y', new_name = 'desired' @functools.wraps(fun) def wrapper(*args, **kwargs): for old_name, new_name in zip(old_names, new_names): if old_name in kwargs: if dep_version: end_version = dep_version.split('.') end_version[1] = str(int(end_version[1]) + 2) end_version = '.'.join(end_version) msg = (f"Use of keyword argument `{old_name}` is " f"deprecated and replaced by `{new_name}`. " f"Support for `{old_name}` will be removed " f"in NumPy {end_version}.") warnings.warn(msg, DeprecationWarning, stacklevel=2) if new_name in kwargs: msg = (f"{fun.__name__}() got multiple values for " f"argument now known as `{new_name}`") raise TypeError(msg) kwargs[new_name] = kwargs.pop(old_name) > return fun(*args, **kwargs) E AssertionError: E Arrays are not equal E E nan location mismatch: E ACTUAL: array([[[0.5 , 0.766 , 0.6265 ], E [0.6064 , 0.805 , 0.6533 ], E [0.697 , 0.818 , 0.656 ],... E DESIRED: array([[[ 0.000003, 0.01021 , 0.000049], E [ -199. , 10704. , 0.778 ], E [ -0.000882, -0.000221, 1.806 ],... /usr/lib64/python3.13/site-packages/numpy/_utils/__init__.py:85: AssertionError _________________________ test_tifffile[lzw-True-f2->] _________________________ byteorder = '>', dtype = 'f2', codec = 'lzw', predictor = True @pytest.mark.skipif(tifffile is None, reason='tifffile module missing') @pytest.mark.parametrize('byteorder', ['<', '>']) @pytest.mark.parametrize('dtype', ['u1', 'u2', 'f2', 'f4']) @pytest.mark.parametrize('predictor', [False, True]) @pytest.mark.parametrize( 'codec', [ 'deflate', 'lzw', 'lzma', 'zstd', 'packbits', 'webp', 'jpeg', 'lerc', 'lerc_zstd', 'lerc_deflate', ], ) def test_tifffile(byteorder, dtype, codec, predictor): """Test tifffile compression.""" compressionargs = None if codec == 'deflate' and not imagecodecs.ZLIB: # TODO: this should pass in tifffile >= 2020 pytest.xfail('zlib missing') elif codec == 'lzma' and not imagecodecs.LZMA: pytest.xfail('lzma missing') elif codec == 'zstd' and not imagecodecs.ZSTD: pytest.xfail('zstd missing') elif codec == 'packbits' and not imagecodecs.PACKBITS: pytest.xfail('packbits missing') elif codec == 'jpeg': if not imagecodecs.JPEG: pytest.xfail('jpeg missing') if predictor or dtype != 'u1': pytest.xfail('tiff/jpeg do not support this case') elif codec == 'jpegxl': if not imagecodecs.JPEGXL: pytest.xfail('jpegxl missing') if predictor: pytest.xfail('jpegxl does not support predictor') elif codec[:4] == 'lerc': if not imagecodecs.LERC: pytest.xfail('lerc missing') elif dtype == 'f2' or byteorder == '>': pytest.xfail('dtype not supported by lerc') elif dtype == 'f4' and predictor: pytest.xfail('lerc does not work with float predictor') if codec == 'lerc_zstd': if not imagecodecs.ZSTD: pytest.xfail('zstd codec missing') compressionargs = {'compression': 'zstd'} elif codec == 'lerc_deflate': if not imagecodecs.ZLIB: pytest.xfail('zlib codec missing') compressionargs = {'compression': 'deflate'} codec = 'lerc' elif codec == 'webp': if not imagecodecs.WEBP: pytest.xfail('webp missing') elif dtype != 'u1': pytest.xfail('dtype not supported') elif predictor: pytest.xfail('webp does not support predictor') data = image_data('rgb', dtype) if byteorder == '>': > data = data.byteswap().newbyteorder() E AttributeError: `newbyteorder` was removed from the ndarray class in NumPy 2.0. Use `arr.view(arr.dtype.newbyteorder(order))` instead. tests/test_imagecodecs.py:3495: AttributeError _________________________ test_tifffile[lzw-True-f4-<] _________________________ byteorder = '<', dtype = 'f4', codec = 'lzw', predictor = True @pytest.mark.skipif(tifffile is None, reason='tifffile module missing') @pytest.mark.parametrize('byteorder', ['<', '>']) @pytest.mark.parametrize('dtype', ['u1', 'u2', 'f2', 'f4']) @pytest.mark.parametrize('predictor', [False, True]) @pytest.mark.parametrize( 'codec', [ 'deflate', 'lzw', 'lzma', 'zstd', 'packbits', 'webp', 'jpeg', 'lerc', 'lerc_zstd', 'lerc_deflate', ], ) def test_tifffile(byteorder, dtype, codec, predictor): """Test tifffile compression.""" compressionargs = None if codec == 'deflate' and not imagecodecs.ZLIB: # TODO: this should pass in tifffile >= 2020 pytest.xfail('zlib missing') elif codec == 'lzma' and not imagecodecs.LZMA: pytest.xfail('lzma missing') elif codec == 'zstd' and not imagecodecs.ZSTD: pytest.xfail('zstd missing') elif codec == 'packbits' and not imagecodecs.PACKBITS: pytest.xfail('packbits missing') elif codec == 'jpeg': if not imagecodecs.JPEG: pytest.xfail('jpeg missing') if predictor or dtype != 'u1': pytest.xfail('tiff/jpeg do not support this case') elif codec == 'jpegxl': if not imagecodecs.JPEGXL: pytest.xfail('jpegxl missing') if predictor: pytest.xfail('jpegxl does not support predictor') elif codec[:4] == 'lerc': if not imagecodecs.LERC: pytest.xfail('lerc missing') elif dtype == 'f2' or byteorder == '>': pytest.xfail('dtype not supported by lerc') elif dtype == 'f4' and predictor: pytest.xfail('lerc does not work with float predictor') if codec == 'lerc_zstd': if not imagecodecs.ZSTD: pytest.xfail('zstd codec missing') compressionargs = {'compression': 'zstd'} elif codec == 'lerc_deflate': if not imagecodecs.ZLIB: pytest.xfail('zlib codec missing') compressionargs = {'compression': 'deflate'} codec = 'lerc' elif codec == 'webp': if not imagecodecs.WEBP: pytest.xfail('webp missing') elif dtype != 'u1': pytest.xfail('dtype not supported') elif predictor: pytest.xfail('webp does not support predictor') data = image_data('rgb', dtype) if byteorder == '>': data = data.byteswap().newbyteorder() with io.BytesIO() as fh: tifffile.imwrite( fh, data, photometric='rgb', compression=codec, compressionargs=compressionargs, predictor=predictor, byteorder=byteorder, ) # with open(f'{codec}_{dtype}.tif', 'wb') as f: # fh.seek(0) # f.write(fh.read()) fh.seek(0) with tifffile.TiffFile(fh) as tif: assert tif.byteorder == byteorder image = tif.asarray() if byteorder == '>': image = image.byteswap().newbyteorder() if codec != 'jpeg': > assert_array_equal(data, image, verbose=True) tests/test_imagecodecs.py:3517: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ args = (array([[[0.5 , 0.76605, 0.62625], [0.60653, 0.80497, 0.65321], [0.69679, 0.81796, 0.65563], ...4825e+20, -1.99865e+15], [-9.92416e-36, -4.33710e-16, 1.15622e-32]]], shape=(32, 31, 3), dtype=float32)) kwargs = {'verbose': True}, old_name = 'y', new_name = 'desired' @functools.wraps(fun) def wrapper(*args, **kwargs): for old_name, new_name in zip(old_names, new_names): if old_name in kwargs: if dep_version: end_version = dep_version.split('.') end_version[1] = str(int(end_version[1]) + 2) end_version = '.'.join(end_version) msg = (f"Use of keyword argument `{old_name}` is " f"deprecated and replaced by `{new_name}`. " f"Support for `{old_name}` will be removed " f"in NumPy {end_version}.") warnings.warn(msg, DeprecationWarning, stacklevel=2) if new_name in kwargs: msg = (f"{fun.__name__}() got multiple values for " f"argument now known as `{new_name}`") raise TypeError(msg) kwargs[new_name] = kwargs.pop(old_name) > return fun(*args, **kwargs) E AssertionError: E Arrays are not equal E E nan location mismatch: E ACTUAL: array([[[0.5 , 0.766055, 0.626249], E [0.60653 , 0.804974, 0.653208], E [0.696793, 0.817962, 0.655634],... E DESIRED: array([[[ 8.828180e-44, 2.220682e-12, -9.644233e+20], E [-2.429524e-30, -1.463056e+02, -6.093122e-22], E [ 1.734849e-31, -2.838812e+29, -5.695061e-21],... /usr/lib64/python3.13/site-packages/numpy/_utils/__init__.py:85: AssertionError _________________________ test_tifffile[lzw-True-f4->] _________________________ byteorder = '>', dtype = 'f4', codec = 'lzw', predictor = True @pytest.mark.skipif(tifffile is None, reason='tifffile module missing') @pytest.mark.parametrize('byteorder', ['<', '>']) @pytest.mark.parametrize('dtype', ['u1', 'u2', 'f2', 'f4']) @pytest.mark.parametrize('predictor', [False, True]) @pytest.mark.parametrize( 'codec', [ 'deflate', 'lzw', 'lzma', 'zstd', 'packbits', 'webp', 'jpeg', 'lerc', 'lerc_zstd', 'lerc_deflate', ], ) def test_tifffile(byteorder, dtype, codec, predictor): """Test tifffile compression.""" compressionargs = None if codec == 'deflate' and not imagecodecs.ZLIB: # TODO: this should pass in tifffile >= 2020 pytest.xfail('zlib missing') elif codec == 'lzma' and not imagecodecs.LZMA: pytest.xfail('lzma missing') elif codec == 'zstd' and not imagecodecs.ZSTD: pytest.xfail('zstd missing') elif codec == 'packbits' and not imagecodecs.PACKBITS: pytest.xfail('packbits missing') elif codec == 'jpeg': if not imagecodecs.JPEG: pytest.xfail('jpeg missing') if predictor or dtype != 'u1': pytest.xfail('tiff/jpeg do not support this case') elif codec == 'jpegxl': if not imagecodecs.JPEGXL: pytest.xfail('jpegxl missing') if predictor: pytest.xfail('jpegxl does not support predictor') elif codec[:4] == 'lerc': if not imagecodecs.LERC: pytest.xfail('lerc missing') elif dtype == 'f2' or byteorder == '>': pytest.xfail('dtype not supported by lerc') elif dtype == 'f4' and predictor: pytest.xfail('lerc does not work with float predictor') if codec == 'lerc_zstd': if not imagecodecs.ZSTD: pytest.xfail('zstd codec missing') compressionargs = {'compression': 'zstd'} elif codec == 'lerc_deflate': if not imagecodecs.ZLIB: pytest.xfail('zlib codec missing') compressionargs = {'compression': 'deflate'} codec = 'lerc' elif codec == 'webp': if not imagecodecs.WEBP: pytest.xfail('webp missing') elif dtype != 'u1': pytest.xfail('dtype not supported') elif predictor: pytest.xfail('webp does not support predictor') data = image_data('rgb', dtype) if byteorder == '>': > data = data.byteswap().newbyteorder() E AttributeError: `newbyteorder` was removed from the ndarray class in NumPy 2.0. Use `arr.view(arr.dtype.newbyteorder(order))` instead. tests/test_imagecodecs.py:3495: AttributeError ________________________ test_tifffile[zstd-False-u1->] ________________________ byteorder = '>', dtype = 'u1', codec = 'zstd', predictor = False @pytest.mark.skipif(tifffile is None, reason='tifffile module missing') @pytest.mark.parametrize('byteorder', ['<', '>']) @pytest.mark.parametrize('dtype', ['u1', 'u2', 'f2', 'f4']) @pytest.mark.parametrize('predictor', [False, True]) @pytest.mark.parametrize( 'codec', [ 'deflate', 'lzw', 'lzma', 'zstd', 'packbits', 'webp', 'jpeg', 'lerc', 'lerc_zstd', 'lerc_deflate', ], ) def test_tifffile(byteorder, dtype, codec, predictor): """Test tifffile compression.""" compressionargs = None if codec == 'deflate' and not imagecodecs.ZLIB: # TODO: this should pass in tifffile >= 2020 pytest.xfail('zlib missing') elif codec == 'lzma' and not imagecodecs.LZMA: pytest.xfail('lzma missing') elif codec == 'zstd' and not imagecodecs.ZSTD: pytest.xfail('zstd missing') elif codec == 'packbits' and not imagecodecs.PACKBITS: pytest.xfail('packbits missing') elif codec == 'jpeg': if not imagecodecs.JPEG: pytest.xfail('jpeg missing') if predictor or dtype != 'u1': pytest.xfail('tiff/jpeg do not support this case') elif codec == 'jpegxl': if not imagecodecs.JPEGXL: pytest.xfail('jpegxl missing') if predictor: pytest.xfail('jpegxl does not support predictor') elif codec[:4] == 'lerc': if not imagecodecs.LERC: pytest.xfail('lerc missing') elif dtype == 'f2' or byteorder == '>': pytest.xfail('dtype not supported by lerc') elif dtype == 'f4' and predictor: pytest.xfail('lerc does not work with float predictor') if codec == 'lerc_zstd': if not imagecodecs.ZSTD: pytest.xfail('zstd codec missing') compressionargs = {'compression': 'zstd'} elif codec == 'lerc_deflate': if not imagecodecs.ZLIB: pytest.xfail('zlib codec missing') compressionargs = {'compression': 'deflate'} codec = 'lerc' elif codec == 'webp': if not imagecodecs.WEBP: pytest.xfail('webp missing') elif dtype != 'u1': pytest.xfail('dtype not supported') elif predictor: pytest.xfail('webp does not support predictor') data = image_data('rgb', dtype) if byteorder == '>': > data = data.byteswap().newbyteorder() E AttributeError: `newbyteorder` was removed from the ndarray class in NumPy 2.0. Use `arr.view(arr.dtype.newbyteorder(order))` instead. tests/test_imagecodecs.py:3495: AttributeError ________________________ test_tifffile[zstd-False-u2->] ________________________ byteorder = '>', dtype = 'u2', codec = 'zstd', predictor = False @pytest.mark.skipif(tifffile is None, reason='tifffile module missing') @pytest.mark.parametrize('byteorder', ['<', '>']) @pytest.mark.parametrize('dtype', ['u1', 'u2', 'f2', 'f4']) @pytest.mark.parametrize('predictor', [False, True]) @pytest.mark.parametrize( 'codec', [ 'deflate', 'lzw', 'lzma', 'zstd', 'packbits', 'webp', 'jpeg', 'lerc', 'lerc_zstd', 'lerc_deflate', ], ) def test_tifffile(byteorder, dtype, codec, predictor): """Test tifffile compression.""" compressionargs = None if codec == 'deflate' and not imagecodecs.ZLIB: # TODO: this should pass in tifffile >= 2020 pytest.xfail('zlib missing') elif codec == 'lzma' and not imagecodecs.LZMA: pytest.xfail('lzma missing') elif codec == 'zstd' and not imagecodecs.ZSTD: pytest.xfail('zstd missing') elif codec == 'packbits' and not imagecodecs.PACKBITS: pytest.xfail('packbits missing') elif codec == 'jpeg': if not imagecodecs.JPEG: pytest.xfail('jpeg missing') if predictor or dtype != 'u1': pytest.xfail('tiff/jpeg do not support this case') elif codec == 'jpegxl': if not imagecodecs.JPEGXL: pytest.xfail('jpegxl missing') if predictor: pytest.xfail('jpegxl does not support predictor') elif codec[:4] == 'lerc': if not imagecodecs.LERC: pytest.xfail('lerc missing') elif dtype == 'f2' or byteorder == '>': pytest.xfail('dtype not supported by lerc') elif dtype == 'f4' and predictor: pytest.xfail('lerc does not work with float predictor') if codec == 'lerc_zstd': if not imagecodecs.ZSTD: pytest.xfail('zstd codec missing') compressionargs = {'compression': 'zstd'} elif codec == 'lerc_deflate': if not imagecodecs.ZLIB: pytest.xfail('zlib codec missing') compressionargs = {'compression': 'deflate'} codec = 'lerc' elif codec == 'webp': if not imagecodecs.WEBP: pytest.xfail('webp missing') elif dtype != 'u1': pytest.xfail('dtype not supported') elif predictor: pytest.xfail('webp does not support predictor') data = image_data('rgb', dtype) if byteorder == '>': > data = data.byteswap().newbyteorder() E AttributeError: `newbyteorder` was removed from the ndarray class in NumPy 2.0. Use `arr.view(arr.dtype.newbyteorder(order))` instead. tests/test_imagecodecs.py:3495: AttributeError ________________________ test_tifffile[zstd-False-f2->] ________________________ byteorder = '>', dtype = 'f2', codec = 'zstd', predictor = False @pytest.mark.skipif(tifffile is None, reason='tifffile module missing') @pytest.mark.parametrize('byteorder', ['<', '>']) @pytest.mark.parametrize('dtype', ['u1', 'u2', 'f2', 'f4']) @pytest.mark.parametrize('predictor', [False, True]) @pytest.mark.parametrize( 'codec', [ 'deflate', 'lzw', 'lzma', 'zstd', 'packbits', 'webp', 'jpeg', 'lerc', 'lerc_zstd', 'lerc_deflate', ], ) def test_tifffile(byteorder, dtype, codec, predictor): """Test tifffile compression.""" compressionargs = None if codec == 'deflate' and not imagecodecs.ZLIB: # TODO: this should pass in tifffile >= 2020 pytest.xfail('zlib missing') elif codec == 'lzma' and not imagecodecs.LZMA: pytest.xfail('lzma missing') elif codec == 'zstd' and not imagecodecs.ZSTD: pytest.xfail('zstd missing') elif codec == 'packbits' and not imagecodecs.PACKBITS: pytest.xfail('packbits missing') elif codec == 'jpeg': if not imagecodecs.JPEG: pytest.xfail('jpeg missing') if predictor or dtype != 'u1': pytest.xfail('tiff/jpeg do not support this case') elif codec == 'jpegxl': if not imagecodecs.JPEGXL: pytest.xfail('jpegxl missing') if predictor: pytest.xfail('jpegxl does not support predictor') elif codec[:4] == 'lerc': if not imagecodecs.LERC: pytest.xfail('lerc missing') elif dtype == 'f2' or byteorder == '>': pytest.xfail('dtype not supported by lerc') elif dtype == 'f4' and predictor: pytest.xfail('lerc does not work with float predictor') if codec == 'lerc_zstd': if not imagecodecs.ZSTD: pytest.xfail('zstd codec missing') compressionargs = {'compression': 'zstd'} elif codec == 'lerc_deflate': if not imagecodecs.ZLIB: pytest.xfail('zlib codec missing') compressionargs = {'compression': 'deflate'} codec = 'lerc' elif codec == 'webp': if not imagecodecs.WEBP: pytest.xfail('webp missing') elif dtype != 'u1': pytest.xfail('dtype not supported') elif predictor: pytest.xfail('webp does not support predictor') data = image_data('rgb', dtype) if byteorder == '>': > data = data.byteswap().newbyteorder() E AttributeError: `newbyteorder` was removed from the ndarray class in NumPy 2.0. Use `arr.view(arr.dtype.newbyteorder(order))` instead. tests/test_imagecodecs.py:3495: AttributeError ________________________ test_tifffile[zstd-False-f4->] ________________________ byteorder = '>', dtype = 'f4', codec = 'zstd', predictor = False @pytest.mark.skipif(tifffile is None, reason='tifffile module missing') @pytest.mark.parametrize('byteorder', ['<', '>']) @pytest.mark.parametrize('dtype', ['u1', 'u2', 'f2', 'f4']) @pytest.mark.parametrize('predictor', [False, True]) @pytest.mark.parametrize( 'codec', [ 'deflate', 'lzw', 'lzma', 'zstd', 'packbits', 'webp', 'jpeg', 'lerc', 'lerc_zstd', 'lerc_deflate', ], ) def test_tifffile(byteorder, dtype, codec, predictor): """Test tifffile compression.""" compressionargs = None if codec == 'deflate' and not imagecodecs.ZLIB: # TODO: this should pass in tifffile >= 2020 pytest.xfail('zlib missing') elif codec == 'lzma' and not imagecodecs.LZMA: pytest.xfail('lzma missing') elif codec == 'zstd' and not imagecodecs.ZSTD: pytest.xfail('zstd missing') elif codec == 'packbits' and not imagecodecs.PACKBITS: pytest.xfail('packbits missing') elif codec == 'jpeg': if not imagecodecs.JPEG: pytest.xfail('jpeg missing') if predictor or dtype != 'u1': pytest.xfail('tiff/jpeg do not support this case') elif codec == 'jpegxl': if not imagecodecs.JPEGXL: pytest.xfail('jpegxl missing') if predictor: pytest.xfail('jpegxl does not support predictor') elif codec[:4] == 'lerc': if not imagecodecs.LERC: pytest.xfail('lerc missing') elif dtype == 'f2' or byteorder == '>': pytest.xfail('dtype not supported by lerc') elif dtype == 'f4' and predictor: pytest.xfail('lerc does not work with float predictor') if codec == 'lerc_zstd': if not imagecodecs.ZSTD: pytest.xfail('zstd codec missing') compressionargs = {'compression': 'zstd'} elif codec == 'lerc_deflate': if not imagecodecs.ZLIB: pytest.xfail('zlib codec missing') compressionargs = {'compression': 'deflate'} codec = 'lerc' elif codec == 'webp': if not imagecodecs.WEBP: pytest.xfail('webp missing') elif dtype != 'u1': pytest.xfail('dtype not supported') elif predictor: pytest.xfail('webp does not support predictor') data = image_data('rgb', dtype) if byteorder == '>': > data = data.byteswap().newbyteorder() E AttributeError: `newbyteorder` was removed from the ndarray class in NumPy 2.0. Use `arr.view(arr.dtype.newbyteorder(order))` instead. tests/test_imagecodecs.py:3495: AttributeError ________________________ test_tifffile[zstd-True-u1->] _________________________ byteorder = '>', dtype = 'u1', codec = 'zstd', predictor = True @pytest.mark.skipif(tifffile is None, reason='tifffile module missing') @pytest.mark.parametrize('byteorder', ['<', '>']) @pytest.mark.parametrize('dtype', ['u1', 'u2', 'f2', 'f4']) @pytest.mark.parametrize('predictor', [False, True]) @pytest.mark.parametrize( 'codec', [ 'deflate', 'lzw', 'lzma', 'zstd', 'packbits', 'webp', 'jpeg', 'lerc', 'lerc_zstd', 'lerc_deflate', ], ) def test_tifffile(byteorder, dtype, codec, predictor): """Test tifffile compression.""" compressionargs = None if codec == 'deflate' and not imagecodecs.ZLIB: # TODO: this should pass in tifffile >= 2020 pytest.xfail('zlib missing') elif codec == 'lzma' and not imagecodecs.LZMA: pytest.xfail('lzma missing') elif codec == 'zstd' and not imagecodecs.ZSTD: pytest.xfail('zstd missing') elif codec == 'packbits' and not imagecodecs.PACKBITS: pytest.xfail('packbits missing') elif codec == 'jpeg': if not imagecodecs.JPEG: pytest.xfail('jpeg missing') if predictor or dtype != 'u1': pytest.xfail('tiff/jpeg do not support this case') elif codec == 'jpegxl': if not imagecodecs.JPEGXL: pytest.xfail('jpegxl missing') if predictor: pytest.xfail('jpegxl does not support predictor') elif codec[:4] == 'lerc': if not imagecodecs.LERC: pytest.xfail('lerc missing') elif dtype == 'f2' or byteorder == '>': pytest.xfail('dtype not supported by lerc') elif dtype == 'f4' and predictor: pytest.xfail('lerc does not work with float predictor') if codec == 'lerc_zstd': if not imagecodecs.ZSTD: pytest.xfail('zstd codec missing') compressionargs = {'compression': 'zstd'} elif codec == 'lerc_deflate': if not imagecodecs.ZLIB: pytest.xfail('zlib codec missing') compressionargs = {'compression': 'deflate'} codec = 'lerc' elif codec == 'webp': if not imagecodecs.WEBP: pytest.xfail('webp missing') elif dtype != 'u1': pytest.xfail('dtype not supported') elif predictor: pytest.xfail('webp does not support predictor') data = image_data('rgb', dtype) if byteorder == '>': > data = data.byteswap().newbyteorder() E AttributeError: `newbyteorder` was removed from the ndarray class in NumPy 2.0. Use `arr.view(arr.dtype.newbyteorder(order))` instead. tests/test_imagecodecs.py:3495: AttributeError ________________________ test_tifffile[zstd-True-u2-<] _________________________ byteorder = '<', dtype = 'u2', codec = 'zstd', predictor = True @pytest.mark.skipif(tifffile is None, reason='tifffile module missing') @pytest.mark.parametrize('byteorder', ['<', '>']) @pytest.mark.parametrize('dtype', ['u1', 'u2', 'f2', 'f4']) @pytest.mark.parametrize('predictor', [False, True]) @pytest.mark.parametrize( 'codec', [ 'deflate', 'lzw', 'lzma', 'zstd', 'packbits', 'webp', 'jpeg', 'lerc', 'lerc_zstd', 'lerc_deflate', ], ) def test_tifffile(byteorder, dtype, codec, predictor): """Test tifffile compression.""" compressionargs = None if codec == 'deflate' and not imagecodecs.ZLIB: # TODO: this should pass in tifffile >= 2020 pytest.xfail('zlib missing') elif codec == 'lzma' and not imagecodecs.LZMA: pytest.xfail('lzma missing') elif codec == 'zstd' and not imagecodecs.ZSTD: pytest.xfail('zstd missing') elif codec == 'packbits' and not imagecodecs.PACKBITS: pytest.xfail('packbits missing') elif codec == 'jpeg': if not imagecodecs.JPEG: pytest.xfail('jpeg missing') if predictor or dtype != 'u1': pytest.xfail('tiff/jpeg do not support this case') elif codec == 'jpegxl': if not imagecodecs.JPEGXL: pytest.xfail('jpegxl missing') if predictor: pytest.xfail('jpegxl does not support predictor') elif codec[:4] == 'lerc': if not imagecodecs.LERC: pytest.xfail('lerc missing') elif dtype == 'f2' or byteorder == '>': pytest.xfail('dtype not supported by lerc') elif dtype == 'f4' and predictor: pytest.xfail('lerc does not work with float predictor') if codec == 'lerc_zstd': if not imagecodecs.ZSTD: pytest.xfail('zstd codec missing') compressionargs = {'compression': 'zstd'} elif codec == 'lerc_deflate': if not imagecodecs.ZLIB: pytest.xfail('zlib codec missing') compressionargs = {'compression': 'deflate'} codec = 'lerc' elif codec == 'webp': if not imagecodecs.WEBP: pytest.xfail('webp missing') elif dtype != 'u1': pytest.xfail('dtype not supported') elif predictor: pytest.xfail('webp does not support predictor') data = image_data('rgb', dtype) if byteorder == '>': data = data.byteswap().newbyteorder() with io.BytesIO() as fh: > tifffile.imwrite( fh, data, photometric='rgb', compression=codec, compressionargs=compressionargs, predictor=predictor, byteorder=byteorder, ) tests/test_imagecodecs.py:3498: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/site-packages/tifffile/tifffile.py:1425: in imwrite result = tif.write( /usr/lib/python3.13/site-packages/tifffile/tifffile.py:3607: in write iteritem = cast(bytes, next(dataiter)) /usr/lib/python3.13/site-packages/tifffile/tifffile.py:22629: in encode_chunks yield func(chunk) /usr/lib/python3.13/site-packages/tifffile/tifffile.py:22623: in func return encode(chunk) /usr/lib/python3.13/site-packages/tifffile/tifffile.py:3379: in compressionfunc data = predictorfunc(data, axis=axis) imagecodecs/_imcd.pyx:117: in imagecodecs._imcd.delta_encode return _delta(data, axis=axis, dist=dist, out=out, decode=False) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > data = data.byteswap().newbyteorder() E AttributeError: `newbyteorder` was removed from the ndarray class in NumPy 2.0. Use `arr.view(arr.dtype.newbyteorder(order))` instead. imagecodecs/_imcd.pyx:164: AttributeError ________________________ test_tifffile[zstd-True-u2->] _________________________ byteorder = '>', dtype = 'u2', codec = 'zstd', predictor = True @pytest.mark.skipif(tifffile is None, reason='tifffile module missing') @pytest.mark.parametrize('byteorder', ['<', '>']) @pytest.mark.parametrize('dtype', ['u1', 'u2', 'f2', 'f4']) @pytest.mark.parametrize('predictor', [False, True]) @pytest.mark.parametrize( 'codec', [ 'deflate', 'lzw', 'lzma', 'zstd', 'packbits', 'webp', 'jpeg', 'lerc', 'lerc_zstd', 'lerc_deflate', ], ) def test_tifffile(byteorder, dtype, codec, predictor): """Test tifffile compression.""" compressionargs = None if codec == 'deflate' and not imagecodecs.ZLIB: # TODO: this should pass in tifffile >= 2020 pytest.xfail('zlib missing') elif codec == 'lzma' and not imagecodecs.LZMA: pytest.xfail('lzma missing') elif codec == 'zstd' and not imagecodecs.ZSTD: pytest.xfail('zstd missing') elif codec == 'packbits' and not imagecodecs.PACKBITS: pytest.xfail('packbits missing') elif codec == 'jpeg': if not imagecodecs.JPEG: pytest.xfail('jpeg missing') if predictor or dtype != 'u1': pytest.xfail('tiff/jpeg do not support this case') elif codec == 'jpegxl': if not imagecodecs.JPEGXL: pytest.xfail('jpegxl missing') if predictor: pytest.xfail('jpegxl does not support predictor') elif codec[:4] == 'lerc': if not imagecodecs.LERC: pytest.xfail('lerc missing') elif dtype == 'f2' or byteorder == '>': pytest.xfail('dtype not supported by lerc') elif dtype == 'f4' and predictor: pytest.xfail('lerc does not work with float predictor') if codec == 'lerc_zstd': if not imagecodecs.ZSTD: pytest.xfail('zstd codec missing') compressionargs = {'compression': 'zstd'} elif codec == 'lerc_deflate': if not imagecodecs.ZLIB: pytest.xfail('zlib codec missing') compressionargs = {'compression': 'deflate'} codec = 'lerc' elif codec == 'webp': if not imagecodecs.WEBP: pytest.xfail('webp missing') elif dtype != 'u1': pytest.xfail('dtype not supported') elif predictor: pytest.xfail('webp does not support predictor') data = image_data('rgb', dtype) if byteorder == '>': > data = data.byteswap().newbyteorder() E AttributeError: `newbyteorder` was removed from the ndarray class in NumPy 2.0. Use `arr.view(arr.dtype.newbyteorder(order))` instead. tests/test_imagecodecs.py:3495: AttributeError ________________________ test_tifffile[zstd-True-f2-<] _________________________ byteorder = '<', dtype = 'f2', codec = 'zstd', predictor = True @pytest.mark.skipif(tifffile is None, reason='tifffile module missing') @pytest.mark.parametrize('byteorder', ['<', '>']) @pytest.mark.parametrize('dtype', ['u1', 'u2', 'f2', 'f4']) @pytest.mark.parametrize('predictor', [False, True]) @pytest.mark.parametrize( 'codec', [ 'deflate', 'lzw', 'lzma', 'zstd', 'packbits', 'webp', 'jpeg', 'lerc', 'lerc_zstd', 'lerc_deflate', ], ) def test_tifffile(byteorder, dtype, codec, predictor): """Test tifffile compression.""" compressionargs = None if codec == 'deflate' and not imagecodecs.ZLIB: # TODO: this should pass in tifffile >= 2020 pytest.xfail('zlib missing') elif codec == 'lzma' and not imagecodecs.LZMA: pytest.xfail('lzma missing') elif codec == 'zstd' and not imagecodecs.ZSTD: pytest.xfail('zstd missing') elif codec == 'packbits' and not imagecodecs.PACKBITS: pytest.xfail('packbits missing') elif codec == 'jpeg': if not imagecodecs.JPEG: pytest.xfail('jpeg missing') if predictor or dtype != 'u1': pytest.xfail('tiff/jpeg do not support this case') elif codec == 'jpegxl': if not imagecodecs.JPEGXL: pytest.xfail('jpegxl missing') if predictor: pytest.xfail('jpegxl does not support predictor') elif codec[:4] == 'lerc': if not imagecodecs.LERC: pytest.xfail('lerc missing') elif dtype == 'f2' or byteorder == '>': pytest.xfail('dtype not supported by lerc') elif dtype == 'f4' and predictor: pytest.xfail('lerc does not work with float predictor') if codec == 'lerc_zstd': if not imagecodecs.ZSTD: pytest.xfail('zstd codec missing') compressionargs = {'compression': 'zstd'} elif codec == 'lerc_deflate': if not imagecodecs.ZLIB: pytest.xfail('zlib codec missing') compressionargs = {'compression': 'deflate'} codec = 'lerc' elif codec == 'webp': if not imagecodecs.WEBP: pytest.xfail('webp missing') elif dtype != 'u1': pytest.xfail('dtype not supported') elif predictor: pytest.xfail('webp does not support predictor') data = image_data('rgb', dtype) if byteorder == '>': data = data.byteswap().newbyteorder() with io.BytesIO() as fh: tifffile.imwrite( fh, data, photometric='rgb', compression=codec, compressionargs=compressionargs, predictor=predictor, byteorder=byteorder, ) # with open(f'{codec}_{dtype}.tif', 'wb') as f: # fh.seek(0) # f.write(fh.read()) fh.seek(0) with tifffile.TiffFile(fh) as tif: assert tif.byteorder == byteorder image = tif.asarray() if byteorder == '>': image = image.byteswap().newbyteorder() if codec != 'jpeg': > assert_array_equal(data, image, verbose=True) tests/test_imagecodecs.py:3517: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ args = (array([[[0.5 , 0.766 , 0.6265 ], [0.6064 , 0.805 , 0.6533 ], [0.697 , 0.818 , 0.656 ], ... 0.00019, -7.19 ], [ -0.00005, 0.03296, 0.00409]]], shape=(32, 31, 3), dtype=float16)) kwargs = {'verbose': True}, old_name = 'y', new_name = 'desired' @functools.wraps(fun) def wrapper(*args, **kwargs): for old_name, new_name in zip(old_names, new_names): if old_name in kwargs: if dep_version: end_version = dep_version.split('.') end_version[1] = str(int(end_version[1]) + 2) end_version = '.'.join(end_version) msg = (f"Use of keyword argument `{old_name}` is " f"deprecated and replaced by `{new_name}`. " f"Support for `{old_name}` will be removed " f"in NumPy {end_version}.") warnings.warn(msg, DeprecationWarning, stacklevel=2) if new_name in kwargs: msg = (f"{fun.__name__}() got multiple values for " f"argument now known as `{new_name}`") raise TypeError(msg) kwargs[new_name] = kwargs.pop(old_name) > return fun(*args, **kwargs) E AssertionError: E Arrays are not equal E E nan location mismatch: E ACTUAL: array([[[0.5 , 0.766 , 0.6265 ], E [0.6064 , 0.805 , 0.6533 ], E [0.697 , 0.818 , 0.656 ],... E DESIRED: array([[[ 0.000003, 0.01021 , 0.000049], E [ -199. , 10704. , 0.778 ], E [ -0.000882, -0.000221, 1.806 ],... /usr/lib64/python3.13/site-packages/numpy/_utils/__init__.py:85: AssertionError ________________________ test_tifffile[zstd-True-f2->] _________________________ byteorder = '>', dtype = 'f2', codec = 'zstd', predictor = True @pytest.mark.skipif(tifffile is None, reason='tifffile module missing') @pytest.mark.parametrize('byteorder', ['<', '>']) @pytest.mark.parametrize('dtype', ['u1', 'u2', 'f2', 'f4']) @pytest.mark.parametrize('predictor', [False, True]) @pytest.mark.parametrize( 'codec', [ 'deflate', 'lzw', 'lzma', 'zstd', 'packbits', 'webp', 'jpeg', 'lerc', 'lerc_zstd', 'lerc_deflate', ], ) def test_tifffile(byteorder, dtype, codec, predictor): """Test tifffile compression.""" compressionargs = None if codec == 'deflate' and not imagecodecs.ZLIB: # TODO: this should pass in tifffile >= 2020 pytest.xfail('zlib missing') elif codec == 'lzma' and not imagecodecs.LZMA: pytest.xfail('lzma missing') elif codec == 'zstd' and not imagecodecs.ZSTD: pytest.xfail('zstd missing') elif codec == 'packbits' and not imagecodecs.PACKBITS: pytest.xfail('packbits missing') elif codec == 'jpeg': if not imagecodecs.JPEG: pytest.xfail('jpeg missing') if predictor or dtype != 'u1': pytest.xfail('tiff/jpeg do not support this case') elif codec == 'jpegxl': if not imagecodecs.JPEGXL: pytest.xfail('jpegxl missing') if predictor: pytest.xfail('jpegxl does not support predictor') elif codec[:4] == 'lerc': if not imagecodecs.LERC: pytest.xfail('lerc missing') elif dtype == 'f2' or byteorder == '>': pytest.xfail('dtype not supported by lerc') elif dtype == 'f4' and predictor: pytest.xfail('lerc does not work with float predictor') if codec == 'lerc_zstd': if not imagecodecs.ZSTD: pytest.xfail('zstd codec missing') compressionargs = {'compression': 'zstd'} elif codec == 'lerc_deflate': if not imagecodecs.ZLIB: pytest.xfail('zlib codec missing') compressionargs = {'compression': 'deflate'} codec = 'lerc' elif codec == 'webp': if not imagecodecs.WEBP: pytest.xfail('webp missing') elif dtype != 'u1': pytest.xfail('dtype not supported') elif predictor: pytest.xfail('webp does not support predictor') data = image_data('rgb', dtype) if byteorder == '>': > data = data.byteswap().newbyteorder() E AttributeError: `newbyteorder` was removed from the ndarray class in NumPy 2.0. Use `arr.view(arr.dtype.newbyteorder(order))` instead. tests/test_imagecodecs.py:3495: AttributeError ________________________ test_tifffile[zstd-True-f4-<] _________________________ byteorder = '<', dtype = 'f4', codec = 'zstd', predictor = True @pytest.mark.skipif(tifffile is None, reason='tifffile module missing') @pytest.mark.parametrize('byteorder', ['<', '>']) @pytest.mark.parametrize('dtype', ['u1', 'u2', 'f2', 'f4']) @pytest.mark.parametrize('predictor', [False, True]) @pytest.mark.parametrize( 'codec', [ 'deflate', 'lzw', 'lzma', 'zstd', 'packbits', 'webp', 'jpeg', 'lerc', 'lerc_zstd', 'lerc_deflate', ], ) def test_tifffile(byteorder, dtype, codec, predictor): """Test tifffile compression.""" compressionargs = None if codec == 'deflate' and not imagecodecs.ZLIB: # TODO: this should pass in tifffile >= 2020 pytest.xfail('zlib missing') elif codec == 'lzma' and not imagecodecs.LZMA: pytest.xfail('lzma missing') elif codec == 'zstd' and not imagecodecs.ZSTD: pytest.xfail('zstd missing') elif codec == 'packbits' and not imagecodecs.PACKBITS: pytest.xfail('packbits missing') elif codec == 'jpeg': if not imagecodecs.JPEG: pytest.xfail('jpeg missing') if predictor or dtype != 'u1': pytest.xfail('tiff/jpeg do not support this case') elif codec == 'jpegxl': if not imagecodecs.JPEGXL: pytest.xfail('jpegxl missing') if predictor: pytest.xfail('jpegxl does not support predictor') elif codec[:4] == 'lerc': if not imagecodecs.LERC: pytest.xfail('lerc missing') elif dtype == 'f2' or byteorder == '>': pytest.xfail('dtype not supported by lerc') elif dtype == 'f4' and predictor: pytest.xfail('lerc does not work with float predictor') if codec == 'lerc_zstd': if not imagecodecs.ZSTD: pytest.xfail('zstd codec missing') compressionargs = {'compression': 'zstd'} elif codec == 'lerc_deflate': if not imagecodecs.ZLIB: pytest.xfail('zlib codec missing') compressionargs = {'compression': 'deflate'} codec = 'lerc' elif codec == 'webp': if not imagecodecs.WEBP: pytest.xfail('webp missing') elif dtype != 'u1': pytest.xfail('dtype not supported') elif predictor: pytest.xfail('webp does not support predictor') data = image_data('rgb', dtype) if byteorder == '>': data = data.byteswap().newbyteorder() with io.BytesIO() as fh: tifffile.imwrite( fh, data, photometric='rgb', compression=codec, compressionargs=compressionargs, predictor=predictor, byteorder=byteorder, ) # with open(f'{codec}_{dtype}.tif', 'wb') as f: # fh.seek(0) # f.write(fh.read()) fh.seek(0) with tifffile.TiffFile(fh) as tif: assert tif.byteorder == byteorder image = tif.asarray() if byteorder == '>': image = image.byteswap().newbyteorder() if codec != 'jpeg': > assert_array_equal(data, image, verbose=True) tests/test_imagecodecs.py:3517: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ args = (array([[[0.5 , 0.76605, 0.62625], [0.60653, 0.80497, 0.65321], [0.69679, 0.81796, 0.65563], ...4825e+20, -1.99865e+15], [-9.92416e-36, -4.33710e-16, 1.15622e-32]]], shape=(32, 31, 3), dtype=float32)) kwargs = {'verbose': True}, old_name = 'y', new_name = 'desired' @functools.wraps(fun) def wrapper(*args, **kwargs): for old_name, new_name in zip(old_names, new_names): if old_name in kwargs: if dep_version: end_version = dep_version.split('.') end_version[1] = str(int(end_version[1]) + 2) end_version = '.'.join(end_version) msg = (f"Use of keyword argument `{old_name}` is " f"deprecated and replaced by `{new_name}`. " f"Support for `{old_name}` will be removed " f"in NumPy {end_version}.") warnings.warn(msg, DeprecationWarning, stacklevel=2) if new_name in kwargs: msg = (f"{fun.__name__}() got multiple values for " f"argument now known as `{new_name}`") raise TypeError(msg) kwargs[new_name] = kwargs.pop(old_name) > return fun(*args, **kwargs) E AssertionError: E Arrays are not equal E E nan location mismatch: E ACTUAL: array([[[0.5 , 0.766055, 0.626249], E [0.60653 , 0.804974, 0.653208], E [0.696793, 0.817962, 0.655634],... E DESIRED: array([[[ 8.828180e-44, 2.220682e-12, -9.644233e+20], E [-2.429524e-30, -1.463056e+02, -6.093122e-22], E [ 1.734849e-31, -2.838812e+29, -5.695061e-21],... /usr/lib64/python3.13/site-packages/numpy/_utils/__init__.py:85: AssertionError ________________________ test_tifffile[zstd-True-f4->] _________________________ byteorder = '>', dtype = 'f4', codec = 'zstd', predictor = True @pytest.mark.skipif(tifffile is None, reason='tifffile module missing') @pytest.mark.parametrize('byteorder', ['<', '>']) @pytest.mark.parametrize('dtype', ['u1', 'u2', 'f2', 'f4']) @pytest.mark.parametrize('predictor', [False, True]) @pytest.mark.parametrize( 'codec', [ 'deflate', 'lzw', 'lzma', 'zstd', 'packbits', 'webp', 'jpeg', 'lerc', 'lerc_zstd', 'lerc_deflate', ], ) def test_tifffile(byteorder, dtype, codec, predictor): """Test tifffile compression.""" compressionargs = None if codec == 'deflate' and not imagecodecs.ZLIB: # TODO: this should pass in tifffile >= 2020 pytest.xfail('zlib missing') elif codec == 'lzma' and not imagecodecs.LZMA: pytest.xfail('lzma missing') elif codec == 'zstd' and not imagecodecs.ZSTD: pytest.xfail('zstd missing') elif codec == 'packbits' and not imagecodecs.PACKBITS: pytest.xfail('packbits missing') elif codec == 'jpeg': if not imagecodecs.JPEG: pytest.xfail('jpeg missing') if predictor or dtype != 'u1': pytest.xfail('tiff/jpeg do not support this case') elif codec == 'jpegxl': if not imagecodecs.JPEGXL: pytest.xfail('jpegxl missing') if predictor: pytest.xfail('jpegxl does not support predictor') elif codec[:4] == 'lerc': if not imagecodecs.LERC: pytest.xfail('lerc missing') elif dtype == 'f2' or byteorder == '>': pytest.xfail('dtype not supported by lerc') elif dtype == 'f4' and predictor: pytest.xfail('lerc does not work with float predictor') if codec == 'lerc_zstd': if not imagecodecs.ZSTD: pytest.xfail('zstd codec missing') compressionargs = {'compression': 'zstd'} elif codec == 'lerc_deflate': if not imagecodecs.ZLIB: pytest.xfail('zlib codec missing') compressionargs = {'compression': 'deflate'} codec = 'lerc' elif codec == 'webp': if not imagecodecs.WEBP: pytest.xfail('webp missing') elif dtype != 'u1': pytest.xfail('dtype not supported') elif predictor: pytest.xfail('webp does not support predictor') data = image_data('rgb', dtype) if byteorder == '>': > data = data.byteswap().newbyteorder() E AttributeError: `newbyteorder` was removed from the ndarray class in NumPy 2.0. Use `arr.view(arr.dtype.newbyteorder(order))` instead. tests/test_imagecodecs.py:3495: AttributeError ______________________ test_tifffile[packbits-False-u1->] ______________________ byteorder = '>', dtype = 'u1', codec = 'packbits', predictor = False @pytest.mark.skipif(tifffile is None, reason='tifffile module missing') @pytest.mark.parametrize('byteorder', ['<', '>']) @pytest.mark.parametrize('dtype', ['u1', 'u2', 'f2', 'f4']) @pytest.mark.parametrize('predictor', [False, True]) @pytest.mark.parametrize( 'codec', [ 'deflate', 'lzw', 'lzma', 'zstd', 'packbits', 'webp', 'jpeg', 'lerc', 'lerc_zstd', 'lerc_deflate', ], ) def test_tifffile(byteorder, dtype, codec, predictor): """Test tifffile compression.""" compressionargs = None if codec == 'deflate' and not imagecodecs.ZLIB: # TODO: this should pass in tifffile >= 2020 pytest.xfail('zlib missing') elif codec == 'lzma' and not imagecodecs.LZMA: pytest.xfail('lzma missing') elif codec == 'zstd' and not imagecodecs.ZSTD: pytest.xfail('zstd missing') elif codec == 'packbits' and not imagecodecs.PACKBITS: pytest.xfail('packbits missing') elif codec == 'jpeg': if not imagecodecs.JPEG: pytest.xfail('jpeg missing') if predictor or dtype != 'u1': pytest.xfail('tiff/jpeg do not support this case') elif codec == 'jpegxl': if not imagecodecs.JPEGXL: pytest.xfail('jpegxl missing') if predictor: pytest.xfail('jpegxl does not support predictor') elif codec[:4] == 'lerc': if not imagecodecs.LERC: pytest.xfail('lerc missing') elif dtype == 'f2' or byteorder == '>': pytest.xfail('dtype not supported by lerc') elif dtype == 'f4' and predictor: pytest.xfail('lerc does not work with float predictor') if codec == 'lerc_zstd': if not imagecodecs.ZSTD: pytest.xfail('zstd codec missing') compressionargs = {'compression': 'zstd'} elif codec == 'lerc_deflate': if not imagecodecs.ZLIB: pytest.xfail('zlib codec missing') compressionargs = {'compression': 'deflate'} codec = 'lerc' elif codec == 'webp': if not imagecodecs.WEBP: pytest.xfail('webp missing') elif dtype != 'u1': pytest.xfail('dtype not supported') elif predictor: pytest.xfail('webp does not support predictor') data = image_data('rgb', dtype) if byteorder == '>': > data = data.byteswap().newbyteorder() E AttributeError: `newbyteorder` was removed from the ndarray class in NumPy 2.0. Use `arr.view(arr.dtype.newbyteorder(order))` instead. tests/test_imagecodecs.py:3495: AttributeError ______________________ test_tifffile[packbits-False-u2->] ______________________ byteorder = '>', dtype = 'u2', codec = 'packbits', predictor = False @pytest.mark.skipif(tifffile is None, reason='tifffile module missing') @pytest.mark.parametrize('byteorder', ['<', '>']) @pytest.mark.parametrize('dtype', ['u1', 'u2', 'f2', 'f4']) @pytest.mark.parametrize('predictor', [False, True]) @pytest.mark.parametrize( 'codec', [ 'deflate', 'lzw', 'lzma', 'zstd', 'packbits', 'webp', 'jpeg', 'lerc', 'lerc_zstd', 'lerc_deflate', ], ) def test_tifffile(byteorder, dtype, codec, predictor): """Test tifffile compression.""" compressionargs = None if codec == 'deflate' and not imagecodecs.ZLIB: # TODO: this should pass in tifffile >= 2020 pytest.xfail('zlib missing') elif codec == 'lzma' and not imagecodecs.LZMA: pytest.xfail('lzma missing') elif codec == 'zstd' and not imagecodecs.ZSTD: pytest.xfail('zstd missing') elif codec == 'packbits' and not imagecodecs.PACKBITS: pytest.xfail('packbits missing') elif codec == 'jpeg': if not imagecodecs.JPEG: pytest.xfail('jpeg missing') if predictor or dtype != 'u1': pytest.xfail('tiff/jpeg do not support this case') elif codec == 'jpegxl': if not imagecodecs.JPEGXL: pytest.xfail('jpegxl missing') if predictor: pytest.xfail('jpegxl does not support predictor') elif codec[:4] == 'lerc': if not imagecodecs.LERC: pytest.xfail('lerc missing') elif dtype == 'f2' or byteorder == '>': pytest.xfail('dtype not supported by lerc') elif dtype == 'f4' and predictor: pytest.xfail('lerc does not work with float predictor') if codec == 'lerc_zstd': if not imagecodecs.ZSTD: pytest.xfail('zstd codec missing') compressionargs = {'compression': 'zstd'} elif codec == 'lerc_deflate': if not imagecodecs.ZLIB: pytest.xfail('zlib codec missing') compressionargs = {'compression': 'deflate'} codec = 'lerc' elif codec == 'webp': if not imagecodecs.WEBP: pytest.xfail('webp missing') elif dtype != 'u1': pytest.xfail('dtype not supported') elif predictor: pytest.xfail('webp does not support predictor') data = image_data('rgb', dtype) if byteorder == '>': > data = data.byteswap().newbyteorder() E AttributeError: `newbyteorder` was removed from the ndarray class in NumPy 2.0. Use `arr.view(arr.dtype.newbyteorder(order))` instead. tests/test_imagecodecs.py:3495: AttributeError ______________________ test_tifffile[packbits-False-f2->] ______________________ byteorder = '>', dtype = 'f2', codec = 'packbits', predictor = False @pytest.mark.skipif(tifffile is None, reason='tifffile module missing') @pytest.mark.parametrize('byteorder', ['<', '>']) @pytest.mark.parametrize('dtype', ['u1', 'u2', 'f2', 'f4']) @pytest.mark.parametrize('predictor', [False, True]) @pytest.mark.parametrize( 'codec', [ 'deflate', 'lzw', 'lzma', 'zstd', 'packbits', 'webp', 'jpeg', 'lerc', 'lerc_zstd', 'lerc_deflate', ], ) def test_tifffile(byteorder, dtype, codec, predictor): """Test tifffile compression.""" compressionargs = None if codec == 'deflate' and not imagecodecs.ZLIB: # TODO: this should pass in tifffile >= 2020 pytest.xfail('zlib missing') elif codec == 'lzma' and not imagecodecs.LZMA: pytest.xfail('lzma missing') elif codec == 'zstd' and not imagecodecs.ZSTD: pytest.xfail('zstd missing') elif codec == 'packbits' and not imagecodecs.PACKBITS: pytest.xfail('packbits missing') elif codec == 'jpeg': if not imagecodecs.JPEG: pytest.xfail('jpeg missing') if predictor or dtype != 'u1': pytest.xfail('tiff/jpeg do not support this case') elif codec == 'jpegxl': if not imagecodecs.JPEGXL: pytest.xfail('jpegxl missing') if predictor: pytest.xfail('jpegxl does not support predictor') elif codec[:4] == 'lerc': if not imagecodecs.LERC: pytest.xfail('lerc missing') elif dtype == 'f2' or byteorder == '>': pytest.xfail('dtype not supported by lerc') elif dtype == 'f4' and predictor: pytest.xfail('lerc does not work with float predictor') if codec == 'lerc_zstd': if not imagecodecs.ZSTD: pytest.xfail('zstd codec missing') compressionargs = {'compression': 'zstd'} elif codec == 'lerc_deflate': if not imagecodecs.ZLIB: pytest.xfail('zlib codec missing') compressionargs = {'compression': 'deflate'} codec = 'lerc' elif codec == 'webp': if not imagecodecs.WEBP: pytest.xfail('webp missing') elif dtype != 'u1': pytest.xfail('dtype not supported') elif predictor: pytest.xfail('webp does not support predictor') data = image_data('rgb', dtype) if byteorder == '>': > data = data.byteswap().newbyteorder() E AttributeError: `newbyteorder` was removed from the ndarray class in NumPy 2.0. Use `arr.view(arr.dtype.newbyteorder(order))` instead. tests/test_imagecodecs.py:3495: AttributeError ______________________ test_tifffile[packbits-False-f4->] ______________________ byteorder = '>', dtype = 'f4', codec = 'packbits', predictor = False @pytest.mark.skipif(tifffile is None, reason='tifffile module missing') @pytest.mark.parametrize('byteorder', ['<', '>']) @pytest.mark.parametrize('dtype', ['u1', 'u2', 'f2', 'f4']) @pytest.mark.parametrize('predictor', [False, True]) @pytest.mark.parametrize( 'codec', [ 'deflate', 'lzw', 'lzma', 'zstd', 'packbits', 'webp', 'jpeg', 'lerc', 'lerc_zstd', 'lerc_deflate', ], ) def test_tifffile(byteorder, dtype, codec, predictor): """Test tifffile compression.""" compressionargs = None if codec == 'deflate' and not imagecodecs.ZLIB: # TODO: this should pass in tifffile >= 2020 pytest.xfail('zlib missing') elif codec == 'lzma' and not imagecodecs.LZMA: pytest.xfail('lzma missing') elif codec == 'zstd' and not imagecodecs.ZSTD: pytest.xfail('zstd missing') elif codec == 'packbits' and not imagecodecs.PACKBITS: pytest.xfail('packbits missing') elif codec == 'jpeg': if not imagecodecs.JPEG: pytest.xfail('jpeg missing') if predictor or dtype != 'u1': pytest.xfail('tiff/jpeg do not support this case') elif codec == 'jpegxl': if not imagecodecs.JPEGXL: pytest.xfail('jpegxl missing') if predictor: pytest.xfail('jpegxl does not support predictor') elif codec[:4] == 'lerc': if not imagecodecs.LERC: pytest.xfail('lerc missing') elif dtype == 'f2' or byteorder == '>': pytest.xfail('dtype not supported by lerc') elif dtype == 'f4' and predictor: pytest.xfail('lerc does not work with float predictor') if codec == 'lerc_zstd': if not imagecodecs.ZSTD: pytest.xfail('zstd codec missing') compressionargs = {'compression': 'zstd'} elif codec == 'lerc_deflate': if not imagecodecs.ZLIB: pytest.xfail('zlib codec missing') compressionargs = {'compression': 'deflate'} codec = 'lerc' elif codec == 'webp': if not imagecodecs.WEBP: pytest.xfail('webp missing') elif dtype != 'u1': pytest.xfail('dtype not supported') elif predictor: pytest.xfail('webp does not support predictor') data = image_data('rgb', dtype) if byteorder == '>': > data = data.byteswap().newbyteorder() E AttributeError: `newbyteorder` was removed from the ndarray class in NumPy 2.0. Use `arr.view(arr.dtype.newbyteorder(order))` instead. tests/test_imagecodecs.py:3495: AttributeError ______________________ test_tifffile[packbits-True-u1->] _______________________ byteorder = '>', dtype = 'u1', codec = 'packbits', predictor = True @pytest.mark.skipif(tifffile is None, reason='tifffile module missing') @pytest.mark.parametrize('byteorder', ['<', '>']) @pytest.mark.parametrize('dtype', ['u1', 'u2', 'f2', 'f4']) @pytest.mark.parametrize('predictor', [False, True]) @pytest.mark.parametrize( 'codec', [ 'deflate', 'lzw', 'lzma', 'zstd', 'packbits', 'webp', 'jpeg', 'lerc', 'lerc_zstd', 'lerc_deflate', ], ) def test_tifffile(byteorder, dtype, codec, predictor): """Test tifffile compression.""" compressionargs = None if codec == 'deflate' and not imagecodecs.ZLIB: # TODO: this should pass in tifffile >= 2020 pytest.xfail('zlib missing') elif codec == 'lzma' and not imagecodecs.LZMA: pytest.xfail('lzma missing') elif codec == 'zstd' and not imagecodecs.ZSTD: pytest.xfail('zstd missing') elif codec == 'packbits' and not imagecodecs.PACKBITS: pytest.xfail('packbits missing') elif codec == 'jpeg': if not imagecodecs.JPEG: pytest.xfail('jpeg missing') if predictor or dtype != 'u1': pytest.xfail('tiff/jpeg do not support this case') elif codec == 'jpegxl': if not imagecodecs.JPEGXL: pytest.xfail('jpegxl missing') if predictor: pytest.xfail('jpegxl does not support predictor') elif codec[:4] == 'lerc': if not imagecodecs.LERC: pytest.xfail('lerc missing') elif dtype == 'f2' or byteorder == '>': pytest.xfail('dtype not supported by lerc') elif dtype == 'f4' and predictor: pytest.xfail('lerc does not work with float predictor') if codec == 'lerc_zstd': if not imagecodecs.ZSTD: pytest.xfail('zstd codec missing') compressionargs = {'compression': 'zstd'} elif codec == 'lerc_deflate': if not imagecodecs.ZLIB: pytest.xfail('zlib codec missing') compressionargs = {'compression': 'deflate'} codec = 'lerc' elif codec == 'webp': if not imagecodecs.WEBP: pytest.xfail('webp missing') elif dtype != 'u1': pytest.xfail('dtype not supported') elif predictor: pytest.xfail('webp does not support predictor') data = image_data('rgb', dtype) if byteorder == '>': > data = data.byteswap().newbyteorder() E AttributeError: `newbyteorder` was removed from the ndarray class in NumPy 2.0. Use `arr.view(arr.dtype.newbyteorder(order))` instead. tests/test_imagecodecs.py:3495: AttributeError ______________________ test_tifffile[packbits-True-u2-<] _______________________ byteorder = '<', dtype = 'u2', codec = 'packbits', predictor = True @pytest.mark.skipif(tifffile is None, reason='tifffile module missing') @pytest.mark.parametrize('byteorder', ['<', '>']) @pytest.mark.parametrize('dtype', ['u1', 'u2', 'f2', 'f4']) @pytest.mark.parametrize('predictor', [False, True]) @pytest.mark.parametrize( 'codec', [ 'deflate', 'lzw', 'lzma', 'zstd', 'packbits', 'webp', 'jpeg', 'lerc', 'lerc_zstd', 'lerc_deflate', ], ) def test_tifffile(byteorder, dtype, codec, predictor): """Test tifffile compression.""" compressionargs = None if codec == 'deflate' and not imagecodecs.ZLIB: # TODO: this should pass in tifffile >= 2020 pytest.xfail('zlib missing') elif codec == 'lzma' and not imagecodecs.LZMA: pytest.xfail('lzma missing') elif codec == 'zstd' and not imagecodecs.ZSTD: pytest.xfail('zstd missing') elif codec == 'packbits' and not imagecodecs.PACKBITS: pytest.xfail('packbits missing') elif codec == 'jpeg': if not imagecodecs.JPEG: pytest.xfail('jpeg missing') if predictor or dtype != 'u1': pytest.xfail('tiff/jpeg do not support this case') elif codec == 'jpegxl': if not imagecodecs.JPEGXL: pytest.xfail('jpegxl missing') if predictor: pytest.xfail('jpegxl does not support predictor') elif codec[:4] == 'lerc': if not imagecodecs.LERC: pytest.xfail('lerc missing') elif dtype == 'f2' or byteorder == '>': pytest.xfail('dtype not supported by lerc') elif dtype == 'f4' and predictor: pytest.xfail('lerc does not work with float predictor') if codec == 'lerc_zstd': if not imagecodecs.ZSTD: pytest.xfail('zstd codec missing') compressionargs = {'compression': 'zstd'} elif codec == 'lerc_deflate': if not imagecodecs.ZLIB: pytest.xfail('zlib codec missing') compressionargs = {'compression': 'deflate'} codec = 'lerc' elif codec == 'webp': if not imagecodecs.WEBP: pytest.xfail('webp missing') elif dtype != 'u1': pytest.xfail('dtype not supported') elif predictor: pytest.xfail('webp does not support predictor') data = image_data('rgb', dtype) if byteorder == '>': data = data.byteswap().newbyteorder() with io.BytesIO() as fh: > tifffile.imwrite( fh, data, photometric='rgb', compression=codec, compressionargs=compressionargs, predictor=predictor, byteorder=byteorder, ) tests/test_imagecodecs.py:3498: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/site-packages/tifffile/tifffile.py:1425: in imwrite result = tif.write( /usr/lib/python3.13/site-packages/tifffile/tifffile.py:3607: in write iteritem = cast(bytes, next(dataiter)) /usr/lib/python3.13/site-packages/tifffile/tifffile.py:22629: in encode_chunks yield func(chunk) /usr/lib/python3.13/site-packages/tifffile/tifffile.py:22623: in func return encode(chunk) /usr/lib/python3.13/site-packages/tifffile/tifffile.py:3379: in compressionfunc data = predictorfunc(data, axis=axis) imagecodecs/_imcd.pyx:117: in imagecodecs._imcd.delta_encode return _delta(data, axis=axis, dist=dist, out=out, decode=False) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > data = data.byteswap().newbyteorder() E AttributeError: `newbyteorder` was removed from the ndarray class in NumPy 2.0. Use `arr.view(arr.dtype.newbyteorder(order))` instead. imagecodecs/_imcd.pyx:164: AttributeError ______________________ test_tifffile[packbits-True-u2->] _______________________ byteorder = '>', dtype = 'u2', codec = 'packbits', predictor = True @pytest.mark.skipif(tifffile is None, reason='tifffile module missing') @pytest.mark.parametrize('byteorder', ['<', '>']) @pytest.mark.parametrize('dtype', ['u1', 'u2', 'f2', 'f4']) @pytest.mark.parametrize('predictor', [False, True]) @pytest.mark.parametrize( 'codec', [ 'deflate', 'lzw', 'lzma', 'zstd', 'packbits', 'webp', 'jpeg', 'lerc', 'lerc_zstd', 'lerc_deflate', ], ) def test_tifffile(byteorder, dtype, codec, predictor): """Test tifffile compression.""" compressionargs = None if codec == 'deflate' and not imagecodecs.ZLIB: # TODO: this should pass in tifffile >= 2020 pytest.xfail('zlib missing') elif codec == 'lzma' and not imagecodecs.LZMA: pytest.xfail('lzma missing') elif codec == 'zstd' and not imagecodecs.ZSTD: pytest.xfail('zstd missing') elif codec == 'packbits' and not imagecodecs.PACKBITS: pytest.xfail('packbits missing') elif codec == 'jpeg': if not imagecodecs.JPEG: pytest.xfail('jpeg missing') if predictor or dtype != 'u1': pytest.xfail('tiff/jpeg do not support this case') elif codec == 'jpegxl': if not imagecodecs.JPEGXL: pytest.xfail('jpegxl missing') if predictor: pytest.xfail('jpegxl does not support predictor') elif codec[:4] == 'lerc': if not imagecodecs.LERC: pytest.xfail('lerc missing') elif dtype == 'f2' or byteorder == '>': pytest.xfail('dtype not supported by lerc') elif dtype == 'f4' and predictor: pytest.xfail('lerc does not work with float predictor') if codec == 'lerc_zstd': if not imagecodecs.ZSTD: pytest.xfail('zstd codec missing') compressionargs = {'compression': 'zstd'} elif codec == 'lerc_deflate': if not imagecodecs.ZLIB: pytest.xfail('zlib codec missing') compressionargs = {'compression': 'deflate'} codec = 'lerc' elif codec == 'webp': if not imagecodecs.WEBP: pytest.xfail('webp missing') elif dtype != 'u1': pytest.xfail('dtype not supported') elif predictor: pytest.xfail('webp does not support predictor') data = image_data('rgb', dtype) if byteorder == '>': > data = data.byteswap().newbyteorder() E AttributeError: `newbyteorder` was removed from the ndarray class in NumPy 2.0. Use `arr.view(arr.dtype.newbyteorder(order))` instead. tests/test_imagecodecs.py:3495: AttributeError ______________________ test_tifffile[packbits-True-f2-<] _______________________ byteorder = '<', dtype = 'f2', codec = 'packbits', predictor = True @pytest.mark.skipif(tifffile is None, reason='tifffile module missing') @pytest.mark.parametrize('byteorder', ['<', '>']) @pytest.mark.parametrize('dtype', ['u1', 'u2', 'f2', 'f4']) @pytest.mark.parametrize('predictor', [False, True]) @pytest.mark.parametrize( 'codec', [ 'deflate', 'lzw', 'lzma', 'zstd', 'packbits', 'webp', 'jpeg', 'lerc', 'lerc_zstd', 'lerc_deflate', ], ) def test_tifffile(byteorder, dtype, codec, predictor): """Test tifffile compression.""" compressionargs = None if codec == 'deflate' and not imagecodecs.ZLIB: # TODO: this should pass in tifffile >= 2020 pytest.xfail('zlib missing') elif codec == 'lzma' and not imagecodecs.LZMA: pytest.xfail('lzma missing') elif codec == 'zstd' and not imagecodecs.ZSTD: pytest.xfail('zstd missing') elif codec == 'packbits' and not imagecodecs.PACKBITS: pytest.xfail('packbits missing') elif codec == 'jpeg': if not imagecodecs.JPEG: pytest.xfail('jpeg missing') if predictor or dtype != 'u1': pytest.xfail('tiff/jpeg do not support this case') elif codec == 'jpegxl': if not imagecodecs.JPEGXL: pytest.xfail('jpegxl missing') if predictor: pytest.xfail('jpegxl does not support predictor') elif codec[:4] == 'lerc': if not imagecodecs.LERC: pytest.xfail('lerc missing') elif dtype == 'f2' or byteorder == '>': pytest.xfail('dtype not supported by lerc') elif dtype == 'f4' and predictor: pytest.xfail('lerc does not work with float predictor') if codec == 'lerc_zstd': if not imagecodecs.ZSTD: pytest.xfail('zstd codec missing') compressionargs = {'compression': 'zstd'} elif codec == 'lerc_deflate': if not imagecodecs.ZLIB: pytest.xfail('zlib codec missing') compressionargs = {'compression': 'deflate'} codec = 'lerc' elif codec == 'webp': if not imagecodecs.WEBP: pytest.xfail('webp missing') elif dtype != 'u1': pytest.xfail('dtype not supported') elif predictor: pytest.xfail('webp does not support predictor') data = image_data('rgb', dtype) if byteorder == '>': data = data.byteswap().newbyteorder() with io.BytesIO() as fh: tifffile.imwrite( fh, data, photometric='rgb', compression=codec, compressionargs=compressionargs, predictor=predictor, byteorder=byteorder, ) # with open(f'{codec}_{dtype}.tif', 'wb') as f: # fh.seek(0) # f.write(fh.read()) fh.seek(0) with tifffile.TiffFile(fh) as tif: assert tif.byteorder == byteorder image = tif.asarray() if byteorder == '>': image = image.byteswap().newbyteorder() if codec != 'jpeg': > assert_array_equal(data, image, verbose=True) tests/test_imagecodecs.py:3517: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ args = (array([[[0.5 , 0.766 , 0.6265 ], [0.6064 , 0.805 , 0.6533 ], [0.697 , 0.818 , 0.656 ], ... 0.00019, -7.19 ], [ -0.00005, 0.03296, 0.00409]]], shape=(32, 31, 3), dtype=float16)) kwargs = {'verbose': True}, old_name = 'y', new_name = 'desired' @functools.wraps(fun) def wrapper(*args, **kwargs): for old_name, new_name in zip(old_names, new_names): if old_name in kwargs: if dep_version: end_version = dep_version.split('.') end_version[1] = str(int(end_version[1]) + 2) end_version = '.'.join(end_version) msg = (f"Use of keyword argument `{old_name}` is " f"deprecated and replaced by `{new_name}`. " f"Support for `{old_name}` will be removed " f"in NumPy {end_version}.") warnings.warn(msg, DeprecationWarning, stacklevel=2) if new_name in kwargs: msg = (f"{fun.__name__}() got multiple values for " f"argument now known as `{new_name}`") raise TypeError(msg) kwargs[new_name] = kwargs.pop(old_name) > return fun(*args, **kwargs) E AssertionError: E Arrays are not equal E E nan location mismatch: E ACTUAL: array([[[0.5 , 0.766 , 0.6265 ], E [0.6064 , 0.805 , 0.6533 ], E [0.697 , 0.818 , 0.656 ],... E DESIRED: array([[[ 0.000003, 0.01021 , 0.000049], E [ -199. , 10704. , 0.778 ], E [ -0.000882, -0.000221, 1.806 ],... /usr/lib64/python3.13/site-packages/numpy/_utils/__init__.py:85: AssertionError ______________________ test_tifffile[packbits-True-f2->] _______________________ byteorder = '>', dtype = 'f2', codec = 'packbits', predictor = True @pytest.mark.skipif(tifffile is None, reason='tifffile module missing') @pytest.mark.parametrize('byteorder', ['<', '>']) @pytest.mark.parametrize('dtype', ['u1', 'u2', 'f2', 'f4']) @pytest.mark.parametrize('predictor', [False, True]) @pytest.mark.parametrize( 'codec', [ 'deflate', 'lzw', 'lzma', 'zstd', 'packbits', 'webp', 'jpeg', 'lerc', 'lerc_zstd', 'lerc_deflate', ], ) def test_tifffile(byteorder, dtype, codec, predictor): """Test tifffile compression.""" compressionargs = None if codec == 'deflate' and not imagecodecs.ZLIB: # TODO: this should pass in tifffile >= 2020 pytest.xfail('zlib missing') elif codec == 'lzma' and not imagecodecs.LZMA: pytest.xfail('lzma missing') elif codec == 'zstd' and not imagecodecs.ZSTD: pytest.xfail('zstd missing') elif codec == 'packbits' and not imagecodecs.PACKBITS: pytest.xfail('packbits missing') elif codec == 'jpeg': if not imagecodecs.JPEG: pytest.xfail('jpeg missing') if predictor or dtype != 'u1': pytest.xfail('tiff/jpeg do not support this case') elif codec == 'jpegxl': if not imagecodecs.JPEGXL: pytest.xfail('jpegxl missing') if predictor: pytest.xfail('jpegxl does not support predictor') elif codec[:4] == 'lerc': if not imagecodecs.LERC: pytest.xfail('lerc missing') elif dtype == 'f2' or byteorder == '>': pytest.xfail('dtype not supported by lerc') elif dtype == 'f4' and predictor: pytest.xfail('lerc does not work with float predictor') if codec == 'lerc_zstd': if not imagecodecs.ZSTD: pytest.xfail('zstd codec missing') compressionargs = {'compression': 'zstd'} elif codec == 'lerc_deflate': if not imagecodecs.ZLIB: pytest.xfail('zlib codec missing') compressionargs = {'compression': 'deflate'} codec = 'lerc' elif codec == 'webp': if not imagecodecs.WEBP: pytest.xfail('webp missing') elif dtype != 'u1': pytest.xfail('dtype not supported') elif predictor: pytest.xfail('webp does not support predictor') data = image_data('rgb', dtype) if byteorder == '>': > data = data.byteswap().newbyteorder() E AttributeError: `newbyteorder` was removed from the ndarray class in NumPy 2.0. Use `arr.view(arr.dtype.newbyteorder(order))` instead. tests/test_imagecodecs.py:3495: AttributeError ______________________ test_tifffile[packbits-True-f4-<] _______________________ byteorder = '<', dtype = 'f4', codec = 'packbits', predictor = True @pytest.mark.skipif(tifffile is None, reason='tifffile module missing') @pytest.mark.parametrize('byteorder', ['<', '>']) @pytest.mark.parametrize('dtype', ['u1', 'u2', 'f2', 'f4']) @pytest.mark.parametrize('predictor', [False, True]) @pytest.mark.parametrize( 'codec', [ 'deflate', 'lzw', 'lzma', 'zstd', 'packbits', 'webp', 'jpeg', 'lerc', 'lerc_zstd', 'lerc_deflate', ], ) def test_tifffile(byteorder, dtype, codec, predictor): """Test tifffile compression.""" compressionargs = None if codec == 'deflate' and not imagecodecs.ZLIB: # TODO: this should pass in tifffile >= 2020 pytest.xfail('zlib missing') elif codec == 'lzma' and not imagecodecs.LZMA: pytest.xfail('lzma missing') elif codec == 'zstd' and not imagecodecs.ZSTD: pytest.xfail('zstd missing') elif codec == 'packbits' and not imagecodecs.PACKBITS: pytest.xfail('packbits missing') elif codec == 'jpeg': if not imagecodecs.JPEG: pytest.xfail('jpeg missing') if predictor or dtype != 'u1': pytest.xfail('tiff/jpeg do not support this case') elif codec == 'jpegxl': if not imagecodecs.JPEGXL: pytest.xfail('jpegxl missing') if predictor: pytest.xfail('jpegxl does not support predictor') elif codec[:4] == 'lerc': if not imagecodecs.LERC: pytest.xfail('lerc missing') elif dtype == 'f2' or byteorder == '>': pytest.xfail('dtype not supported by lerc') elif dtype == 'f4' and predictor: pytest.xfail('lerc does not work with float predictor') if codec == 'lerc_zstd': if not imagecodecs.ZSTD: pytest.xfail('zstd codec missing') compressionargs = {'compression': 'zstd'} elif codec == 'lerc_deflate': if not imagecodecs.ZLIB: pytest.xfail('zlib codec missing') compressionargs = {'compression': 'deflate'} codec = 'lerc' elif codec == 'webp': if not imagecodecs.WEBP: pytest.xfail('webp missing') elif dtype != 'u1': pytest.xfail('dtype not supported') elif predictor: pytest.xfail('webp does not support predictor') data = image_data('rgb', dtype) if byteorder == '>': data = data.byteswap().newbyteorder() with io.BytesIO() as fh: tifffile.imwrite( fh, data, photometric='rgb', compression=codec, compressionargs=compressionargs, predictor=predictor, byteorder=byteorder, ) # with open(f'{codec}_{dtype}.tif', 'wb') as f: # fh.seek(0) # f.write(fh.read()) fh.seek(0) with tifffile.TiffFile(fh) as tif: assert tif.byteorder == byteorder image = tif.asarray() if byteorder == '>': image = image.byteswap().newbyteorder() if codec != 'jpeg': > assert_array_equal(data, image, verbose=True) tests/test_imagecodecs.py:3517: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ args = (array([[[0.5 , 0.76605, 0.62625], [0.60653, 0.80497, 0.65321], [0.69679, 0.81796, 0.65563], ...4825e+20, -1.99865e+15], [-9.92416e-36, -4.33710e-16, 1.15622e-32]]], shape=(32, 31, 3), dtype=float32)) kwargs = {'verbose': True}, old_name = 'y', new_name = 'desired' @functools.wraps(fun) def wrapper(*args, **kwargs): for old_name, new_name in zip(old_names, new_names): if old_name in kwargs: if dep_version: end_version = dep_version.split('.') end_version[1] = str(int(end_version[1]) + 2) end_version = '.'.join(end_version) msg = (f"Use of keyword argument `{old_name}` is " f"deprecated and replaced by `{new_name}`. " f"Support for `{old_name}` will be removed " f"in NumPy {end_version}.") warnings.warn(msg, DeprecationWarning, stacklevel=2) if new_name in kwargs: msg = (f"{fun.__name__}() got multiple values for " f"argument now known as `{new_name}`") raise TypeError(msg) kwargs[new_name] = kwargs.pop(old_name) > return fun(*args, **kwargs) E AssertionError: E Arrays are not equal E E nan location mismatch: E ACTUAL: array([[[0.5 , 0.766055, 0.626249], E [0.60653 , 0.804974, 0.653208], E [0.696793, 0.817962, 0.655634],... E DESIRED: array([[[ 8.828180e-44, 2.220682e-12, -9.644233e+20], E [-2.429524e-30, -1.463056e+02, -6.093122e-22], E [ 1.734849e-31, -2.838812e+29, -5.695061e-21],... /usr/lib64/python3.13/site-packages/numpy/_utils/__init__.py:85: AssertionError ______________________ test_tifffile[packbits-True-f4->] _______________________ byteorder = '>', dtype = 'f4', codec = 'packbits', predictor = True @pytest.mark.skipif(tifffile is None, reason='tifffile module missing') @pytest.mark.parametrize('byteorder', ['<', '>']) @pytest.mark.parametrize('dtype', ['u1', 'u2', 'f2', 'f4']) @pytest.mark.parametrize('predictor', [False, True]) @pytest.mark.parametrize( 'codec', [ 'deflate', 'lzw', 'lzma', 'zstd', 'packbits', 'webp', 'jpeg', 'lerc', 'lerc_zstd', 'lerc_deflate', ], ) def test_tifffile(byteorder, dtype, codec, predictor): """Test tifffile compression.""" compressionargs = None if codec == 'deflate' and not imagecodecs.ZLIB: # TODO: this should pass in tifffile >= 2020 pytest.xfail('zlib missing') elif codec == 'lzma' and not imagecodecs.LZMA: pytest.xfail('lzma missing') elif codec == 'zstd' and not imagecodecs.ZSTD: pytest.xfail('zstd missing') elif codec == 'packbits' and not imagecodecs.PACKBITS: pytest.xfail('packbits missing') elif codec == 'jpeg': if not imagecodecs.JPEG: pytest.xfail('jpeg missing') if predictor or dtype != 'u1': pytest.xfail('tiff/jpeg do not support this case') elif codec == 'jpegxl': if not imagecodecs.JPEGXL: pytest.xfail('jpegxl missing') if predictor: pytest.xfail('jpegxl does not support predictor') elif codec[:4] == 'lerc': if not imagecodecs.LERC: pytest.xfail('lerc missing') elif dtype == 'f2' or byteorder == '>': pytest.xfail('dtype not supported by lerc') elif dtype == 'f4' and predictor: pytest.xfail('lerc does not work with float predictor') if codec == 'lerc_zstd': if not imagecodecs.ZSTD: pytest.xfail('zstd codec missing') compressionargs = {'compression': 'zstd'} elif codec == 'lerc_deflate': if not imagecodecs.ZLIB: pytest.xfail('zlib codec missing') compressionargs = {'compression': 'deflate'} codec = 'lerc' elif codec == 'webp': if not imagecodecs.WEBP: pytest.xfail('webp missing') elif dtype != 'u1': pytest.xfail('dtype not supported') elif predictor: pytest.xfail('webp does not support predictor') data = image_data('rgb', dtype) if byteorder == '>': > data = data.byteswap().newbyteorder() E AttributeError: `newbyteorder` was removed from the ndarray class in NumPy 2.0. Use `arr.view(arr.dtype.newbyteorder(order))` instead. tests/test_imagecodecs.py:3495: AttributeError ________________________ test_tifffile[webp-False-u1->] ________________________ byteorder = '>', dtype = 'u1', codec = 'webp', predictor = False @pytest.mark.skipif(tifffile is None, reason='tifffile module missing') @pytest.mark.parametrize('byteorder', ['<', '>']) @pytest.mark.parametrize('dtype', ['u1', 'u2', 'f2', 'f4']) @pytest.mark.parametrize('predictor', [False, True]) @pytest.mark.parametrize( 'codec', [ 'deflate', 'lzw', 'lzma', 'zstd', 'packbits', 'webp', 'jpeg', 'lerc', 'lerc_zstd', 'lerc_deflate', ], ) def test_tifffile(byteorder, dtype, codec, predictor): """Test tifffile compression.""" compressionargs = None if codec == 'deflate' and not imagecodecs.ZLIB: # TODO: this should pass in tifffile >= 2020 pytest.xfail('zlib missing') elif codec == 'lzma' and not imagecodecs.LZMA: pytest.xfail('lzma missing') elif codec == 'zstd' and not imagecodecs.ZSTD: pytest.xfail('zstd missing') elif codec == 'packbits' and not imagecodecs.PACKBITS: pytest.xfail('packbits missing') elif codec == 'jpeg': if not imagecodecs.JPEG: pytest.xfail('jpeg missing') if predictor or dtype != 'u1': pytest.xfail('tiff/jpeg do not support this case') elif codec == 'jpegxl': if not imagecodecs.JPEGXL: pytest.xfail('jpegxl missing') if predictor: pytest.xfail('jpegxl does not support predictor') elif codec[:4] == 'lerc': if not imagecodecs.LERC: pytest.xfail('lerc missing') elif dtype == 'f2' or byteorder == '>': pytest.xfail('dtype not supported by lerc') elif dtype == 'f4' and predictor: pytest.xfail('lerc does not work with float predictor') if codec == 'lerc_zstd': if not imagecodecs.ZSTD: pytest.xfail('zstd codec missing') compressionargs = {'compression': 'zstd'} elif codec == 'lerc_deflate': if not imagecodecs.ZLIB: pytest.xfail('zlib codec missing') compressionargs = {'compression': 'deflate'} codec = 'lerc' elif codec == 'webp': if not imagecodecs.WEBP: pytest.xfail('webp missing') elif dtype != 'u1': pytest.xfail('dtype not supported') elif predictor: pytest.xfail('webp does not support predictor') data = image_data('rgb', dtype) if byteorder == '>': > data = data.byteswap().newbyteorder() E AttributeError: `newbyteorder` was removed from the ndarray class in NumPy 2.0. Use `arr.view(arr.dtype.newbyteorder(order))` instead. tests/test_imagecodecs.py:3495: AttributeError ________________________ test_tifffile[jpeg-False-u1-<] ________________________ byteorder = '<', dtype = 'u1', codec = 'jpeg', predictor = False @pytest.mark.skipif(tifffile is None, reason='tifffile module missing') @pytest.mark.parametrize('byteorder', ['<', '>']) @pytest.mark.parametrize('dtype', ['u1', 'u2', 'f2', 'f4']) @pytest.mark.parametrize('predictor', [False, True]) @pytest.mark.parametrize( 'codec', [ 'deflate', 'lzw', 'lzma', 'zstd', 'packbits', 'webp', 'jpeg', 'lerc', 'lerc_zstd', 'lerc_deflate', ], ) def test_tifffile(byteorder, dtype, codec, predictor): """Test tifffile compression.""" compressionargs = None if codec == 'deflate' and not imagecodecs.ZLIB: # TODO: this should pass in tifffile >= 2020 pytest.xfail('zlib missing') elif codec == 'lzma' and not imagecodecs.LZMA: pytest.xfail('lzma missing') elif codec == 'zstd' and not imagecodecs.ZSTD: pytest.xfail('zstd missing') elif codec == 'packbits' and not imagecodecs.PACKBITS: pytest.xfail('packbits missing') elif codec == 'jpeg': if not imagecodecs.JPEG: pytest.xfail('jpeg missing') if predictor or dtype != 'u1': pytest.xfail('tiff/jpeg do not support this case') elif codec == 'jpegxl': if not imagecodecs.JPEGXL: pytest.xfail('jpegxl missing') if predictor: pytest.xfail('jpegxl does not support predictor') elif codec[:4] == 'lerc': if not imagecodecs.LERC: pytest.xfail('lerc missing') elif dtype == 'f2' or byteorder == '>': pytest.xfail('dtype not supported by lerc') elif dtype == 'f4' and predictor: pytest.xfail('lerc does not work with float predictor') if codec == 'lerc_zstd': if not imagecodecs.ZSTD: pytest.xfail('zstd codec missing') compressionargs = {'compression': 'zstd'} elif codec == 'lerc_deflate': if not imagecodecs.ZLIB: pytest.xfail('zlib codec missing') compressionargs = {'compression': 'deflate'} codec = 'lerc' elif codec == 'webp': if not imagecodecs.WEBP: pytest.xfail('webp missing') elif dtype != 'u1': pytest.xfail('dtype not supported') elif predictor: pytest.xfail('webp does not support predictor') data = image_data('rgb', dtype) if byteorder == '>': data = data.byteswap().newbyteorder() with io.BytesIO() as fh: tifffile.imwrite( fh, data, photometric='rgb', compression=codec, compressionargs=compressionargs, predictor=predictor, byteorder=byteorder, ) # with open(f'{codec}_{dtype}.tif', 'wb') as f: # fh.seek(0) # f.write(fh.read()) fh.seek(0) with tifffile.TiffFile(fh) as tif: assert tif.byteorder == byteorder image = tif.asarray() if byteorder == '>': image = image.byteswap().newbyteorder() if codec != 'jpeg': assert_array_equal(data, image, verbose=True) if imagecodecs.TIFF: if not (predictor and codec in ('packbits', 'lerc')): # libtiff does not support {codec} with predictor fh.seek(0) image2 = imagecodecs.tiff_decode(fh.read()) > assert_array_equal(image2, image, verbose=True) tests/test_imagecodecs.py:3524: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ args = (array([[[255, 153, 189], [255, 161, 201], [255, 161, 207], ..., [255, 111, 157], ... ..., [136, 128, 66], [139, 132, 54], [138, 134, 43]]], shape=(32, 31, 3), dtype=uint8)) kwargs = {'verbose': True}, old_name = 'y', new_name = 'desired' @functools.wraps(fun) def wrapper(*args, **kwargs): for old_name, new_name in zip(old_names, new_names): if old_name in kwargs: if dep_version: end_version = dep_version.split('.') end_version[1] = str(int(end_version[1]) + 2) end_version = '.'.join(end_version) msg = (f"Use of keyword argument `{old_name}` is " f"deprecated and replaced by `{new_name}`. " f"Support for `{old_name}` will be removed " f"in NumPy {end_version}.") warnings.warn(msg, DeprecationWarning, stacklevel=2) if new_name in kwargs: msg = (f"{fun.__name__}() got multiple values for " f"argument now known as `{new_name}`") raise TypeError(msg) kwargs[new_name] = kwargs.pop(old_name) > return fun(*args, **kwargs) E AssertionError: E Arrays are not equal E E Mismatched elements: 2956 / 2976 (99.3%) E Max absolute difference among violations: 128 E Max relative difference among violations: 5.35294 E ACTUAL: array([[[255, 153, 189], E [255, 161, 201], E [255, 161, 207],... E DESIRED: array([[[147, 189, 153], E [166, 201, 161], E [185, 207, 161],... /usr/lib64/python3.13/site-packages/numpy/_utils/__init__.py:85: AssertionError ________________________ test_tifffile[jpeg-False-u1->] ________________________ byteorder = '>', dtype = 'u1', codec = 'jpeg', predictor = False @pytest.mark.skipif(tifffile is None, reason='tifffile module missing') @pytest.mark.parametrize('byteorder', ['<', '>']) @pytest.mark.parametrize('dtype', ['u1', 'u2', 'f2', 'f4']) @pytest.mark.parametrize('predictor', [False, True]) @pytest.mark.parametrize( 'codec', [ 'deflate', 'lzw', 'lzma', 'zstd', 'packbits', 'webp', 'jpeg', 'lerc', 'lerc_zstd', 'lerc_deflate', ], ) def test_tifffile(byteorder, dtype, codec, predictor): """Test tifffile compression.""" compressionargs = None if codec == 'deflate' and not imagecodecs.ZLIB: # TODO: this should pass in tifffile >= 2020 pytest.xfail('zlib missing') elif codec == 'lzma' and not imagecodecs.LZMA: pytest.xfail('lzma missing') elif codec == 'zstd' and not imagecodecs.ZSTD: pytest.xfail('zstd missing') elif codec == 'packbits' and not imagecodecs.PACKBITS: pytest.xfail('packbits missing') elif codec == 'jpeg': if not imagecodecs.JPEG: pytest.xfail('jpeg missing') if predictor or dtype != 'u1': pytest.xfail('tiff/jpeg do not support this case') elif codec == 'jpegxl': if not imagecodecs.JPEGXL: pytest.xfail('jpegxl missing') if predictor: pytest.xfail('jpegxl does not support predictor') elif codec[:4] == 'lerc': if not imagecodecs.LERC: pytest.xfail('lerc missing') elif dtype == 'f2' or byteorder == '>': pytest.xfail('dtype not supported by lerc') elif dtype == 'f4' and predictor: pytest.xfail('lerc does not work with float predictor') if codec == 'lerc_zstd': if not imagecodecs.ZSTD: pytest.xfail('zstd codec missing') compressionargs = {'compression': 'zstd'} elif codec == 'lerc_deflate': if not imagecodecs.ZLIB: pytest.xfail('zlib codec missing') compressionargs = {'compression': 'deflate'} codec = 'lerc' elif codec == 'webp': if not imagecodecs.WEBP: pytest.xfail('webp missing') elif dtype != 'u1': pytest.xfail('dtype not supported') elif predictor: pytest.xfail('webp does not support predictor') data = image_data('rgb', dtype) if byteorder == '>': > data = data.byteswap().newbyteorder() E AttributeError: `newbyteorder` was removed from the ndarray class in NumPy 2.0. Use `arr.view(arr.dtype.newbyteorder(order))` instead. tests/test_imagecodecs.py:3495: AttributeError ________________________ test_tifffile[lerc-False-u1-<] ________________________ byteorder = '<', dtype = 'u1', codec = 'lerc', predictor = False @pytest.mark.skipif(tifffile is None, reason='tifffile module missing') @pytest.mark.parametrize('byteorder', ['<', '>']) @pytest.mark.parametrize('dtype', ['u1', 'u2', 'f2', 'f4']) @pytest.mark.parametrize('predictor', [False, True]) @pytest.mark.parametrize( 'codec', [ 'deflate', 'lzw', 'lzma', 'zstd', 'packbits', 'webp', 'jpeg', 'lerc', 'lerc_zstd', 'lerc_deflate', ], ) def test_tifffile(byteorder, dtype, codec, predictor): """Test tifffile compression.""" compressionargs = None if codec == 'deflate' and not imagecodecs.ZLIB: # TODO: this should pass in tifffile >= 2020 pytest.xfail('zlib missing') elif codec == 'lzma' and not imagecodecs.LZMA: pytest.xfail('lzma missing') elif codec == 'zstd' and not imagecodecs.ZSTD: pytest.xfail('zstd missing') elif codec == 'packbits' and not imagecodecs.PACKBITS: pytest.xfail('packbits missing') elif codec == 'jpeg': if not imagecodecs.JPEG: pytest.xfail('jpeg missing') if predictor or dtype != 'u1': pytest.xfail('tiff/jpeg do not support this case') elif codec == 'jpegxl': if not imagecodecs.JPEGXL: pytest.xfail('jpegxl missing') if predictor: pytest.xfail('jpegxl does not support predictor') elif codec[:4] == 'lerc': if not imagecodecs.LERC: pytest.xfail('lerc missing') elif dtype == 'f2' or byteorder == '>': pytest.xfail('dtype not supported by lerc') elif dtype == 'f4' and predictor: pytest.xfail('lerc does not work with float predictor') if codec == 'lerc_zstd': if not imagecodecs.ZSTD: pytest.xfail('zstd codec missing') compressionargs = {'compression': 'zstd'} elif codec == 'lerc_deflate': if not imagecodecs.ZLIB: pytest.xfail('zlib codec missing') compressionargs = {'compression': 'deflate'} codec = 'lerc' elif codec == 'webp': if not imagecodecs.WEBP: pytest.xfail('webp missing') elif dtype != 'u1': pytest.xfail('dtype not supported') elif predictor: pytest.xfail('webp does not support predictor') data = image_data('rgb', dtype) if byteorder == '>': data = data.byteswap().newbyteorder() with io.BytesIO() as fh: > tifffile.imwrite( fh, data, photometric='rgb', compression=codec, compressionargs=compressionargs, predictor=predictor, byteorder=byteorder, ) tests/test_imagecodecs.py:3498: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/site-packages/tifffile/tifffile.py:1425: in imwrite result = tif.write( /usr/lib/python3.13/site-packages/tifffile/tifffile.py:3607: in write iteritem = cast(bytes, next(dataiter)) /usr/lib/python3.13/site-packages/tifffile/tifffile.py:22629: in encode_chunks yield func(chunk) /usr/lib/python3.13/site-packages/tifffile/tifffile.py:22623: in func return encode(chunk) /usr/lib/python3.13/site-packages/tifffile/tifffile.py:3380: in compressionfunc return compressor(data, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________________ test_tifffile[lerc-False-u2-<] ________________________ byteorder = '<', dtype = 'u2', codec = 'lerc', predictor = False @pytest.mark.skipif(tifffile is None, reason='tifffile module missing') @pytest.mark.parametrize('byteorder', ['<', '>']) @pytest.mark.parametrize('dtype', ['u1', 'u2', 'f2', 'f4']) @pytest.mark.parametrize('predictor', [False, True]) @pytest.mark.parametrize( 'codec', [ 'deflate', 'lzw', 'lzma', 'zstd', 'packbits', 'webp', 'jpeg', 'lerc', 'lerc_zstd', 'lerc_deflate', ], ) def test_tifffile(byteorder, dtype, codec, predictor): """Test tifffile compression.""" compressionargs = None if codec == 'deflate' and not imagecodecs.ZLIB: # TODO: this should pass in tifffile >= 2020 pytest.xfail('zlib missing') elif codec == 'lzma' and not imagecodecs.LZMA: pytest.xfail('lzma missing') elif codec == 'zstd' and not imagecodecs.ZSTD: pytest.xfail('zstd missing') elif codec == 'packbits' and not imagecodecs.PACKBITS: pytest.xfail('packbits missing') elif codec == 'jpeg': if not imagecodecs.JPEG: pytest.xfail('jpeg missing') if predictor or dtype != 'u1': pytest.xfail('tiff/jpeg do not support this case') elif codec == 'jpegxl': if not imagecodecs.JPEGXL: pytest.xfail('jpegxl missing') if predictor: pytest.xfail('jpegxl does not support predictor') elif codec[:4] == 'lerc': if not imagecodecs.LERC: pytest.xfail('lerc missing') elif dtype == 'f2' or byteorder == '>': pytest.xfail('dtype not supported by lerc') elif dtype == 'f4' and predictor: pytest.xfail('lerc does not work with float predictor') if codec == 'lerc_zstd': if not imagecodecs.ZSTD: pytest.xfail('zstd codec missing') compressionargs = {'compression': 'zstd'} elif codec == 'lerc_deflate': if not imagecodecs.ZLIB: pytest.xfail('zlib codec missing') compressionargs = {'compression': 'deflate'} codec = 'lerc' elif codec == 'webp': if not imagecodecs.WEBP: pytest.xfail('webp missing') elif dtype != 'u1': pytest.xfail('dtype not supported') elif predictor: pytest.xfail('webp does not support predictor') data = image_data('rgb', dtype) if byteorder == '>': data = data.byteswap().newbyteorder() with io.BytesIO() as fh: > tifffile.imwrite( fh, data, photometric='rgb', compression=codec, compressionargs=compressionargs, predictor=predictor, byteorder=byteorder, ) tests/test_imagecodecs.py:3498: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/site-packages/tifffile/tifffile.py:1425: in imwrite result = tif.write( /usr/lib/python3.13/site-packages/tifffile/tifffile.py:3607: in write iteritem = cast(bytes, next(dataiter)) /usr/lib/python3.13/site-packages/tifffile/tifffile.py:22629: in encode_chunks yield func(chunk) /usr/lib/python3.13/site-packages/tifffile/tifffile.py:22623: in func return encode(chunk) /usr/lib/python3.13/site-packages/tifffile/tifffile.py:3380: in compressionfunc return compressor(data, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise ValueError('data type not supported by LERC') E ValueError: data type not supported by LERC imagecodecs/_lerc.pyx:134: ValueError ________________________ test_tifffile[lerc-False-f4-<] ________________________ byteorder = '<', dtype = 'f4', codec = 'lerc', predictor = False @pytest.mark.skipif(tifffile is None, reason='tifffile module missing') @pytest.mark.parametrize('byteorder', ['<', '>']) @pytest.mark.parametrize('dtype', ['u1', 'u2', 'f2', 'f4']) @pytest.mark.parametrize('predictor', [False, True]) @pytest.mark.parametrize( 'codec', [ 'deflate', 'lzw', 'lzma', 'zstd', 'packbits', 'webp', 'jpeg', 'lerc', 'lerc_zstd', 'lerc_deflate', ], ) def test_tifffile(byteorder, dtype, codec, predictor): """Test tifffile compression.""" compressionargs = None if codec == 'deflate' and not imagecodecs.ZLIB: # TODO: this should pass in tifffile >= 2020 pytest.xfail('zlib missing') elif codec == 'lzma' and not imagecodecs.LZMA: pytest.xfail('lzma missing') elif codec == 'zstd' and not imagecodecs.ZSTD: pytest.xfail('zstd missing') elif codec == 'packbits' and not imagecodecs.PACKBITS: pytest.xfail('packbits missing') elif codec == 'jpeg': if not imagecodecs.JPEG: pytest.xfail('jpeg missing') if predictor or dtype != 'u1': pytest.xfail('tiff/jpeg do not support this case') elif codec == 'jpegxl': if not imagecodecs.JPEGXL: pytest.xfail('jpegxl missing') if predictor: pytest.xfail('jpegxl does not support predictor') elif codec[:4] == 'lerc': if not imagecodecs.LERC: pytest.xfail('lerc missing') elif dtype == 'f2' or byteorder == '>': pytest.xfail('dtype not supported by lerc') elif dtype == 'f4' and predictor: pytest.xfail('lerc does not work with float predictor') if codec == 'lerc_zstd': if not imagecodecs.ZSTD: pytest.xfail('zstd codec missing') compressionargs = {'compression': 'zstd'} elif codec == 'lerc_deflate': if not imagecodecs.ZLIB: pytest.xfail('zlib codec missing') compressionargs = {'compression': 'deflate'} codec = 'lerc' elif codec == 'webp': if not imagecodecs.WEBP: pytest.xfail('webp missing') elif dtype != 'u1': pytest.xfail('dtype not supported') elif predictor: pytest.xfail('webp does not support predictor') data = image_data('rgb', dtype) if byteorder == '>': data = data.byteswap().newbyteorder() with io.BytesIO() as fh: > tifffile.imwrite( fh, data, photometric='rgb', compression=codec, compressionargs=compressionargs, predictor=predictor, byteorder=byteorder, ) tests/test_imagecodecs.py:3498: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/site-packages/tifffile/tifffile.py:1425: in imwrite result = tif.write( /usr/lib/python3.13/site-packages/tifffile/tifffile.py:3607: in write iteritem = cast(bytes, next(dataiter)) /usr/lib/python3.13/site-packages/tifffile/tifffile.py:22629: in encode_chunks yield func(chunk) /usr/lib/python3.13/site-packages/tifffile/tifffile.py:22623: in func return encode(chunk) /usr/lib/python3.13/site-packages/tifffile/tifffile.py:3380: in compressionfunc return compressor(data, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise ValueError('data type not supported by LERC') E ValueError: data type not supported by LERC imagecodecs/_lerc.pyx:134: ValueError ________________________ test_tifffile[lerc-True-u1-<] _________________________ byteorder = '<', dtype = 'u1', codec = 'lerc', predictor = True @pytest.mark.skipif(tifffile is None, reason='tifffile module missing') @pytest.mark.parametrize('byteorder', ['<', '>']) @pytest.mark.parametrize('dtype', ['u1', 'u2', 'f2', 'f4']) @pytest.mark.parametrize('predictor', [False, True]) @pytest.mark.parametrize( 'codec', [ 'deflate', 'lzw', 'lzma', 'zstd', 'packbits', 'webp', 'jpeg', 'lerc', 'lerc_zstd', 'lerc_deflate', ], ) def test_tifffile(byteorder, dtype, codec, predictor): """Test tifffile compression.""" compressionargs = None if codec == 'deflate' and not imagecodecs.ZLIB: # TODO: this should pass in tifffile >= 2020 pytest.xfail('zlib missing') elif codec == 'lzma' and not imagecodecs.LZMA: pytest.xfail('lzma missing') elif codec == 'zstd' and not imagecodecs.ZSTD: pytest.xfail('zstd missing') elif codec == 'packbits' and not imagecodecs.PACKBITS: pytest.xfail('packbits missing') elif codec == 'jpeg': if not imagecodecs.JPEG: pytest.xfail('jpeg missing') if predictor or dtype != 'u1': pytest.xfail('tiff/jpeg do not support this case') elif codec == 'jpegxl': if not imagecodecs.JPEGXL: pytest.xfail('jpegxl missing') if predictor: pytest.xfail('jpegxl does not support predictor') elif codec[:4] == 'lerc': if not imagecodecs.LERC: pytest.xfail('lerc missing') elif dtype == 'f2' or byteorder == '>': pytest.xfail('dtype not supported by lerc') elif dtype == 'f4' and predictor: pytest.xfail('lerc does not work with float predictor') if codec == 'lerc_zstd': if not imagecodecs.ZSTD: pytest.xfail('zstd codec missing') compressionargs = {'compression': 'zstd'} elif codec == 'lerc_deflate': if not imagecodecs.ZLIB: pytest.xfail('zlib codec missing') compressionargs = {'compression': 'deflate'} codec = 'lerc' elif codec == 'webp': if not imagecodecs.WEBP: pytest.xfail('webp missing') elif dtype != 'u1': pytest.xfail('dtype not supported') elif predictor: pytest.xfail('webp does not support predictor') data = image_data('rgb', dtype) if byteorder == '>': data = data.byteswap().newbyteorder() with io.BytesIO() as fh: > tifffile.imwrite( fh, data, photometric='rgb', compression=codec, compressionargs=compressionargs, predictor=predictor, byteorder=byteorder, ) tests/test_imagecodecs.py:3498: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/site-packages/tifffile/tifffile.py:1425: in imwrite result = tif.write( /usr/lib/python3.13/site-packages/tifffile/tifffile.py:3607: in write iteritem = cast(bytes, next(dataiter)) /usr/lib/python3.13/site-packages/tifffile/tifffile.py:22629: in encode_chunks yield func(chunk) /usr/lib/python3.13/site-packages/tifffile/tifffile.py:22623: in func return encode(chunk) /usr/lib/python3.13/site-packages/tifffile/tifffile.py:3380: in compressionfunc return compressor(data, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________________ test_tifffile[lerc-True-u2-<] _________________________ byteorder = '<', dtype = 'u2', codec = 'lerc', predictor = True @pytest.mark.skipif(tifffile is None, reason='tifffile module missing') @pytest.mark.parametrize('byteorder', ['<', '>']) @pytest.mark.parametrize('dtype', ['u1', 'u2', 'f2', 'f4']) @pytest.mark.parametrize('predictor', [False, True]) @pytest.mark.parametrize( 'codec', [ 'deflate', 'lzw', 'lzma', 'zstd', 'packbits', 'webp', 'jpeg', 'lerc', 'lerc_zstd', 'lerc_deflate', ], ) def test_tifffile(byteorder, dtype, codec, predictor): """Test tifffile compression.""" compressionargs = None if codec == 'deflate' and not imagecodecs.ZLIB: # TODO: this should pass in tifffile >= 2020 pytest.xfail('zlib missing') elif codec == 'lzma' and not imagecodecs.LZMA: pytest.xfail('lzma missing') elif codec == 'zstd' and not imagecodecs.ZSTD: pytest.xfail('zstd missing') elif codec == 'packbits' and not imagecodecs.PACKBITS: pytest.xfail('packbits missing') elif codec == 'jpeg': if not imagecodecs.JPEG: pytest.xfail('jpeg missing') if predictor or dtype != 'u1': pytest.xfail('tiff/jpeg do not support this case') elif codec == 'jpegxl': if not imagecodecs.JPEGXL: pytest.xfail('jpegxl missing') if predictor: pytest.xfail('jpegxl does not support predictor') elif codec[:4] == 'lerc': if not imagecodecs.LERC: pytest.xfail('lerc missing') elif dtype == 'f2' or byteorder == '>': pytest.xfail('dtype not supported by lerc') elif dtype == 'f4' and predictor: pytest.xfail('lerc does not work with float predictor') if codec == 'lerc_zstd': if not imagecodecs.ZSTD: pytest.xfail('zstd codec missing') compressionargs = {'compression': 'zstd'} elif codec == 'lerc_deflate': if not imagecodecs.ZLIB: pytest.xfail('zlib codec missing') compressionargs = {'compression': 'deflate'} codec = 'lerc' elif codec == 'webp': if not imagecodecs.WEBP: pytest.xfail('webp missing') elif dtype != 'u1': pytest.xfail('dtype not supported') elif predictor: pytest.xfail('webp does not support predictor') data = image_data('rgb', dtype) if byteorder == '>': data = data.byteswap().newbyteorder() with io.BytesIO() as fh: > tifffile.imwrite( fh, data, photometric='rgb', compression=codec, compressionargs=compressionargs, predictor=predictor, byteorder=byteorder, ) tests/test_imagecodecs.py:3498: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/site-packages/tifffile/tifffile.py:1425: in imwrite result = tif.write( /usr/lib/python3.13/site-packages/tifffile/tifffile.py:3607: in write iteritem = cast(bytes, next(dataiter)) /usr/lib/python3.13/site-packages/tifffile/tifffile.py:22629: in encode_chunks yield func(chunk) /usr/lib/python3.13/site-packages/tifffile/tifffile.py:22623: in func return encode(chunk) /usr/lib/python3.13/site-packages/tifffile/tifffile.py:3379: in compressionfunc data = predictorfunc(data, axis=axis) imagecodecs/_imcd.pyx:117: in imagecodecs._imcd.delta_encode return _delta(data, axis=axis, dist=dist, out=out, decode=False) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > data = data.byteswap().newbyteorder() E AttributeError: `newbyteorder` was removed from the ndarray class in NumPy 2.0. Use `arr.view(arr.dtype.newbyteorder(order))` instead. imagecodecs/_imcd.pyx:164: AttributeError _____________________ test_tifffile[lerc_zstd-False-u1-<] ______________________ byteorder = '<', dtype = 'u1', codec = 'lerc', predictor = False @pytest.mark.skipif(tifffile is None, reason='tifffile module missing') @pytest.mark.parametrize('byteorder', ['<', '>']) @pytest.mark.parametrize('dtype', ['u1', 'u2', 'f2', 'f4']) @pytest.mark.parametrize('predictor', [False, True]) @pytest.mark.parametrize( 'codec', [ 'deflate', 'lzw', 'lzma', 'zstd', 'packbits', 'webp', 'jpeg', 'lerc', 'lerc_zstd', 'lerc_deflate', ], ) def test_tifffile(byteorder, dtype, codec, predictor): """Test tifffile compression.""" compressionargs = None if codec == 'deflate' and not imagecodecs.ZLIB: # TODO: this should pass in tifffile >= 2020 pytest.xfail('zlib missing') elif codec == 'lzma' and not imagecodecs.LZMA: pytest.xfail('lzma missing') elif codec == 'zstd' and not imagecodecs.ZSTD: pytest.xfail('zstd missing') elif codec == 'packbits' and not imagecodecs.PACKBITS: pytest.xfail('packbits missing') elif codec == 'jpeg': if not imagecodecs.JPEG: pytest.xfail('jpeg missing') if predictor or dtype != 'u1': pytest.xfail('tiff/jpeg do not support this case') elif codec == 'jpegxl': if not imagecodecs.JPEGXL: pytest.xfail('jpegxl missing') if predictor: pytest.xfail('jpegxl does not support predictor') elif codec[:4] == 'lerc': if not imagecodecs.LERC: pytest.xfail('lerc missing') elif dtype == 'f2' or byteorder == '>': pytest.xfail('dtype not supported by lerc') elif dtype == 'f4' and predictor: pytest.xfail('lerc does not work with float predictor') if codec == 'lerc_zstd': if not imagecodecs.ZSTD: pytest.xfail('zstd codec missing') compressionargs = {'compression': 'zstd'} elif codec == 'lerc_deflate': if not imagecodecs.ZLIB: pytest.xfail('zlib codec missing') compressionargs = {'compression': 'deflate'} codec = 'lerc' elif codec == 'webp': if not imagecodecs.WEBP: pytest.xfail('webp missing') elif dtype != 'u1': pytest.xfail('dtype not supported') elif predictor: pytest.xfail('webp does not support predictor') data = image_data('rgb', dtype) if byteorder == '>': data = data.byteswap().newbyteorder() with io.BytesIO() as fh: > tifffile.imwrite( fh, data, photometric='rgb', compression=codec, compressionargs=compressionargs, predictor=predictor, byteorder=byteorder, ) tests/test_imagecodecs.py:3498: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/site-packages/tifffile/tifffile.py:1425: in imwrite result = tif.write( /usr/lib/python3.13/site-packages/tifffile/tifffile.py:3607: in write iteritem = cast(bytes, next(dataiter)) /usr/lib/python3.13/site-packages/tifffile/tifffile.py:22629: in encode_chunks yield func(chunk) /usr/lib/python3.13/site-packages/tifffile/tifffile.py:22623: in func return encode(chunk) /usr/lib/python3.13/site-packages/tifffile/tifffile.py:3380: in compressionfunc return compressor(data, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _____________________ test_tifffile[lerc_zstd-False-u2-<] ______________________ byteorder = '<', dtype = 'u2', codec = 'lerc', predictor = False @pytest.mark.skipif(tifffile is None, reason='tifffile module missing') @pytest.mark.parametrize('byteorder', ['<', '>']) @pytest.mark.parametrize('dtype', ['u1', 'u2', 'f2', 'f4']) @pytest.mark.parametrize('predictor', [False, True]) @pytest.mark.parametrize( 'codec', [ 'deflate', 'lzw', 'lzma', 'zstd', 'packbits', 'webp', 'jpeg', 'lerc', 'lerc_zstd', 'lerc_deflate', ], ) def test_tifffile(byteorder, dtype, codec, predictor): """Test tifffile compression.""" compressionargs = None if codec == 'deflate' and not imagecodecs.ZLIB: # TODO: this should pass in tifffile >= 2020 pytest.xfail('zlib missing') elif codec == 'lzma' and not imagecodecs.LZMA: pytest.xfail('lzma missing') elif codec == 'zstd' and not imagecodecs.ZSTD: pytest.xfail('zstd missing') elif codec == 'packbits' and not imagecodecs.PACKBITS: pytest.xfail('packbits missing') elif codec == 'jpeg': if not imagecodecs.JPEG: pytest.xfail('jpeg missing') if predictor or dtype != 'u1': pytest.xfail('tiff/jpeg do not support this case') elif codec == 'jpegxl': if not imagecodecs.JPEGXL: pytest.xfail('jpegxl missing') if predictor: pytest.xfail('jpegxl does not support predictor') elif codec[:4] == 'lerc': if not imagecodecs.LERC: pytest.xfail('lerc missing') elif dtype == 'f2' or byteorder == '>': pytest.xfail('dtype not supported by lerc') elif dtype == 'f4' and predictor: pytest.xfail('lerc does not work with float predictor') if codec == 'lerc_zstd': if not imagecodecs.ZSTD: pytest.xfail('zstd codec missing') compressionargs = {'compression': 'zstd'} elif codec == 'lerc_deflate': if not imagecodecs.ZLIB: pytest.xfail('zlib codec missing') compressionargs = {'compression': 'deflate'} codec = 'lerc' elif codec == 'webp': if not imagecodecs.WEBP: pytest.xfail('webp missing') elif dtype != 'u1': pytest.xfail('dtype not supported') elif predictor: pytest.xfail('webp does not support predictor') data = image_data('rgb', dtype) if byteorder == '>': data = data.byteswap().newbyteorder() with io.BytesIO() as fh: > tifffile.imwrite( fh, data, photometric='rgb', compression=codec, compressionargs=compressionargs, predictor=predictor, byteorder=byteorder, ) tests/test_imagecodecs.py:3498: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/site-packages/tifffile/tifffile.py:1425: in imwrite result = tif.write( /usr/lib/python3.13/site-packages/tifffile/tifffile.py:3607: in write iteritem = cast(bytes, next(dataiter)) /usr/lib/python3.13/site-packages/tifffile/tifffile.py:22629: in encode_chunks yield func(chunk) /usr/lib/python3.13/site-packages/tifffile/tifffile.py:22623: in func return encode(chunk) /usr/lib/python3.13/site-packages/tifffile/tifffile.py:3380: in compressionfunc return compressor(data, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise ValueError('data type not supported by LERC') E ValueError: data type not supported by LERC imagecodecs/_lerc.pyx:134: ValueError _____________________ test_tifffile[lerc_zstd-False-f4-<] ______________________ byteorder = '<', dtype = 'f4', codec = 'lerc', predictor = False @pytest.mark.skipif(tifffile is None, reason='tifffile module missing') @pytest.mark.parametrize('byteorder', ['<', '>']) @pytest.mark.parametrize('dtype', ['u1', 'u2', 'f2', 'f4']) @pytest.mark.parametrize('predictor', [False, True]) @pytest.mark.parametrize( 'codec', [ 'deflate', 'lzw', 'lzma', 'zstd', 'packbits', 'webp', 'jpeg', 'lerc', 'lerc_zstd', 'lerc_deflate', ], ) def test_tifffile(byteorder, dtype, codec, predictor): """Test tifffile compression.""" compressionargs = None if codec == 'deflate' and not imagecodecs.ZLIB: # TODO: this should pass in tifffile >= 2020 pytest.xfail('zlib missing') elif codec == 'lzma' and not imagecodecs.LZMA: pytest.xfail('lzma missing') elif codec == 'zstd' and not imagecodecs.ZSTD: pytest.xfail('zstd missing') elif codec == 'packbits' and not imagecodecs.PACKBITS: pytest.xfail('packbits missing') elif codec == 'jpeg': if not imagecodecs.JPEG: pytest.xfail('jpeg missing') if predictor or dtype != 'u1': pytest.xfail('tiff/jpeg do not support this case') elif codec == 'jpegxl': if not imagecodecs.JPEGXL: pytest.xfail('jpegxl missing') if predictor: pytest.xfail('jpegxl does not support predictor') elif codec[:4] == 'lerc': if not imagecodecs.LERC: pytest.xfail('lerc missing') elif dtype == 'f2' or byteorder == '>': pytest.xfail('dtype not supported by lerc') elif dtype == 'f4' and predictor: pytest.xfail('lerc does not work with float predictor') if codec == 'lerc_zstd': if not imagecodecs.ZSTD: pytest.xfail('zstd codec missing') compressionargs = {'compression': 'zstd'} elif codec == 'lerc_deflate': if not imagecodecs.ZLIB: pytest.xfail('zlib codec missing') compressionargs = {'compression': 'deflate'} codec = 'lerc' elif codec == 'webp': if not imagecodecs.WEBP: pytest.xfail('webp missing') elif dtype != 'u1': pytest.xfail('dtype not supported') elif predictor: pytest.xfail('webp does not support predictor') data = image_data('rgb', dtype) if byteorder == '>': data = data.byteswap().newbyteorder() with io.BytesIO() as fh: > tifffile.imwrite( fh, data, photometric='rgb', compression=codec, compressionargs=compressionargs, predictor=predictor, byteorder=byteorder, ) tests/test_imagecodecs.py:3498: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/site-packages/tifffile/tifffile.py:1425: in imwrite result = tif.write( /usr/lib/python3.13/site-packages/tifffile/tifffile.py:3607: in write iteritem = cast(bytes, next(dataiter)) /usr/lib/python3.13/site-packages/tifffile/tifffile.py:22629: in encode_chunks yield func(chunk) /usr/lib/python3.13/site-packages/tifffile/tifffile.py:22623: in func return encode(chunk) /usr/lib/python3.13/site-packages/tifffile/tifffile.py:3380: in compressionfunc return compressor(data, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise ValueError('data type not supported by LERC') E ValueError: data type not supported by LERC imagecodecs/_lerc.pyx:134: ValueError ______________________ test_tifffile[lerc_zstd-True-u1-<] ______________________ byteorder = '<', dtype = 'u1', codec = 'lerc', predictor = True @pytest.mark.skipif(tifffile is None, reason='tifffile module missing') @pytest.mark.parametrize('byteorder', ['<', '>']) @pytest.mark.parametrize('dtype', ['u1', 'u2', 'f2', 'f4']) @pytest.mark.parametrize('predictor', [False, True]) @pytest.mark.parametrize( 'codec', [ 'deflate', 'lzw', 'lzma', 'zstd', 'packbits', 'webp', 'jpeg', 'lerc', 'lerc_zstd', 'lerc_deflate', ], ) def test_tifffile(byteorder, dtype, codec, predictor): """Test tifffile compression.""" compressionargs = None if codec == 'deflate' and not imagecodecs.ZLIB: # TODO: this should pass in tifffile >= 2020 pytest.xfail('zlib missing') elif codec == 'lzma' and not imagecodecs.LZMA: pytest.xfail('lzma missing') elif codec == 'zstd' and not imagecodecs.ZSTD: pytest.xfail('zstd missing') elif codec == 'packbits' and not imagecodecs.PACKBITS: pytest.xfail('packbits missing') elif codec == 'jpeg': if not imagecodecs.JPEG: pytest.xfail('jpeg missing') if predictor or dtype != 'u1': pytest.xfail('tiff/jpeg do not support this case') elif codec == 'jpegxl': if not imagecodecs.JPEGXL: pytest.xfail('jpegxl missing') if predictor: pytest.xfail('jpegxl does not support predictor') elif codec[:4] == 'lerc': if not imagecodecs.LERC: pytest.xfail('lerc missing') elif dtype == 'f2' or byteorder == '>': pytest.xfail('dtype not supported by lerc') elif dtype == 'f4' and predictor: pytest.xfail('lerc does not work with float predictor') if codec == 'lerc_zstd': if not imagecodecs.ZSTD: pytest.xfail('zstd codec missing') compressionargs = {'compression': 'zstd'} elif codec == 'lerc_deflate': if not imagecodecs.ZLIB: pytest.xfail('zlib codec missing') compressionargs = {'compression': 'deflate'} codec = 'lerc' elif codec == 'webp': if not imagecodecs.WEBP: pytest.xfail('webp missing') elif dtype != 'u1': pytest.xfail('dtype not supported') elif predictor: pytest.xfail('webp does not support predictor') data = image_data('rgb', dtype) if byteorder == '>': data = data.byteswap().newbyteorder() with io.BytesIO() as fh: > tifffile.imwrite( fh, data, photometric='rgb', compression=codec, compressionargs=compressionargs, predictor=predictor, byteorder=byteorder, ) tests/test_imagecodecs.py:3498: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/site-packages/tifffile/tifffile.py:1425: in imwrite result = tif.write( /usr/lib/python3.13/site-packages/tifffile/tifffile.py:3607: in write iteritem = cast(bytes, next(dataiter)) /usr/lib/python3.13/site-packages/tifffile/tifffile.py:22629: in encode_chunks yield func(chunk) /usr/lib/python3.13/site-packages/tifffile/tifffile.py:22623: in func return encode(chunk) /usr/lib/python3.13/site-packages/tifffile/tifffile.py:3380: in compressionfunc return compressor(data, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ______________________ test_tifffile[lerc_zstd-True-u2-<] ______________________ byteorder = '<', dtype = 'u2', codec = 'lerc', predictor = True @pytest.mark.skipif(tifffile is None, reason='tifffile module missing') @pytest.mark.parametrize('byteorder', ['<', '>']) @pytest.mark.parametrize('dtype', ['u1', 'u2', 'f2', 'f4']) @pytest.mark.parametrize('predictor', [False, True]) @pytest.mark.parametrize( 'codec', [ 'deflate', 'lzw', 'lzma', 'zstd', 'packbits', 'webp', 'jpeg', 'lerc', 'lerc_zstd', 'lerc_deflate', ], ) def test_tifffile(byteorder, dtype, codec, predictor): """Test tifffile compression.""" compressionargs = None if codec == 'deflate' and not imagecodecs.ZLIB: # TODO: this should pass in tifffile >= 2020 pytest.xfail('zlib missing') elif codec == 'lzma' and not imagecodecs.LZMA: pytest.xfail('lzma missing') elif codec == 'zstd' and not imagecodecs.ZSTD: pytest.xfail('zstd missing') elif codec == 'packbits' and not imagecodecs.PACKBITS: pytest.xfail('packbits missing') elif codec == 'jpeg': if not imagecodecs.JPEG: pytest.xfail('jpeg missing') if predictor or dtype != 'u1': pytest.xfail('tiff/jpeg do not support this case') elif codec == 'jpegxl': if not imagecodecs.JPEGXL: pytest.xfail('jpegxl missing') if predictor: pytest.xfail('jpegxl does not support predictor') elif codec[:4] == 'lerc': if not imagecodecs.LERC: pytest.xfail('lerc missing') elif dtype == 'f2' or byteorder == '>': pytest.xfail('dtype not supported by lerc') elif dtype == 'f4' and predictor: pytest.xfail('lerc does not work with float predictor') if codec == 'lerc_zstd': if not imagecodecs.ZSTD: pytest.xfail('zstd codec missing') compressionargs = {'compression': 'zstd'} elif codec == 'lerc_deflate': if not imagecodecs.ZLIB: pytest.xfail('zlib codec missing') compressionargs = {'compression': 'deflate'} codec = 'lerc' elif codec == 'webp': if not imagecodecs.WEBP: pytest.xfail('webp missing') elif dtype != 'u1': pytest.xfail('dtype not supported') elif predictor: pytest.xfail('webp does not support predictor') data = image_data('rgb', dtype) if byteorder == '>': data = data.byteswap().newbyteorder() with io.BytesIO() as fh: > tifffile.imwrite( fh, data, photometric='rgb', compression=codec, compressionargs=compressionargs, predictor=predictor, byteorder=byteorder, ) tests/test_imagecodecs.py:3498: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/site-packages/tifffile/tifffile.py:1425: in imwrite result = tif.write( /usr/lib/python3.13/site-packages/tifffile/tifffile.py:3607: in write iteritem = cast(bytes, next(dataiter)) /usr/lib/python3.13/site-packages/tifffile/tifffile.py:22629: in encode_chunks yield func(chunk) /usr/lib/python3.13/site-packages/tifffile/tifffile.py:22623: in func return encode(chunk) /usr/lib/python3.13/site-packages/tifffile/tifffile.py:3379: in compressionfunc data = predictorfunc(data, axis=axis) imagecodecs/_imcd.pyx:117: in imagecodecs._imcd.delta_encode return _delta(data, axis=axis, dist=dist, out=out, decode=False) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > data = data.byteswap().newbyteorder() E AttributeError: `newbyteorder` was removed from the ndarray class in NumPy 2.0. Use `arr.view(arr.dtype.newbyteorder(order))` instead. imagecodecs/_imcd.pyx:164: AttributeError ____________________ test_tifffile[lerc_deflate-False-u1-<] ____________________ byteorder = '<', dtype = 'u1', codec = 'lerc', predictor = False @pytest.mark.skipif(tifffile is None, reason='tifffile module missing') @pytest.mark.parametrize('byteorder', ['<', '>']) @pytest.mark.parametrize('dtype', ['u1', 'u2', 'f2', 'f4']) @pytest.mark.parametrize('predictor', [False, True]) @pytest.mark.parametrize( 'codec', [ 'deflate', 'lzw', 'lzma', 'zstd', 'packbits', 'webp', 'jpeg', 'lerc', 'lerc_zstd', 'lerc_deflate', ], ) def test_tifffile(byteorder, dtype, codec, predictor): """Test tifffile compression.""" compressionargs = None if codec == 'deflate' and not imagecodecs.ZLIB: # TODO: this should pass in tifffile >= 2020 pytest.xfail('zlib missing') elif codec == 'lzma' and not imagecodecs.LZMA: pytest.xfail('lzma missing') elif codec == 'zstd' and not imagecodecs.ZSTD: pytest.xfail('zstd missing') elif codec == 'packbits' and not imagecodecs.PACKBITS: pytest.xfail('packbits missing') elif codec == 'jpeg': if not imagecodecs.JPEG: pytest.xfail('jpeg missing') if predictor or dtype != 'u1': pytest.xfail('tiff/jpeg do not support this case') elif codec == 'jpegxl': if not imagecodecs.JPEGXL: pytest.xfail('jpegxl missing') if predictor: pytest.xfail('jpegxl does not support predictor') elif codec[:4] == 'lerc': if not imagecodecs.LERC: pytest.xfail('lerc missing') elif dtype == 'f2' or byteorder == '>': pytest.xfail('dtype not supported by lerc') elif dtype == 'f4' and predictor: pytest.xfail('lerc does not work with float predictor') if codec == 'lerc_zstd': if not imagecodecs.ZSTD: pytest.xfail('zstd codec missing') compressionargs = {'compression': 'zstd'} elif codec == 'lerc_deflate': if not imagecodecs.ZLIB: pytest.xfail('zlib codec missing') compressionargs = {'compression': 'deflate'} codec = 'lerc' elif codec == 'webp': if not imagecodecs.WEBP: pytest.xfail('webp missing') elif dtype != 'u1': pytest.xfail('dtype not supported') elif predictor: pytest.xfail('webp does not support predictor') data = image_data('rgb', dtype) if byteorder == '>': data = data.byteswap().newbyteorder() with io.BytesIO() as fh: > tifffile.imwrite( fh, data, photometric='rgb', compression=codec, compressionargs=compressionargs, predictor=predictor, byteorder=byteorder, ) tests/test_imagecodecs.py:3498: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/site-packages/tifffile/tifffile.py:1425: in imwrite result = tif.write( /usr/lib/python3.13/site-packages/tifffile/tifffile.py:3607: in write iteritem = cast(bytes, next(dataiter)) /usr/lib/python3.13/site-packages/tifffile/tifffile.py:22629: in encode_chunks yield func(chunk) /usr/lib/python3.13/site-packages/tifffile/tifffile.py:22623: in func return encode(chunk) /usr/lib/python3.13/site-packages/tifffile/tifffile.py:3380: in compressionfunc return compressor(data, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________________ test_tifffile[lerc_deflate-False-u2-<] ____________________ byteorder = '<', dtype = 'u2', codec = 'lerc', predictor = False @pytest.mark.skipif(tifffile is None, reason='tifffile module missing') @pytest.mark.parametrize('byteorder', ['<', '>']) @pytest.mark.parametrize('dtype', ['u1', 'u2', 'f2', 'f4']) @pytest.mark.parametrize('predictor', [False, True]) @pytest.mark.parametrize( 'codec', [ 'deflate', 'lzw', 'lzma', 'zstd', 'packbits', 'webp', 'jpeg', 'lerc', 'lerc_zstd', 'lerc_deflate', ], ) def test_tifffile(byteorder, dtype, codec, predictor): """Test tifffile compression.""" compressionargs = None if codec == 'deflate' and not imagecodecs.ZLIB: # TODO: this should pass in tifffile >= 2020 pytest.xfail('zlib missing') elif codec == 'lzma' and not imagecodecs.LZMA: pytest.xfail('lzma missing') elif codec == 'zstd' and not imagecodecs.ZSTD: pytest.xfail('zstd missing') elif codec == 'packbits' and not imagecodecs.PACKBITS: pytest.xfail('packbits missing') elif codec == 'jpeg': if not imagecodecs.JPEG: pytest.xfail('jpeg missing') if predictor or dtype != 'u1': pytest.xfail('tiff/jpeg do not support this case') elif codec == 'jpegxl': if not imagecodecs.JPEGXL: pytest.xfail('jpegxl missing') if predictor: pytest.xfail('jpegxl does not support predictor') elif codec[:4] == 'lerc': if not imagecodecs.LERC: pytest.xfail('lerc missing') elif dtype == 'f2' or byteorder == '>': pytest.xfail('dtype not supported by lerc') elif dtype == 'f4' and predictor: pytest.xfail('lerc does not work with float predictor') if codec == 'lerc_zstd': if not imagecodecs.ZSTD: pytest.xfail('zstd codec missing') compressionargs = {'compression': 'zstd'} elif codec == 'lerc_deflate': if not imagecodecs.ZLIB: pytest.xfail('zlib codec missing') compressionargs = {'compression': 'deflate'} codec = 'lerc' elif codec == 'webp': if not imagecodecs.WEBP: pytest.xfail('webp missing') elif dtype != 'u1': pytest.xfail('dtype not supported') elif predictor: pytest.xfail('webp does not support predictor') data = image_data('rgb', dtype) if byteorder == '>': data = data.byteswap().newbyteorder() with io.BytesIO() as fh: > tifffile.imwrite( fh, data, photometric='rgb', compression=codec, compressionargs=compressionargs, predictor=predictor, byteorder=byteorder, ) tests/test_imagecodecs.py:3498: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/site-packages/tifffile/tifffile.py:1425: in imwrite result = tif.write( /usr/lib/python3.13/site-packages/tifffile/tifffile.py:3607: in write iteritem = cast(bytes, next(dataiter)) /usr/lib/python3.13/site-packages/tifffile/tifffile.py:22629: in encode_chunks yield func(chunk) /usr/lib/python3.13/site-packages/tifffile/tifffile.py:22623: in func return encode(chunk) /usr/lib/python3.13/site-packages/tifffile/tifffile.py:3380: in compressionfunc return compressor(data, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise ValueError('data type not supported by LERC') E ValueError: data type not supported by LERC imagecodecs/_lerc.pyx:134: ValueError ____________________ test_tifffile[lerc_deflate-False-f4-<] ____________________ byteorder = '<', dtype = 'f4', codec = 'lerc', predictor = False @pytest.mark.skipif(tifffile is None, reason='tifffile module missing') @pytest.mark.parametrize('byteorder', ['<', '>']) @pytest.mark.parametrize('dtype', ['u1', 'u2', 'f2', 'f4']) @pytest.mark.parametrize('predictor', [False, True]) @pytest.mark.parametrize( 'codec', [ 'deflate', 'lzw', 'lzma', 'zstd', 'packbits', 'webp', 'jpeg', 'lerc', 'lerc_zstd', 'lerc_deflate', ], ) def test_tifffile(byteorder, dtype, codec, predictor): """Test tifffile compression.""" compressionargs = None if codec == 'deflate' and not imagecodecs.ZLIB: # TODO: this should pass in tifffile >= 2020 pytest.xfail('zlib missing') elif codec == 'lzma' and not imagecodecs.LZMA: pytest.xfail('lzma missing') elif codec == 'zstd' and not imagecodecs.ZSTD: pytest.xfail('zstd missing') elif codec == 'packbits' and not imagecodecs.PACKBITS: pytest.xfail('packbits missing') elif codec == 'jpeg': if not imagecodecs.JPEG: pytest.xfail('jpeg missing') if predictor or dtype != 'u1': pytest.xfail('tiff/jpeg do not support this case') elif codec == 'jpegxl': if not imagecodecs.JPEGXL: pytest.xfail('jpegxl missing') if predictor: pytest.xfail('jpegxl does not support predictor') elif codec[:4] == 'lerc': if not imagecodecs.LERC: pytest.xfail('lerc missing') elif dtype == 'f2' or byteorder == '>': pytest.xfail('dtype not supported by lerc') elif dtype == 'f4' and predictor: pytest.xfail('lerc does not work with float predictor') if codec == 'lerc_zstd': if not imagecodecs.ZSTD: pytest.xfail('zstd codec missing') compressionargs = {'compression': 'zstd'} elif codec == 'lerc_deflate': if not imagecodecs.ZLIB: pytest.xfail('zlib codec missing') compressionargs = {'compression': 'deflate'} codec = 'lerc' elif codec == 'webp': if not imagecodecs.WEBP: pytest.xfail('webp missing') elif dtype != 'u1': pytest.xfail('dtype not supported') elif predictor: pytest.xfail('webp does not support predictor') data = image_data('rgb', dtype) if byteorder == '>': data = data.byteswap().newbyteorder() with io.BytesIO() as fh: > tifffile.imwrite( fh, data, photometric='rgb', compression=codec, compressionargs=compressionargs, predictor=predictor, byteorder=byteorder, ) tests/test_imagecodecs.py:3498: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/site-packages/tifffile/tifffile.py:1425: in imwrite result = tif.write( /usr/lib/python3.13/site-packages/tifffile/tifffile.py:3607: in write iteritem = cast(bytes, next(dataiter)) /usr/lib/python3.13/site-packages/tifffile/tifffile.py:22629: in encode_chunks yield func(chunk) /usr/lib/python3.13/site-packages/tifffile/tifffile.py:22623: in func return encode(chunk) /usr/lib/python3.13/site-packages/tifffile/tifffile.py:3380: in compressionfunc return compressor(data, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise ValueError('data type not supported by LERC') E ValueError: data type not supported by LERC imagecodecs/_lerc.pyx:134: ValueError ____________________ test_tifffile[lerc_deflate-True-u1-<] _____________________ byteorder = '<', dtype = 'u1', codec = 'lerc', predictor = True @pytest.mark.skipif(tifffile is None, reason='tifffile module missing') @pytest.mark.parametrize('byteorder', ['<', '>']) @pytest.mark.parametrize('dtype', ['u1', 'u2', 'f2', 'f4']) @pytest.mark.parametrize('predictor', [False, True]) @pytest.mark.parametrize( 'codec', [ 'deflate', 'lzw', 'lzma', 'zstd', 'packbits', 'webp', 'jpeg', 'lerc', 'lerc_zstd', 'lerc_deflate', ], ) def test_tifffile(byteorder, dtype, codec, predictor): """Test tifffile compression.""" compressionargs = None if codec == 'deflate' and not imagecodecs.ZLIB: # TODO: this should pass in tifffile >= 2020 pytest.xfail('zlib missing') elif codec == 'lzma' and not imagecodecs.LZMA: pytest.xfail('lzma missing') elif codec == 'zstd' and not imagecodecs.ZSTD: pytest.xfail('zstd missing') elif codec == 'packbits' and not imagecodecs.PACKBITS: pytest.xfail('packbits missing') elif codec == 'jpeg': if not imagecodecs.JPEG: pytest.xfail('jpeg missing') if predictor or dtype != 'u1': pytest.xfail('tiff/jpeg do not support this case') elif codec == 'jpegxl': if not imagecodecs.JPEGXL: pytest.xfail('jpegxl missing') if predictor: pytest.xfail('jpegxl does not support predictor') elif codec[:4] == 'lerc': if not imagecodecs.LERC: pytest.xfail('lerc missing') elif dtype == 'f2' or byteorder == '>': pytest.xfail('dtype not supported by lerc') elif dtype == 'f4' and predictor: pytest.xfail('lerc does not work with float predictor') if codec == 'lerc_zstd': if not imagecodecs.ZSTD: pytest.xfail('zstd codec missing') compressionargs = {'compression': 'zstd'} elif codec == 'lerc_deflate': if not imagecodecs.ZLIB: pytest.xfail('zlib codec missing') compressionargs = {'compression': 'deflate'} codec = 'lerc' elif codec == 'webp': if not imagecodecs.WEBP: pytest.xfail('webp missing') elif dtype != 'u1': pytest.xfail('dtype not supported') elif predictor: pytest.xfail('webp does not support predictor') data = image_data('rgb', dtype) if byteorder == '>': data = data.byteswap().newbyteorder() with io.BytesIO() as fh: > tifffile.imwrite( fh, data, photometric='rgb', compression=codec, compressionargs=compressionargs, predictor=predictor, byteorder=byteorder, ) tests/test_imagecodecs.py:3498: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/site-packages/tifffile/tifffile.py:1425: in imwrite result = tif.write( /usr/lib/python3.13/site-packages/tifffile/tifffile.py:3607: in write iteritem = cast(bytes, next(dataiter)) /usr/lib/python3.13/site-packages/tifffile/tifffile.py:22629: in encode_chunks yield func(chunk) /usr/lib/python3.13/site-packages/tifffile/tifffile.py:22623: in func return encode(chunk) /usr/lib/python3.13/site-packages/tifffile/tifffile.py:3380: in compressionfunc return compressor(data, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________________ test_tifffile[lerc_deflate-True-u2-<] _____________________ byteorder = '<', dtype = 'u2', codec = 'lerc', predictor = True @pytest.mark.skipif(tifffile is None, reason='tifffile module missing') @pytest.mark.parametrize('byteorder', ['<', '>']) @pytest.mark.parametrize('dtype', ['u1', 'u2', 'f2', 'f4']) @pytest.mark.parametrize('predictor', [False, True]) @pytest.mark.parametrize( 'codec', [ 'deflate', 'lzw', 'lzma', 'zstd', 'packbits', 'webp', 'jpeg', 'lerc', 'lerc_zstd', 'lerc_deflate', ], ) def test_tifffile(byteorder, dtype, codec, predictor): """Test tifffile compression.""" compressionargs = None if codec == 'deflate' and not imagecodecs.ZLIB: # TODO: this should pass in tifffile >= 2020 pytest.xfail('zlib missing') elif codec == 'lzma' and not imagecodecs.LZMA: pytest.xfail('lzma missing') elif codec == 'zstd' and not imagecodecs.ZSTD: pytest.xfail('zstd missing') elif codec == 'packbits' and not imagecodecs.PACKBITS: pytest.xfail('packbits missing') elif codec == 'jpeg': if not imagecodecs.JPEG: pytest.xfail('jpeg missing') if predictor or dtype != 'u1': pytest.xfail('tiff/jpeg do not support this case') elif codec == 'jpegxl': if not imagecodecs.JPEGXL: pytest.xfail('jpegxl missing') if predictor: pytest.xfail('jpegxl does not support predictor') elif codec[:4] == 'lerc': if not imagecodecs.LERC: pytest.xfail('lerc missing') elif dtype == 'f2' or byteorder == '>': pytest.xfail('dtype not supported by lerc') elif dtype == 'f4' and predictor: pytest.xfail('lerc does not work with float predictor') if codec == 'lerc_zstd': if not imagecodecs.ZSTD: pytest.xfail('zstd codec missing') compressionargs = {'compression': 'zstd'} elif codec == 'lerc_deflate': if not imagecodecs.ZLIB: pytest.xfail('zlib codec missing') compressionargs = {'compression': 'deflate'} codec = 'lerc' elif codec == 'webp': if not imagecodecs.WEBP: pytest.xfail('webp missing') elif dtype != 'u1': pytest.xfail('dtype not supported') elif predictor: pytest.xfail('webp does not support predictor') data = image_data('rgb', dtype) if byteorder == '>': data = data.byteswap().newbyteorder() with io.BytesIO() as fh: > tifffile.imwrite( fh, data, photometric='rgb', compression=codec, compressionargs=compressionargs, predictor=predictor, byteorder=byteorder, ) tests/test_imagecodecs.py:3498: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/site-packages/tifffile/tifffile.py:1425: in imwrite result = tif.write( /usr/lib/python3.13/site-packages/tifffile/tifffile.py:3607: in write iteritem = cast(bytes, next(dataiter)) /usr/lib/python3.13/site-packages/tifffile/tifffile.py:22629: in encode_chunks yield func(chunk) /usr/lib/python3.13/site-packages/tifffile/tifffile.py:22623: in func return encode(chunk) /usr/lib/python3.13/site-packages/tifffile/tifffile.py:3379: in compressionfunc data = predictorfunc(data, axis=axis) imagecodecs/_imcd.pyx:117: in imagecodecs._imcd.delta_encode return _delta(data, axis=axis, dist=dist, out=out, decode=False) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > data = data.byteswap().newbyteorder() E AttributeError: `newbyteorder` was removed from the ndarray class in NumPy 2.0. Use `arr.view(arr.dtype.newbyteorder(order))` instead. imagecodecs/_imcd.pyx:164: AttributeError _________________________ test_numcodecs[float24-gray] _________________________ codec = 'float24', photometric = 'gray' @pytest.mark.skipif(SKIP_NUMCODECS, reason='zarr or numcodecs missing') @pytest.mark.parametrize('photometric', ['gray', 'rgb']) @pytest.mark.parametrize( 'codec', [ 'aec', 'apng', 'avif', 'bitorder', 'bitshuffle', 'blosc', 'blosc2', # 'brotli', # failing 'byteshuffle', 'bz2', # 'cms', 'deflate', 'delta', 'float24', 'floatpred', 'gif', 'heif', # 'jetraw', # encoder requires a license 'jpeg', 'jpeg12', 'jpeg2k', 'jpegls', 'jpegxl', 'jpegxr', 'lerc', 'ljpeg', 'lz4', 'lz4f', 'lzf', 'lzfse', 'lzham', 'lzma', 'lzw', 'packbits', 'pglz', 'png', 'qoi', 'rgbe', 'rcomp', 'snappy', 'spng', 'tiff', # no encoder 'webp', 'xor', 'zfp', 'zlib', 'zlibng', 'zopfli', 'zstd', ], ) def test_numcodecs(codec, photometric): """Test numcodecs though roundtrips.""" data = numpy.load(datafiles('rgb.u1.npy')) data = numpy.stack([data, data]) if photometric == 'rgb': shape = data.shape chunks = (1, 128, 128, 3) axis = -2 else: data = data[:, :, 1].copy() shape = data.shape chunks = (1, 128, 128) axis = -1 lossless = True if codec == 'aec': if not imagecodecs.AEC: pytest.skip(f'{codec} not found') compressor = numcodecs.Aec( bitspersample=None, flags=None, blocksize=None, rsi=None ) elif codec == 'apng': if not imagecodecs.APNG: pytest.skip(f'{codec} not found') compressor = numcodecs.Apng(photometric=photometric, delay=100) elif codec == 'avif': if not imagecodecs.AVIF: pytest.skip(f'{codec} not found') if photometric != 'rgb': pytest.xfail('AVIF does not support grayscale') compressor = numcodecs.Avif( level=0, speed=None, tilelog2=None, bitspersample=None, pixelformat=None, numthreads=2, ) # lossless elif codec == 'bitorder': if not imagecodecs.BITORDER: pytest.skip(f'{codec} not found') compressor = numcodecs.Bitorder() elif codec == 'bitshuffle': if not imagecodecs.BITSHUFFLE: pytest.skip(f'{codec} not found') compressor = numcodecs.Bitshuffle( itemsize=data.dtype.itemsize, blocksize=0 ) elif codec == 'blosc': if not imagecodecs.BLOSC: pytest.skip(f'{codec} not found') compressor = numcodecs.Blosc( level=9, compressor='blosclz', typesize=data.dtype.itemsize * 8, blocksize=None, shuffle=None, numthreads=2, ) elif codec == 'blosc2': if not imagecodecs.BLOSC2: pytest.skip(f'{codec} not found') compressor = numcodecs.Blosc2( level=9, compressor='blosclz', typesize=data.dtype.itemsize * 8, blocksize=None, shuffle=None, numthreads=2, ) elif codec == 'brotli': if not imagecodecs.BROTLI: pytest.skip(f'{codec} not found') # TODO: why are these failing? pytest.xfail('not sure why this is failing') compressor = numcodecs.Brotli(level=11, mode=None, lgwin=None) elif codec == 'byteshuffle': if not imagecodecs.BYTESHUFFLE: pytest.skip(f'{codec} not found') data = data.astype('int16') compressor = numcodecs.ByteShuffle( shape=chunks, dtype=data.dtype, axis=axis ) elif codec == 'bz2': if not imagecodecs.BZ2: pytest.skip(f'{codec} not found') compressor = numcodecs.Bz2(level=9) elif codec == 'deflate': if not imagecodecs.DEFLATE: pytest.skip(f'{codec} not found') compressor = numcodecs.Deflate(level=8) elif codec == 'delta': if not imagecodecs.DELTA: pytest.skip(f'{codec} not found') compressor = numcodecs.Delta(shape=chunks, dtype=data.dtype, axis=axis) elif codec == 'float24': if not imagecodecs.FLOAT24: pytest.skip(f'{codec} not found') data = data.astype('float32') compressor = numcodecs.Float24() elif codec == 'floatpred': if not imagecodecs.FLOATPRED: pytest.skip(f'{codec} not found') data = data.astype('float32') compressor = numcodecs.FloatPred( shape=chunks, dtype=data.dtype, axis=axis ) elif codec == 'gif': if not imagecodecs.GIF: pytest.skip(f'{codec} not found') compressor = numcodecs.Gif() elif codec == 'heif': if not imagecodecs.HEIF: pytest.skip(f'{codec} not found') compressor = numcodecs.Heif(photometric=photometric) lossless = False # TODO: lossless not working atol = 1 elif codec == 'jetraw': if not imagecodecs.JETRAW: pytest.skip(f'{codec} not found') if photometric == 'rgb': pytest.xfail('Jetraw does not support RGB') compressor = numcodecs.Jetraw( shape=chunks, identifier='500202_fast_bin1x' ) data = data.astype('uint16') lossless = False atol = 32 elif codec == 'jpeg': if not imagecodecs.JPEG: pytest.skip(f'{codec} not found') lossless = False atol = 4 compressor = numcodecs.Jpeg(level=99) elif codec == 'jpeg12': if not imagecodecs.JPEG12: pytest.skip(f'{codec} not found') lossless = False atol = 4 << 4 data = data.astype('uint16') << 4 compressor = numcodecs.Jpeg(level=99, bitspersample=12) elif codec == 'jpeg2k': if not imagecodecs.JPEG2K: pytest.skip(f'{codec} not found') compressor = numcodecs.Jpeg2k(level=0) # lossless elif codec == 'jpegls': if not imagecodecs.JPEGLS: pytest.skip(f'{codec} not found') compressor = numcodecs.JpegLs(level=0) # lossless elif codec == 'jpegxl': if not imagecodecs.JPEGXL: pytest.skip(f'{codec} not found') compressor = numcodecs.JpegXl(level=101) # lossless elif codec == 'jpegxr': if not imagecodecs.JPEGXR: pytest.skip(f'{codec} not found') compressor = numcodecs.JpegXr( level=1.0, photometric='RGB' if photometric == 'rgb' else None ) # lossless elif codec == 'lerc': if not imagecodecs.LERC: pytest.skip(f'{codec} not found') if imagecodecs.ZSTD: compression = 'zstd' compressionargs = {'level': 10} else: compression = None compressionargs = None compressor = numcodecs.Lerc( level=0.0, compression=compression, compressionargs=compressionargs ) elif codec == 'ljpeg': if not imagecodecs.LJPEG: pytest.skip(f'{codec} not found') if photometric == 'rgb': pytest.xfail('LJPEG does not support rgb') data = data.astype('uint16') << 2 compressor = numcodecs.Ljpeg(bitspersample=10) elif codec == 'lz4': if not imagecodecs.LZ4: pytest.skip(f'{codec} not found') compressor = numcodecs.Lz4(level=10, hc=True, header=True) elif codec == 'lz4f': if not imagecodecs.LZ4F: pytest.skip(f'{codec} not found') compressor = numcodecs.Lz4f( level=12, blocksizeid=False, contentchecksum=True, blockchecksum=True, ) elif codec == 'lzf': if not imagecodecs.LZF: pytest.skip(f'{codec} not found') compressor = numcodecs.Lzf(header=True) elif codec == 'lzfse': if not imagecodecs.LZFSE: pytest.skip(f'{codec} not found') compressor = numcodecs.Lzfse() elif codec == 'lzham': if not imagecodecs.LZHAM: pytest.skip(f'{codec} not found') compressor = numcodecs.Lzham(level=6) elif codec == 'lzma': if not imagecodecs.LZMA: pytest.skip(f'{codec} not found') compressor = numcodecs.Lzma( level=6, check=imagecodecs.LZMA.CHECK.CRC32 ) elif codec == 'lzw': if not imagecodecs.LZW: pytest.skip(f'{codec} not found') compressor = numcodecs.Lzw() elif codec == 'packbits': if not imagecodecs.PACKBITS: pytest.skip(f'{codec} not found') if photometric == 'rgb': compressor = numcodecs.PackBits(axis=-2) else: compressor = numcodecs.PackBits() elif codec == 'pglz': if not imagecodecs.PGLZ: pytest.skip(f'{codec} not found') compressor = numcodecs.Pglz(strategy=None) elif codec == 'png': if not imagecodecs.PNG: pytest.skip(f'{codec} not found') compressor = numcodecs.Png() elif codec == 'qoi': if not imagecodecs.QOI: pytest.skip(f'{codec} not found') compressor = numcodecs.Qoi() if photometric != 'rgb': pytest.xfail('QOI does not support grayscale') elif codec == 'rgbe': if not imagecodecs.RGBE: pytest.skip(f'{codec} not found') if photometric != 'rgb': pytest.xfail('RGBE does not support grayscale') data = data.astype('float32') # lossless = False compressor = numcodecs.Rgbe(shape=chunks[-3:], header=False, rle=True) elif codec == 'rcomp': if not imagecodecs.RCOMP: pytest.skip(f'{codec} not found') compressor = numcodecs.Rcomp(shape=chunks, dtype=data.dtype) elif codec == 'snappy': if not imagecodecs.SNAPPY: pytest.skip(f'{codec} not found') compressor = numcodecs.Snappy() elif codec == 'spng': if not imagecodecs.SPNG: pytest.skip(f'{codec} not found') compressor = numcodecs.Spng() elif codec == 'tiff': if not imagecodecs.TIFF: pytest.skip(f'{codec} not found') pytest.xfail('TIFF encode not implemented') compressor = numcodecs.Tiff() elif codec == 'webp': if not imagecodecs.WEBP: pytest.skip(f'{codec} not found') if photometric != 'rgb': pytest.xfail('WebP does not support grayscale') compressor = numcodecs.Webp(level=-1) elif codec == 'xor': if not imagecodecs.XOR: pytest.skip(f'{codec} not found') compressor = numcodecs.Xor(shape=chunks, dtype=data.dtype, axis=axis) elif codec == 'zfp': if not imagecodecs.ZFP: pytest.skip(f'{codec} not found') data = data.astype('float32') compressor = numcodecs.Zfp( shape=chunks, dtype=data.dtype, header=False ) elif codec == 'zlib': if not imagecodecs.ZLIB: pytest.skip(f'{codec} not found') compressor = numcodecs.Zlib(level=6) elif codec == 'zlibng': if not imagecodecs.ZLIBNG: pytest.skip(f'{codec} not found') compressor = numcodecs.Zlibng(level=6) elif codec == 'zopfli': if not imagecodecs.ZOPFLI: pytest.skip(f'{codec} not found') compressor = numcodecs.Zopfli() elif codec == 'zstd': if not imagecodecs.ZSTD: pytest.skip(f'{codec} not found') compressor = numcodecs.Zstd(level=10) else: raise RuntimeError() if 0: # use ZIP file on disk fname = f'test_{codec}.{photometric}.{data.dtype.str[1:]}.zarr.zip' store = zarr.ZipStore(fname, mode='w') else: store = zarr.MemoryStore() z = zarr.create( store=store, overwrite=True, shape=shape, chunks=chunks, dtype=data.dtype.str, compressor=compressor, ) z[:] = data del z z = zarr.open(store, mode='r') if codec == 'jetraw': pass # it does not make sense to test Jetraw on tiled, synthetic data elif lossless: > assert_array_equal(z[:], data) tests/test_imagecodecs.py:3955: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ args = (array([[[0., 0., 0.], [0., 0., 0.], [0., 0., 0.], ..., [0., 0., 0.], [0., 0.,... [123., 58., 149.], [122., 54., 152.], [121., 51., 155.]]], shape=(2, 201, 3), dtype=float32)) kwargs = {}, old_name = 'y', new_name = 'desired' @functools.wraps(fun) def wrapper(*args, **kwargs): for old_name, new_name in zip(old_names, new_names): if old_name in kwargs: if dep_version: end_version = dep_version.split('.') end_version[1] = str(int(end_version[1]) + 2) end_version = '.'.join(end_version) msg = (f"Use of keyword argument `{old_name}` is " f"deprecated and replaced by `{new_name}`. " f"Support for `{old_name}` will be removed " f"in NumPy {end_version}.") warnings.warn(msg, DeprecationWarning, stacklevel=2) if new_name in kwargs: msg = (f"{fun.__name__}() got multiple values for " f"argument now known as `{new_name}`") raise TypeError(msg) kwargs[new_name] = kwargs.pop(old_name) > return fun(*args, **kwargs) E AssertionError: E Arrays are not equal E E Mismatched elements: 1206 / 1206 (100%) E Max absolute difference among violations: 244. E Max relative difference among violations: 1. E ACTUAL: array([[[0., 0., 0.], E [0., 0., 0.], E [0., 0., 0.],... E DESIRED: array([[[128., 140., 224.], E [132., 137., 222.], E [136., 133., 220.],... /usr/lib64/python3.13/site-packages/numpy/_utils/__init__.py:85: AssertionError _________________________ test_numcodecs[float24-rgb] __________________________ codec = 'float24', photometric = 'rgb' @pytest.mark.skipif(SKIP_NUMCODECS, reason='zarr or numcodecs missing') @pytest.mark.parametrize('photometric', ['gray', 'rgb']) @pytest.mark.parametrize( 'codec', [ 'aec', 'apng', 'avif', 'bitorder', 'bitshuffle', 'blosc', 'blosc2', # 'brotli', # failing 'byteshuffle', 'bz2', # 'cms', 'deflate', 'delta', 'float24', 'floatpred', 'gif', 'heif', # 'jetraw', # encoder requires a license 'jpeg', 'jpeg12', 'jpeg2k', 'jpegls', 'jpegxl', 'jpegxr', 'lerc', 'ljpeg', 'lz4', 'lz4f', 'lzf', 'lzfse', 'lzham', 'lzma', 'lzw', 'packbits', 'pglz', 'png', 'qoi', 'rgbe', 'rcomp', 'snappy', 'spng', 'tiff', # no encoder 'webp', 'xor', 'zfp', 'zlib', 'zlibng', 'zopfli', 'zstd', ], ) def test_numcodecs(codec, photometric): """Test numcodecs though roundtrips.""" data = numpy.load(datafiles('rgb.u1.npy')) data = numpy.stack([data, data]) if photometric == 'rgb': shape = data.shape chunks = (1, 128, 128, 3) axis = -2 else: data = data[:, :, 1].copy() shape = data.shape chunks = (1, 128, 128) axis = -1 lossless = True if codec == 'aec': if not imagecodecs.AEC: pytest.skip(f'{codec} not found') compressor = numcodecs.Aec( bitspersample=None, flags=None, blocksize=None, rsi=None ) elif codec == 'apng': if not imagecodecs.APNG: pytest.skip(f'{codec} not found') compressor = numcodecs.Apng(photometric=photometric, delay=100) elif codec == 'avif': if not imagecodecs.AVIF: pytest.skip(f'{codec} not found') if photometric != 'rgb': pytest.xfail('AVIF does not support grayscale') compressor = numcodecs.Avif( level=0, speed=None, tilelog2=None, bitspersample=None, pixelformat=None, numthreads=2, ) # lossless elif codec == 'bitorder': if not imagecodecs.BITORDER: pytest.skip(f'{codec} not found') compressor = numcodecs.Bitorder() elif codec == 'bitshuffle': if not imagecodecs.BITSHUFFLE: pytest.skip(f'{codec} not found') compressor = numcodecs.Bitshuffle( itemsize=data.dtype.itemsize, blocksize=0 ) elif codec == 'blosc': if not imagecodecs.BLOSC: pytest.skip(f'{codec} not found') compressor = numcodecs.Blosc( level=9, compressor='blosclz', typesize=data.dtype.itemsize * 8, blocksize=None, shuffle=None, numthreads=2, ) elif codec == 'blosc2': if not imagecodecs.BLOSC2: pytest.skip(f'{codec} not found') compressor = numcodecs.Blosc2( level=9, compressor='blosclz', typesize=data.dtype.itemsize * 8, blocksize=None, shuffle=None, numthreads=2, ) elif codec == 'brotli': if not imagecodecs.BROTLI: pytest.skip(f'{codec} not found') # TODO: why are these failing? pytest.xfail('not sure why this is failing') compressor = numcodecs.Brotli(level=11, mode=None, lgwin=None) elif codec == 'byteshuffle': if not imagecodecs.BYTESHUFFLE: pytest.skip(f'{codec} not found') data = data.astype('int16') compressor = numcodecs.ByteShuffle( shape=chunks, dtype=data.dtype, axis=axis ) elif codec == 'bz2': if not imagecodecs.BZ2: pytest.skip(f'{codec} not found') compressor = numcodecs.Bz2(level=9) elif codec == 'deflate': if not imagecodecs.DEFLATE: pytest.skip(f'{codec} not found') compressor = numcodecs.Deflate(level=8) elif codec == 'delta': if not imagecodecs.DELTA: pytest.skip(f'{codec} not found') compressor = numcodecs.Delta(shape=chunks, dtype=data.dtype, axis=axis) elif codec == 'float24': if not imagecodecs.FLOAT24: pytest.skip(f'{codec} not found') data = data.astype('float32') compressor = numcodecs.Float24() elif codec == 'floatpred': if not imagecodecs.FLOATPRED: pytest.skip(f'{codec} not found') data = data.astype('float32') compressor = numcodecs.FloatPred( shape=chunks, dtype=data.dtype, axis=axis ) elif codec == 'gif': if not imagecodecs.GIF: pytest.skip(f'{codec} not found') compressor = numcodecs.Gif() elif codec == 'heif': if not imagecodecs.HEIF: pytest.skip(f'{codec} not found') compressor = numcodecs.Heif(photometric=photometric) lossless = False # TODO: lossless not working atol = 1 elif codec == 'jetraw': if not imagecodecs.JETRAW: pytest.skip(f'{codec} not found') if photometric == 'rgb': pytest.xfail('Jetraw does not support RGB') compressor = numcodecs.Jetraw( shape=chunks, identifier='500202_fast_bin1x' ) data = data.astype('uint16') lossless = False atol = 32 elif codec == 'jpeg': if not imagecodecs.JPEG: pytest.skip(f'{codec} not found') lossless = False atol = 4 compressor = numcodecs.Jpeg(level=99) elif codec == 'jpeg12': if not imagecodecs.JPEG12: pytest.skip(f'{codec} not found') lossless = False atol = 4 << 4 data = data.astype('uint16') << 4 compressor = numcodecs.Jpeg(level=99, bitspersample=12) elif codec == 'jpeg2k': if not imagecodecs.JPEG2K: pytest.skip(f'{codec} not found') compressor = numcodecs.Jpeg2k(level=0) # lossless elif codec == 'jpegls': if not imagecodecs.JPEGLS: pytest.skip(f'{codec} not found') compressor = numcodecs.JpegLs(level=0) # lossless elif codec == 'jpegxl': if not imagecodecs.JPEGXL: pytest.skip(f'{codec} not found') compressor = numcodecs.JpegXl(level=101) # lossless elif codec == 'jpegxr': if not imagecodecs.JPEGXR: pytest.skip(f'{codec} not found') compressor = numcodecs.JpegXr( level=1.0, photometric='RGB' if photometric == 'rgb' else None ) # lossless elif codec == 'lerc': if not imagecodecs.LERC: pytest.skip(f'{codec} not found') if imagecodecs.ZSTD: compression = 'zstd' compressionargs = {'level': 10} else: compression = None compressionargs = None compressor = numcodecs.Lerc( level=0.0, compression=compression, compressionargs=compressionargs ) elif codec == 'ljpeg': if not imagecodecs.LJPEG: pytest.skip(f'{codec} not found') if photometric == 'rgb': pytest.xfail('LJPEG does not support rgb') data = data.astype('uint16') << 2 compressor = numcodecs.Ljpeg(bitspersample=10) elif codec == 'lz4': if not imagecodecs.LZ4: pytest.skip(f'{codec} not found') compressor = numcodecs.Lz4(level=10, hc=True, header=True) elif codec == 'lz4f': if not imagecodecs.LZ4F: pytest.skip(f'{codec} not found') compressor = numcodecs.Lz4f( level=12, blocksizeid=False, contentchecksum=True, blockchecksum=True, ) elif codec == 'lzf': if not imagecodecs.LZF: pytest.skip(f'{codec} not found') compressor = numcodecs.Lzf(header=True) elif codec == 'lzfse': if not imagecodecs.LZFSE: pytest.skip(f'{codec} not found') compressor = numcodecs.Lzfse() elif codec == 'lzham': if not imagecodecs.LZHAM: pytest.skip(f'{codec} not found') compressor = numcodecs.Lzham(level=6) elif codec == 'lzma': if not imagecodecs.LZMA: pytest.skip(f'{codec} not found') compressor = numcodecs.Lzma( level=6, check=imagecodecs.LZMA.CHECK.CRC32 ) elif codec == 'lzw': if not imagecodecs.LZW: pytest.skip(f'{codec} not found') compressor = numcodecs.Lzw() elif codec == 'packbits': if not imagecodecs.PACKBITS: pytest.skip(f'{codec} not found') if photometric == 'rgb': compressor = numcodecs.PackBits(axis=-2) else: compressor = numcodecs.PackBits() elif codec == 'pglz': if not imagecodecs.PGLZ: pytest.skip(f'{codec} not found') compressor = numcodecs.Pglz(strategy=None) elif codec == 'png': if not imagecodecs.PNG: pytest.skip(f'{codec} not found') compressor = numcodecs.Png() elif codec == 'qoi': if not imagecodecs.QOI: pytest.skip(f'{codec} not found') compressor = numcodecs.Qoi() if photometric != 'rgb': pytest.xfail('QOI does not support grayscale') elif codec == 'rgbe': if not imagecodecs.RGBE: pytest.skip(f'{codec} not found') if photometric != 'rgb': pytest.xfail('RGBE does not support grayscale') data = data.astype('float32') # lossless = False compressor = numcodecs.Rgbe(shape=chunks[-3:], header=False, rle=True) elif codec == 'rcomp': if not imagecodecs.RCOMP: pytest.skip(f'{codec} not found') compressor = numcodecs.Rcomp(shape=chunks, dtype=data.dtype) elif codec == 'snappy': if not imagecodecs.SNAPPY: pytest.skip(f'{codec} not found') compressor = numcodecs.Snappy() elif codec == 'spng': if not imagecodecs.SPNG: pytest.skip(f'{codec} not found') compressor = numcodecs.Spng() elif codec == 'tiff': if not imagecodecs.TIFF: pytest.skip(f'{codec} not found') pytest.xfail('TIFF encode not implemented') compressor = numcodecs.Tiff() elif codec == 'webp': if not imagecodecs.WEBP: pytest.skip(f'{codec} not found') if photometric != 'rgb': pytest.xfail('WebP does not support grayscale') compressor = numcodecs.Webp(level=-1) elif codec == 'xor': if not imagecodecs.XOR: pytest.skip(f'{codec} not found') compressor = numcodecs.Xor(shape=chunks, dtype=data.dtype, axis=axis) elif codec == 'zfp': if not imagecodecs.ZFP: pytest.skip(f'{codec} not found') data = data.astype('float32') compressor = numcodecs.Zfp( shape=chunks, dtype=data.dtype, header=False ) elif codec == 'zlib': if not imagecodecs.ZLIB: pytest.skip(f'{codec} not found') compressor = numcodecs.Zlib(level=6) elif codec == 'zlibng': if not imagecodecs.ZLIBNG: pytest.skip(f'{codec} not found') compressor = numcodecs.Zlibng(level=6) elif codec == 'zopfli': if not imagecodecs.ZOPFLI: pytest.skip(f'{codec} not found') compressor = numcodecs.Zopfli() elif codec == 'zstd': if not imagecodecs.ZSTD: pytest.skip(f'{codec} not found') compressor = numcodecs.Zstd(level=10) else: raise RuntimeError() if 0: # use ZIP file on disk fname = f'test_{codec}.{photometric}.{data.dtype.str[1:]}.zarr.zip' store = zarr.ZipStore(fname, mode='w') else: store = zarr.MemoryStore() z = zarr.create( store=store, overwrite=True, shape=shape, chunks=chunks, dtype=data.dtype.str, compressor=compressor, ) z[:] = data del z z = zarr.open(store, mode='r') if codec == 'jetraw': pass # it does not make sense to test Jetraw on tiled, synthetic data elif lossless: > assert_array_equal(z[:], data) tests/test_imagecodecs.py:3955: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ args = (array([[[[0., 0., 0.], [0., 0., 0.], [0., 0., 0.], ..., [0., 0., 0.], [0...145., 150., 150.], [145., 150., 148.], [144., 149., 146.]]]], shape=(2, 201, 301, 3), dtype=float32)) kwargs = {}, old_name = 'y', new_name = 'desired' @functools.wraps(fun) def wrapper(*args, **kwargs): for old_name, new_name in zip(old_names, new_names): if old_name in kwargs: if dep_version: end_version = dep_version.split('.') end_version[1] = str(int(end_version[1]) + 2) end_version = '.'.join(end_version) msg = (f"Use of keyword argument `{old_name}` is " f"deprecated and replaced by `{new_name}`. " f"Support for `{old_name}` will be removed " f"in NumPy {end_version}.") warnings.warn(msg, DeprecationWarning, stacklevel=2) if new_name in kwargs: msg = (f"{fun.__name__}() got multiple values for " f"argument now known as `{new_name}`") raise TypeError(msg) kwargs[new_name] = kwargs.pop(old_name) > return fun(*args, **kwargs) E AssertionError: E Arrays are not equal E E Mismatched elements: 363006 / 363006 (100%) E Max absolute difference among violations: 250. E Max relative difference among violations: 1. E ACTUAL: array([[[[0., 0., 0.], E [0., 0., 0.], E [0., 0., 0.],... E DESIRED: array([[[[128., 141., 224.], E [128., 140., 224.], E [128., 139., 224.],... /usr/lib64/python3.13/site-packages/numpy/_utils/__init__.py:85: AssertionError __________________________ test_numcodecs[lerc-gray] ___________________________ codec = 'lerc', photometric = 'gray' @pytest.mark.skipif(SKIP_NUMCODECS, reason='zarr or numcodecs missing') @pytest.mark.parametrize('photometric', ['gray', 'rgb']) @pytest.mark.parametrize( 'codec', [ 'aec', 'apng', 'avif', 'bitorder', 'bitshuffle', 'blosc', 'blosc2', # 'brotli', # failing 'byteshuffle', 'bz2', # 'cms', 'deflate', 'delta', 'float24', 'floatpred', 'gif', 'heif', # 'jetraw', # encoder requires a license 'jpeg', 'jpeg12', 'jpeg2k', 'jpegls', 'jpegxl', 'jpegxr', 'lerc', 'ljpeg', 'lz4', 'lz4f', 'lzf', 'lzfse', 'lzham', 'lzma', 'lzw', 'packbits', 'pglz', 'png', 'qoi', 'rgbe', 'rcomp', 'snappy', 'spng', 'tiff', # no encoder 'webp', 'xor', 'zfp', 'zlib', 'zlibng', 'zopfli', 'zstd', ], ) def test_numcodecs(codec, photometric): """Test numcodecs though roundtrips.""" data = numpy.load(datafiles('rgb.u1.npy')) data = numpy.stack([data, data]) if photometric == 'rgb': shape = data.shape chunks = (1, 128, 128, 3) axis = -2 else: data = data[:, :, 1].copy() shape = data.shape chunks = (1, 128, 128) axis = -1 lossless = True if codec == 'aec': if not imagecodecs.AEC: pytest.skip(f'{codec} not found') compressor = numcodecs.Aec( bitspersample=None, flags=None, blocksize=None, rsi=None ) elif codec == 'apng': if not imagecodecs.APNG: pytest.skip(f'{codec} not found') compressor = numcodecs.Apng(photometric=photometric, delay=100) elif codec == 'avif': if not imagecodecs.AVIF: pytest.skip(f'{codec} not found') if photometric != 'rgb': pytest.xfail('AVIF does not support grayscale') compressor = numcodecs.Avif( level=0, speed=None, tilelog2=None, bitspersample=None, pixelformat=None, numthreads=2, ) # lossless elif codec == 'bitorder': if not imagecodecs.BITORDER: pytest.skip(f'{codec} not found') compressor = numcodecs.Bitorder() elif codec == 'bitshuffle': if not imagecodecs.BITSHUFFLE: pytest.skip(f'{codec} not found') compressor = numcodecs.Bitshuffle( itemsize=data.dtype.itemsize, blocksize=0 ) elif codec == 'blosc': if not imagecodecs.BLOSC: pytest.skip(f'{codec} not found') compressor = numcodecs.Blosc( level=9, compressor='blosclz', typesize=data.dtype.itemsize * 8, blocksize=None, shuffle=None, numthreads=2, ) elif codec == 'blosc2': if not imagecodecs.BLOSC2: pytest.skip(f'{codec} not found') compressor = numcodecs.Blosc2( level=9, compressor='blosclz', typesize=data.dtype.itemsize * 8, blocksize=None, shuffle=None, numthreads=2, ) elif codec == 'brotli': if not imagecodecs.BROTLI: pytest.skip(f'{codec} not found') # TODO: why are these failing? pytest.xfail('not sure why this is failing') compressor = numcodecs.Brotli(level=11, mode=None, lgwin=None) elif codec == 'byteshuffle': if not imagecodecs.BYTESHUFFLE: pytest.skip(f'{codec} not found') data = data.astype('int16') compressor = numcodecs.ByteShuffle( shape=chunks, dtype=data.dtype, axis=axis ) elif codec == 'bz2': if not imagecodecs.BZ2: pytest.skip(f'{codec} not found') compressor = numcodecs.Bz2(level=9) elif codec == 'deflate': if not imagecodecs.DEFLATE: pytest.skip(f'{codec} not found') compressor = numcodecs.Deflate(level=8) elif codec == 'delta': if not imagecodecs.DELTA: pytest.skip(f'{codec} not found') compressor = numcodecs.Delta(shape=chunks, dtype=data.dtype, axis=axis) elif codec == 'float24': if not imagecodecs.FLOAT24: pytest.skip(f'{codec} not found') data = data.astype('float32') compressor = numcodecs.Float24() elif codec == 'floatpred': if not imagecodecs.FLOATPRED: pytest.skip(f'{codec} not found') data = data.astype('float32') compressor = numcodecs.FloatPred( shape=chunks, dtype=data.dtype, axis=axis ) elif codec == 'gif': if not imagecodecs.GIF: pytest.skip(f'{codec} not found') compressor = numcodecs.Gif() elif codec == 'heif': if not imagecodecs.HEIF: pytest.skip(f'{codec} not found') compressor = numcodecs.Heif(photometric=photometric) lossless = False # TODO: lossless not working atol = 1 elif codec == 'jetraw': if not imagecodecs.JETRAW: pytest.skip(f'{codec} not found') if photometric == 'rgb': pytest.xfail('Jetraw does not support RGB') compressor = numcodecs.Jetraw( shape=chunks, identifier='500202_fast_bin1x' ) data = data.astype('uint16') lossless = False atol = 32 elif codec == 'jpeg': if not imagecodecs.JPEG: pytest.skip(f'{codec} not found') lossless = False atol = 4 compressor = numcodecs.Jpeg(level=99) elif codec == 'jpeg12': if not imagecodecs.JPEG12: pytest.skip(f'{codec} not found') lossless = False atol = 4 << 4 data = data.astype('uint16') << 4 compressor = numcodecs.Jpeg(level=99, bitspersample=12) elif codec == 'jpeg2k': if not imagecodecs.JPEG2K: pytest.skip(f'{codec} not found') compressor = numcodecs.Jpeg2k(level=0) # lossless elif codec == 'jpegls': if not imagecodecs.JPEGLS: pytest.skip(f'{codec} not found') compressor = numcodecs.JpegLs(level=0) # lossless elif codec == 'jpegxl': if not imagecodecs.JPEGXL: pytest.skip(f'{codec} not found') compressor = numcodecs.JpegXl(level=101) # lossless elif codec == 'jpegxr': if not imagecodecs.JPEGXR: pytest.skip(f'{codec} not found') compressor = numcodecs.JpegXr( level=1.0, photometric='RGB' if photometric == 'rgb' else None ) # lossless elif codec == 'lerc': if not imagecodecs.LERC: pytest.skip(f'{codec} not found') if imagecodecs.ZSTD: compression = 'zstd' compressionargs = {'level': 10} else: compression = None compressionargs = None compressor = numcodecs.Lerc( level=0.0, compression=compression, compressionargs=compressionargs ) elif codec == 'ljpeg': if not imagecodecs.LJPEG: pytest.skip(f'{codec} not found') if photometric == 'rgb': pytest.xfail('LJPEG does not support rgb') data = data.astype('uint16') << 2 compressor = numcodecs.Ljpeg(bitspersample=10) elif codec == 'lz4': if not imagecodecs.LZ4: pytest.skip(f'{codec} not found') compressor = numcodecs.Lz4(level=10, hc=True, header=True) elif codec == 'lz4f': if not imagecodecs.LZ4F: pytest.skip(f'{codec} not found') compressor = numcodecs.Lz4f( level=12, blocksizeid=False, contentchecksum=True, blockchecksum=True, ) elif codec == 'lzf': if not imagecodecs.LZF: pytest.skip(f'{codec} not found') compressor = numcodecs.Lzf(header=True) elif codec == 'lzfse': if not imagecodecs.LZFSE: pytest.skip(f'{codec} not found') compressor = numcodecs.Lzfse() elif codec == 'lzham': if not imagecodecs.LZHAM: pytest.skip(f'{codec} not found') compressor = numcodecs.Lzham(level=6) elif codec == 'lzma': if not imagecodecs.LZMA: pytest.skip(f'{codec} not found') compressor = numcodecs.Lzma( level=6, check=imagecodecs.LZMA.CHECK.CRC32 ) elif codec == 'lzw': if not imagecodecs.LZW: pytest.skip(f'{codec} not found') compressor = numcodecs.Lzw() elif codec == 'packbits': if not imagecodecs.PACKBITS: pytest.skip(f'{codec} not found') if photometric == 'rgb': compressor = numcodecs.PackBits(axis=-2) else: compressor = numcodecs.PackBits() elif codec == 'pglz': if not imagecodecs.PGLZ: pytest.skip(f'{codec} not found') compressor = numcodecs.Pglz(strategy=None) elif codec == 'png': if not imagecodecs.PNG: pytest.skip(f'{codec} not found') compressor = numcodecs.Png() elif codec == 'qoi': if not imagecodecs.QOI: pytest.skip(f'{codec} not found') compressor = numcodecs.Qoi() if photometric != 'rgb': pytest.xfail('QOI does not support grayscale') elif codec == 'rgbe': if not imagecodecs.RGBE: pytest.skip(f'{codec} not found') if photometric != 'rgb': pytest.xfail('RGBE does not support grayscale') data = data.astype('float32') # lossless = False compressor = numcodecs.Rgbe(shape=chunks[-3:], header=False, rle=True) elif codec == 'rcomp': if not imagecodecs.RCOMP: pytest.skip(f'{codec} not found') compressor = numcodecs.Rcomp(shape=chunks, dtype=data.dtype) elif codec == 'snappy': if not imagecodecs.SNAPPY: pytest.skip(f'{codec} not found') compressor = numcodecs.Snappy() elif codec == 'spng': if not imagecodecs.SPNG: pytest.skip(f'{codec} not found') compressor = numcodecs.Spng() elif codec == 'tiff': if not imagecodecs.TIFF: pytest.skip(f'{codec} not found') pytest.xfail('TIFF encode not implemented') compressor = numcodecs.Tiff() elif codec == 'webp': if not imagecodecs.WEBP: pytest.skip(f'{codec} not found') if photometric != 'rgb': pytest.xfail('WebP does not support grayscale') compressor = numcodecs.Webp(level=-1) elif codec == 'xor': if not imagecodecs.XOR: pytest.skip(f'{codec} not found') compressor = numcodecs.Xor(shape=chunks, dtype=data.dtype, axis=axis) elif codec == 'zfp': if not imagecodecs.ZFP: pytest.skip(f'{codec} not found') data = data.astype('float32') compressor = numcodecs.Zfp( shape=chunks, dtype=data.dtype, header=False ) elif codec == 'zlib': if not imagecodecs.ZLIB: pytest.skip(f'{codec} not found') compressor = numcodecs.Zlib(level=6) elif codec == 'zlibng': if not imagecodecs.ZLIBNG: pytest.skip(f'{codec} not found') compressor = numcodecs.Zlibng(level=6) elif codec == 'zopfli': if not imagecodecs.ZOPFLI: pytest.skip(f'{codec} not found') compressor = numcodecs.Zopfli() elif codec == 'zstd': if not imagecodecs.ZSTD: pytest.skip(f'{codec} not found') compressor = numcodecs.Zstd(level=10) else: raise RuntimeError() if 0: # use ZIP file on disk fname = f'test_{codec}.{photometric}.{data.dtype.str[1:]}.zarr.zip' store = zarr.ZipStore(fname, mode='w') else: store = zarr.MemoryStore() z = zarr.create( store=store, overwrite=True, shape=shape, chunks=chunks, dtype=data.dtype.str, compressor=compressor, ) > z[:] = data tests/test_imagecodecs.py:3948: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/site-packages/zarr/core.py:1449: in __setitem__ self.set_basic_selection(pure_selection, value, fields=fields) /usr/lib/python3.13/site-packages/zarr/core.py:1545: in set_basic_selection return self._set_basic_selection_nd(selection, value, fields=fields) /usr/lib/python3.13/site-packages/zarr/core.py:1935: in _set_basic_selection_nd self._set_selection(indexer, value, fields=fields) /usr/lib/python3.13/site-packages/zarr/core.py:1988: in _set_selection self._chunk_setitem(chunk_coords, chunk_selection, chunk_value, fields=fields) /usr/lib/python3.13/site-packages/zarr/core.py:2261: in _chunk_setitem self._chunk_setitem_nosync(chunk_coords, chunk_selection, value, fields=fields) /usr/lib/python3.13/site-packages/zarr/core.py:2271: in _chunk_setitem_nosync self.chunk_store[ckey] = self._encode_chunk(cdata) /usr/lib/python3.13/site-packages/zarr/core.py:2395: in _encode_chunk cdata = self._compressor.encode(chunk) ../BUILDROOT/usr/lib64/python3.13/site-packages/imagecodecs/numcodecs.py:814: in encode return imagecodecs.lerc_encode( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________________ test_numcodecs[lerc-rgb] ___________________________ codec = 'lerc', photometric = 'rgb' @pytest.mark.skipif(SKIP_NUMCODECS, reason='zarr or numcodecs missing') @pytest.mark.parametrize('photometric', ['gray', 'rgb']) @pytest.mark.parametrize( 'codec', [ 'aec', 'apng', 'avif', 'bitorder', 'bitshuffle', 'blosc', 'blosc2', # 'brotli', # failing 'byteshuffle', 'bz2', # 'cms', 'deflate', 'delta', 'float24', 'floatpred', 'gif', 'heif', # 'jetraw', # encoder requires a license 'jpeg', 'jpeg12', 'jpeg2k', 'jpegls', 'jpegxl', 'jpegxr', 'lerc', 'ljpeg', 'lz4', 'lz4f', 'lzf', 'lzfse', 'lzham', 'lzma', 'lzw', 'packbits', 'pglz', 'png', 'qoi', 'rgbe', 'rcomp', 'snappy', 'spng', 'tiff', # no encoder 'webp', 'xor', 'zfp', 'zlib', 'zlibng', 'zopfli', 'zstd', ], ) def test_numcodecs(codec, photometric): """Test numcodecs though roundtrips.""" data = numpy.load(datafiles('rgb.u1.npy')) data = numpy.stack([data, data]) if photometric == 'rgb': shape = data.shape chunks = (1, 128, 128, 3) axis = -2 else: data = data[:, :, 1].copy() shape = data.shape chunks = (1, 128, 128) axis = -1 lossless = True if codec == 'aec': if not imagecodecs.AEC: pytest.skip(f'{codec} not found') compressor = numcodecs.Aec( bitspersample=None, flags=None, blocksize=None, rsi=None ) elif codec == 'apng': if not imagecodecs.APNG: pytest.skip(f'{codec} not found') compressor = numcodecs.Apng(photometric=photometric, delay=100) elif codec == 'avif': if not imagecodecs.AVIF: pytest.skip(f'{codec} not found') if photometric != 'rgb': pytest.xfail('AVIF does not support grayscale') compressor = numcodecs.Avif( level=0, speed=None, tilelog2=None, bitspersample=None, pixelformat=None, numthreads=2, ) # lossless elif codec == 'bitorder': if not imagecodecs.BITORDER: pytest.skip(f'{codec} not found') compressor = numcodecs.Bitorder() elif codec == 'bitshuffle': if not imagecodecs.BITSHUFFLE: pytest.skip(f'{codec} not found') compressor = numcodecs.Bitshuffle( itemsize=data.dtype.itemsize, blocksize=0 ) elif codec == 'blosc': if not imagecodecs.BLOSC: pytest.skip(f'{codec} not found') compressor = numcodecs.Blosc( level=9, compressor='blosclz', typesize=data.dtype.itemsize * 8, blocksize=None, shuffle=None, numthreads=2, ) elif codec == 'blosc2': if not imagecodecs.BLOSC2: pytest.skip(f'{codec} not found') compressor = numcodecs.Blosc2( level=9, compressor='blosclz', typesize=data.dtype.itemsize * 8, blocksize=None, shuffle=None, numthreads=2, ) elif codec == 'brotli': if not imagecodecs.BROTLI: pytest.skip(f'{codec} not found') # TODO: why are these failing? pytest.xfail('not sure why this is failing') compressor = numcodecs.Brotli(level=11, mode=None, lgwin=None) elif codec == 'byteshuffle': if not imagecodecs.BYTESHUFFLE: pytest.skip(f'{codec} not found') data = data.astype('int16') compressor = numcodecs.ByteShuffle( shape=chunks, dtype=data.dtype, axis=axis ) elif codec == 'bz2': if not imagecodecs.BZ2: pytest.skip(f'{codec} not found') compressor = numcodecs.Bz2(level=9) elif codec == 'deflate': if not imagecodecs.DEFLATE: pytest.skip(f'{codec} not found') compressor = numcodecs.Deflate(level=8) elif codec == 'delta': if not imagecodecs.DELTA: pytest.skip(f'{codec} not found') compressor = numcodecs.Delta(shape=chunks, dtype=data.dtype, axis=axis) elif codec == 'float24': if not imagecodecs.FLOAT24: pytest.skip(f'{codec} not found') data = data.astype('float32') compressor = numcodecs.Float24() elif codec == 'floatpred': if not imagecodecs.FLOATPRED: pytest.skip(f'{codec} not found') data = data.astype('float32') compressor = numcodecs.FloatPred( shape=chunks, dtype=data.dtype, axis=axis ) elif codec == 'gif': if not imagecodecs.GIF: pytest.skip(f'{codec} not found') compressor = numcodecs.Gif() elif codec == 'heif': if not imagecodecs.HEIF: pytest.skip(f'{codec} not found') compressor = numcodecs.Heif(photometric=photometric) lossless = False # TODO: lossless not working atol = 1 elif codec == 'jetraw': if not imagecodecs.JETRAW: pytest.skip(f'{codec} not found') if photometric == 'rgb': pytest.xfail('Jetraw does not support RGB') compressor = numcodecs.Jetraw( shape=chunks, identifier='500202_fast_bin1x' ) data = data.astype('uint16') lossless = False atol = 32 elif codec == 'jpeg': if not imagecodecs.JPEG: pytest.skip(f'{codec} not found') lossless = False atol = 4 compressor = numcodecs.Jpeg(level=99) elif codec == 'jpeg12': if not imagecodecs.JPEG12: pytest.skip(f'{codec} not found') lossless = False atol = 4 << 4 data = data.astype('uint16') << 4 compressor = numcodecs.Jpeg(level=99, bitspersample=12) elif codec == 'jpeg2k': if not imagecodecs.JPEG2K: pytest.skip(f'{codec} not found') compressor = numcodecs.Jpeg2k(level=0) # lossless elif codec == 'jpegls': if not imagecodecs.JPEGLS: pytest.skip(f'{codec} not found') compressor = numcodecs.JpegLs(level=0) # lossless elif codec == 'jpegxl': if not imagecodecs.JPEGXL: pytest.skip(f'{codec} not found') compressor = numcodecs.JpegXl(level=101) # lossless elif codec == 'jpegxr': if not imagecodecs.JPEGXR: pytest.skip(f'{codec} not found') compressor = numcodecs.JpegXr( level=1.0, photometric='RGB' if photometric == 'rgb' else None ) # lossless elif codec == 'lerc': if not imagecodecs.LERC: pytest.skip(f'{codec} not found') if imagecodecs.ZSTD: compression = 'zstd' compressionargs = {'level': 10} else: compression = None compressionargs = None compressor = numcodecs.Lerc( level=0.0, compression=compression, compressionargs=compressionargs ) elif codec == 'ljpeg': if not imagecodecs.LJPEG: pytest.skip(f'{codec} not found') if photometric == 'rgb': pytest.xfail('LJPEG does not support rgb') data = data.astype('uint16') << 2 compressor = numcodecs.Ljpeg(bitspersample=10) elif codec == 'lz4': if not imagecodecs.LZ4: pytest.skip(f'{codec} not found') compressor = numcodecs.Lz4(level=10, hc=True, header=True) elif codec == 'lz4f': if not imagecodecs.LZ4F: pytest.skip(f'{codec} not found') compressor = numcodecs.Lz4f( level=12, blocksizeid=False, contentchecksum=True, blockchecksum=True, ) elif codec == 'lzf': if not imagecodecs.LZF: pytest.skip(f'{codec} not found') compressor = numcodecs.Lzf(header=True) elif codec == 'lzfse': if not imagecodecs.LZFSE: pytest.skip(f'{codec} not found') compressor = numcodecs.Lzfse() elif codec == 'lzham': if not imagecodecs.LZHAM: pytest.skip(f'{codec} not found') compressor = numcodecs.Lzham(level=6) elif codec == 'lzma': if not imagecodecs.LZMA: pytest.skip(f'{codec} not found') compressor = numcodecs.Lzma( level=6, check=imagecodecs.LZMA.CHECK.CRC32 ) elif codec == 'lzw': if not imagecodecs.LZW: pytest.skip(f'{codec} not found') compressor = numcodecs.Lzw() elif codec == 'packbits': if not imagecodecs.PACKBITS: pytest.skip(f'{codec} not found') if photometric == 'rgb': compressor = numcodecs.PackBits(axis=-2) else: compressor = numcodecs.PackBits() elif codec == 'pglz': if not imagecodecs.PGLZ: pytest.skip(f'{codec} not found') compressor = numcodecs.Pglz(strategy=None) elif codec == 'png': if not imagecodecs.PNG: pytest.skip(f'{codec} not found') compressor = numcodecs.Png() elif codec == 'qoi': if not imagecodecs.QOI: pytest.skip(f'{codec} not found') compressor = numcodecs.Qoi() if photometric != 'rgb': pytest.xfail('QOI does not support grayscale') elif codec == 'rgbe': if not imagecodecs.RGBE: pytest.skip(f'{codec} not found') if photometric != 'rgb': pytest.xfail('RGBE does not support grayscale') data = data.astype('float32') # lossless = False compressor = numcodecs.Rgbe(shape=chunks[-3:], header=False, rle=True) elif codec == 'rcomp': if not imagecodecs.RCOMP: pytest.skip(f'{codec} not found') compressor = numcodecs.Rcomp(shape=chunks, dtype=data.dtype) elif codec == 'snappy': if not imagecodecs.SNAPPY: pytest.skip(f'{codec} not found') compressor = numcodecs.Snappy() elif codec == 'spng': if not imagecodecs.SPNG: pytest.skip(f'{codec} not found') compressor = numcodecs.Spng() elif codec == 'tiff': if not imagecodecs.TIFF: pytest.skip(f'{codec} not found') pytest.xfail('TIFF encode not implemented') compressor = numcodecs.Tiff() elif codec == 'webp': if not imagecodecs.WEBP: pytest.skip(f'{codec} not found') if photometric != 'rgb': pytest.xfail('WebP does not support grayscale') compressor = numcodecs.Webp(level=-1) elif codec == 'xor': if not imagecodecs.XOR: pytest.skip(f'{codec} not found') compressor = numcodecs.Xor(shape=chunks, dtype=data.dtype, axis=axis) elif codec == 'zfp': if not imagecodecs.ZFP: pytest.skip(f'{codec} not found') data = data.astype('float32') compressor = numcodecs.Zfp( shape=chunks, dtype=data.dtype, header=False ) elif codec == 'zlib': if not imagecodecs.ZLIB: pytest.skip(f'{codec} not found') compressor = numcodecs.Zlib(level=6) elif codec == 'zlibng': if not imagecodecs.ZLIBNG: pytest.skip(f'{codec} not found') compressor = numcodecs.Zlibng(level=6) elif codec == 'zopfli': if not imagecodecs.ZOPFLI: pytest.skip(f'{codec} not found') compressor = numcodecs.Zopfli() elif codec == 'zstd': if not imagecodecs.ZSTD: pytest.skip(f'{codec} not found') compressor = numcodecs.Zstd(level=10) else: raise RuntimeError() if 0: # use ZIP file on disk fname = f'test_{codec}.{photometric}.{data.dtype.str[1:]}.zarr.zip' store = zarr.ZipStore(fname, mode='w') else: store = zarr.MemoryStore() z = zarr.create( store=store, overwrite=True, shape=shape, chunks=chunks, dtype=data.dtype.str, compressor=compressor, ) > z[:] = data tests/test_imagecodecs.py:3948: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/site-packages/zarr/core.py:1449: in __setitem__ self.set_basic_selection(pure_selection, value, fields=fields) /usr/lib/python3.13/site-packages/zarr/core.py:1545: in set_basic_selection return self._set_basic_selection_nd(selection, value, fields=fields) /usr/lib/python3.13/site-packages/zarr/core.py:1935: in _set_basic_selection_nd self._set_selection(indexer, value, fields=fields) /usr/lib/python3.13/site-packages/zarr/core.py:1988: in _set_selection self._chunk_setitem(chunk_coords, chunk_selection, chunk_value, fields=fields) /usr/lib/python3.13/site-packages/zarr/core.py:2261: in _chunk_setitem self._chunk_setitem_nosync(chunk_coords, chunk_selection, value, fields=fields) /usr/lib/python3.13/site-packages/zarr/core.py:2271: in _chunk_setitem_nosync self.chunk_store[ckey] = self._encode_chunk(cdata) /usr/lib/python3.13/site-packages/zarr/core.py:2395: in _encode_chunk cdata = self._compressor.encode(chunk) ../BUILDROOT/usr/lib64/python3.13/site-packages/imagecodecs/numcodecs.py:814: in encode return imagecodecs.lerc_encode( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError =========================== short test summary info ============================ FAILED tests/test_imagecodecs.py::test_packints_decode - AssertionError: asse... FAILED tests/test_imagecodecs.py::test_delta[delta-<-u2-encode-new] - Attribu... FAILED tests/test_imagecodecs.py::test_delta[delta-<-u2-encode-out] - Attribu... FAILED tests/test_imagecodecs.py::test_delta[delta-<-u2-encode-inplace] - Att... FAILED tests/test_imagecodecs.py::test_delta[delta-<-u2-decode-new] - Attribu... FAILED tests/test_imagecodecs.py::test_delta[delta-<-u2-decode-out] - Attribu... FAILED tests/test_imagecodecs.py::test_delta[delta-<-u2-decode-inplace] - Att... FAILED tests/test_imagecodecs.py::test_delta[delta-<-u4-encode-new] - Attribu... FAILED tests/test_imagecodecs.py::test_delta[delta-<-u4-encode-out] - Attribu... FAILED tests/test_imagecodecs.py::test_delta[delta-<-u4-encode-inplace] - Att... FAILED tests/test_imagecodecs.py::test_delta[delta-<-u4-decode-new] - Attribu... FAILED tests/test_imagecodecs.py::test_delta[delta-<-u4-decode-out] - Attribu... FAILED tests/test_imagecodecs.py::test_delta[delta-<-u4-decode-inplace] - Att... FAILED tests/test_imagecodecs.py::test_delta[delta-<-u8-encode-new] - Attribu... FAILED tests/test_imagecodecs.py::test_delta[delta-<-u8-encode-out] - Attribu... FAILED tests/test_imagecodecs.py::test_delta[delta-<-u8-encode-inplace] - Att... FAILED tests/test_imagecodecs.py::test_delta[delta-<-u8-decode-new] - Attribu... FAILED tests/test_imagecodecs.py::test_delta[delta-<-u8-decode-out] - Attribu... FAILED tests/test_imagecodecs.py::test_delta[delta-<-u8-decode-inplace] - Att... FAILED tests/test_imagecodecs.py::test_delta[delta-<-i2-encode-new] - Attribu... FAILED tests/test_imagecodecs.py::test_delta[delta-<-i2-encode-out] - Attribu... FAILED tests/test_imagecodecs.py::test_delta[delta-<-i2-encode-inplace] - Att... FAILED tests/test_imagecodecs.py::test_delta[delta-<-i2-decode-new] - Attribu... FAILED tests/test_imagecodecs.py::test_delta[delta-<-i2-decode-out] - Attribu... FAILED tests/test_imagecodecs.py::test_delta[delta-<-i2-decode-inplace] - Att... FAILED tests/test_imagecodecs.py::test_delta[delta-<-i4-encode-new] - Attribu... FAILED tests/test_imagecodecs.py::test_delta[delta-<-i4-encode-out] - Attribu... FAILED tests/test_imagecodecs.py::test_delta[delta-<-i4-encode-inplace] - Att... FAILED tests/test_imagecodecs.py::test_delta[delta-<-i4-decode-new] - Attribu... FAILED tests/test_imagecodecs.py::test_delta[delta-<-i4-decode-out] - Attribu... FAILED tests/test_imagecodecs.py::test_delta[delta-<-i4-decode-inplace] - Att... FAILED tests/test_imagecodecs.py::test_delta[delta-<-i8-encode-new] - Attribu... FAILED tests/test_imagecodecs.py::test_delta[delta-<-i8-encode-out] - Attribu... FAILED tests/test_imagecodecs.py::test_delta[delta-<-i8-encode-inplace] - Att... FAILED tests/test_imagecodecs.py::test_delta[delta-<-i8-decode-new] - Attribu... FAILED tests/test_imagecodecs.py::test_delta[delta-<-i8-decode-out] - Attribu... FAILED tests/test_imagecodecs.py::test_delta[delta-<-i8-decode-inplace] - Att... FAILED tests/test_imagecodecs.py::test_delta[delta-<-f4-encode-new] - Attribu... FAILED tests/test_imagecodecs.py::test_delta[delta-<-f4-encode-out] - Attribu... FAILED tests/test_imagecodecs.py::test_delta[delta-<-f4-encode-inplace] - Att... FAILED tests/test_imagecodecs.py::test_delta[delta-<-f4-decode-new] - Attribu... FAILED tests/test_imagecodecs.py::test_delta[delta-<-f4-decode-out] - Attribu... FAILED tests/test_imagecodecs.py::test_delta[delta-<-f4-decode-inplace] - Att... FAILED tests/test_imagecodecs.py::test_delta[delta-<-f8-encode-new] - Attribu... FAILED tests/test_imagecodecs.py::test_delta[delta-<-f8-encode-out] - Attribu... FAILED tests/test_imagecodecs.py::test_delta[delta-<-f8-encode-inplace] - Att... FAILED tests/test_imagecodecs.py::test_delta[delta-<-f8-decode-new] - Attribu... FAILED tests/test_imagecodecs.py::test_delta[delta-<-f8-decode-out] - Attribu... FAILED tests/test_imagecodecs.py::test_delta[delta-<-f8-decode-inplace] - Att... FAILED tests/test_imagecodecs.py::test_delta[xor-<-u2-encode-new] - Attribute... FAILED tests/test_imagecodecs.py::test_delta[xor-<-u2-encode-out] - Attribute... FAILED tests/test_imagecodecs.py::test_delta[xor-<-u2-encode-inplace] - Attri... FAILED tests/test_imagecodecs.py::test_delta[xor-<-u2-decode-new] - Attribute... FAILED tests/test_imagecodecs.py::test_delta[xor-<-u2-decode-out] - Attribute... FAILED tests/test_imagecodecs.py::test_delta[xor-<-u2-decode-inplace] - Attri... FAILED tests/test_imagecodecs.py::test_delta[xor-<-u4-encode-new] - Attribute... FAILED tests/test_imagecodecs.py::test_delta[xor-<-u4-encode-out] - Attribute... FAILED tests/test_imagecodecs.py::test_delta[xor-<-u4-encode-inplace] - Attri... FAILED tests/test_imagecodecs.py::test_delta[xor-<-u4-decode-new] - Attribute... FAILED tests/test_imagecodecs.py::test_delta[xor-<-u4-decode-out] - Attribute... FAILED tests/test_imagecodecs.py::test_delta[xor-<-u4-decode-inplace] - Attri... FAILED tests/test_imagecodecs.py::test_delta[xor-<-u8-encode-new] - Attribute... FAILED tests/test_imagecodecs.py::test_delta[xor-<-u8-encode-out] - Attribute... FAILED tests/test_imagecodecs.py::test_delta[xor-<-u8-encode-inplace] - Attri... FAILED tests/test_imagecodecs.py::test_delta[xor-<-u8-decode-new] - Attribute... FAILED tests/test_imagecodecs.py::test_delta[xor-<-u8-decode-out] - Attribute... FAILED tests/test_imagecodecs.py::test_delta[xor-<-u8-decode-inplace] - Attri... FAILED tests/test_imagecodecs.py::test_delta[xor-<-i2-encode-new] - Attribute... FAILED tests/test_imagecodecs.py::test_delta[xor-<-i2-encode-out] - Attribute... FAILED tests/test_imagecodecs.py::test_delta[xor-<-i2-encode-inplace] - Attri... FAILED tests/test_imagecodecs.py::test_delta[xor-<-i2-decode-new] - Attribute... FAILED tests/test_imagecodecs.py::test_delta[xor-<-i2-decode-out] - Attribute... FAILED tests/test_imagecodecs.py::test_delta[xor-<-i2-decode-inplace] - Attri... FAILED tests/test_imagecodecs.py::test_delta[xor-<-i4-encode-new] - Attribute... FAILED tests/test_imagecodecs.py::test_delta[xor-<-i4-encode-out] - Attribute... FAILED tests/test_imagecodecs.py::test_delta[xor-<-i4-encode-inplace] - Attri... FAILED tests/test_imagecodecs.py::test_delta[xor-<-i4-decode-new] - Attribute... FAILED tests/test_imagecodecs.py::test_delta[xor-<-i4-decode-out] - Attribute... FAILED tests/test_imagecodecs.py::test_delta[xor-<-i4-decode-inplace] - Attri... FAILED tests/test_imagecodecs.py::test_delta[xor-<-i8-encode-new] - Attribute... FAILED tests/test_imagecodecs.py::test_delta[xor-<-i8-encode-out] - Attribute... FAILED tests/test_imagecodecs.py::test_delta[xor-<-i8-encode-inplace] - Attri... FAILED tests/test_imagecodecs.py::test_delta[xor-<-i8-decode-new] - Attribute... FAILED tests/test_imagecodecs.py::test_delta[xor-<-i8-decode-out] - Attribute... FAILED tests/test_imagecodecs.py::test_delta[xor-<-i8-decode-inplace] - Attri... FAILED tests/test_imagecodecs.py::test_floatpred[False-be-encode-new] - Asser... FAILED tests/test_imagecodecs.py::test_floatpred[False-be-encode-out] - Asser... FAILED tests/test_imagecodecs.py::test_floatpred[False-be-decode-new] - Asser... FAILED tests/test_imagecodecs.py::test_floatpred[False-be-decode-out] - Asser... FAILED tests/test_imagecodecs.py::test_floatpred[True-be-encode-new] - Assert... FAILED tests/test_imagecodecs.py::test_floatpred[True-be-encode-out] - Assert... FAILED tests/test_imagecodecs.py::test_floatpred[True-be-decode-new] - Assert... FAILED tests/test_imagecodecs.py::test_floatpred[True-be-decode-out] - Assert... FAILED tests/test_imagecodecs.py::test_float24[encode->-f30-f40-nan] - Assert... FAILED tests/test_imagecodecs.py::test_float24[encode->-f31-f41-nan] - Assert... FAILED tests/test_imagecodecs.py::test_float24[encode->-f32-f42-nan] - Assert... FAILED tests/test_imagecodecs.py::test_float24[encode->-f33-f43-inf] - Assert... FAILED tests/test_imagecodecs.py::test_float24[encode->-f34-f44--inf] - Asser... FAILED tests/test_imagecodecs.py::test_float24[encode->-f36-f46--0.0] - Asser... FAILED tests/test_imagecodecs.py::test_float24[encode->-f37-f47-1.0] - Assert... FAILED tests/test_imagecodecs.py::test_float24[encode->-f38-f48--1.0] - Asser... FAILED tests/test_imagecodecs.py::test_float24[encode->-f39-f49-3.1416016] - ... FAILED tests/test_imagecodecs.py::test_float24[encode->-f310-f410-3.1415839e-06] FAILED tests/test_imagecodecs.py::test_float24[encode->-f311-f411-3.1415839e-06] FAILED tests/test_imagecodecs.py::test_float24[encode->-f312-f412-1e-19] - As... FAILED tests/test_imagecodecs.py::test_float24[encode->-f313-f413-inf] - Asse... FAILED tests/test_imagecodecs.py::test_float24[encode->-f314-f414-1.0842022e-19] FAILED tests/test_imagecodecs.py::test_float24[encode->-f315-f415-1.0842021e-19] FAILED tests/test_imagecodecs.py::test_float24[encode->-f316-f416-5.421011e-20] FAILED tests/test_imagecodecs.py::test_float24[encode->-f317-f417-3.3087225e-24] FAILED tests/test_imagecodecs.py::test_float24[encode->-f318-f418-2.1684043e-19] FAILED tests/test_imagecodecs.py::test_float24[encode->-f320-f420-0.0] - Asse... FAILED tests/test_imagecodecs.py::test_float24[encode->-f322-f422-0.0] - Asse... FAILED tests/test_imagecodecs.py::test_float24[encode-<-f30-f40-nan] - Assert... FAILED tests/test_imagecodecs.py::test_float24[encode-<-f31-f41-nan] - Assert... FAILED tests/test_imagecodecs.py::test_float24[encode-<-f32-f42-nan] - Assert... FAILED tests/test_imagecodecs.py::test_float24[encode-<-f33-f43-inf] - Assert... FAILED tests/test_imagecodecs.py::test_float24[encode-<-f34-f44--inf] - Asser... FAILED tests/test_imagecodecs.py::test_float24[encode-<-f36-f46--0.0] - Asser... FAILED tests/test_imagecodecs.py::test_float24[encode-<-f37-f47-1.0] - Assert... FAILED tests/test_imagecodecs.py::test_float24[encode-<-f38-f48--1.0] - Asser... FAILED tests/test_imagecodecs.py::test_float24[encode-<-f39-f49-3.1416016] - ... FAILED tests/test_imagecodecs.py::test_float24[encode-<-f310-f410-3.1415839e-06] FAILED tests/test_imagecodecs.py::test_float24[encode-<-f311-f411-3.1415839e-06] FAILED tests/test_imagecodecs.py::test_float24[encode-<-f312-f412-1e-19] - As... FAILED tests/test_imagecodecs.py::test_float24[encode-<-f313-f413-inf] - Asse... FAILED tests/test_imagecodecs.py::test_float24[encode-<-f314-f414-1.0842022e-19] FAILED tests/test_imagecodecs.py::test_float24[encode-<-f315-f415-1.0842021e-19] FAILED tests/test_imagecodecs.py::test_float24[encode-<-f316-f416-5.421011e-20] FAILED tests/test_imagecodecs.py::test_float24[encode-<-f317-f417-3.3087225e-24] FAILED tests/test_imagecodecs.py::test_float24[encode-<-f318-f418-2.1684043e-19] FAILED tests/test_imagecodecs.py::test_float24[encode-<-f320-f420-0.0] - Asse... FAILED tests/test_imagecodecs.py::test_float24[encode-<-f322-f422-0.0] - Asse... FAILED tests/test_imagecodecs.py::test_float24[decode->-f30-f40-nan] - assert... FAILED tests/test_imagecodecs.py::test_float24[decode->-f31-f41-nan] - assert... FAILED tests/test_imagecodecs.py::test_float24[decode->-f32-f42-nan] - assert... FAILED tests/test_imagecodecs.py::test_float24[decode->-f33-f43-inf] - assert... FAILED tests/test_imagecodecs.py::test_float24[decode->-f34-f44--inf] - asser... FAILED tests/test_imagecodecs.py::test_float24[decode->-f37-f47-1.0] - assert... FAILED tests/test_imagecodecs.py::test_float24[decode->-f38-f48--1.0] - asser... FAILED tests/test_imagecodecs.py::test_float24[decode->-f39-f49-3.1416016] - ... FAILED tests/test_imagecodecs.py::test_float24[decode->-f310-f410-3.1415839e-06] FAILED tests/test_imagecodecs.py::test_float24[decode->-f311-f411-3.1415839e-06] FAILED tests/test_imagecodecs.py::test_float24[decode->-f313-f413-inf] - asse... FAILED tests/test_imagecodecs.py::test_float24[decode-<-f30-f40-nan] - assert... FAILED tests/test_imagecodecs.py::test_float24[decode-<-f31-f41-nan] - assert... FAILED tests/test_imagecodecs.py::test_float24[decode-<-f32-f42-nan] - assert... FAILED tests/test_imagecodecs.py::test_float24[decode-<-f33-f43-inf] - assert... FAILED tests/test_imagecodecs.py::test_float24[decode-<-f34-f44--inf] - asser... FAILED tests/test_imagecodecs.py::test_float24[decode-<-f37-f47-1.0] - assert... FAILED tests/test_imagecodecs.py::test_float24[decode-<-f38-f48--1.0] - asser... FAILED tests/test_imagecodecs.py::test_float24[decode-<-f39-f49-3.1416016] - ... FAILED tests/test_imagecodecs.py::test_float24[decode-<-f310-f410-3.1415839e-06] FAILED tests/test_imagecodecs.py::test_float24[decode-<-f311-f411-3.1415839e-06] FAILED tests/test_imagecodecs.py::test_float24[decode-<-f313-f413-inf] - asse... FAILED tests/test_imagecodecs.py::test_cms_format - AssertionError: assert 'u... FAILED tests/test_imagecodecs.py::test_zfp[float32-rgba-new-new-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-rgba-new-new-mode0-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float32-rgba-new-new-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-rgba-new-new-mode1-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float32-rgba-new-out-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-rgba-new-out-mode0-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float32-rgba-new-out-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-rgba-new-out-mode1-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float32-rgba-new-bytearray-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-rgba-new-bytearray-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[float32-rgba-new-bytearray-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-rgba-new-bytearray-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[float32-rgba-out-new-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-rgba-out-new-mode0-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float32-rgba-out-new-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-rgba-out-new-mode1-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float32-rgba-out-out-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-rgba-out-out-mode0-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float32-rgba-out-out-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-rgba-out-out-mode1-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float32-rgba-out-bytearray-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-rgba-out-bytearray-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[float32-rgba-out-bytearray-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-rgba-out-bytearray-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[float32-rgba-bytearray-new-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-rgba-bytearray-new-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[float32-rgba-bytearray-new-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-rgba-bytearray-new-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[float32-rgba-bytearray-out-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-rgba-bytearray-out-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[float32-rgba-bytearray-out-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-rgba-bytearray-out-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[float32-rgba-bytearray-bytearray-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-rgba-bytearray-bytearray-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[float32-rgba-bytearray-bytearray-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-rgba-bytearray-bytearray-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[float32-view-new-new-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-view-new-new-mode0-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float32-view-new-new-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-view-new-new-mode1-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float32-view-new-out-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-view-new-out-mode0-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float32-view-new-out-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-view-new-out-mode1-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float32-view-new-bytearray-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-view-new-bytearray-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[float32-view-new-bytearray-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-view-new-bytearray-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[float32-view-out-new-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-view-out-new-mode0-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float32-view-out-new-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-view-out-new-mode1-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float32-view-out-out-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-view-out-out-mode0-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float32-view-out-out-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-view-out-out-mode1-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float32-view-out-bytearray-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-view-out-bytearray-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[float32-view-out-bytearray-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-view-out-bytearray-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[float32-view-bytearray-new-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-view-bytearray-new-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[float32-view-bytearray-new-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-view-bytearray-new-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[float32-view-bytearray-out-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-view-bytearray-out-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[float32-view-bytearray-out-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-view-bytearray-out-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[float32-view-bytearray-bytearray-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-view-bytearray-bytearray-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[float32-view-bytearray-bytearray-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-view-bytearray-bytearray-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[float32-gray-new-new-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-gray-new-new-mode0-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float32-gray-new-new-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-gray-new-new-mode1-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float32-gray-new-out-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-gray-new-out-mode0-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float32-gray-new-out-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-gray-new-out-mode1-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float32-gray-new-bytearray-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-gray-new-bytearray-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[float32-gray-new-bytearray-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-gray-new-bytearray-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[float32-gray-out-new-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-gray-out-new-mode0-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float32-gray-out-new-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-gray-out-new-mode1-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float32-gray-out-out-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-gray-out-out-mode0-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float32-gray-out-out-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-gray-out-out-mode1-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float32-gray-out-bytearray-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-gray-out-bytearray-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[float32-gray-out-bytearray-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-gray-out-bytearray-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[float32-gray-bytearray-new-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-gray-bytearray-new-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[float32-gray-bytearray-new-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-gray-bytearray-new-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[float32-gray-bytearray-out-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-gray-bytearray-out-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[float32-gray-bytearray-out-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-gray-bytearray-out-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[float32-gray-bytearray-bytearray-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-gray-bytearray-bytearray-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[float32-gray-bytearray-bytearray-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-gray-bytearray-bytearray-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[float32-line-new-new-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-line-new-new-mode0-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float32-line-new-new-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-line-new-new-mode1-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float32-line-new-out-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-line-new-out-mode0-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float32-line-new-out-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-line-new-out-mode1-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float32-line-new-bytearray-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-line-new-bytearray-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[float32-line-new-bytearray-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-line-new-bytearray-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[float32-line-out-new-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-line-out-new-mode0-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float32-line-out-new-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-line-out-new-mode1-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float32-line-out-out-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-line-out-out-mode0-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float32-line-out-out-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-line-out-out-mode1-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float32-line-out-bytearray-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-line-out-bytearray-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[float32-line-out-bytearray-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-line-out-bytearray-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[float32-line-bytearray-new-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-line-bytearray-new-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[float32-line-bytearray-new-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-line-bytearray-new-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[float32-line-bytearray-out-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-line-bytearray-out-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[float32-line-bytearray-out-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-line-bytearray-out-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[float32-line-bytearray-bytearray-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-line-bytearray-bytearray-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[float32-line-bytearray-bytearray-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-line-bytearray-bytearray-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[float64-rgba-new-new-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-rgba-new-new-mode0-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float64-rgba-new-new-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-rgba-new-new-mode1-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float64-rgba-new-out-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-rgba-new-out-mode0-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float64-rgba-new-out-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-rgba-new-out-mode1-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float64-rgba-new-bytearray-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-rgba-new-bytearray-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[float64-rgba-new-bytearray-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-rgba-new-bytearray-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[float64-rgba-out-new-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-rgba-out-new-mode0-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float64-rgba-out-new-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-rgba-out-new-mode1-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float64-rgba-out-out-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-rgba-out-out-mode0-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float64-rgba-out-out-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-rgba-out-out-mode1-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float64-rgba-out-bytearray-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-rgba-out-bytearray-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[float64-rgba-out-bytearray-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-rgba-out-bytearray-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[float64-rgba-bytearray-new-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-rgba-bytearray-new-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[float64-rgba-bytearray-new-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-rgba-bytearray-new-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[float64-rgba-bytearray-out-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-rgba-bytearray-out-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[float64-rgba-bytearray-out-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-rgba-bytearray-out-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[float64-rgba-bytearray-bytearray-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-rgba-bytearray-bytearray-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[float64-rgba-bytearray-bytearray-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-rgba-bytearray-bytearray-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[float64-view-new-new-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-view-new-new-mode0-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float64-view-new-new-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-view-new-new-mode1-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float64-view-new-out-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-view-new-out-mode0-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float64-view-new-out-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-view-new-out-mode1-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float64-view-new-bytearray-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-view-new-bytearray-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[float64-view-new-bytearray-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-view-new-bytearray-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[float64-view-out-new-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-view-out-new-mode0-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float64-view-out-new-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-view-out-new-mode1-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float64-view-out-out-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-view-out-out-mode0-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float64-view-out-out-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-view-out-out-mode1-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float64-view-out-bytearray-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-view-out-bytearray-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[float64-view-out-bytearray-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-view-out-bytearray-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[float64-view-bytearray-new-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-view-bytearray-new-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[float64-view-bytearray-new-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-view-bytearray-new-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[float64-view-bytearray-out-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-view-bytearray-out-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[float64-view-bytearray-out-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-view-bytearray-out-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[float64-view-bytearray-bytearray-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-view-bytearray-bytearray-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[float64-view-bytearray-bytearray-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-view-bytearray-bytearray-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[float64-gray-new-new-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-gray-new-new-mode0-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float64-gray-new-new-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-gray-new-new-mode1-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float64-gray-new-out-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-gray-new-out-mode0-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float64-gray-new-out-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-gray-new-out-mode1-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float64-gray-new-bytearray-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-gray-new-bytearray-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[float64-gray-new-bytearray-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-gray-new-bytearray-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[float64-gray-out-new-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-gray-out-new-mode0-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float64-gray-out-new-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-gray-out-new-mode1-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float64-gray-out-out-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-gray-out-out-mode0-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float64-gray-out-out-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-gray-out-out-mode1-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float64-gray-out-bytearray-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-gray-out-bytearray-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[float64-gray-out-bytearray-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-gray-out-bytearray-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[float64-gray-bytearray-new-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-gray-bytearray-new-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[float64-gray-bytearray-new-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-gray-bytearray-new-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[float64-gray-bytearray-out-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-gray-bytearray-out-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[float64-gray-bytearray-out-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-gray-bytearray-out-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[float64-gray-bytearray-bytearray-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-gray-bytearray-bytearray-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[float64-gray-bytearray-bytearray-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-gray-bytearray-bytearray-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[float64-line-new-new-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-line-new-new-mode0-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float64-line-new-new-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-line-new-new-mode1-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float64-line-new-out-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-line-new-out-mode0-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float64-line-new-out-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-line-new-out-mode1-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float64-line-new-bytearray-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-line-new-bytearray-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[float64-line-new-bytearray-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-line-new-bytearray-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[float64-line-out-new-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-line-out-new-mode0-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float64-line-out-new-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-line-out-new-mode1-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float64-line-out-out-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-line-out-out-mode0-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float64-line-out-out-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-line-out-out-mode1-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float64-line-out-bytearray-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-line-out-bytearray-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[float64-line-out-bytearray-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-line-out-bytearray-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[float64-line-bytearray-new-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-line-bytearray-new-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[float64-line-bytearray-new-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-line-bytearray-new-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[float64-line-bytearray-out-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-line-bytearray-out-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[float64-line-bytearray-out-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-line-bytearray-out-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[float64-line-bytearray-bytearray-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-line-bytearray-bytearray-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[float64-line-bytearray-bytearray-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-line-bytearray-bytearray-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[int32-rgba-new-new-mode0-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int32-rgba-new-new-mode0-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int32-rgba-new-new-mode1-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int32-rgba-new-new-mode1-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int32-rgba-new-out-mode0-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int32-rgba-new-out-mode0-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int32-rgba-new-out-mode1-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int32-rgba-new-out-mode1-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int32-rgba-new-bytearray-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[int32-rgba-new-bytearray-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[int32-rgba-new-bytearray-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[int32-rgba-new-bytearray-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[int32-rgba-out-new-mode0-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int32-rgba-out-new-mode0-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int32-rgba-out-new-mode1-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int32-rgba-out-new-mode1-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int32-rgba-out-out-mode0-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int32-rgba-out-out-mode0-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int32-rgba-out-out-mode1-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int32-rgba-out-out-mode1-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int32-rgba-out-bytearray-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[int32-rgba-out-bytearray-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[int32-rgba-out-bytearray-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[int32-rgba-out-bytearray-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[int32-rgba-bytearray-new-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[int32-rgba-bytearray-new-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[int32-rgba-bytearray-new-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[int32-rgba-bytearray-new-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[int32-rgba-bytearray-out-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[int32-rgba-bytearray-out-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[int32-rgba-bytearray-out-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[int32-rgba-bytearray-out-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[int32-rgba-bytearray-bytearray-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[int32-rgba-bytearray-bytearray-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[int32-rgba-bytearray-bytearray-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[int32-rgba-bytearray-bytearray-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[int32-view-new-new-mode0-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int32-view-new-new-mode0-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int32-view-new-new-mode1-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int32-view-new-new-mode1-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int32-view-new-out-mode0-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int32-view-new-out-mode0-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int32-view-new-out-mode1-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int32-view-new-out-mode1-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int32-view-new-bytearray-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[int32-view-new-bytearray-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[int32-view-new-bytearray-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[int32-view-new-bytearray-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[int32-view-out-new-mode0-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int32-view-out-new-mode0-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int32-view-out-new-mode1-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int32-view-out-new-mode1-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int32-view-out-out-mode0-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int32-view-out-out-mode0-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int32-view-out-out-mode1-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int32-view-out-out-mode1-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int32-view-out-bytearray-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[int32-view-out-bytearray-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[int32-view-out-bytearray-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[int32-view-out-bytearray-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[int32-view-bytearray-new-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[int32-view-bytearray-new-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[int32-view-bytearray-new-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[int32-view-bytearray-new-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[int32-view-bytearray-out-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[int32-view-bytearray-out-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[int32-view-bytearray-out-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[int32-view-bytearray-out-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[int32-view-bytearray-bytearray-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[int32-view-bytearray-bytearray-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[int32-view-bytearray-bytearray-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[int32-view-bytearray-bytearray-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[int32-gray-new-new-mode0-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int32-gray-new-new-mode0-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int32-gray-new-new-mode1-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int32-gray-new-new-mode1-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int32-gray-new-out-mode0-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int32-gray-new-out-mode0-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int32-gray-new-out-mode1-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int32-gray-new-out-mode1-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int32-gray-new-bytearray-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[int32-gray-new-bytearray-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[int32-gray-new-bytearray-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[int32-gray-new-bytearray-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[int32-gray-out-new-mode0-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int32-gray-out-new-mode0-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int32-gray-out-new-mode1-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int32-gray-out-new-mode1-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int32-gray-out-out-mode0-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int32-gray-out-out-mode0-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int32-gray-out-out-mode1-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int32-gray-out-out-mode1-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int32-gray-out-bytearray-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[int32-gray-out-bytearray-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[int32-gray-out-bytearray-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[int32-gray-out-bytearray-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[int32-gray-bytearray-new-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[int32-gray-bytearray-new-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[int32-gray-bytearray-new-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[int32-gray-bytearray-new-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[int32-gray-bytearray-out-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[int32-gray-bytearray-out-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[int32-gray-bytearray-out-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[int32-gray-bytearray-out-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[int32-gray-bytearray-bytearray-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[int32-gray-bytearray-bytearray-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[int32-gray-bytearray-bytearray-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[int32-gray-bytearray-bytearray-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[int32-line-new-new-mode0-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int32-line-new-new-mode0-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int32-line-new-new-mode1-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int32-line-new-new-mode1-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int32-line-new-out-mode0-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int32-line-new-out-mode0-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int32-line-new-out-mode1-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int32-line-new-out-mode1-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int32-line-new-bytearray-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[int32-line-new-bytearray-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[int32-line-new-bytearray-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[int32-line-new-bytearray-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[int32-line-out-new-mode0-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int32-line-out-new-mode0-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int32-line-out-new-mode1-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int32-line-out-new-mode1-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int32-line-out-out-mode0-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int32-line-out-out-mode0-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int32-line-out-out-mode1-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int32-line-out-out-mode1-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int32-line-out-bytearray-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[int32-line-out-bytearray-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[int32-line-out-bytearray-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[int32-line-out-bytearray-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[int32-line-bytearray-new-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[int32-line-bytearray-new-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[int32-line-bytearray-new-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[int32-line-bytearray-new-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[int32-line-bytearray-out-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[int32-line-bytearray-out-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[int32-line-bytearray-out-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[int32-line-bytearray-out-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[int32-line-bytearray-bytearray-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[int32-line-bytearray-bytearray-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[int32-line-bytearray-bytearray-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[int32-line-bytearray-bytearray-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[int64-rgba-new-new-mode0-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int64-rgba-new-new-mode0-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int64-rgba-new-new-mode1-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int64-rgba-new-new-mode1-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int64-rgba-new-out-mode0-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int64-rgba-new-out-mode0-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int64-rgba-new-out-mode1-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int64-rgba-new-out-mode1-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int64-rgba-new-bytearray-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[int64-rgba-new-bytearray-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[int64-rgba-new-bytearray-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[int64-rgba-new-bytearray-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[int64-rgba-out-new-mode0-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int64-rgba-out-new-mode0-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int64-rgba-out-new-mode1-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int64-rgba-out-new-mode1-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int64-rgba-out-out-mode0-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int64-rgba-out-out-mode0-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int64-rgba-out-out-mode1-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int64-rgba-out-out-mode1-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int64-rgba-out-bytearray-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[int64-rgba-out-bytearray-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[int64-rgba-out-bytearray-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[int64-rgba-out-bytearray-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[int64-rgba-bytearray-new-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[int64-rgba-bytearray-new-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[int64-rgba-bytearray-new-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[int64-rgba-bytearray-new-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[int64-rgba-bytearray-out-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[int64-rgba-bytearray-out-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[int64-rgba-bytearray-out-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[int64-rgba-bytearray-out-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[int64-rgba-bytearray-bytearray-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[int64-rgba-bytearray-bytearray-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[int64-rgba-bytearray-bytearray-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[int64-rgba-bytearray-bytearray-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[int64-view-new-new-mode0-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int64-view-new-new-mode0-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int64-view-new-new-mode1-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int64-view-new-new-mode1-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int64-view-new-out-mode0-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int64-view-new-out-mode0-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int64-view-new-out-mode1-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int64-view-new-out-mode1-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int64-view-new-bytearray-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[int64-view-new-bytearray-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[int64-view-new-bytearray-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[int64-view-new-bytearray-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[int64-view-out-new-mode0-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int64-view-out-new-mode0-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int64-view-out-new-mode1-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int64-view-out-new-mode1-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int64-view-out-out-mode0-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int64-view-out-out-mode0-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int64-view-out-out-mode1-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int64-view-out-out-mode1-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int64-view-out-bytearray-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[int64-view-out-bytearray-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[int64-view-out-bytearray-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[int64-view-out-bytearray-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[int64-view-bytearray-new-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[int64-view-bytearray-new-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[int64-view-bytearray-new-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[int64-view-bytearray-new-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[int64-view-bytearray-out-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[int64-view-bytearray-out-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[int64-view-bytearray-out-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[int64-view-bytearray-out-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[int64-view-bytearray-bytearray-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[int64-view-bytearray-bytearray-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[int64-view-bytearray-bytearray-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[int64-view-bytearray-bytearray-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[int64-gray-new-new-mode0-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int64-gray-new-new-mode0-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int64-gray-new-new-mode1-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int64-gray-new-new-mode1-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int64-gray-new-out-mode0-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int64-gray-new-out-mode0-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int64-gray-new-out-mode1-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int64-gray-new-out-mode1-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int64-gray-new-bytearray-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[int64-gray-new-bytearray-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[int64-gray-new-bytearray-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[int64-gray-new-bytearray-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[int64-gray-out-new-mode0-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int64-gray-out-new-mode0-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int64-gray-out-new-mode1-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int64-gray-out-new-mode1-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int64-gray-out-out-mode0-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int64-gray-out-out-mode0-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int64-gray-out-out-mode1-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int64-gray-out-out-mode1-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int64-gray-out-bytearray-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[int64-gray-out-bytearray-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[int64-gray-out-bytearray-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[int64-gray-out-bytearray-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[int64-gray-bytearray-new-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[int64-gray-bytearray-new-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[int64-gray-bytearray-new-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[int64-gray-bytearray-new-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[int64-gray-bytearray-out-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[int64-gray-bytearray-out-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[int64-gray-bytearray-out-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[int64-gray-bytearray-out-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[int64-gray-bytearray-bytearray-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[int64-gray-bytearray-bytearray-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[int64-gray-bytearray-bytearray-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[int64-gray-bytearray-bytearray-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[int64-line-new-new-mode0-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int64-line-new-new-mode0-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int64-line-new-new-mode1-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int64-line-new-new-mode1-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int64-line-new-out-mode0-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int64-line-new-out-mode0-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int64-line-new-out-mode1-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int64-line-new-out-mode1-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int64-line-new-bytearray-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[int64-line-new-bytearray-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[int64-line-new-bytearray-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[int64-line-new-bytearray-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[int64-line-out-new-mode0-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int64-line-out-new-mode0-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int64-line-out-new-mode1-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int64-line-out-new-mode1-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int64-line-out-out-mode0-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int64-line-out-out-mode0-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int64-line-out-out-mode1-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int64-line-out-out-mode1-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int64-line-out-bytearray-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[int64-line-out-bytearray-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[int64-line-out-bytearray-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[int64-line-out-bytearray-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[int64-line-bytearray-new-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[int64-line-bytearray-new-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[int64-line-bytearray-new-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[int64-line-bytearray-new-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[int64-line-bytearray-out-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[int64-line-bytearray-out-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[int64-line-bytearray-out-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[int64-line-bytearray-out-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[int64-line-bytearray-bytearray-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[int64-line-bytearray-bytearray-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[int64-line-bytearray-bytearray-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[int64-line-bytearray-bytearray-mode1-omp] FAILED tests/test_imagecodecs.py::test_lerc[uint8-gray-new-new-None-None] - i... FAILED tests/test_imagecodecs.py::test_lerc[uint8-gray-new-new-None-0.02] - i... FAILED tests/test_imagecodecs.py::test_lerc[uint8-gray-new-new-True-None] - i... FAILED tests/test_imagecodecs.py::test_lerc[uint8-gray-new-new-True-0.02] - i... FAILED tests/test_imagecodecs.py::test_lerc[uint8-gray-new-out-None-None] - i... FAILED tests/test_imagecodecs.py::test_lerc[uint8-gray-new-out-None-0.02] - i... FAILED tests/test_imagecodecs.py::test_lerc[uint8-gray-new-out-True-None] - i... FAILED tests/test_imagecodecs.py::test_lerc[uint8-gray-new-out-True-0.02] - i... FAILED tests/test_imagecodecs.py::test_lerc[uint8-gray-new-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint8-gray-new-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint8-gray-new-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint8-gray-new-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint8-gray-out-new-None-None] - i... FAILED tests/test_imagecodecs.py::test_lerc[uint8-gray-out-new-None-0.02] - i... FAILED tests/test_imagecodecs.py::test_lerc[uint8-gray-out-new-True-None] - i... FAILED tests/test_imagecodecs.py::test_lerc[uint8-gray-out-new-True-0.02] - i... FAILED tests/test_imagecodecs.py::test_lerc[uint8-gray-out-out-None-None] - i... FAILED tests/test_imagecodecs.py::test_lerc[uint8-gray-out-out-None-0.02] - i... FAILED tests/test_imagecodecs.py::test_lerc[uint8-gray-out-out-True-None] - i... FAILED tests/test_imagecodecs.py::test_lerc[uint8-gray-out-out-True-0.02] - i... FAILED tests/test_imagecodecs.py::test_lerc[uint8-gray-out-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint8-gray-out-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint8-gray-out-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint8-gray-out-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint8-gray-bytearray-new-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint8-gray-bytearray-new-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint8-gray-bytearray-new-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint8-gray-bytearray-new-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint8-gray-bytearray-out-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint8-gray-bytearray-out-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint8-gray-bytearray-out-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint8-gray-bytearray-out-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint8-gray-bytearray-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint8-gray-bytearray-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint8-gray-bytearray-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint8-gray-bytearray-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgb-new-new-None-None] - im... FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgb-new-new-None-0.02] - im... FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgb-new-new-True-None] - im... FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgb-new-new-True-0.02] - im... FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgb-new-out-None-None] - im... FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgb-new-out-None-0.02] - im... FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgb-new-out-True-None] - im... FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgb-new-out-True-0.02] - im... FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgb-new-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgb-new-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgb-new-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgb-new-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgb-out-new-None-None] - im... FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgb-out-new-None-0.02] - im... FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgb-out-new-True-None] - im... FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgb-out-new-True-0.02] - im... FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgb-out-out-None-None] - im... FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgb-out-out-None-0.02] - im... FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgb-out-out-True-None] - im... FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgb-out-out-True-0.02] - im... FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgb-out-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgb-out-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgb-out-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgb-out-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgb-bytearray-new-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgb-bytearray-new-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgb-bytearray-new-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgb-bytearray-new-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgb-bytearray-out-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgb-bytearray-out-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgb-bytearray-out-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgb-bytearray-out-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgb-bytearray-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgb-bytearray-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgb-bytearray-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgb-bytearray-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgba-new-new-None-None] - i... FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgba-new-new-None-0.02] - i... FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgba-new-new-True-None] - i... FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgba-new-new-True-0.02] - i... FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgba-new-out-None-None] - i... FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgba-new-out-None-0.02] - i... FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgba-new-out-True-None] - i... FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgba-new-out-True-0.02] - i... FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgba-new-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgba-new-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgba-new-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgba-new-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgba-out-new-None-None] - i... FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgba-out-new-None-0.02] - i... FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgba-out-new-True-None] - i... FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgba-out-new-True-0.02] - i... FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgba-out-out-None-None] - i... FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgba-out-out-None-0.02] - i... FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgba-out-out-True-None] - i... FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgba-out-out-True-0.02] - i... FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgba-out-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgba-out-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgba-out-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgba-out-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgba-bytearray-new-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgba-bytearray-new-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgba-bytearray-new-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgba-bytearray-new-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgba-bytearray-out-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgba-bytearray-out-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgba-bytearray-out-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgba-bytearray-out-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgba-bytearray-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgba-bytearray-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgba-bytearray-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgba-bytearray-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint8-channels-new-new-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint8-channels-new-new-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint8-channels-new-new-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint8-channels-new-new-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint8-channels-new-out-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint8-channels-new-out-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint8-channels-new-out-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint8-channels-new-out-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint8-channels-new-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint8-channels-new-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint8-channels-new-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint8-channels-new-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint8-channels-out-new-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint8-channels-out-new-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint8-channels-out-new-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint8-channels-out-new-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint8-channels-out-out-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint8-channels-out-out-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint8-channels-out-out-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint8-channels-out-out-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint8-channels-out-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint8-channels-out-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint8-channels-out-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint8-channels-out-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint8-channels-bytearray-new-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint8-channels-bytearray-new-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint8-channels-bytearray-new-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint8-channels-bytearray-new-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint8-channels-bytearray-out-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint8-channels-bytearray-out-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint8-channels-bytearray-out-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint8-channels-bytearray-out-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint8-channels-bytearray-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint8-channels-bytearray-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint8-channels-bytearray-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint8-channels-bytearray-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint8-stack-new-new-None-None] - ... FAILED tests/test_imagecodecs.py::test_lerc[uint8-stack-new-new-None-0.02] - ... FAILED tests/test_imagecodecs.py::test_lerc[uint8-stack-new-new-True-None] - ... FAILED tests/test_imagecodecs.py::test_lerc[uint8-stack-new-new-True-0.02] - ... FAILED tests/test_imagecodecs.py::test_lerc[uint8-stack-new-out-None-None] - ... FAILED tests/test_imagecodecs.py::test_lerc[uint8-stack-new-out-None-0.02] - ... FAILED tests/test_imagecodecs.py::test_lerc[uint8-stack-new-out-True-None] - ... FAILED tests/test_imagecodecs.py::test_lerc[uint8-stack-new-out-True-0.02] - ... FAILED tests/test_imagecodecs.py::test_lerc[uint8-stack-new-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint8-stack-new-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint8-stack-new-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint8-stack-new-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint8-stack-out-new-None-None] - ... FAILED tests/test_imagecodecs.py::test_lerc[uint8-stack-out-new-None-0.02] - ... FAILED tests/test_imagecodecs.py::test_lerc[uint8-stack-out-new-True-None] - ... FAILED tests/test_imagecodecs.py::test_lerc[uint8-stack-out-new-True-0.02] - ... FAILED tests/test_imagecodecs.py::test_lerc[uint8-stack-out-out-None-None] - ... FAILED tests/test_imagecodecs.py::test_lerc[uint8-stack-out-out-None-0.02] - ... FAILED tests/test_imagecodecs.py::test_lerc[uint8-stack-out-out-True-None] - ... FAILED tests/test_imagecodecs.py::test_lerc[uint8-stack-out-out-True-0.02] - ... FAILED tests/test_imagecodecs.py::test_lerc[uint8-stack-out-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint8-stack-out-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint8-stack-out-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint8-stack-out-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint8-stack-bytearray-new-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint8-stack-bytearray-new-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint8-stack-bytearray-new-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint8-stack-bytearray-new-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint8-stack-bytearray-out-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint8-stack-bytearray-out-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint8-stack-bytearray-out-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint8-stack-bytearray-out-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint8-stack-bytearray-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint8-stack-bytearray-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint8-stack-bytearray-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint8-stack-bytearray-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int8-gray-new-new-None-None] - im... FAILED tests/test_imagecodecs.py::test_lerc[int8-gray-new-new-None-0.02] - im... FAILED tests/test_imagecodecs.py::test_lerc[int8-gray-new-new-True-None] - im... FAILED tests/test_imagecodecs.py::test_lerc[int8-gray-new-new-True-0.02] - im... FAILED tests/test_imagecodecs.py::test_lerc[int8-gray-new-out-None-None] - im... FAILED tests/test_imagecodecs.py::test_lerc[int8-gray-new-out-None-0.02] - im... FAILED tests/test_imagecodecs.py::test_lerc[int8-gray-new-out-True-None] - im... FAILED tests/test_imagecodecs.py::test_lerc[int8-gray-new-out-True-0.02] - im... FAILED tests/test_imagecodecs.py::test_lerc[int8-gray-new-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[int8-gray-new-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int8-gray-new-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[int8-gray-new-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int8-gray-out-new-None-None] - im... FAILED tests/test_imagecodecs.py::test_lerc[int8-gray-out-new-None-0.02] - im... FAILED tests/test_imagecodecs.py::test_lerc[int8-gray-out-new-True-None] - im... FAILED tests/test_imagecodecs.py::test_lerc[int8-gray-out-new-True-0.02] - im... FAILED tests/test_imagecodecs.py::test_lerc[int8-gray-out-out-None-None] - im... FAILED tests/test_imagecodecs.py::test_lerc[int8-gray-out-out-None-0.02] - im... FAILED tests/test_imagecodecs.py::test_lerc[int8-gray-out-out-True-None] - im... FAILED tests/test_imagecodecs.py::test_lerc[int8-gray-out-out-True-0.02] - im... FAILED tests/test_imagecodecs.py::test_lerc[int8-gray-out-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[int8-gray-out-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int8-gray-out-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[int8-gray-out-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int8-gray-bytearray-new-None-None] FAILED tests/test_imagecodecs.py::test_lerc[int8-gray-bytearray-new-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int8-gray-bytearray-new-True-None] FAILED tests/test_imagecodecs.py::test_lerc[int8-gray-bytearray-new-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int8-gray-bytearray-out-None-None] FAILED tests/test_imagecodecs.py::test_lerc[int8-gray-bytearray-out-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int8-gray-bytearray-out-True-None] FAILED tests/test_imagecodecs.py::test_lerc[int8-gray-bytearray-out-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int8-gray-bytearray-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[int8-gray-bytearray-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int8-gray-bytearray-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[int8-gray-bytearray-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int8-rgb-new-new-None-None] - ima... FAILED tests/test_imagecodecs.py::test_lerc[int8-rgb-new-new-None-0.02] - ima... FAILED tests/test_imagecodecs.py::test_lerc[int8-rgb-new-new-True-None] - ima... FAILED tests/test_imagecodecs.py::test_lerc[int8-rgb-new-new-True-0.02] - ima... FAILED tests/test_imagecodecs.py::test_lerc[int8-rgb-new-out-None-None] - ima... FAILED tests/test_imagecodecs.py::test_lerc[int8-rgb-new-out-None-0.02] - ima... FAILED tests/test_imagecodecs.py::test_lerc[int8-rgb-new-out-True-None] - ima... FAILED tests/test_imagecodecs.py::test_lerc[int8-rgb-new-out-True-0.02] - ima... FAILED tests/test_imagecodecs.py::test_lerc[int8-rgb-new-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[int8-rgb-new-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int8-rgb-new-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[int8-rgb-new-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int8-rgb-out-new-None-None] - ima... FAILED tests/test_imagecodecs.py::test_lerc[int8-rgb-out-new-None-0.02] - ima... FAILED tests/test_imagecodecs.py::test_lerc[int8-rgb-out-new-True-None] - ima... FAILED tests/test_imagecodecs.py::test_lerc[int8-rgb-out-new-True-0.02] - ima... FAILED tests/test_imagecodecs.py::test_lerc[int8-rgb-out-out-None-None] - ima... FAILED tests/test_imagecodecs.py::test_lerc[int8-rgb-out-out-None-0.02] - ima... FAILED tests/test_imagecodecs.py::test_lerc[int8-rgb-out-out-True-None] - ima... FAILED tests/test_imagecodecs.py::test_lerc[int8-rgb-out-out-True-0.02] - ima... FAILED tests/test_imagecodecs.py::test_lerc[int8-rgb-out-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[int8-rgb-out-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int8-rgb-out-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[int8-rgb-out-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int8-rgb-bytearray-new-None-None] FAILED tests/test_imagecodecs.py::test_lerc[int8-rgb-bytearray-new-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int8-rgb-bytearray-new-True-None] FAILED tests/test_imagecodecs.py::test_lerc[int8-rgb-bytearray-new-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int8-rgb-bytearray-out-None-None] FAILED tests/test_imagecodecs.py::test_lerc[int8-rgb-bytearray-out-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int8-rgb-bytearray-out-True-None] FAILED tests/test_imagecodecs.py::test_lerc[int8-rgb-bytearray-out-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int8-rgb-bytearray-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[int8-rgb-bytearray-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int8-rgb-bytearray-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[int8-rgb-bytearray-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int8-rgba-new-new-None-None] - im... FAILED tests/test_imagecodecs.py::test_lerc[int8-rgba-new-new-None-0.02] - im... FAILED tests/test_imagecodecs.py::test_lerc[int8-rgba-new-new-True-None] - im... FAILED tests/test_imagecodecs.py::test_lerc[int8-rgba-new-new-True-0.02] - im... FAILED tests/test_imagecodecs.py::test_lerc[int8-rgba-new-out-None-None] - im... FAILED tests/test_imagecodecs.py::test_lerc[int8-rgba-new-out-None-0.02] - im... FAILED tests/test_imagecodecs.py::test_lerc[int8-rgba-new-out-True-None] - im... FAILED tests/test_imagecodecs.py::test_lerc[int8-rgba-new-out-True-0.02] - im... FAILED tests/test_imagecodecs.py::test_lerc[int8-rgba-new-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[int8-rgba-new-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int8-rgba-new-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[int8-rgba-new-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int8-rgba-out-new-None-None] - im... FAILED tests/test_imagecodecs.py::test_lerc[int8-rgba-out-new-None-0.02] - im... FAILED tests/test_imagecodecs.py::test_lerc[int8-rgba-out-new-True-None] - im... FAILED tests/test_imagecodecs.py::test_lerc[int8-rgba-out-new-True-0.02] - im... FAILED tests/test_imagecodecs.py::test_lerc[int8-rgba-out-out-None-None] - im... FAILED tests/test_imagecodecs.py::test_lerc[int8-rgba-out-out-None-0.02] - im... FAILED tests/test_imagecodecs.py::test_lerc[int8-rgba-out-out-True-None] - im... FAILED tests/test_imagecodecs.py::test_lerc[int8-rgba-out-out-True-0.02] - im... FAILED tests/test_imagecodecs.py::test_lerc[int8-rgba-out-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[int8-rgba-out-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int8-rgba-out-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[int8-rgba-out-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int8-rgba-bytearray-new-None-None] FAILED tests/test_imagecodecs.py::test_lerc[int8-rgba-bytearray-new-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int8-rgba-bytearray-new-True-None] FAILED tests/test_imagecodecs.py::test_lerc[int8-rgba-bytearray-new-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int8-rgba-bytearray-out-None-None] FAILED tests/test_imagecodecs.py::test_lerc[int8-rgba-bytearray-out-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int8-rgba-bytearray-out-True-None] FAILED tests/test_imagecodecs.py::test_lerc[int8-rgba-bytearray-out-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int8-rgba-bytearray-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[int8-rgba-bytearray-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int8-rgba-bytearray-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[int8-rgba-bytearray-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int8-channels-new-new-None-None] FAILED tests/test_imagecodecs.py::test_lerc[int8-channels-new-new-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int8-channels-new-new-True-None] FAILED tests/test_imagecodecs.py::test_lerc[int8-channels-new-new-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int8-channels-new-out-None-None] FAILED tests/test_imagecodecs.py::test_lerc[int8-channels-new-out-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int8-channels-new-out-True-None] FAILED tests/test_imagecodecs.py::test_lerc[int8-channels-new-out-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int8-channels-new-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[int8-channels-new-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int8-channels-new-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[int8-channels-new-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int8-channels-out-new-None-None] FAILED tests/test_imagecodecs.py::test_lerc[int8-channels-out-new-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int8-channels-out-new-True-None] FAILED tests/test_imagecodecs.py::test_lerc[int8-channels-out-new-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int8-channels-out-out-None-None] FAILED tests/test_imagecodecs.py::test_lerc[int8-channels-out-out-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int8-channels-out-out-True-None] FAILED tests/test_imagecodecs.py::test_lerc[int8-channels-out-out-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int8-channels-out-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[int8-channels-out-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int8-channels-out-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[int8-channels-out-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int8-channels-bytearray-new-None-None] FAILED tests/test_imagecodecs.py::test_lerc[int8-channels-bytearray-new-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int8-channels-bytearray-new-True-None] FAILED tests/test_imagecodecs.py::test_lerc[int8-channels-bytearray-new-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int8-channels-bytearray-out-None-None] FAILED tests/test_imagecodecs.py::test_lerc[int8-channels-bytearray-out-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int8-channels-bytearray-out-True-None] FAILED tests/test_imagecodecs.py::test_lerc[int8-channels-bytearray-out-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int8-channels-bytearray-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[int8-channels-bytearray-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int8-channels-bytearray-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[int8-channels-bytearray-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int8-stack-new-new-None-None] - i... FAILED tests/test_imagecodecs.py::test_lerc[int8-stack-new-new-None-0.02] - i... FAILED tests/test_imagecodecs.py::test_lerc[int8-stack-new-new-True-None] - i... FAILED tests/test_imagecodecs.py::test_lerc[int8-stack-new-new-True-0.02] - i... FAILED tests/test_imagecodecs.py::test_lerc[int8-stack-new-out-None-None] - i... FAILED tests/test_imagecodecs.py::test_lerc[int8-stack-new-out-None-0.02] - i... FAILED tests/test_imagecodecs.py::test_lerc[int8-stack-new-out-True-None] - i... FAILED tests/test_imagecodecs.py::test_lerc[int8-stack-new-out-True-0.02] - i... FAILED tests/test_imagecodecs.py::test_lerc[int8-stack-new-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[int8-stack-new-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int8-stack-new-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[int8-stack-new-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int8-stack-out-new-None-None] - i... FAILED tests/test_imagecodecs.py::test_lerc[int8-stack-out-new-None-0.02] - i... FAILED tests/test_imagecodecs.py::test_lerc[int8-stack-out-new-True-None] - i... FAILED tests/test_imagecodecs.py::test_lerc[int8-stack-out-new-True-0.02] - i... FAILED tests/test_imagecodecs.py::test_lerc[int8-stack-out-out-None-None] - i... FAILED tests/test_imagecodecs.py::test_lerc[int8-stack-out-out-None-0.02] - i... FAILED tests/test_imagecodecs.py::test_lerc[int8-stack-out-out-True-None] - i... FAILED tests/test_imagecodecs.py::test_lerc[int8-stack-out-out-True-0.02] - i... FAILED tests/test_imagecodecs.py::test_lerc[int8-stack-out-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[int8-stack-out-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int8-stack-out-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[int8-stack-out-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int8-stack-bytearray-new-None-None] FAILED tests/test_imagecodecs.py::test_lerc[int8-stack-bytearray-new-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int8-stack-bytearray-new-True-None] FAILED tests/test_imagecodecs.py::test_lerc[int8-stack-bytearray-new-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int8-stack-bytearray-out-None-None] FAILED tests/test_imagecodecs.py::test_lerc[int8-stack-bytearray-out-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int8-stack-bytearray-out-True-None] FAILED tests/test_imagecodecs.py::test_lerc[int8-stack-bytearray-out-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int8-stack-bytearray-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[int8-stack-bytearray-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int8-stack-bytearray-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[int8-stack-bytearray-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-gray-new-new-None-None] - ... FAILED tests/test_imagecodecs.py::test_lerc[uint16-gray-new-new-None-0.02] - ... FAILED tests/test_imagecodecs.py::test_lerc[uint16-gray-new-new-True-None] - ... FAILED tests/test_imagecodecs.py::test_lerc[uint16-gray-new-new-True-0.02] - ... FAILED tests/test_imagecodecs.py::test_lerc[uint16-gray-new-out-None-None] - ... FAILED tests/test_imagecodecs.py::test_lerc[uint16-gray-new-out-None-0.02] - ... FAILED tests/test_imagecodecs.py::test_lerc[uint16-gray-new-out-True-None] - ... FAILED tests/test_imagecodecs.py::test_lerc[uint16-gray-new-out-True-0.02] - ... FAILED tests/test_imagecodecs.py::test_lerc[uint16-gray-new-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-gray-new-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-gray-new-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-gray-new-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-gray-out-new-None-None] - ... FAILED tests/test_imagecodecs.py::test_lerc[uint16-gray-out-new-None-0.02] - ... FAILED tests/test_imagecodecs.py::test_lerc[uint16-gray-out-new-True-None] - ... FAILED tests/test_imagecodecs.py::test_lerc[uint16-gray-out-new-True-0.02] - ... FAILED tests/test_imagecodecs.py::test_lerc[uint16-gray-out-out-None-None] - ... FAILED tests/test_imagecodecs.py::test_lerc[uint16-gray-out-out-None-0.02] - ... FAILED tests/test_imagecodecs.py::test_lerc[uint16-gray-out-out-True-None] - ... FAILED tests/test_imagecodecs.py::test_lerc[uint16-gray-out-out-True-0.02] - ... FAILED tests/test_imagecodecs.py::test_lerc[uint16-gray-out-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-gray-out-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-gray-out-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-gray-out-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-gray-bytearray-new-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-gray-bytearray-new-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-gray-bytearray-new-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-gray-bytearray-new-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-gray-bytearray-out-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-gray-bytearray-out-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-gray-bytearray-out-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-gray-bytearray-out-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-gray-bytearray-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-gray-bytearray-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-gray-bytearray-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-gray-bytearray-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgb-new-new-None-None] - i... FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgb-new-new-None-0.02] - i... FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgb-new-new-True-None] - i... FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgb-new-new-True-0.02] - i... FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgb-new-out-None-None] - i... FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgb-new-out-None-0.02] - i... FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgb-new-out-True-None] - i... FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgb-new-out-True-0.02] - i... FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgb-new-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgb-new-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgb-new-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgb-new-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgb-out-new-None-None] - i... FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgb-out-new-None-0.02] - i... FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgb-out-new-True-None] - i... FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgb-out-new-True-0.02] - i... FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgb-out-out-None-None] - i... FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgb-out-out-None-0.02] - i... FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgb-out-out-True-None] - i... FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgb-out-out-True-0.02] - i... FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgb-out-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgb-out-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgb-out-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgb-out-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgb-bytearray-new-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgb-bytearray-new-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgb-bytearray-new-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgb-bytearray-new-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgb-bytearray-out-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgb-bytearray-out-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgb-bytearray-out-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgb-bytearray-out-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgb-bytearray-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgb-bytearray-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgb-bytearray-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgb-bytearray-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgba-new-new-None-None] - ... FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgba-new-new-None-0.02] - ... FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgba-new-new-True-None] - ... FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgba-new-new-True-0.02] - ... FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgba-new-out-None-None] - ... FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgba-new-out-None-0.02] - ... FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgba-new-out-True-None] - ... FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgba-new-out-True-0.02] - ... FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgba-new-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgba-new-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgba-new-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgba-new-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgba-out-new-None-None] - ... FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgba-out-new-None-0.02] - ... FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgba-out-new-True-None] - ... FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgba-out-new-True-0.02] - ... FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgba-out-out-None-None] - ... FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgba-out-out-None-0.02] - ... FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgba-out-out-True-None] - ... FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgba-out-out-True-0.02] - ... FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgba-out-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgba-out-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgba-out-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgba-out-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgba-bytearray-new-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgba-bytearray-new-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgba-bytearray-new-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgba-bytearray-new-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgba-bytearray-out-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgba-bytearray-out-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgba-bytearray-out-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgba-bytearray-out-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgba-bytearray-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgba-bytearray-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgba-bytearray-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgba-bytearray-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-channels-new-new-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-channels-new-new-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-channels-new-new-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-channels-new-new-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-channels-new-out-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-channels-new-out-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-channels-new-out-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-channels-new-out-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-channels-new-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-channels-new-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-channels-new-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-channels-new-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-channels-out-new-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-channels-out-new-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-channels-out-new-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-channels-out-new-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-channels-out-out-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-channels-out-out-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-channels-out-out-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-channels-out-out-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-channels-out-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-channels-out-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-channels-out-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-channels-out-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-channels-bytearray-new-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-channels-bytearray-new-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-channels-bytearray-new-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-channels-bytearray-new-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-channels-bytearray-out-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-channels-bytearray-out-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-channels-bytearray-out-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-channels-bytearray-out-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-channels-bytearray-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-channels-bytearray-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-channels-bytearray-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-channels-bytearray-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-stack-new-new-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-stack-new-new-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-stack-new-new-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-stack-new-new-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-stack-new-out-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-stack-new-out-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-stack-new-out-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-stack-new-out-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-stack-new-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-stack-new-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-stack-new-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-stack-new-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-stack-out-new-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-stack-out-new-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-stack-out-new-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-stack-out-new-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-stack-out-out-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-stack-out-out-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-stack-out-out-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-stack-out-out-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-stack-out-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-stack-out-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-stack-out-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-stack-out-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-stack-bytearray-new-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-stack-bytearray-new-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-stack-bytearray-new-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-stack-bytearray-new-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-stack-bytearray-out-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-stack-bytearray-out-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-stack-bytearray-out-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-stack-bytearray-out-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-stack-bytearray-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-stack-bytearray-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-stack-bytearray-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-stack-bytearray-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int32-gray-new-new-None-None] - i... FAILED tests/test_imagecodecs.py::test_lerc[int32-gray-new-new-None-0.02] - i... FAILED tests/test_imagecodecs.py::test_lerc[int32-gray-new-new-True-None] - i... FAILED tests/test_imagecodecs.py::test_lerc[int32-gray-new-new-True-0.02] - i... FAILED tests/test_imagecodecs.py::test_lerc[int32-gray-new-out-None-None] - i... FAILED tests/test_imagecodecs.py::test_lerc[int32-gray-new-out-None-0.02] - i... FAILED tests/test_imagecodecs.py::test_lerc[int32-gray-new-out-True-None] - i... FAILED tests/test_imagecodecs.py::test_lerc[int32-gray-new-out-True-0.02] - i... FAILED tests/test_imagecodecs.py::test_lerc[int32-gray-new-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[int32-gray-new-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int32-gray-new-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[int32-gray-new-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int32-gray-out-new-None-None] - i... FAILED tests/test_imagecodecs.py::test_lerc[int32-gray-out-new-None-0.02] - i... FAILED tests/test_imagecodecs.py::test_lerc[int32-gray-out-new-True-None] - i... FAILED tests/test_imagecodecs.py::test_lerc[int32-gray-out-new-True-0.02] - i... FAILED tests/test_imagecodecs.py::test_lerc[int32-gray-out-out-None-None] - i... FAILED tests/test_imagecodecs.py::test_lerc[int32-gray-out-out-None-0.02] - i... FAILED tests/test_imagecodecs.py::test_lerc[int32-gray-out-out-True-None] - i... FAILED tests/test_imagecodecs.py::test_lerc[int32-gray-out-out-True-0.02] - i... FAILED tests/test_imagecodecs.py::test_lerc[int32-gray-out-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[int32-gray-out-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int32-gray-out-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[int32-gray-out-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int32-gray-bytearray-new-None-None] FAILED tests/test_imagecodecs.py::test_lerc[int32-gray-bytearray-new-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int32-gray-bytearray-new-True-None] FAILED tests/test_imagecodecs.py::test_lerc[int32-gray-bytearray-new-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int32-gray-bytearray-out-None-None] FAILED tests/test_imagecodecs.py::test_lerc[int32-gray-bytearray-out-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int32-gray-bytearray-out-True-None] FAILED tests/test_imagecodecs.py::test_lerc[int32-gray-bytearray-out-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int32-gray-bytearray-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[int32-gray-bytearray-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int32-gray-bytearray-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[int32-gray-bytearray-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int32-rgb-new-new-None-None] - im... FAILED tests/test_imagecodecs.py::test_lerc[int32-rgb-new-new-None-0.02] - im... FAILED tests/test_imagecodecs.py::test_lerc[int32-rgb-new-new-True-None] - im... FAILED tests/test_imagecodecs.py::test_lerc[int32-rgb-new-new-True-0.02] - im... FAILED tests/test_imagecodecs.py::test_lerc[int32-rgb-new-out-None-None] - im... FAILED tests/test_imagecodecs.py::test_lerc[int32-rgb-new-out-None-0.02] - im... FAILED tests/test_imagecodecs.py::test_lerc[int32-rgb-new-out-True-None] - im... FAILED tests/test_imagecodecs.py::test_lerc[int32-rgb-new-out-True-0.02] - im... FAILED tests/test_imagecodecs.py::test_lerc[int32-rgb-new-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[int32-rgb-new-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int32-rgb-new-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[int32-rgb-new-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int32-rgb-out-new-None-None] - im... FAILED tests/test_imagecodecs.py::test_lerc[int32-rgb-out-new-None-0.02] - im... FAILED tests/test_imagecodecs.py::test_lerc[int32-rgb-out-new-True-None] - im... FAILED tests/test_imagecodecs.py::test_lerc[int32-rgb-out-new-True-0.02] - im... FAILED tests/test_imagecodecs.py::test_lerc[int32-rgb-out-out-None-None] - im... FAILED tests/test_imagecodecs.py::test_lerc[int32-rgb-out-out-None-0.02] - im... FAILED tests/test_imagecodecs.py::test_lerc[int32-rgb-out-out-True-None] - im... FAILED tests/test_imagecodecs.py::test_lerc[int32-rgb-out-out-True-0.02] - im... FAILED tests/test_imagecodecs.py::test_lerc[int32-rgb-out-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[int32-rgb-out-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int32-rgb-out-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[int32-rgb-out-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int32-rgb-bytearray-new-None-None] FAILED tests/test_imagecodecs.py::test_lerc[int32-rgb-bytearray-new-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int32-rgb-bytearray-new-True-None] FAILED tests/test_imagecodecs.py::test_lerc[int32-rgb-bytearray-new-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int32-rgb-bytearray-out-None-None] FAILED tests/test_imagecodecs.py::test_lerc[int32-rgb-bytearray-out-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int32-rgb-bytearray-out-True-None] FAILED tests/test_imagecodecs.py::test_lerc[int32-rgb-bytearray-out-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int32-rgb-bytearray-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[int32-rgb-bytearray-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int32-rgb-bytearray-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[int32-rgb-bytearray-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int32-rgba-new-new-None-None] - i... FAILED tests/test_imagecodecs.py::test_lerc[int32-rgba-new-new-None-0.02] - i... FAILED tests/test_imagecodecs.py::test_lerc[int32-rgba-new-new-True-None] - i... FAILED tests/test_imagecodecs.py::test_lerc[int32-rgba-new-new-True-0.02] - i... FAILED tests/test_imagecodecs.py::test_lerc[int32-rgba-new-out-None-None] - i... FAILED tests/test_imagecodecs.py::test_lerc[int32-rgba-new-out-None-0.02] - i... FAILED tests/test_imagecodecs.py::test_lerc[int32-rgba-new-out-True-None] - i... FAILED tests/test_imagecodecs.py::test_lerc[int32-rgba-new-out-True-0.02] - i... FAILED tests/test_imagecodecs.py::test_lerc[int32-rgba-new-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[int32-rgba-new-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int32-rgba-new-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[int32-rgba-new-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int32-rgba-out-new-None-None] - i... FAILED tests/test_imagecodecs.py::test_lerc[int32-rgba-out-new-None-0.02] - i... FAILED tests/test_imagecodecs.py::test_lerc[int32-rgba-out-new-True-None] - i... FAILED tests/test_imagecodecs.py::test_lerc[int32-rgba-out-new-True-0.02] - i... FAILED tests/test_imagecodecs.py::test_lerc[int32-rgba-out-out-None-None] - i... FAILED tests/test_imagecodecs.py::test_lerc[int32-rgba-out-out-None-0.02] - i... FAILED tests/test_imagecodecs.py::test_lerc[int32-rgba-out-out-True-None] - i... FAILED tests/test_imagecodecs.py::test_lerc[int32-rgba-out-out-True-0.02] - i... FAILED tests/test_imagecodecs.py::test_lerc[int32-rgba-out-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[int32-rgba-out-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int32-rgba-out-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[int32-rgba-out-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int32-rgba-bytearray-new-None-None] FAILED tests/test_imagecodecs.py::test_lerc[int32-rgba-bytearray-new-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int32-rgba-bytearray-new-True-None] FAILED tests/test_imagecodecs.py::test_lerc[int32-rgba-bytearray-new-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int32-rgba-bytearray-out-None-None] FAILED tests/test_imagecodecs.py::test_lerc[int32-rgba-bytearray-out-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int32-rgba-bytearray-out-True-None] FAILED tests/test_imagecodecs.py::test_lerc[int32-rgba-bytearray-out-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int32-rgba-bytearray-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[int32-rgba-bytearray-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int32-rgba-bytearray-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[int32-rgba-bytearray-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int32-channels-new-new-None-None] FAILED tests/test_imagecodecs.py::test_lerc[int32-channels-new-new-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int32-channels-new-new-True-None] FAILED tests/test_imagecodecs.py::test_lerc[int32-channels-new-new-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int32-channels-new-out-None-None] FAILED tests/test_imagecodecs.py::test_lerc[int32-channels-new-out-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int32-channels-new-out-True-None] FAILED tests/test_imagecodecs.py::test_lerc[int32-channels-new-out-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int32-channels-new-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[int32-channels-new-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int32-channels-new-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[int32-channels-new-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int32-channels-out-new-None-None] FAILED tests/test_imagecodecs.py::test_lerc[int32-channels-out-new-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int32-channels-out-new-True-None] FAILED tests/test_imagecodecs.py::test_lerc[int32-channels-out-new-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int32-channels-out-out-None-None] FAILED tests/test_imagecodecs.py::test_lerc[int32-channels-out-out-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int32-channels-out-out-True-None] FAILED tests/test_imagecodecs.py::test_lerc[int32-channels-out-out-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int32-channels-out-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[int32-channels-out-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int32-channels-out-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[int32-channels-out-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int32-channels-bytearray-new-None-None] FAILED tests/test_imagecodecs.py::test_lerc[int32-channels-bytearray-new-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int32-channels-bytearray-new-True-None] FAILED tests/test_imagecodecs.py::test_lerc[int32-channels-bytearray-new-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int32-channels-bytearray-out-None-None] FAILED tests/test_imagecodecs.py::test_lerc[int32-channels-bytearray-out-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int32-channels-bytearray-out-True-None] FAILED tests/test_imagecodecs.py::test_lerc[int32-channels-bytearray-out-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int32-channels-bytearray-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[int32-channels-bytearray-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int32-channels-bytearray-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[int32-channels-bytearray-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int32-stack-new-new-None-None] - ... FAILED tests/test_imagecodecs.py::test_lerc[int32-stack-new-new-None-0.02] - ... FAILED tests/test_imagecodecs.py::test_lerc[int32-stack-new-new-True-None] - ... FAILED tests/test_imagecodecs.py::test_lerc[int32-stack-new-new-True-0.02] - ... FAILED tests/test_imagecodecs.py::test_lerc[int32-stack-new-out-None-None] - ... FAILED tests/test_imagecodecs.py::test_lerc[int32-stack-new-out-None-0.02] - ... FAILED tests/test_imagecodecs.py::test_lerc[int32-stack-new-out-True-None] - ... FAILED tests/test_imagecodecs.py::test_lerc[int32-stack-new-out-True-0.02] - ... FAILED tests/test_imagecodecs.py::test_lerc[int32-stack-new-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[int32-stack-new-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int32-stack-new-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[int32-stack-new-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int32-stack-out-new-None-None] - ... FAILED tests/test_imagecodecs.py::test_lerc[int32-stack-out-new-None-0.02] - ... FAILED tests/test_imagecodecs.py::test_lerc[int32-stack-out-new-True-None] - ... FAILED tests/test_imagecodecs.py::test_lerc[int32-stack-out-new-True-0.02] - ... FAILED tests/test_imagecodecs.py::test_lerc[int32-stack-out-out-None-None] - ... FAILED tests/test_imagecodecs.py::test_lerc[int32-stack-out-out-None-0.02] - ... FAILED tests/test_imagecodecs.py::test_lerc[int32-stack-out-out-True-None] - ... FAILED tests/test_imagecodecs.py::test_lerc[int32-stack-out-out-True-0.02] - ... FAILED tests/test_imagecodecs.py::test_lerc[int32-stack-out-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[int32-stack-out-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int32-stack-out-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[int32-stack-out-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int32-stack-bytearray-new-None-None] FAILED tests/test_imagecodecs.py::test_lerc[int32-stack-bytearray-new-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int32-stack-bytearray-new-True-None] FAILED tests/test_imagecodecs.py::test_lerc[int32-stack-bytearray-new-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int32-stack-bytearray-out-None-None] FAILED tests/test_imagecodecs.py::test_lerc[int32-stack-bytearray-out-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int32-stack-bytearray-out-True-None] FAILED tests/test_imagecodecs.py::test_lerc[int32-stack-bytearray-out-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int32-stack-bytearray-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[int32-stack-bytearray-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int32-stack-bytearray-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[int32-stack-bytearray-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-gray-new-new-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-gray-new-new-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-gray-new-new-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-gray-new-new-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-gray-new-out-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-gray-new-out-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-gray-new-out-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-gray-new-out-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-gray-new-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-gray-new-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-gray-new-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-gray-new-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-gray-out-new-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-gray-out-new-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-gray-out-new-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-gray-out-new-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-gray-out-out-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-gray-out-out-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-gray-out-out-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-gray-out-out-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-gray-out-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-gray-out-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-gray-out-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-gray-out-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-gray-bytearray-new-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-gray-bytearray-new-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-gray-bytearray-new-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-gray-bytearray-new-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-gray-bytearray-out-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-gray-bytearray-out-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-gray-bytearray-out-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-gray-bytearray-out-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-gray-bytearray-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-gray-bytearray-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-gray-bytearray-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-gray-bytearray-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-rgb-new-new-None-None] - ... FAILED tests/test_imagecodecs.py::test_lerc[float32-rgb-new-new-None-0.02] - ... FAILED tests/test_imagecodecs.py::test_lerc[float32-rgb-new-new-True-None] - ... FAILED tests/test_imagecodecs.py::test_lerc[float32-rgb-new-new-True-0.02] - ... FAILED tests/test_imagecodecs.py::test_lerc[float32-rgb-new-out-None-None] - ... FAILED tests/test_imagecodecs.py::test_lerc[float32-rgb-new-out-None-0.02] - ... FAILED tests/test_imagecodecs.py::test_lerc[float32-rgb-new-out-True-None] - ... FAILED tests/test_imagecodecs.py::test_lerc[float32-rgb-new-out-True-0.02] - ... FAILED tests/test_imagecodecs.py::test_lerc[float32-rgb-new-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-rgb-new-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-rgb-new-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-rgb-new-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-rgb-out-new-None-None] - ... FAILED tests/test_imagecodecs.py::test_lerc[float32-rgb-out-new-None-0.02] - ... FAILED tests/test_imagecodecs.py::test_lerc[float32-rgb-out-new-True-None] - ... FAILED tests/test_imagecodecs.py::test_lerc[float32-rgb-out-new-True-0.02] - ... FAILED tests/test_imagecodecs.py::test_lerc[float32-rgb-out-out-None-None] - ... FAILED tests/test_imagecodecs.py::test_lerc[float32-rgb-out-out-None-0.02] - ... FAILED tests/test_imagecodecs.py::test_lerc[float32-rgb-out-out-True-None] - ... FAILED tests/test_imagecodecs.py::test_lerc[float32-rgb-out-out-True-0.02] - ... FAILED tests/test_imagecodecs.py::test_lerc[float32-rgb-out-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-rgb-out-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-rgb-out-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-rgb-out-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-rgb-bytearray-new-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-rgb-bytearray-new-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-rgb-bytearray-new-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-rgb-bytearray-new-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-rgb-bytearray-out-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-rgb-bytearray-out-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-rgb-bytearray-out-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-rgb-bytearray-out-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-rgb-bytearray-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-rgb-bytearray-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-rgb-bytearray-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-rgb-bytearray-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-rgba-new-new-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-rgba-new-new-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-rgba-new-new-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-rgba-new-new-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-rgba-new-out-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-rgba-new-out-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-rgba-new-out-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-rgba-new-out-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-rgba-new-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-rgba-new-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-rgba-new-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-rgba-new-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-rgba-out-new-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-rgba-out-new-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-rgba-out-new-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-rgba-out-new-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-rgba-out-out-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-rgba-out-out-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-rgba-out-out-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-rgba-out-out-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-rgba-out-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-rgba-out-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-rgba-out-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-rgba-out-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-rgba-bytearray-new-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-rgba-bytearray-new-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-rgba-bytearray-new-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-rgba-bytearray-new-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-rgba-bytearray-out-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-rgba-bytearray-out-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-rgba-bytearray-out-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-rgba-bytearray-out-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-rgba-bytearray-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-rgba-bytearray-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-rgba-bytearray-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-rgba-bytearray-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-channels-new-new-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-channels-new-new-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-channels-new-new-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-channels-new-new-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-channels-new-out-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-channels-new-out-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-channels-new-out-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-channels-new-out-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-channels-new-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-channels-new-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-channels-new-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-channels-new-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-channels-out-new-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-channels-out-new-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-channels-out-new-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-channels-out-new-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-channels-out-out-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-channels-out-out-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-channels-out-out-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-channels-out-out-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-channels-out-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-channels-out-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-channels-out-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-channels-out-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-channels-bytearray-new-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-channels-bytearray-new-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-channels-bytearray-new-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-channels-bytearray-new-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-channels-bytearray-out-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-channels-bytearray-out-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-channels-bytearray-out-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-channels-bytearray-out-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-channels-bytearray-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-channels-bytearray-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-channels-bytearray-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-channels-bytearray-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-stack-new-new-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-stack-new-new-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-stack-new-new-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-stack-new-new-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-stack-new-out-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-stack-new-out-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-stack-new-out-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-stack-new-out-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-stack-new-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-stack-new-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-stack-new-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-stack-new-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-stack-out-new-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-stack-out-new-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-stack-out-new-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-stack-out-new-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-stack-out-out-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-stack-out-out-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-stack-out-out-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-stack-out-out-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-stack-out-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-stack-out-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-stack-out-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-stack-out-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-stack-bytearray-new-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-stack-bytearray-new-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-stack-bytearray-new-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-stack-bytearray-new-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-stack-bytearray-out-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-stack-bytearray-out-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-stack-bytearray-out-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-stack-bytearray-out-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-stack-bytearray-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-stack-bytearray-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-stack-bytearray-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-stack-bytearray-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-gray-new-new-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-gray-new-new-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-gray-new-new-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-gray-new-new-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-gray-new-out-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-gray-new-out-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-gray-new-out-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-gray-new-out-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-gray-new-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-gray-new-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-gray-new-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-gray-new-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-gray-out-new-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-gray-out-new-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-gray-out-new-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-gray-out-new-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-gray-out-out-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-gray-out-out-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-gray-out-out-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-gray-out-out-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-gray-out-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-gray-out-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-gray-out-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-gray-out-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-gray-bytearray-new-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-gray-bytearray-new-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-gray-bytearray-new-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-gray-bytearray-new-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-gray-bytearray-out-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-gray-bytearray-out-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-gray-bytearray-out-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-gray-bytearray-out-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-gray-bytearray-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-gray-bytearray-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-gray-bytearray-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-gray-bytearray-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-rgb-new-new-None-None] - ... FAILED tests/test_imagecodecs.py::test_lerc[float64-rgb-new-new-None-0.02] - ... FAILED tests/test_imagecodecs.py::test_lerc[float64-rgb-new-new-True-None] - ... FAILED tests/test_imagecodecs.py::test_lerc[float64-rgb-new-new-True-0.02] - ... FAILED tests/test_imagecodecs.py::test_lerc[float64-rgb-new-out-None-None] - ... FAILED tests/test_imagecodecs.py::test_lerc[float64-rgb-new-out-None-0.02] - ... FAILED tests/test_imagecodecs.py::test_lerc[float64-rgb-new-out-True-None] - ... FAILED tests/test_imagecodecs.py::test_lerc[float64-rgb-new-out-True-0.02] - ... FAILED tests/test_imagecodecs.py::test_lerc[float64-rgb-new-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-rgb-new-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-rgb-new-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-rgb-new-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-rgb-out-new-None-None] - ... FAILED tests/test_imagecodecs.py::test_lerc[float64-rgb-out-new-None-0.02] - ... FAILED tests/test_imagecodecs.py::test_lerc[float64-rgb-out-new-True-None] - ... FAILED tests/test_imagecodecs.py::test_lerc[float64-rgb-out-new-True-0.02] - ... FAILED tests/test_imagecodecs.py::test_lerc[float64-rgb-out-out-None-None] - ... FAILED tests/test_imagecodecs.py::test_lerc[float64-rgb-out-out-None-0.02] - ... FAILED tests/test_imagecodecs.py::test_lerc[float64-rgb-out-out-True-None] - ... FAILED tests/test_imagecodecs.py::test_lerc[float64-rgb-out-out-True-0.02] - ... FAILED tests/test_imagecodecs.py::test_lerc[float64-rgb-out-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-rgb-out-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-rgb-out-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-rgb-out-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-rgb-bytearray-new-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-rgb-bytearray-new-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-rgb-bytearray-new-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-rgb-bytearray-new-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-rgb-bytearray-out-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-rgb-bytearray-out-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-rgb-bytearray-out-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-rgb-bytearray-out-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-rgb-bytearray-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-rgb-bytearray-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-rgb-bytearray-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-rgb-bytearray-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-rgba-new-new-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-rgba-new-new-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-rgba-new-new-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-rgba-new-new-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-rgba-new-out-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-rgba-new-out-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-rgba-new-out-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-rgba-new-out-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-rgba-new-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-rgba-new-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-rgba-new-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-rgba-new-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-rgba-out-new-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-rgba-out-new-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-rgba-out-new-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-rgba-out-new-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-rgba-out-out-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-rgba-out-out-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-rgba-out-out-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-rgba-out-out-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-rgba-out-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-rgba-out-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-rgba-out-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-rgba-out-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-rgba-bytearray-new-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-rgba-bytearray-new-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-rgba-bytearray-new-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-rgba-bytearray-new-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-rgba-bytearray-out-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-rgba-bytearray-out-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-rgba-bytearray-out-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-rgba-bytearray-out-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-rgba-bytearray-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-rgba-bytearray-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-rgba-bytearray-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-rgba-bytearray-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-channels-new-new-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-channels-new-new-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-channels-new-new-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-channels-new-new-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-channels-new-out-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-channels-new-out-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-channels-new-out-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-channels-new-out-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-channels-new-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-channels-new-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-channels-new-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-channels-new-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-channels-out-new-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-channels-out-new-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-channels-out-new-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-channels-out-new-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-channels-out-out-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-channels-out-out-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-channels-out-out-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-channels-out-out-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-channels-out-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-channels-out-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-channels-out-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-channels-out-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-channels-bytearray-new-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-channels-bytearray-new-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-channels-bytearray-new-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-channels-bytearray-new-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-channels-bytearray-out-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-channels-bytearray-out-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-channels-bytearray-out-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-channels-bytearray-out-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-channels-bytearray-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-channels-bytearray-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-channels-bytearray-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-channels-bytearray-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-stack-new-new-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-stack-new-new-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-stack-new-new-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-stack-new-new-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-stack-new-out-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-stack-new-out-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-stack-new-out-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-stack-new-out-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-stack-new-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-stack-new-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-stack-new-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-stack-new-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-stack-out-new-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-stack-out-new-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-stack-out-new-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-stack-out-new-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-stack-out-out-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-stack-out-out-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-stack-out-out-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-stack-out-out-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-stack-out-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-stack-out-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-stack-out-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-stack-out-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-stack-bytearray-new-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-stack-bytearray-new-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-stack-bytearray-new-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-stack-bytearray-new-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-stack-bytearray-out-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-stack-bytearray-out-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-stack-bytearray-out-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-stack-bytearray-out-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-stack-bytearray-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-stack-bytearray-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-stack-bytearray-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-stack-bytearray-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc_files[world.lerc1] - imagecodecs.... FAILED tests/test_imagecodecs.py::test_lerc_files[california_400_400_1_float.lerc2] FAILED tests/test_imagecodecs.py::test_lerc_files[bluemarble_256_256_3_byte.lerc2] FAILED tests/test_imagecodecs.py::test_lerc_files[zstd.lerc2] - imagecodecs._... FAILED tests/test_imagecodecs.py::test_lerc_compression[None] - imagecodecs._... FAILED tests/test_imagecodecs.py::test_lerc_compression[zstd] - imagecodecs._... FAILED tests/test_imagecodecs.py::test_lerc_compression[deflate] - imagecodec... FAILED tests/test_imagecodecs.py::test_lerc_masks - imagecodecs._lerc.LercErr... FAILED tests/test_imagecodecs.py::test_tiff_files[rgb.tiled.jpeg.u1-False] - ... FAILED tests/test_imagecodecs.py::test_tifffile[lzw-False-u1->] - AttributeEr... FAILED tests/test_imagecodecs.py::test_tifffile[lzw-False-u2->] - AttributeEr... FAILED tests/test_imagecodecs.py::test_tifffile[lzw-False-f2->] - AttributeEr... FAILED tests/test_imagecodecs.py::test_tifffile[lzw-False-f4->] - AttributeEr... FAILED tests/test_imagecodecs.py::test_tifffile[lzw-True-u1->] - AttributeErr... FAILED tests/test_imagecodecs.py::test_tifffile[lzw-True-u2-<] - AttributeErr... FAILED tests/test_imagecodecs.py::test_tifffile[lzw-True-u2->] - AttributeErr... FAILED tests/test_imagecodecs.py::test_tifffile[lzw-True-f2-<] - AssertionErr... FAILED tests/test_imagecodecs.py::test_tifffile[lzw-True-f2->] - AttributeErr... FAILED tests/test_imagecodecs.py::test_tifffile[lzw-True-f4-<] - AssertionErr... FAILED tests/test_imagecodecs.py::test_tifffile[lzw-True-f4->] - AttributeErr... FAILED tests/test_imagecodecs.py::test_tifffile[zstd-False-u1->] - AttributeE... FAILED tests/test_imagecodecs.py::test_tifffile[zstd-False-u2->] - AttributeE... FAILED tests/test_imagecodecs.py::test_tifffile[zstd-False-f2->] - AttributeE... FAILED tests/test_imagecodecs.py::test_tifffile[zstd-False-f4->] - AttributeE... FAILED tests/test_imagecodecs.py::test_tifffile[zstd-True-u1->] - AttributeEr... FAILED tests/test_imagecodecs.py::test_tifffile[zstd-True-u2-<] - AttributeEr... FAILED tests/test_imagecodecs.py::test_tifffile[zstd-True-u2->] - AttributeEr... FAILED tests/test_imagecodecs.py::test_tifffile[zstd-True-f2-<] - AssertionEr... FAILED tests/test_imagecodecs.py::test_tifffile[zstd-True-f2->] - AttributeEr... FAILED tests/test_imagecodecs.py::test_tifffile[zstd-True-f4-<] - AssertionEr... FAILED tests/test_imagecodecs.py::test_tifffile[zstd-True-f4->] - AttributeEr... FAILED tests/test_imagecodecs.py::test_tifffile[packbits-False-u1->] - Attrib... FAILED tests/test_imagecodecs.py::test_tifffile[packbits-False-u2->] - Attrib... FAILED tests/test_imagecodecs.py::test_tifffile[packbits-False-f2->] - Attrib... FAILED tests/test_imagecodecs.py::test_tifffile[packbits-False-f4->] - Attrib... FAILED tests/test_imagecodecs.py::test_tifffile[packbits-True-u1->] - Attribu... FAILED tests/test_imagecodecs.py::test_tifffile[packbits-True-u2-<] - Attribu... FAILED tests/test_imagecodecs.py::test_tifffile[packbits-True-u2->] - Attribu... FAILED tests/test_imagecodecs.py::test_tifffile[packbits-True-f2-<] - Asserti... FAILED tests/test_imagecodecs.py::test_tifffile[packbits-True-f2->] - Attribu... FAILED tests/test_imagecodecs.py::test_tifffile[packbits-True-f4-<] - Asserti... FAILED tests/test_imagecodecs.py::test_tifffile[packbits-True-f4->] - Attribu... FAILED tests/test_imagecodecs.py::test_tifffile[webp-False-u1->] - AttributeE... FAILED tests/test_imagecodecs.py::test_tifffile[jpeg-False-u1-<] - AssertionE... FAILED tests/test_imagecodecs.py::test_tifffile[jpeg-False-u1->] - AttributeE... FAILED tests/test_imagecodecs.py::test_tifffile[lerc-False-u1-<] - imagecodec... FAILED tests/test_imagecodecs.py::test_tifffile[lerc-False-u2-<] - ValueError... FAILED tests/test_imagecodecs.py::test_tifffile[lerc-False-f4-<] - ValueError... FAILED tests/test_imagecodecs.py::test_tifffile[lerc-True-u1-<] - imagecodecs... FAILED tests/test_imagecodecs.py::test_tifffile[lerc-True-u2-<] - AttributeEr... FAILED tests/test_imagecodecs.py::test_tifffile[lerc_zstd-False-u1-<] - image... FAILED tests/test_imagecodecs.py::test_tifffile[lerc_zstd-False-u2-<] - Value... FAILED tests/test_imagecodecs.py::test_tifffile[lerc_zstd-False-f4-<] - Value... FAILED tests/test_imagecodecs.py::test_tifffile[lerc_zstd-True-u1-<] - imagec... FAILED tests/test_imagecodecs.py::test_tifffile[lerc_zstd-True-u2-<] - Attrib... FAILED tests/test_imagecodecs.py::test_tifffile[lerc_deflate-False-u1-<] - im... FAILED tests/test_imagecodecs.py::test_tifffile[lerc_deflate-False-u2-<] - Va... FAILED tests/test_imagecodecs.py::test_tifffile[lerc_deflate-False-f4-<] - Va... FAILED tests/test_imagecodecs.py::test_tifffile[lerc_deflate-True-u1-<] - ima... FAILED tests/test_imagecodecs.py::test_tifffile[lerc_deflate-True-u2-<] - Att... FAILED tests/test_imagecodecs.py::test_numcodecs[float24-gray] - AssertionErr... FAILED tests/test_imagecodecs.py::test_numcodecs[float24-rgb] - AssertionError: FAILED tests/test_imagecodecs.py::test_numcodecs[lerc-gray] - imagecodecs._le... FAILED tests/test_imagecodecs.py::test_numcodecs[lerc-rgb] - imagecodecs._ler... = 1876 failed, 2670 passed, 4132 skipped, 296 deselected, 1363 xfailed in 316.10s (0:05:16) = + : + RPM_EC=0 ++ jobs -p + exit 0 Processing files: python3-imagecodecs-2023.1.23-4.fc42.s390x Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.Am5pmR + umask 022 + cd /builddir/build/BUILD/python-imagecodecs-2023.1.23-build + cd imagecodecs-2023.1.23 + DOCDIR=/builddir/build/BUILD/python-imagecodecs-2023.1.23-build/BUILDROOT/usr/share/doc/python3-imagecodecs + export LC_ALL=C.UTF-8 + LC_ALL=C.UTF-8 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILD/python-imagecodecs-2023.1.23-build/BUILDROOT/usr/share/doc/python3-imagecodecs + cp -pr /builddir/build/BUILD/python-imagecodecs-2023.1.23-build/imagecodecs-2023.1.23/README.rst /builddir/build/BUILD/python-imagecodecs-2023.1.23-build/BUILDROOT/usr/share/doc/python3-imagecodecs + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.3O4MVm + umask 022 + cd /builddir/build/BUILD/python-imagecodecs-2023.1.23-build + cd imagecodecs-2023.1.23 + LICENSEDIR=/builddir/build/BUILD/python-imagecodecs-2023.1.23-build/BUILDROOT/usr/share/licenses/python3-imagecodecs + export LC_ALL=C.UTF-8 + LC_ALL=C.UTF-8 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILD/python-imagecodecs-2023.1.23-build/BUILDROOT/usr/share/licenses/python3-imagecodecs + cp -pr /builddir/build/BUILD/python-imagecodecs-2023.1.23-build/imagecodecs-2023.1.23/LICENSE /builddir/build/BUILD/python-imagecodecs-2023.1.23-build/BUILDROOT/usr/share/licenses/python3-imagecodecs + RPM_EC=0 ++ jobs -p + exit 0 Provides: python-imagecodecs = 2023.1.23-4.fc42 python3-imagecodecs = 2023.1.23-4.fc42 python3-imagecodecs(s390-64) = 2023.1.23-4.fc42 python3.13-imagecodecs = 2023.1.23-4.fc42 python3.13dist(imagecodecs) = 2023.1.23 python3dist(imagecodecs) = 2023.1.23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/python3 libLerc.so.4()(64bit) libaec.so.0()(64bit) libavif.so.16()(64bit) libblosc.so.1()(64bit) libblosc2.so.4()(64bit) libbrotlidec.so.1()(64bit) libbrotlienc.so.1()(64bit) libbz2.so.1()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.11)(64bit) libc.so.6(GLIBC_2.2)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) libcfitsio.so.10()(64bit) libdeflate.so.0()(64bit) libgif.so.7()(64bit) libheif.so.1()(64bit) libjpeg.so.62()(64bit) libjpeg.so.62(LIBJPEGTURBO_6.2)(64bit) libjpeg.so.62(LIBJPEG_6.2)(64bit) libjpegxr.so.0()(64bit) libjxrglue.so.0()(64bit) liblcms2.so.2()(64bit) liblz4.so.1()(64bit) liblzma.so.5()(64bit) liblzma.so.5(XZ_5.0)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.2)(64bit) libpng16.so.16()(64bit) libpng16.so.16(PNG16_0)(64bit) libsnappy.so.1()(64bit) libtiff.so.6()(64bit) libtiff.so.6(LIBTIFF_4.0)(64bit) libtiff.so.6(LIBTIFF_4.5)(64bit) libwebp.so.7()(64bit) libz-ng.so.2()(64bit) libz-ng.so.2(ZLIB_NG_2.0.0)(64bit) libz-ng.so.2(ZLIB_NG_2.1.0)(64bit) libz.so.1()(64bit) libz.so.1(ZLIB_1.2.0)(64bit) libz.so.1(ZLIB_1.2.9)(64bit) libzfp.so.1()(64bit) libzopfli.so.1()(64bit) libzstd.so.1()(64bit) python(abi) = 3.13 python3.13dist(numpy) rtld(GNU_HASH) Processing files: python-imagecodecs-debugsource-2023.1.23-4.fc42.s390x Provides: python-imagecodecs-debugsource = 2023.1.23-4.fc42 python-imagecodecs-debugsource(s390-64) = 2023.1.23-4.fc42 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: python3-imagecodecs-debuginfo-2023.1.23-4.fc42.s390x Provides: debuginfo(build-id) = 015796258b55be630b5aa4fb5aad9092d2b508a3 debuginfo(build-id) = 065a019a43c05c14179f58436ad49955f1678909 debuginfo(build-id) = 0ce1199c4345a15cf77f94c7eae05b6c6e09a628 debuginfo(build-id) = 135da28fe8f09822b9993632a116209b05664080 debuginfo(build-id) = 2a61aa61b7cba8a68ed5d564ee3070f477293742 debuginfo(build-id) = 30e454fbb02211766ae8ffac0e26501ddc291716 debuginfo(build-id) = 398b31e7c842a18ae413a509645ac6bf701585dd debuginfo(build-id) = 3b51d85de32fa13016437be1efbabc976f863373 debuginfo(build-id) = 3d40910badfc9c82d5be55b0460e3bb2648cc801 debuginfo(build-id) = 3d5a53403675f067959379018d51191bac29fe3e debuginfo(build-id) = 555440e10943ef11714fd1671e74892b759ed4b1 debuginfo(build-id) = 5621742cfe0642bca98fbbac60c9087b0c6cdb23 debuginfo(build-id) = 68ff84ec102caaa9b41614bfd36901ec6105d657 debuginfo(build-id) = 8d9bb1ab65de58911dc0312f6f6615a3f3c7ee68 debuginfo(build-id) = 91dca7d22e2c6c355df7b2ab1cc7cf974647a8f9 debuginfo(build-id) = 9615ebf9f31399f4f4769de3d375adbc5f9b679c debuginfo(build-id) = 9dfa8b7a3c61d82bc54cc3517b911283f3662b1c debuginfo(build-id) = a60e0c78bf191464debd0df03839f2731bcc4df6 debuginfo(build-id) = b27d65e708e4bf7769170e6237eb5be4b659d4d5 debuginfo(build-id) = b3e09656b93f68ae3e5ceb05c23a9f4b3927789a debuginfo(build-id) = b868b8ee425dc67f4d8d64380e0572e82c9399e6 debuginfo(build-id) = d33532c242922dfab445c729e76d09f27e3b17e4 debuginfo(build-id) = f2a9cd2dcf5ef3c2d9c0cefbf2847dedbf3231c9 debuginfo(build-id) = f2bed9ab24c1e3c7ab490bd0e01aa078ed8b8ee6 debuginfo(build-id) = fc5982f0497b401cdee4c95ade0490972ac017c6 debuginfo(build-id) = fcf15bd8aa9ac4c9debe78886bce655a85e80e97 debuginfo(build-id) = fde7c945c273eff3bdefd9fc64352ffa2cfa5020 python-imagecodecs-debuginfo = 2023.1.23-4.fc42 python3-imagecodecs-debuginfo = 2023.1.23-4.fc42 python3-imagecodecs-debuginfo(s390-64) = 2023.1.23-4.fc42 python3.13-imagecodecs-debuginfo = 2023.1.23-4.fc42 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: python-imagecodecs-debugsource(s390-64) = 2023.1.23-4.fc42 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILD/python-imagecodecs-2023.1.23-build/BUILDROOT Wrote: /builddir/build/SRPMS/python-imagecodecs-2023.1.23-4.fc42.src.rpm Wrote: /builddir/build/RPMS/python-imagecodecs-debugsource-2023.1.23-4.fc42.s390x.rpm Wrote: /builddir/build/RPMS/python3-imagecodecs-2023.1.23-4.fc42.s390x.rpm Wrote: /builddir/build/RPMS/python3-imagecodecs-debuginfo-2023.1.23-4.fc42.s390x.rpm Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.SATlwf + umask 022 + cd /builddir/build/BUILD/python-imagecodecs-2023.1.23-build + test -d /builddir/build/BUILD/python-imagecodecs-2023.1.23-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILD/python-imagecodecs-2023.1.23-build + rm -rf /builddir/build/BUILD/python-imagecodecs-2023.1.23-build + RPM_EC=0 ++ jobs -p + exit 0 Finish: rpmbuild python-imagecodecs-2023.1.23-4.fc42.src.rpm Finish: build phase for python-imagecodecs-2023.1.23-4.fc42.src.rpm INFO: chroot_scan: 1 files copied to /var/lib/copr-rpmbuild/results/chroot_scan INFO: /var/lib/mock/fedora-rawhide-s390x-1736280654.693837/root/var/log/dnf5.log INFO: chroot_scan: creating tarball /var/lib/copr-rpmbuild/results/chroot_scan.tar.gz /bin/tar: Removing leading `/' from member names INFO: Done(/var/lib/copr-rpmbuild/results/python-imagecodecs-2023.1.23-4.fc42.src.rpm) Config(child) 12 minutes 48 seconds INFO: Results and/or logs in: /var/lib/copr-rpmbuild/results INFO: Cleaning up build root ('cleanup_on_success=True') Start: clean chroot INFO: unmounting tmpfs. Finish: clean chroot Finish: run Running RPMResults tool Package info: { "packages": [ { "name": "python3-imagecodecs-debuginfo", "epoch": null, "version": "2023.1.23", "release": "4.fc42", "arch": "s390x" }, { "name": "python3-imagecodecs", "epoch": null, "version": "2023.1.23", "release": "4.fc42", "arch": "s390x" }, { "name": "python-imagecodecs-debugsource", "epoch": null, "version": "2023.1.23", "release": "4.fc42", "arch": "s390x" }, { "name": "python-imagecodecs", "epoch": null, "version": "2023.1.23", "release": "4.fc42", "arch": "src" } ] } RPMResults finished