Warning: Permanently added '150.239.84.117' (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/7333921-fedora-40-s390x --chroot fedora-40-s390x Version: 0.72 PID: 7429 Logging PID: 7430 Task: {'allow_user_ssh': False, 'appstream': False, 'background': True, 'build_id': 7333921, 'buildroot_pkgs': [], 'chroot': 'fedora-40-s390x', 'enable_net': False, 'fedora_review': False, 'git_hash': '148924ac0b3c23b112ec353dd1006c3e6d3f8728', 'git_repo': 'https://copr-dist-git.fedorainfracloud.org/git/psimovec/openblas-0.3.23/python-imagecodecs', 'isolation': 'default', 'memory_reqs': 2048, 'package_name': 'python-imagecodecs', 'package_version': '2023.1.23-1', 'project_dirname': 'openblas-0.3.23', 'project_name': 'openblas-0.3.23', 'project_owner': 'psimovec', 'repo_priority': None, 'repos': [{'baseurl': 'https://download.copr.fedorainfracloud.org/results/psimovec/openblas-0.3.23/fedora-40-s390x/', 'id': 'copr_base', 'name': 'Copr repository', 'priority': None}, {'baseurl': 'http://kojipkgs.fedoraproject.org/repos/rawhide/latest/$basearch/', 'id': 'http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch', 'name': 'Additional repo http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch'}], 'sandbox': 'psimovec/openblas-0.3.23--https://src.fedoraproject.org/user/zbyszek', 'source_json': {}, 'source_type': None, 'ssh_public_keys': None, 'submitter': 'https://src.fedoraproject.org/user/zbyszek', 'tags': [], 'task_id': '7333921-fedora-40-s390x', 'timeout': 18000, 'uses_devel_repo': False, 'with_opts': [], 'without_opts': []} Running: git clone https://copr-dist-git.fedorainfracloud.org/git/psimovec/openblas-0.3.23/python-imagecodecs /var/lib/copr-rpmbuild/workspace/workdir-1ly4i083/python-imagecodecs --depth 500 --no-single-branch --recursive cmd: ['git', 'clone', 'https://copr-dist-git.fedorainfracloud.org/git/psimovec/openblas-0.3.23/python-imagecodecs', '/var/lib/copr-rpmbuild/workspace/workdir-1ly4i083/python-imagecodecs', '--depth', '500', '--no-single-branch', '--recursive'] cwd: . rc: 0 stdout: stderr: Cloning into '/var/lib/copr-rpmbuild/workspace/workdir-1ly4i083/python-imagecodecs'... Running: git checkout 148924ac0b3c23b112ec353dd1006c3e6d3f8728 -- cmd: ['git', 'checkout', '148924ac0b3c23b112ec353dd1006c3e6d3f8728', '--'] cwd: /var/lib/copr-rpmbuild/workspace/workdir-1ly4i083/python-imagecodecs rc: 0 stdout: stderr: Note: switching to '148924ac0b3c23b112ec353dd1006c3e6d3f8728'. 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 148924a automatic import of python-imagecodecs Running: copr-distgit-client sources cmd: ['copr-distgit-client', 'sources'] cwd: /var/lib/copr-rpmbuild/workspace/workdir-1ly4i083/python-imagecodecs /usr/bin/tail: /var/lib/copr-rpmbuild/main.log: file truncated 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/psimovec/openblas-0.3.23/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 2808k 0 0:00:05 0:00:05 --:--:-- 3392k INFO: Reading stdout from command: md5sum imagecodecs-2023.1.23.tar.gz Running (timeout=18000): unbuffer mock --spec /var/lib/copr-rpmbuild/workspace/workdir-1ly4i083/python-imagecodecs/python-imagecodecs.spec --sources /var/lib/copr-rpmbuild/workspace/workdir-1ly4i083/python-imagecodecs --resultdir /var/lib/copr-rpmbuild/results --uniqueext 1713734902.857088 -r /var/lib/copr-rpmbuild/results/configs/child.cfg INFO: mock.py version 5.5 starting (python version = 3.12.1, NVR = mock-5.5-1.fc39), args: /usr/libexec/mock/mock --spec /var/lib/copr-rpmbuild/workspace/workdir-1ly4i083/python-imagecodecs/python-imagecodecs.spec --sources /var/lib/copr-rpmbuild/workspace/workdir-1ly4i083/python-imagecodecs --resultdir /var/lib/copr-rpmbuild/results --uniqueext 1713734902.857088 -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-1ly4i083/python-imagecodecs/python-imagecodecs.spec) Config(fedora-40-s390x) Start: clean chroot Finish: clean chroot Mock Version: 5.5 INFO: Mock Version: 5.5 Start(bootstrap): chroot init INFO: mounting tmpfs at /var/lib/mock/fedora-40-s390x-bootstrap-1713734902.857088/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 bootstrap image: registry.fedoraproject.org/fedora:40 INFO: Pulling image: registry.fedoraproject.org/fedora:40 INFO: Copy content of container registry.fedoraproject.org/fedora:40 to /var/lib/mock/fedora-40-s390x-bootstrap-1713734902.857088/root INFO: Checking that registry.fedoraproject.org/fedora:40 image matches host's architecture INFO: mounting registry.fedoraproject.org/fedora:40 with podman image mount INFO: image registry.fedoraproject.org/fedora:40 as /var/lib/containers/storage/overlay/cd9f3590503e2eb09fc363d6b3f953d8fdea3414dda72be1c2311eab2aeeb00f/merged INFO: umounting image registry.fedoraproject.org/fedora:40 (/var/lib/containers/storage/overlay/cd9f3590503e2eb09fc363d6b3f953d8fdea3414dda72be1c2311eab2aeeb00f/merged) with podman image umount INFO: Using 'dnf' instead of 'dnf5' for bootstrap chroot INFO: Package manager dnf detected and used (fallback) INFO: Bootstrap image not marked ready Start(bootstrap): installing dnf5 tooling No matches found for the following disable plugin patterns: local, spacewalk, versionlock Copr repository 577 kB/s | 2.9 MB 00:05 Additional repo http_kojipkgs_fedoraproject_org 1.6 MB/s | 16 MB 00:10 fedora 2.7 MB/s | 18 MB 00:06 updates 303 kB/s | 1.7 MB 00:05 Dependencies resolved. ========================================================================================================= Package Arch Version Repository Size ========================================================================================================= Installing: dnf5 s390x 5.1.17-1.fc41 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 686 k dnf5-plugins s390x 5.1.17-1.fc41 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 349 k Installing dependencies: fmt s390x 10.2.1-4.fc41 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 129 k libdnf5 s390x 5.1.17-1.fc41 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 994 k libdnf5-cli s390x 5.1.17-1.fc41 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 237 k sdbus-cpp s390x 1.5.0-2.fc41 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 106 k systemd-libs s390x 255.4-1.fc41 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 722 k Transaction Summary ========================================================================================================= Install 7 Packages Total download size: 3.1 M Installed size: 8.8 M Downloading Packages: (1/7): fmt-10.2.1-4.fc41.s390x.rpm 13 kB/s | 129 kB 00:10 (2/7): dnf5-plugins-5.1.17-1.fc41.s390x.rpm 35 kB/s | 349 kB 00:10 (3/7): dnf5-5.1.17-1.fc41.s390x.rpm 68 kB/s | 686 kB 00:10 (4/7): libdnf5-cli-5.1.17-1.fc41.s390x.rpm 18 MB/s | 237 kB 00:00 (5/7): libdnf5-5.1.17-1.fc41.s390x.rpm 32 MB/s | 994 kB 00:00 (6/7): sdbus-cpp-1.5.0-2.fc41.s390x.rpm 11 MB/s | 106 kB 00:00 (7/7): systemd-libs-255.4-1.fc41.s390x.rpm 34 MB/s | 722 kB 00:00 -------------------------------------------------------------------------------- Total 320 kB/s | 3.1 MB 00:10 Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Preparing : 1/1 Installing : fmt-10.2.1-4.fc41.s390x 1/7 Installing : libdnf5-5.1.17-1.fc41.s390x 2/7 Installing : libdnf5-cli-5.1.17-1.fc41.s390x 3/7 Installing : systemd-libs-255.4-1.fc41.s390x 4/7 Installing : sdbus-cpp-1.5.0-2.fc41.s390x 5/7 Installing : dnf5-5.1.17-1.fc41.s390x 6/7 Installing : dnf5-plugins-5.1.17-1.fc41.s390x 7/7 Running scriptlet: dnf5-plugins-5.1.17-1.fc41.s390x 7/7 Installed: dnf5-5.1.17-1.fc41.s390x dnf5-plugins-5.1.17-1.fc41.s390x fmt-10.2.1-4.fc41.s390x libdnf5-5.1.17-1.fc41.s390x libdnf5-cli-5.1.17-1.fc41.s390x sdbus-cpp-1.5.0-2.fc41.s390x systemd-libs-255.4-1.fc41.s390x Complete! INFO: Switching package manager from dnf to the dnf5 (direct choice) Finish(bootstrap): installing dnf5 tooling 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-40-s390x-1713734902.857088/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.19.1.1-1.fc40.s390x rpm-sequoia-1.6.0-2.fc40.s390x python3-dnf-4.19.0-1.fc40.noarch yum-4.19.0-1.fc40.noarch dnf5-5.1.17-1.fc41.s390x dnf5-plugins-5.1.17-1.fc41.s390x Start: installing minimal buildroot with dnf5 Updating and loading repositories: fedora 100% | 2.9 MiB/s | 18.9 MiB | 00m07s updates 100% | 1.9 MiB/s | 1.8 MiB | 00m01s Copr repository 100% | 292.7 KiB/s | 2.9 MiB | 00m10s Additional repo http_kojipkgs_fedorapr 100% | 88.1 MiB/s | 16.6 MiB | 00m00s Repositories loaded. Package Arch Version Repository Size Installing group/module packages: bash s390x 5.2.26-3.fc40 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 8.3 MiB bzip2 s390x 1.0.8-18.fc40 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 99.2 KiB coreutils s390x 9.5-1.fc41 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 6.0 MiB cpio s390x 2.15-1.fc40 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 1.1 MiB diffutils s390x 3.10-5.fc40 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 1.6 MiB fedora-release-common noarch 41-0.9 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 19.2 KiB findutils s390x 1:4.9.0-8.fc40 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 1.5 MiB gawk s390x 5.3.0-3.fc40 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 1.8 MiB glibc-minimal-langpack s390x 2.39.9000-12.fc41 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 0.0 B grep s390x 3.11-7.fc40 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 1.0 MiB gzip s390x 1.13-1.fc40 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 400.8 KiB info s390x 7.1-2.fc40 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 405.1 KiB patch s390x 2.7.6-24.fc40 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 298.3 KiB redhat-rpm-config noarch 288-1.fc41 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 183.3 KiB rpm-build s390x 4.19.1.1-1.fc40 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 180.2 KiB sed s390x 4.9-1.fc40 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 873.2 KiB shadow-utils s390x 2:4.15.1-2.fc41 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 4.2 MiB tar s390x 2:1.35-3.fc40 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 3.0 MiB unzip s390x 6.0-63.fc40 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 406.0 KiB util-linux s390x 2.40-13.fc41 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 3.7 MiB which s390x 2.21-41.fc40 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 83.9 KiB xz s390x 1:5.4.6-3.fc41 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 2.0 MiB Installing dependencies: alternatives s390x 1.26-3.fc40 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 66.1 KiB ansible-srpm-macros noarch 1-15.fc41 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 35.7 KiB audit-libs s390x 4.0.1-1.fc41 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 347.0 KiB authselect s390x 1.5.0-5.fc41 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 153.3 KiB authselect-libs s390x 1.5.0-5.fc41 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 819.6 KiB basesystem noarch 11-20.fc40 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 0.0 B binutils s390x 2.42.50-6.fc41 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 26.9 MiB binutils-gold s390x 2.42.50-6.fc41 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 2.9 MiB bzip2-libs s390x 1.0.8-18.fc40 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 88.5 KiB ca-certificates noarch 2023.2.62_v7.0.401-6.fc40 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 2.3 MiB coreutils-common s390x 9.5-1.fc41 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 11.2 MiB cracklib s390x 2.9.11-5.fc40 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 250.0 KiB crypto-policies noarch 20240320-1.git58e3d95.fc41 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 119.2 KiB curl s390x 8.7.1-1.fc41 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 777.9 KiB cyrus-sasl-lib s390x 2.1.28-19.fc40 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 2.4 MiB debugedit s390x 5.0-14.fc40 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 202.5 KiB dwz s390x 0.15-6.fc40 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 318.6 KiB ed s390x 1.20.1-1.fc41 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 150.2 KiB efi-srpm-macros noarch 5-11.fc40 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 40.1 KiB elfutils s390x 0.191-5.fc41 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 3.0 MiB elfutils-debuginfod-client s390x 0.191-5.fc41 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 64.4 KiB elfutils-default-yama-scope noarch 0.191-5.fc41 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 1.8 KiB elfutils-libelf s390x 0.191-5.fc41 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 1.2 MiB elfutils-libs s390x 0.191-5.fc41 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 746.1 KiB fedora-gpg-keys noarch 41-0.1 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 125.0 KiB fedora-release noarch 41-0.9 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 0.0 B fedora-release-identity-basic noarch 41-0.9 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 694.0 B fedora-repos noarch 41-0.1 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 4.9 KiB fedora-repos-rawhide noarch 41-0.1 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 2.2 KiB file s390x 5.45-5.fc41 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 103.3 KiB file-libs s390x 5.45-5.fc41 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 9.9 MiB filesystem s390x 3.18-9.fc41 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 106.0 B fonts-srpm-macros noarch 1:2.0.5-14.fc40 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 55.3 KiB forge-srpm-macros noarch 0.3.1-1.fc41 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 39.0 KiB fpc-srpm-macros noarch 1.3-12.fc40 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 144.0 B gdb-minimal s390x 14.2-4.fc41 copr_base 13.1 MiB gdbm s390x 1:1.23-6.fc40 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 483.9 KiB gdbm-libs s390x 1:1.23-6.fc40 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 133.4 KiB ghc-srpm-macros noarch 1.9.1-1.fc41 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 747.0 B glibc s390x 2.39.9000-12.fc41 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 5.4 MiB glibc-common s390x 2.39.9000-12.fc41 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 1.1 MiB glibc-gconv-extra s390x 2.39.9000-12.fc41 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 7.7 MiB gmp s390x 1:6.3.0-1.fc41 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 769.9 KiB gnat-srpm-macros noarch 6-5.fc40 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 1.0 KiB go-srpm-macros noarch 3.6.0-1.fc41 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 60.8 KiB jansson s390x 2.13.1-9.fc40 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 92.1 KiB kernel-srpm-macros noarch 1.0-23.fc41 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 1.9 KiB keyutils-libs s390x 1.6.3-3.fc40 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 54.2 KiB krb5-libs s390x 1.21.2-5.fc40 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 2.4 MiB libacl s390x 2.3.2-1.fc40 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 43.8 KiB libarchive s390x 3.7.2-3.fc41 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 1.0 MiB libattr s390x 2.5.2-3.fc40 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 28.3 KiB libblkid s390x 2.40-13.fc41 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 286.4 KiB libbrotli s390x 1.1.0-3.fc40 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 925.1 KiB libcap s390x 2.69-8.fc41 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 233.6 KiB libcap-ng s390x 0.8.5-1.fc41 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 76.7 KiB libcom_err s390x 1.47.0-5.fc40 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 67.0 KiB libcurl s390x 8.7.1-1.fc41 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 845.2 KiB libeconf s390x 0.6.2-1.fc41 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 61.8 KiB libevent s390x 2.1.12-12.fc40 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 938.7 KiB libfdisk s390x 2.40-13.fc41 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 394.8 KiB libffi s390x 3.4.6-1.fc41 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 65.9 KiB libgcc s390x 14.0.1-0.15.fc41 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 177.2 KiB libgomp s390x 14.0.1-0.15.fc41 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 531.1 KiB libidn2 s390x 2.3.7-1.fc40 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 332.9 KiB libmount s390x 2.40-13.fc41 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 375.8 KiB libnghttp2 s390x 1.61.0-1.fc41 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 178.0 KiB libnsl2 s390x 2.0.1-1.fc40 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 61.7 KiB libpkgconf s390x 2.1.0-1.fc40 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 85.8 KiB libpsl s390x 0.21.5-3.fc40 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 80.3 KiB libpwquality s390x 1.4.5-9.fc40 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 420.9 KiB libselinux s390x 3.6-4.fc40 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 188.9 KiB libsemanage s390x 3.6-3.fc40 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 301.3 KiB libsepol s390x 3.6-3.fc40 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 849.8 KiB libsmartcols s390x 2.40-13.fc41 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 192.2 KiB libssh s390x 0.10.6-6.fc41 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 529.1 KiB libssh-config noarch 0.10.6-6.fc41 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 277.0 B libstdc++ s390x 14.0.1-0.15.fc41 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 3.1 MiB libtasn1 s390x 4.19.0-6.fc40 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 187.5 KiB libtirpc s390x 1.3.4-1.rc3.fc41 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 214.6 KiB libtool-ltdl s390x 2.4.7-10.fc40 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 74.0 KiB libunistring s390x 1.1-7.fc41 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 1.8 MiB libutempter s390x 1.2.1-13.fc40 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 57.3 KiB libuuid s390x 2.40-13.fc41 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 37.2 KiB libverto s390x 0.3.2-8.fc40 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 29.2 KiB libxcrypt s390x 4.4.36-5.fc40 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 274.7 KiB libxml2 s390x 2.12.6-1.fc41 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 1.9 MiB libzstd s390x 1.5.6-1.fc41 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 879.7 KiB lua-libs s390x 5.4.6-5.fc40 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 324.8 KiB lua-srpm-macros noarch 1-13.fc40 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 1.3 KiB lz4-libs s390x 1.9.4-6.fc40 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 173.2 KiB mpfr s390x 4.2.1-3.fc40 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 698.8 KiB ncurses-base noarch 6.4-12.20240127.fc40 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 326.2 KiB ncurses-libs s390x 6.4-12.20240127.fc40 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 1.1 MiB ocaml-srpm-macros noarch 9-3.fc40 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 1.9 KiB openblas-srpm-macros noarch 2-17.fc41 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 112.0 B openldap s390x 2.6.7-1.fc40 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 674.5 KiB openssl-libs s390x 1:3.2.1-6.fc41 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 6.1 MiB p11-kit s390x 0.25.3-4.fc40 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 2.5 MiB p11-kit-trust s390x 0.25.3-4.fc40 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 471.2 KiB package-notes-srpm-macros noarch 0.5-11.fc40 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 1.6 KiB pam s390x 1.6.1-1.fc41 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 1.7 MiB pam-libs s390x 1.6.1-1.fc41 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 130.3 KiB pcre2 s390x 10.43-1.fc41 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 689.0 KiB pcre2-syntax noarch 10.43-1.fc41 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 249.0 KiB perl-srpm-macros noarch 1-53.fc40 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 861.0 B pkgconf s390x 2.1.0-1.fc40 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 86.2 KiB pkgconf-m4 noarch 2.1.0-1.fc40 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 13.9 KiB pkgconf-pkg-config s390x 2.1.0-1.fc40 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 988.0 B popt s390x 1.19-6.fc40 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 144.6 KiB publicsuffix-list-dafsa noarch 20240107-3.fc40 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 67.5 KiB pyproject-srpm-macros noarch 1.12.0-1.fc40 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 1.5 KiB python-srpm-macros noarch 3.12-9.fc41 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 50.5 KiB qt5-srpm-macros noarch 5.15.13-1.fc41 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 492.0 B qt6-srpm-macros noarch 6.7.0-1.fc41 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 456.0 B readline s390x 8.2-8.fc40 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 556.8 KiB rpm s390x 4.19.1.1-1.fc40 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 3.0 MiB rpm-build-libs s390x 4.19.1.1-1.fc40 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 206.2 KiB rpm-libs s390x 4.19.1.1-1.fc40 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 809.5 KiB rpm-sequoia s390x 1.6.0-2.fc40 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 3.0 MiB rust-srpm-macros noarch 26.2-1.fc41 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 4.8 KiB setup noarch 2.14.5-2.fc40 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 720.4 KiB sqlite-libs s390x 3.45.2-1.fc41 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 1.6 MiB systemd-libs s390x 255.4-1.fc41 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 2.0 MiB util-linux-core s390x 2.40-13.fc41 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 1.5 MiB xxhash-libs s390x 0.8.2-2.fc40 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 68.0 KiB xz-libs s390x 1:5.4.6-3.fc41 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 225.6 KiB zig-srpm-macros noarch 1-2.fc40 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 1.1 KiB zip s390x 3.0-40.fc40 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 754.2 KiB zlib-ng-compat s390x 2.1.6-2.fc40 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 117.4 KiB zstd s390x 1.5.6-1.fc41 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 1.8 MiB Installing groups: Buildsystem building group Transaction Summary: Installing: 153 packages Total size of inbound packages is 53 MiB. Need to download 53 MiB. After this operation 182 MiB will be used (install 182 MiB, remove 0 B). [ 1/153] bzip2-0:1.0.8-18.fc40.s390x 100% | 2.5 MiB/s | 53.1 KiB | 00m00s [ 2/153] cpio-0:2.15-1.fc40.s390x 100% | 23.6 MiB/s | 290.6 KiB | 00m00s [ 3/153] diffutils-0:3.10-5.fc40.s390x 100% | 57.5 MiB/s | 412.0 KiB | 00m00s [ 4/153] fedora-release-common-0:41-0. 100% | 4.2 MiB/s | 21.5 KiB | 00m00s [ 5/153] findutils-1:4.9.0-8.fc40.s390 100% | 60.1 MiB/s | 492.6 KiB | 00m00s [ 6/153] bash-0:5.2.26-3.fc40.s390x 100% | 374.7 KiB/s | 1.8 MiB | 00m05s [ 7/153] gawk-0:5.3.0-3.fc40.s390x 100% | 225.5 KiB/s | 1.1 MiB | 00m05s [ 8/153] coreutils-0:9.5-1.fc41.s390x 100% | 235.8 KiB/s | 1.2 MiB | 00m05s [ 9/153] glibc-minimal-langpack-0:2.39 100% | 13.2 MiB/s | 108.4 KiB | 00m00s [ 10/153] grep-0:3.11-7.fc40.s390x 100% | 36.2 MiB/s | 296.8 KiB | 00m00s [ 11/153] patch-0:2.7.6-24.fc40.s390x 100% | 45.8 MiB/s | 140.7 KiB | 00m00s [ 12/153] info-0:7.1-2.fc40.s390x 100% | 31.7 MiB/s | 194.6 KiB | 00m00s [ 13/153] gzip-0:1.13-1.fc40.s390x 100% | 13.9 MiB/s | 171.2 KiB | 00m00s [ 14/153] redhat-rpm-config-0:288-1.fc4 100% | 24.5 MiB/s | 75.3 KiB | 00m00s [ 15/153] rpm-build-0:4.19.1.1-1.fc40.s 100% | 23.1 MiB/s | 70.8 KiB | 00m00s [ 16/153] sed-0:4.9-1.fc40.s390x 100% | 23.4 MiB/s | 311.7 KiB | 00m00s [ 17/153] tar-2:1.35-3.fc40.s390x 100% | 77.3 MiB/s | 870.7 KiB | 00m00s [ 18/153] unzip-0:6.0-63.fc40.s390x 100% | 27.3 MiB/s | 195.4 KiB | 00m00s [ 19/153] shadow-utils-2:4.15.1-2.fc41. 100% | 57.8 MiB/s | 1.3 MiB | 00m00s [ 20/153] which-0:2.21-41.fc40.s390x 100% | 14.0 MiB/s | 43.0 KiB | 00m00s [ 21/153] xz-1:5.4.6-3.fc41.s390x 100% | 52.1 MiB/s | 533.1 KiB | 00m00s [ 22/153] fedora-repos-0:41-0.1.noarch 100% | 1.8 MiB/s | 9.3 KiB | 00m00s [ 23/153] util-linux-0:2.40-13.fc41.s39 100% | 37.8 MiB/s | 1.1 MiB | 00m00s [ 24/153] coreutils-common-0:9.5-1.fc41 100% | 80.6 MiB/s | 2.1 MiB | 00m00s [ 25/153] libblkid-0:2.40-13.fc41.s390x 100% | 31.8 MiB/s | 130.2 KiB | 00m00s [ 26/153] glibc-common-0:2.39.9000-12.f 100% | 39.7 MiB/s | 406.7 KiB | 00m00s [ 27/153] glibc-0:2.39.9000-12.fc41.s39 100% | 94.8 MiB/s | 1.9 MiB | 00m00s [ 28/153] libfdisk-0:2.40-13.fc41.s390x 100% | 26.9 MiB/s | 165.0 KiB | 00m00s [ 29/153] libmount-0:2.40-13.fc41.s390x 100% | 25.9 MiB/s | 159.1 KiB | 00m00s [ 30/153] libuuid-0:2.40-13.fc41.s390x 100% | 9.3 MiB/s | 28.6 KiB | 00m00s [ 31/153] libsmartcols-0:2.40-13.fc41.s 100% | 20.9 MiB/s | 85.6 KiB | 00m00s [ 32/153] xz-libs-1:5.4.6-3.fc41.s390x 100% | 37.8 MiB/s | 116.1 KiB | 00m00s [ 33/153] fedora-gpg-keys-0:41-0.1.noar 100% | 29.5 MiB/s | 121.0 KiB | 00m00s [ 34/153] fedora-repos-rawhide-0:41-0.1 100% | 2.9 MiB/s | 8.9 KiB | 00m00s [ 35/153] util-linux-core-0:2.40-13.fc4 100% | 57.0 MiB/s | 525.6 KiB | 00m00s [ 36/153] libselinux-0:3.6-4.fc40.s390x 100% | 22.5 MiB/s | 92.1 KiB | 00m00s [ 37/153] libxcrypt-0:4.4.36-5.fc40.s39 100% | 24.2 MiB/s | 123.8 KiB | 00m00s [ 38/153] ncurses-libs-0:6.4-12.2024012 100% | 44.3 MiB/s | 362.7 KiB | 00m00s [ 39/153] glibc-gconv-extra-0:2.39.9000 100% | 78.9 MiB/s | 1.7 MiB | 00m00s [ 40/153] audit-libs-0:4.0.1-1.fc41.s39 100% | 25.1 MiB/s | 128.6 KiB | 00m00s [ 41/153] systemd-libs-0:255.4-1.fc41.s 100% | 50.4 MiB/s | 722.4 KiB | 00m00s [ 42/153] authselect-libs-0:1.5.0-5.fc4 100% | 49.8 MiB/s | 204.2 KiB | 00m00s [ 43/153] libcap-ng-0:0.8.5-1.fc41.s390 100% | 8.0 MiB/s | 32.9 KiB | 00m00s [ 44/153] libutempter-0:1.2.1-13.fc40.s 100% | 6.4 MiB/s | 26.2 KiB | 00m00s [ 45/153] authselect-0:1.5.0-5.fc41.s39 100% | 27.5 MiB/s | 140.6 KiB | 00m00s [ 46/153] pam-0:1.6.1-1.fc41.s390x 100% | 85.4 MiB/s | 524.9 KiB | 00m00s [ 47/153] pam-libs-0:1.6.1-1.fc41.s390x 100% | 14.2 MiB/s | 58.0 KiB | 00m00s [ 48/153] readline-0:8.2-8.fc40.s390x 100% | 37.5 MiB/s | 230.1 KiB | 00m00s [ 49/153] zlib-ng-compat-0:2.1.6-2.fc40 100% | 9.2 MiB/s | 66.3 KiB | 00m00s [ 50/153] bzip2-libs-0:1.0.8-18.fc40.s3 100% | 6.5 MiB/s | 46.6 KiB | 00m00s [ 51/153] libacl-0:2.3.2-1.fc40.s390x 100% | 5.0 MiB/s | 25.4 KiB | 00m00s [ 52/153] libcap-0:2.69-8.fc41.s390x 100% | 28.6 MiB/s | 87.9 KiB | 00m00s [ 53/153] libgcc-0:14.0.1-0.15.fc41.s39 100% | 13.5 MiB/s | 82.9 KiB | 00m00s [ 54/153] lz4-libs-0:1.9.4-6.fc40.s390x 100% | 16.2 MiB/s | 83.2 KiB | 00m00s [ 55/153] libzstd-0:1.5.6-1.fc41.s390x 100% | 56.2 MiB/s | 345.5 KiB | 00m00s [ 56/153] libattr-0:2.5.2-3.fc40.s390x 100% | 4.5 MiB/s | 18.4 KiB | 00m00s [ 57/153] libeconf-0:0.6.2-1.fc41.s390x 100% | 6.6 MiB/s | 33.9 KiB | 00m00s [ 58/153] libsemanage-0:3.6-3.fc40.s390 100% | 19.5 MiB/s | 119.7 KiB | 00m00s [ 59/153] setup-0:2.14.5-2.fc40.noarch 100% | 24.1 MiB/s | 148.1 KiB | 00m00s [ 60/153] debugedit-0:5.0-14.fc40.s390x 100% | 16.0 MiB/s | 81.7 KiB | 00m00s [ 61/153] binutils-gold-0:2.42.50-6.fc4 100% | 74.9 MiB/s | 997.6 KiB | 00m00s [ 62/153] elfutils-0:0.191-5.fc41.s390x 100% | 33.6 MiB/s | 584.1 KiB | 00m00s [ 63/153] elfutils-libelf-0:0.191-5.fc4 100% | 19.1 MiB/s | 214.7 KiB | 00m00s [ 64/153] elfutils-debuginfod-client-0: 100% | 7.6 MiB/s | 38.7 KiB | 00m00s [ 65/153] elfutils-libs-0:0.191-5.fc41. 100% | 27.6 MiB/s | 283.0 KiB | 00m00s [ 66/153] binutils-0:2.42.50-6.fc41.s39 100% | 147.3 MiB/s | 6.0 MiB | 00m00s [ 67/153] file-0:5.45-5.fc41.s390x 100% | 6.0 MiB/s | 49.2 KiB | 00m00s [ 68/153] pkgconf-pkg-config-0:2.1.0-1. 100% | 4.7 MiB/s | 9.6 KiB | 00m00s [ 69/153] popt-0:1.19-6.fc40.s390x 100% | 12.2 MiB/s | 62.4 KiB | 00m00s [ 70/153] file-libs-0:5.45-5.fc41.s390x 100% | 62.7 MiB/s | 770.1 KiB | 00m00s [ 71/153] rpm-build-libs-0:4.19.1.1-1.f 100% | 19.0 MiB/s | 97.1 KiB | 00m00s [ 72/153] rpm-0:4.19.1.1-1.fc40.s390x 100% | 45.1 MiB/s | 508.2 KiB | 00m00s [ 73/153] rpm-libs-0:4.19.1.1-1.fc40.s3 100% | 45.3 MiB/s | 324.9 KiB | 00m00s [ 74/153] zstd-0:1.5.6-1.fc41.s390x 100% | 50.4 MiB/s | 515.8 KiB | 00m00s [ 75/153] curl-0:8.7.1-1.fc41.s390x 100% | 43.1 MiB/s | 309.2 KiB | 00m00s [ 76/153] ansible-srpm-macros-0:1-15.fc 100% | 6.8 MiB/s | 20.9 KiB | 00m00s [ 77/153] libarchive-0:3.7.2-3.fc41.s39 100% | 39.1 MiB/s | 440.0 KiB | 00m00s [ 78/153] dwz-0:0.15-6.fc40.s390x 100% | 28.3 MiB/s | 144.7 KiB | 00m00s [ 79/153] efi-srpm-macros-0:5-11.fc40.n 100% | 7.3 MiB/s | 22.3 KiB | 00m00s [ 80/153] fonts-srpm-macros-1:2.0.5-14. 100% | 12.9 MiB/s | 26.5 KiB | 00m00s [ 81/153] forge-srpm-macros-0:0.3.1-1.f 100% | 6.3 MiB/s | 19.4 KiB | 00m00s [ 82/153] fpc-srpm-macros-0:1.3-12.fc40 100% | 2.5 MiB/s | 7.8 KiB | 00m00s [ 83/153] ghc-srpm-macros-0:1.9.1-1.fc4 100% | 2.9 MiB/s | 9.0 KiB | 00m00s [ 84/153] gnat-srpm-macros-0:6-5.fc40.n 100% | 4.3 MiB/s | 8.8 KiB | 00m00s [ 85/153] go-srpm-macros-0:3.6.0-1.fc41 100% | 9.1 MiB/s | 27.9 KiB | 00m00s [ 86/153] kernel-srpm-macros-0:1.0-23.f 100% | 4.8 MiB/s | 9.8 KiB | 00m00s [ 87/153] lua-srpm-macros-0:1-13.fc40.n 100% | 2.8 MiB/s | 8.7 KiB | 00m00s [ 88/153] ocaml-srpm-macros-0:9-3.fc40. 100% | 3.0 MiB/s | 9.1 KiB | 00m00s [ 89/153] openblas-srpm-macros-0:2-17.f 100% | 3.7 MiB/s | 7.7 KiB | 00m00s [ 90/153] package-notes-srpm-macros-0:0 100% | 3.2 MiB/s | 9.9 KiB | 00m00s [ 91/153] perl-srpm-macros-0:1-53.fc40. 100% | 4.1 MiB/s | 8.4 KiB | 00m00s [ 92/153] pyproject-srpm-macros-0:1.12. 100% | 4.4 MiB/s | 13.6 KiB | 00m00s [ 93/153] python-srpm-macros-0:3.12-9.f 100% | 11.7 MiB/s | 24.0 KiB | 00m00s [ 94/153] qt5-srpm-macros-0:5.15.13-1.f 100% | 2.8 MiB/s | 8.5 KiB | 00m00s [ 95/153] qt6-srpm-macros-0:6.7.0-1.fc4 100% | 2.9 MiB/s | 9.0 KiB | 00m00s [ 96/153] rust-srpm-macros-0:26.2-1.fc4 100% | 6.1 MiB/s | 12.6 KiB | 00m00s [ 97/153] zig-srpm-macros-0:1-2.fc40.no 100% | 3.9 MiB/s | 8.0 KiB | 00m00s [ 98/153] pkgconf-0:2.1.0-1.fc40.s390x 100% | 14.3 MiB/s | 43.9 KiB | 00m00s [ 99/153] pkgconf-m4-0:2.1.0-1.fc40.noa 100% | 4.5 MiB/s | 13.9 KiB | 00m00s [100/153] libpkgconf-0:2.1.0-1.fc40.s39 100% | 9.4 MiB/s | 38.7 KiB | 00m00s [101/153] zip-0:3.0-40.fc40.s390x 100% | 34.5 MiB/s | 282.8 KiB | 00m00s [102/153] ed-0:1.20.1-1.fc41.s390x 100% | 27.1 MiB/s | 83.3 KiB | 00m00s [103/153] gdbm-1:1.23-6.fc40.s390x 100% | 37.0 MiB/s | 151.5 KiB | 00m00s [104/153] gdbm-libs-1:1.23-6.fc40.s390x 100% | 18.9 MiB/s | 58.0 KiB | 00m00s [105/153] libnsl2-0:2.0.1-1.fc40.s390x 100% | 9.6 MiB/s | 29.4 KiB | 00m00s [106/153] libpwquality-0:1.4.5-9.fc40.s 100% | 35.6 MiB/s | 109.2 KiB | 00m00s [107/153] libtirpc-0:1.3.4-1.rc3.fc41.s 100% | 30.9 MiB/s | 95.0 KiB | 00m00s [108/153] crypto-policies-0:20240320-1. 100% | 12.7 MiB/s | 64.9 KiB | 00m00s [109/153] ca-certificates-0:2023.2.62_v 100% | 120.3 MiB/s | 862.1 KiB | 00m00s [110/153] ncurses-base-0:6.4-12.2024012 100% | 20.8 MiB/s | 63.8 KiB | 00m00s [111/153] libcom_err-0:1.47.0-5.fc40.s3 100% | 8.2 MiB/s | 25.1 KiB | 00m00s [112/153] krb5-libs-0:1.21.2-5.fc40.s39 100% | 95.3 MiB/s | 780.6 KiB | 00m00s [113/153] libsepol-0:3.6-3.fc40.s390x 100% | 56.7 MiB/s | 348.5 KiB | 00m00s [114/153] pcre2-0:10.43-1.fc41.s390x 100% | 51.3 MiB/s | 262.6 KiB | 00m00s [115/153] pcre2-syntax-0:10.43-1.fc41.n 100% | 36.3 MiB/s | 148.8 KiB | 00m00s [116/153] cracklib-0:2.9.11-5.fc40.s390 100% | 27.2 MiB/s | 83.5 KiB | 00m00s [117/153] keyutils-libs-0:1.6.3-3.fc40. 100% | 10.2 MiB/s | 31.4 KiB | 00m00s [118/153] libverto-0:0.3.2-8.fc40.s390x 100% | 6.8 MiB/s | 20.8 KiB | 00m00s [119/153] openssl-libs-1:3.2.1-6.fc41.s 100% | 53.8 MiB/s | 2.0 MiB | 00m00s [120/153] libxml2-0:2.12.6-1.fc41.s390x 100% | 62.9 MiB/s | 708.4 KiB | 00m00s [121/153] basesystem-0:11-20.fc40.noarc 100% | 1.8 MiB/s | 7.2 KiB | 00m00s [122/153] mpfr-0:4.2.1-3.fc40.s390x 100% | 48.8 MiB/s | 299.6 KiB | 00m00s [123/153] gmp-1:6.3.0-1.fc41.s390x 100% | 40.1 MiB/s | 328.7 KiB | 00m00s [124/153] filesystem-0:3.18-9.fc41.s390 100% | 97.2 MiB/s | 1.1 MiB | 00m00s [125/153] elfutils-default-yama-scope-0 100% | 4.4 MiB/s | 13.4 KiB | 00m00s [126/153] p11-kit-trust-0:0.25.3-4.fc40 100% | 20.0 MiB/s | 143.6 KiB | 00m00s [127/153] p11-kit-0:0.25.3-4.fc40.s390x 100% | 63.4 MiB/s | 519.2 KiB | 00m00s [128/153] jansson-0:2.13.1-9.fc40.s390x 100% | 7.3 MiB/s | 44.6 KiB | 00m00s [129/153] alternatives-0:1.26-3.fc40.s3 100% | 8.0 MiB/s | 40.9 KiB | 00m00s [130/153] libstdc++-0:14.0.1-0.15.fc41. 100% | 45.7 MiB/s | 983.5 KiB | 00m00s [131/153] lua-libs-0:5.4.6-5.fc40.s390x 100% | 27.8 MiB/s | 142.6 KiB | 00m00s [132/153] rpm-sequoia-0:1.6.0-2.fc40.s3 100% | 68.4 MiB/s | 980.7 KiB | 00m00s [133/153] sqlite-libs-0:3.45.2-1.fc41.s 100% | 82.6 MiB/s | 761.6 KiB | 00m00s [134/153] libgomp-0:14.0.1-0.15.fc41.s3 100% | 37.9 MiB/s | 349.2 KiB | 00m00s [135/153] libffi-0:3.4.6-1.fc41.s390x 100% | 8.8 MiB/s | 36.0 KiB | 00m00s [136/153] libtasn1-0:4.19.0-6.fc40.s390 100% | 15.2 MiB/s | 77.8 KiB | 00m00s [137/153] fedora-release-0:41-0.9.noarc 100% | 2.2 MiB/s | 11.0 KiB | 00m00s [138/153] fedora-release-identity-basic 100% | 5.8 MiB/s | 11.8 KiB | 00m00s [139/153] libcurl-0:8.7.1-1.fc41.s390x 100% | 60.3 MiB/s | 370.7 KiB | 00m00s [140/153] libnghttp2-0:1.61.0-1.fc41.s3 100% | 19.5 MiB/s | 79.8 KiB | 00m00s [141/153] libbrotli-0:1.1.0-3.fc40.s390 100% | 41.9 MiB/s | 386.6 KiB | 00m00s [142/153] xxhash-libs-0:0.8.2-2.fc40.s3 100% | 3.5 MiB/s | 36.3 KiB | 00m00s [143/153] libidn2-0:2.3.7-1.fc40.s390x 100% | 22.1 MiB/s | 113.3 KiB | 00m00s [144/153] libpsl-0:0.21.5-3.fc40.s390x 100% | 12.6 MiB/s | 64.4 KiB | 00m00s [145/153] libssh-0:0.10.6-6.fc41.s390x 100% | 34.3 MiB/s | 210.6 KiB | 00m00s [146/153] libssh-config-0:0.10.6-6.fc41 100% | 1.5 MiB/s | 9.1 KiB | 00m00s [147/153] gdb-minimal-0:14.2-4.fc41.s39 100% | 119.6 MiB/s | 4.3 MiB | 00m00s [148/153] openldap-0:2.6.7-1.fc40.s390x 100% | 51.4 MiB/s | 263.4 KiB | 00m00s [149/153] libtool-ltdl-0:2.4.7-10.fc40. 100% | 9.1 MiB/s | 37.1 KiB | 00m00s [150/153] cyrus-sasl-lib-0:2.1.28-19.fc 100% | 72.9 MiB/s | 820.6 KiB | 00m00s [151/153] libevent-0:2.1.12-12.fc40.s39 100% | 42.3 MiB/s | 259.8 KiB | 00m00s [152/153] publicsuffix-list-dafsa-0:202 100% | 14.2 MiB/s | 58.1 KiB | 00m00s [153/153] libunistring-0:1.1-7.fc41.s39 100% | 78.1 MiB/s | 560.1 KiB | 00m00s -------------------------------------------------------------------------------- [153/153] Total 100% | 9.8 MiB/s | 52.7 MiB | 00m05s Running transaction [ 1/155] Verify package files 100% | 805.0 B/s | 153.0 B | 00m00s >>> Running pre-transaction scriptlet: filesystem-0:3.18-9.fc41.s390x >>> Stop pre-transaction scriptlet: filesystem-0:3.18-9.fc41.s390x [ 2/155] Prepare transaction 100% | 2.6 KiB/s | 153.0 B | 00m00s [ 3/155] Installing libgcc-0:14.0.1-0. 100% | 174.7 MiB/s | 178.9 KiB | 00m00s >>> Running post-install scriptlet: libgcc-0:14.0.1-0.15.fc41.s390x >>> Stop post-install scriptlet: libgcc-0:14.0.1-0.15.fc41.s390x [ 4/155] Installing crypto-policies-0: 100% | 35.7 MiB/s | 146.2 KiB | 00m00s >>> Running post-install scriptlet: crypto-policies-0:20240320-1.git58e3d95.fc41 >>> Stop post-install scriptlet: crypto-policies-0:20240320-1.git58e3d95.fc41.no [ 5/155] Installing fedora-release-ide 100% | 0.0 B/s | 952.0 B | 00m00s [ 6/155] Installing fedora-repos-rawhi 100% | 0.0 B/s | 2.4 KiB | 00m00s [ 7/155] Installing fedora-gpg-keys-0: 100% | 41.5 MiB/s | 170.1 KiB | 00m00s [ 8/155] Installing fedora-repos-0:41- 100% | 0.0 B/s | 5.7 KiB | 00m00s [ 9/155] Installing fedora-release-com 100% | 22.7 MiB/s | 23.3 KiB | 00m00s [ 10/155] Installing fedora-release-0:4 100% | 0.0 B/s | 124.0 B | 00m00s [ 11/155] Installing setup-0:2.14.5-2.f 100% | 54.5 MiB/s | 725.8 KiB | 00m00s >>> Running post-install scriptlet: setup-0:2.14.5-2.fc40.noarch >>> Stop post-install scriptlet: setup-0:2.14.5-2.fc40.noarch [ 12/155] Installing filesystem-0:3.18- 100% | 3.1 MiB/s | 212.5 KiB | 00m00s [ 13/155] Installing basesystem-0:11-20 100% | 0.0 B/s | 124.0 B | 00m00s [ 14/155] Installing publicsuffix-list- 100% | 0.0 B/s | 68.3 KiB | 00m00s [ 15/155] Installing libssh-config-0:0. 100% | 0.0 B/s | 816.0 B | 00m00s [ 16/155] Installing pcre2-syntax-0:10. 100% | 245.6 MiB/s | 251.5 KiB | 00m00s [ 17/155] Installing ncurses-base-0:6.4 100% | 85.8 MiB/s | 351.6 KiB | 00m00s [ 18/155] Installing glibc-minimal-lang 100% | 0.0 B/s | 124.0 B | 00m00s [ 19/155] Installing ncurses-libs-0:6.4 100% | 177.1 MiB/s | 1.1 MiB | 00m00s >>> Running pre-install scriptlet: glibc-0:2.39.9000-12.fc41.s390x >>> Stop pre-install scriptlet: glibc-0:2.39.9000-12.fc41.s390x [ 20/155] Installing glibc-0:2.39.9000- 100% | 137.8 MiB/s | 5.4 MiB | 00m00s >>> Running post-install scriptlet: glibc-0:2.39.9000-12.fc41.s390x >>> Stop post-install scriptlet: glibc-0:2.39.9000-12.fc41.s390x [ 21/155] Installing bash-0:5.2.26-3.fc 100% | 298.5 MiB/s | 8.4 MiB | 00m00s >>> Running post-install scriptlet: bash-0:5.2.26-3.fc40.s390x >>> Stop post-install scriptlet: bash-0:5.2.26-3.fc40.s390x [ 22/155] Installing glibc-common-0:2.3 100% | 185.8 MiB/s | 1.1 MiB | 00m00s [ 23/155] Installing glibc-gconv-extra- 100% | 216.5 MiB/s | 7.8 MiB | 00m00s >>> Running post-install scriptlet: glibc-gconv-extra-0:2.39.9000-12.fc41.s390x >>> Stop post-install scriptlet: glibc-gconv-extra-0:2.39.9000-12.fc41.s390x [ 24/155] Installing zlib-ng-compat-0:2 100% | 115.4 MiB/s | 118.2 KiB | 00m00s [ 25/155] Installing xz-libs-1:5.4.6-3. 100% | 221.4 MiB/s | 226.7 KiB | 00m00s [ 26/155] Installing bzip2-libs-0:1.0.8 100% | 0.0 B/s | 89.6 KiB | 00m00s [ 27/155] Installing libuuid-0:2.40-13. 100% | 0.0 B/s | 38.3 KiB | 00m00s [ 28/155] Installing readline-0:8.2-8.f 100% | 272.9 MiB/s | 558.9 KiB | 00m00s [ 29/155] Installing libzstd-0:1.5.6-1. 100% | 286.8 MiB/s | 881.0 KiB | 00m00s [ 30/155] Installing elfutils-libelf-0: 100% | 295.2 MiB/s | 1.2 MiB | 00m00s [ 31/155] Installing popt-0:1.19-6.fc40 100% | 73.9 MiB/s | 151.3 KiB | 00m00s [ 32/155] Installing libstdc++-0:14.0.1 100% | 283.8 MiB/s | 3.1 MiB | 00m00s [ 33/155] Installing libblkid-0:2.40-13 100% | 280.8 MiB/s | 287.6 KiB | 00m00s [ 34/155] Installing libxcrypt-0:4.4.36 100% | 270.9 MiB/s | 277.4 KiB | 00m00s [ 35/155] Installing libattr-0:2.5.2-3. 100% | 0.0 B/s | 29.3 KiB | 00m00s [ 36/155] Installing libacl-0:2.3.2-1.f 100% | 0.0 B/s | 44.6 KiB | 00m00s [ 37/155] Installing gmp-1:6.3.0-1.fc41 100% | 251.4 MiB/s | 772.2 KiB | 00m00s [ 38/155] Installing lz4-libs-0:1.9.4-6 100% | 170.2 MiB/s | 174.3 KiB | 00m00s [ 39/155] Installing libeconf-0:0.6.2-1 100% | 0.0 B/s | 63.5 KiB | 00m00s [ 40/155] Installing gdbm-libs-1:1.23-6 100% | 132.0 MiB/s | 135.1 KiB | 00m00s [ 41/155] Installing mpfr-0:4.2.1-3.fc4 100% | 228.0 MiB/s | 700.3 KiB | 00m00s [ 42/155] Installing gawk-0:5.3.0-3.fc4 100% | 259.2 MiB/s | 1.8 MiB | 00m00s [ 43/155] Installing dwz-0:0.15-6.fc40. 100% | 312.5 MiB/s | 320.0 KiB | 00m00s [ 44/155] Installing unzip-0:6.0-63.fc4 100% | 200.0 MiB/s | 409.5 KiB | 00m00s [ 45/155] Installing file-libs-0:5.45-5 100% | 497.3 MiB/s | 9.9 MiB | 00m00s [ 46/155] Installing file-0:5.45-5.fc41 100% | 102.3 MiB/s | 104.8 KiB | 00m00s [ 47/155] Installing libsmartcols-0:2.4 100% | 188.8 MiB/s | 193.4 KiB | 00m00s [ 48/155] Installing libcap-ng-0:0.8.5- 100% | 0.0 B/s | 78.5 KiB | 00m00s [ 49/155] Installing audit-libs-0:4.0.1 100% | 170.4 MiB/s | 349.1 KiB | 00m00s [ 50/155] Installing pam-libs-0:1.6.1-1 100% | 129.6 MiB/s | 132.8 KiB | 00m00s [ 51/155] Installing libcap-0:2.69-8.fc 100% | 232.9 MiB/s | 238.4 KiB | 00m00s [ 52/155] Installing systemd-libs-0:255 100% | 247.9 MiB/s | 2.0 MiB | 00m00s [ 53/155] Installing libcom_err-0:1.47. 100% | 0.0 B/s | 68.0 KiB | 00m00s [ 54/155] Installing libsepol-0:3.6-3.f 100% | 276.9 MiB/s | 850.8 KiB | 00m00s [ 55/155] Installing pcre2-0:10.43-1.fc 100% | 337.1 MiB/s | 690.4 KiB | 00m00s [ 56/155] Installing libselinux-0:3.6-4 100% | 185.7 MiB/s | 190.2 KiB | 00m00s [ 57/155] Installing sed-0:4.9-1.fc40.s 100% | 215.2 MiB/s | 881.4 KiB | 00m00s [ 58/155] Installing grep-0:3.11-7.fc40 100% | 203.7 MiB/s | 1.0 MiB | 00m00s [ 59/155] Installing findutils-1:4.9.0- 100% | 250.7 MiB/s | 1.5 MiB | 00m00s [ 60/155] Installing xz-1:5.4.6-3.fc41. 100% | 250.3 MiB/s | 2.0 MiB | 00m00s [ 61/155] Installing libmount-0:2.40-13 100% | 184.0 MiB/s | 376.9 KiB | 00m00s [ 62/155] Installing jansson-0:2.13.1-9 100% | 91.3 MiB/s | 93.5 KiB | 00m00s [ 63/155] Installing alternatives-0:1.2 100% | 0.0 B/s | 67.8 KiB | 00m00s [ 64/155] Installing lua-libs-0:5.4.6-5 100% | 318.4 MiB/s | 326.0 KiB | 00m00s [ 65/155] Installing libtasn1-0:4.19.0- 100% | 184.9 MiB/s | 189.3 KiB | 00m00s [ 66/155] Installing libunistring-0:1.1 100% | 295.6 MiB/s | 1.8 MiB | 00m00s [ 67/155] Installing libidn2-0:2.3.7-1. 100% | 165.5 MiB/s | 338.9 KiB | 00m00s [ 68/155] Installing libpsl-0:0.21.5-3. 100% | 79.5 MiB/s | 81.4 KiB | 00m00s [ 69/155] Installing util-linux-core-0: 100% | 215.8 MiB/s | 1.5 MiB | 00m00s [ 70/155] Installing tar-2:1.35-3.fc40. 100% | 302.0 MiB/s | 3.0 MiB | 00m00s [ 71/155] Installing libsemanage-0:3.6- 100% | 148.0 MiB/s | 303.1 KiB | 00m00s [ 72/155] Installing shadow-utils-2:4.1 100% | 135.9 MiB/s | 4.2 MiB | 00m00s >>> Running pre-install scriptlet: libutempter-0:1.2.1-13.fc40.s390x >>> Stop pre-install scriptlet: libutempter-0:1.2.1-13.fc40.s390x [ 73/155] Installing libutempter-0:1.2. 100% | 57.9 MiB/s | 59.3 KiB | 00m00s [ 74/155] Installing zip-0:3.0-40.fc40. 100% | 246.8 MiB/s | 758.1 KiB | 00m00s [ 75/155] Installing gdbm-1:1.23-6.fc40 100% | 159.1 MiB/s | 488.8 KiB | 00m00s [ 76/155] Installing cyrus-sasl-lib-0:2 100% | 264.2 MiB/s | 2.4 MiB | 00m00s [ 77/155] Installing zstd-0:1.5.6-1.fc4 100% | 307.1 MiB/s | 1.8 MiB | 00m00s [ 78/155] Installing libfdisk-0:2.40-13 100% | 193.3 MiB/s | 395.9 KiB | 00m00s [ 79/155] Installing bzip2-0:1.0.8-18.f 100% | 101.3 MiB/s | 103.7 KiB | 00m00s [ 80/155] Installing libxml2-0:2.12.6-1 100% | 269.0 MiB/s | 1.9 MiB | 00m00s [ 81/155] Installing sqlite-libs-0:3.45 100% | 262.2 MiB/s | 1.6 MiB | 00m00s [ 82/155] Installing ed-0:1.20.1-1.fc41 100% | 148.9 MiB/s | 152.5 KiB | 00m00s [ 83/155] Installing patch-0:2.7.6-24.f 100% | 292.8 MiB/s | 299.8 KiB | 00m00s [ 84/155] Installing elfutils-default-y 100% | 510.7 KiB/s | 2.0 KiB | 00m00s >>> Running post-install scriptlet: elfutils-default-yama-scope-0:0.191-5.fc41.n >>> Stop post-install scriptlet: elfutils-default-yama-scope-0:0.191-5.fc41.noar [ 85/155] Installing cpio-0:2.15-1.fc40 100% | 186.5 MiB/s | 1.1 MiB | 00m00s [ 86/155] Installing diffutils-0:3.10-5 100% | 269.4 MiB/s | 1.6 MiB | 00m00s [ 87/155] Installing libpkgconf-0:2.1.0 100% | 84.9 MiB/s | 87.0 KiB | 00m00s [ 88/155] Installing pkgconf-0:2.1.0-1. 100% | 86.6 MiB/s | 88.7 KiB | 00m00s [ 89/155] Installing keyutils-libs-0:1. 100% | 0.0 B/s | 55.6 KiB | 00m00s [ 90/155] Installing libverto-0:0.3.2-8 100% | 30.3 MiB/s | 31.1 KiB | 00m00s [ 91/155] Installing libgomp-0:14.0.1-0 100% | 260.0 MiB/s | 532.5 KiB | 00m00s [ 92/155] Installing libffi-0:3.4.6-1.f 100% | 65.8 MiB/s | 67.3 KiB | 00m00s [ 93/155] Installing p11-kit-0:0.25.3-4 100% | 226.8 MiB/s | 2.5 MiB | 00m00s [ 94/155] Installing p11-kit-trust-0:0. 100% | 66.0 MiB/s | 472.9 KiB | 00m00s >>> Running post-install scriptlet: p11-kit-trust-0:0.25.3-4.fc40.s390x >>> Stop post-install scriptlet: p11-kit-trust-0:0.25.3-4.fc40.s390x [ 95/155] Installing libnghttp2-0:1.61. 100% | 174.9 MiB/s | 179.1 KiB | 00m00s [ 96/155] Installing xxhash-libs-0:0.8. 100% | 67.8 MiB/s | 69.4 KiB | 00m00s [ 97/155] Installing libbrotli-0:1.1.0- 100% | 181.1 MiB/s | 927.4 KiB | 00m00s [ 98/155] Installing libtool-ltdl-0:2.4 100% | 0.0 B/s | 75.1 KiB | 00m00s [ 99/155] Installing pkgconf-m4-0:2.1.0 100% | 0.0 B/s | 14.3 KiB | 00m00s [100/155] Installing pkgconf-pkg-config 100% | 0.0 B/s | 1.8 KiB | 00m00s [101/155] Installing rust-srpm-macros-0 100% | 0.0 B/s | 5.6 KiB | 00m00s [102/155] Installing qt6-srpm-macros-0: 100% | 0.0 B/s | 732.0 B | 00m00s [103/155] Installing qt5-srpm-macros-0: 100% | 0.0 B/s | 768.0 B | 00m00s [104/155] Installing perl-srpm-macros-0 100% | 0.0 B/s | 1.1 KiB | 00m00s [105/155] Installing package-notes-srpm 100% | 0.0 B/s | 2.0 KiB | 00m00s [106/155] Installing openblas-srpm-macr 100% | 0.0 B/s | 392.0 B | 00m00s [107/155] Installing ocaml-srpm-macros- 100% | 0.0 B/s | 2.2 KiB | 00m00s [108/155] Installing kernel-srpm-macros 100% | 0.0 B/s | 2.3 KiB | 00m00s [109/155] Installing gnat-srpm-macros-0 100% | 0.0 B/s | 1.3 KiB | 00m00s [110/155] Installing ghc-srpm-macros-0: 100% | 0.0 B/s | 1.0 KiB | 00m00s [111/155] Installing fpc-srpm-macros-0: 100% | 0.0 B/s | 420.0 B | 00m00s [112/155] Installing ansible-srpm-macro 100% | 35.4 MiB/s | 36.2 KiB | 00m00s [113/155] Installing coreutils-common-0 100% | 302.4 MiB/s | 11.2 MiB | 00m00s [114/155] Installing openssl-libs-1:3.2 100% | 279.1 MiB/s | 6.1 MiB | 00m00s [115/155] Installing coreutils-0:9.5-1. 100% | 241.7 MiB/s | 6.0 MiB | 00m00s >>> Running pre-install scriptlet: ca-certificates-0:2023.2.62_v7.0.401-6.fc40.n >>> Stop pre-install scriptlet: ca-certificates-0:2023.2.62_v7.0.401-6.fc40.noar [116/155] Installing ca-certificates-0: 100% | 2.3 MiB/s | 2.3 MiB | 00m01s >>> Running post-install scriptlet: ca-certificates-0:2023.2.62_v7.0.401-6.fc40. >>> Stop post-install scriptlet: ca-certificates-0:2023.2.62_v7.0.401-6.fc40.noa [117/155] Installing krb5-libs-0:1.21.2 100% | 222.9 MiB/s | 2.5 MiB | 00m00s [118/155] Installing libtirpc-0:1.3.4-1 100% | 211.3 MiB/s | 216.4 KiB | 00m00s [119/155] Installing gzip-0:1.13-1.fc40 100% | 198.4 MiB/s | 406.3 KiB | 00m00s [120/155] Installing authselect-libs-0: 100% | 163.0 MiB/s | 834.5 KiB | 00m00s [121/155] Installing libarchive-0:3.7.2 100% | 248.2 MiB/s | 1.0 MiB | 00m00s [122/155] Installing authselect-0:1.5.0 100% | 77.0 MiB/s | 157.7 KiB | 00m00s [123/155] Installing cracklib-0:2.9.11- 100% | 85.1 MiB/s | 261.4 KiB | 00m00s [124/155] Installing libpwquality-0:1.4 100% | 105.8 MiB/s | 433.2 KiB | 00m00s [125/155] Installing libnsl2-0:2.0.1-1. 100% | 61.4 MiB/s | 62.8 KiB | 00m00s [126/155] Installing pam-0:1.6.1-1.fc41 100% | 149.7 MiB/s | 1.8 MiB | 00m00s [127/155] Installing libssh-0:0.10.6-6. 100% | 259.4 MiB/s | 531.2 KiB | 00m00s [128/155] Installing rpm-sequoia-0:1.6. 100% | 275.9 MiB/s | 3.0 MiB | 00m00s [129/155] Installing rpm-libs-0:4.19.1. 100% | 198.0 MiB/s | 811.1 KiB | 00m00s [130/155] Installing libevent-0:2.1.12- 100% | 230.1 MiB/s | 942.5 KiB | 00m00s [131/155] Installing openldap-0:2.6.7-1 100% | 220.8 MiB/s | 678.3 KiB | 00m00s [132/155] Installing libcurl-0:8.7.1-1. 100% | 275.5 MiB/s | 846.3 KiB | 00m00s [133/155] Installing elfutils-libs-0:0. 100% | 243.5 MiB/s | 747.9 KiB | 00m00s [134/155] Installing elfutils-debuginfo 100% | 64.9 MiB/s | 66.4 KiB | 00m00s [135/155] Installing binutils-gold-0:2. 100% | 168.2 MiB/s | 2.9 MiB | 00m00s >>> Running post-install scriptlet: binutils-gold-0:2.42.50-6.fc41.s390x >>> Stop post-install scriptlet: binutils-gold-0:2.42.50-6.fc41.s390x [136/155] Installing binutils-0:2.42.50 100% | 302.1 MiB/s | 26.9 MiB | 00m00s >>> Running post-install scriptlet: binutils-0:2.42.50-6.fc41.s390x >>> Stop post-install scriptlet: binutils-0:2.42.50-6.fc41.s390x [137/155] Installing elfutils-0:0.191-5 100% | 329.7 MiB/s | 3.0 MiB | 00m00s [138/155] Installing gdb-minimal-0:14.2 100% | 297.1 MiB/s | 13.1 MiB | 00m00s [139/155] Installing debugedit-0:5.0-14 100% | 200.4 MiB/s | 205.2 KiB | 00m00s [140/155] Installing rpm-build-libs-0:4 100% | 202.2 MiB/s | 207.0 KiB | 00m00s [141/155] Installing curl-0:8.7.1-1.fc4 100% | 76.2 MiB/s | 780.4 KiB | 00m00s >>> Running pre-install scriptlet: rpm-0:4.19.1.1-1.fc40.s390x >>> Stop pre-install scriptlet: rpm-0:4.19.1.1-1.fc40.s390x [142/155] Installing rpm-0:4.19.1.1-1.f 100% | 159.9 MiB/s | 2.4 MiB | 00m00s [143/155] Installing efi-srpm-macros-0: 100% | 0.0 B/s | 41.2 KiB | 00m00s [144/155] Installing lua-srpm-macros-0: 100% | 0.0 B/s | 1.9 KiB | 00m00s [145/155] Installing zig-srpm-macros-0: 100% | 0.0 B/s | 1.7 KiB | 00m00s [146/155] Installing fonts-srpm-macros- 100% | 0.0 B/s | 56.5 KiB | 00m00s [147/155] Installing forge-srpm-macros- 100% | 0.0 B/s | 40.3 KiB | 00m00s [148/155] Installing go-srpm-macros-0:3 100% | 0.0 B/s | 62.0 KiB | 00m00s [149/155] Installing python-srpm-macros 100% | 50.5 MiB/s | 51.7 KiB | 00m00s [150/155] Installing redhat-rpm-config- 100% | 92.6 MiB/s | 189.7 KiB | 00m00s [151/155] Installing rpm-build-0:4.19.1 100% | 91.9 MiB/s | 188.3 KiB | 00m00s [152/155] Installing pyproject-srpm-mac 100% | 2.0 MiB/s | 2.1 KiB | 00m00s [153/155] Installing util-linux-0:2.40- 100% | 156.7 MiB/s | 3.8 MiB | 00m00s >>> Running post-install scriptlet: util-linux-0:2.40-13.fc41.s390x >>> Stop post-install scriptlet: util-linux-0:2.40-13.fc41.s390x [154/155] Installing which-0:2.21-41.fc 100% | 84.1 MiB/s | 86.1 KiB | 00m00s [155/155] Installing info-0:7.1-2.fc40. 100% | 322.8 KiB/s | 405.5 KiB | 00m01s >>> Running post-transaction scriptlet: filesystem-0:3.18-9.fc41.s390x >>> Stop post-transaction scriptlet: filesystem-0:3.18-9.fc41.s390x >>> Running post-transaction scriptlet: ca-certificates-0:2023.2.62_v7.0.401-6.f >>> Stop post-transaction scriptlet: ca-certificates-0:2023.2.62_v7.0.401-6.fc40 >>> Running post-transaction scriptlet: authselect-libs-0:1.5.0-5.fc41.s390x >>> Stop post-transaction scriptlet: authselect-libs-0:1.5.0-5.fc41.s390x >>> Running post-transaction scriptlet: rpm-0:4.19.1.1-1.fc40.s390x >>> Stop post-transaction scriptlet: rpm-0:4.19.1.1-1.fc40.s390x >>> Running trigger-install scriptlet: glibc-common-0:2.39.9000-12.fc41.s390x >>> Stop trigger-install scriptlet: glibc-common-0:2.39.9000-12.fc41.s390x >>> Running trigger-install scriptlet: info-0:7.1-2.fc40.s390x >>> Stop trigger-install scriptlet: info-0:7.1-2.fc40.s390x Warning: skipped PGP checks for 153 package(s). Finish: installing minimal buildroot with dnf5 Start: creating root cache Finish: creating root cache Finish: chroot init INFO: Installed packages: INFO: alternatives-1.26-3.fc40.s390x ansible-srpm-macros-1-15.fc41.noarch audit-libs-4.0.1-1.fc41.s390x authselect-1.5.0-5.fc41.s390x authselect-libs-1.5.0-5.fc41.s390x basesystem-11-20.fc40.noarch bash-5.2.26-3.fc40.s390x binutils-2.42.50-6.fc41.s390x binutils-gold-2.42.50-6.fc41.s390x bzip2-1.0.8-18.fc40.s390x bzip2-libs-1.0.8-18.fc40.s390x ca-certificates-2023.2.62_v7.0.401-6.fc40.noarch coreutils-9.5-1.fc41.s390x coreutils-common-9.5-1.fc41.s390x cpio-2.15-1.fc40.s390x cracklib-2.9.11-5.fc40.s390x crypto-policies-20240320-1.git58e3d95.fc41.noarch curl-8.7.1-1.fc41.s390x cyrus-sasl-lib-2.1.28-19.fc40.s390x debugedit-5.0-14.fc40.s390x diffutils-3.10-5.fc40.s390x dwz-0.15-6.fc40.s390x ed-1.20.1-1.fc41.s390x efi-srpm-macros-5-11.fc40.noarch elfutils-0.191-5.fc41.s390x elfutils-debuginfod-client-0.191-5.fc41.s390x elfutils-default-yama-scope-0.191-5.fc41.noarch elfutils-libelf-0.191-5.fc41.s390x elfutils-libs-0.191-5.fc41.s390x fedora-gpg-keys-41-0.1.noarch fedora-release-41-0.9.noarch fedora-release-common-41-0.9.noarch fedora-release-identity-basic-41-0.9.noarch fedora-repos-41-0.1.noarch fedora-repos-rawhide-41-0.1.noarch file-5.45-5.fc41.s390x file-libs-5.45-5.fc41.s390x filesystem-3.18-9.fc41.s390x findutils-4.9.0-8.fc40.s390x fonts-srpm-macros-2.0.5-14.fc40.noarch forge-srpm-macros-0.3.1-1.fc41.noarch fpc-srpm-macros-1.3-12.fc40.noarch gawk-5.3.0-3.fc40.s390x gdb-minimal-14.2-4.fc41.s390x gdbm-1.23-6.fc40.s390x gdbm-libs-1.23-6.fc40.s390x ghc-srpm-macros-1.9.1-1.fc41.noarch glibc-2.39.9000-12.fc41.s390x glibc-common-2.39.9000-12.fc41.s390x glibc-gconv-extra-2.39.9000-12.fc41.s390x glibc-minimal-langpack-2.39.9000-12.fc41.s390x gmp-6.3.0-1.fc41.s390x gnat-srpm-macros-6-5.fc40.noarch go-srpm-macros-3.6.0-1.fc41.noarch grep-3.11-7.fc40.s390x gzip-1.13-1.fc40.s390x info-7.1-2.fc40.s390x jansson-2.13.1-9.fc40.s390x kernel-srpm-macros-1.0-23.fc41.noarch keyutils-libs-1.6.3-3.fc40.s390x krb5-libs-1.21.2-5.fc40.s390x libacl-2.3.2-1.fc40.s390x libarchive-3.7.2-3.fc41.s390x libattr-2.5.2-3.fc40.s390x libblkid-2.40-13.fc41.s390x libbrotli-1.1.0-3.fc40.s390x libcap-2.69-8.fc41.s390x libcap-ng-0.8.5-1.fc41.s390x libcom_err-1.47.0-5.fc40.s390x libcurl-8.7.1-1.fc41.s390x libeconf-0.6.2-1.fc41.s390x libevent-2.1.12-12.fc40.s390x libfdisk-2.40-13.fc41.s390x libffi-3.4.6-1.fc41.s390x libgcc-14.0.1-0.15.fc41.s390x libgomp-14.0.1-0.15.fc41.s390x libidn2-2.3.7-1.fc40.s390x libmount-2.40-13.fc41.s390x libnghttp2-1.61.0-1.fc41.s390x libnsl2-2.0.1-1.fc40.s390x libpkgconf-2.1.0-1.fc40.s390x libpsl-0.21.5-3.fc40.s390x libpwquality-1.4.5-9.fc40.s390x libselinux-3.6-4.fc40.s390x libsemanage-3.6-3.fc40.s390x libsepol-3.6-3.fc40.s390x libsmartcols-2.40-13.fc41.s390x libssh-0.10.6-6.fc41.s390x libssh-config-0.10.6-6.fc41.noarch libstdc++-14.0.1-0.15.fc41.s390x libtasn1-4.19.0-6.fc40.s390x libtirpc-1.3.4-1.rc3.fc41.s390x libtool-ltdl-2.4.7-10.fc40.s390x libunistring-1.1-7.fc41.s390x libutempter-1.2.1-13.fc40.s390x libuuid-2.40-13.fc41.s390x libverto-0.3.2-8.fc40.s390x libxcrypt-4.4.36-5.fc40.s390x libxml2-2.12.6-1.fc41.s390x libzstd-1.5.6-1.fc41.s390x lua-libs-5.4.6-5.fc40.s390x lua-srpm-macros-1-13.fc40.noarch lz4-libs-1.9.4-6.fc40.s390x mpfr-4.2.1-3.fc40.s390x ncurses-base-6.4-12.20240127.fc40.noarch ncurses-libs-6.4-12.20240127.fc40.s390x ocaml-srpm-macros-9-3.fc40.noarch openblas-srpm-macros-2-17.fc41.noarch openldap-2.6.7-1.fc40.s390x openssl-libs-3.2.1-6.fc41.s390x p11-kit-0.25.3-4.fc40.s390x p11-kit-trust-0.25.3-4.fc40.s390x package-notes-srpm-macros-0.5-11.fc40.noarch pam-1.6.1-1.fc41.s390x pam-libs-1.6.1-1.fc41.s390x patch-2.7.6-24.fc40.s390x pcre2-10.43-1.fc41.s390x pcre2-syntax-10.43-1.fc41.noarch perl-srpm-macros-1-53.fc40.noarch pkgconf-2.1.0-1.fc40.s390x pkgconf-m4-2.1.0-1.fc40.noarch pkgconf-pkg-config-2.1.0-1.fc40.s390x popt-1.19-6.fc40.s390x publicsuffix-list-dafsa-20240107-3.fc40.noarch pyproject-srpm-macros-1.12.0-1.fc40.noarch python-srpm-macros-3.12-9.fc41.noarch qt5-srpm-macros-5.15.13-1.fc41.noarch qt6-srpm-macros-6.7.0-1.fc41.noarch readline-8.2-8.fc40.s390x redhat-rpm-config-288-1.fc41.noarch rpm-4.19.1.1-1.fc40.s390x rpm-build-4.19.1.1-1.fc40.s390x rpm-build-libs-4.19.1.1-1.fc40.s390x rpm-libs-4.19.1.1-1.fc40.s390x rpm-sequoia-1.6.0-2.fc40.s390x rust-srpm-macros-26.2-1.fc41.noarch sed-4.9-1.fc40.s390x setup-2.14.5-2.fc40.noarch shadow-utils-4.15.1-2.fc41.s390x sqlite-libs-3.45.2-1.fc41.s390x systemd-libs-255.4-1.fc41.s390x tar-1.35-3.fc40.s390x unzip-6.0-63.fc40.s390x util-linux-2.40-13.fc41.s390x util-linux-core-2.40-13.fc41.s390x which-2.21-41.fc40.s390x xxhash-libs-0.8.2-2.fc40.s390x xz-5.4.6-3.fc41.s390x xz-libs-5.4.6-3.fc41.s390x zig-srpm-macros-1-2.fc40.noarch zip-3.0-40.fc40.s390x zlib-ng-compat-2.1.6-2.fc40.s390x zstd-1.5.6-1.fc41.s390x Start: buildsrpm Start: rpmbuild -bs Building target platforms: s390x Building for target s390x setting SOURCE_DATE_EPOCH=1713657600 Wrote: /builddir/build/SRPMS/python-imagecodecs-2023.1.23-1.fc41.src.rpm Finish: rpmbuild -bs cp: preserving permissions for ‘/var/lib/copr-rpmbuild/results/chroot_scan/var/lib/mock/fedora-40-s390x-1713734902.857088/root/var/log’: No such file or directory INFO: chroot_scan: 1 files copied to /var/lib/copr-rpmbuild/results/chroot_scan INFO: /var/lib/mock/fedora-40-s390x-1713734902.857088/root/var/log/dnf5.log Finish: buildsrpm INFO: Done(/var/lib/copr-rpmbuild/workspace/workdir-1ly4i083/python-imagecodecs/python-imagecodecs.spec) Config(child) 1 minutes 56 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-1.fc41.src.rpm) Config(fedora-40-s390x) Start(bootstrap): chroot init INFO: mounting tmpfs at /var/lib/mock/fedora-40-s390x-bootstrap-1713734902.857088/root. INFO: reusing tmpfs at /var/lib/mock/fedora-40-s390x-bootstrap-1713734902.857088/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-40-s390x-1713734902.857088/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.19.1.1-1.fc40.s390x rpm-sequoia-1.6.0-2.fc40.s390x python3-dnf-4.19.0-1.fc40.noarch yum-4.19.0-1.fc40.noarch dnf5-5.1.17-1.fc41.s390x dnf5-plugins-5.1.17-1.fc41.s390x Finish: chroot init Start: build phase for python-imagecodecs-2023.1.23-1.fc41.src.rpm Start: build setup for python-imagecodecs-2023.1.23-1.fc41.src.rpm Building target platforms: s390x Building for target s390x setting SOURCE_DATE_EPOCH=1713657600 Wrote: /builddir/build/SRPMS/python-imagecodecs-2023.1.23-1.fc41.src.rpm Updating and loading repositories: updates 100% | 20.9 KiB/s | 4.8 KiB | 00m00s fedora 100% | 16.8 KiB/s | 3.8 KiB | 00m00s Copr repository 100% | 19.0 KiB/s | 1.5 KiB | 00m00s Additional repo http_kojipkgs_fedorapr 100% | 206.2 KiB/s | 4.1 KiB | 00m00s Repositories loaded. Package Arch Version Repository Size Installing: CharLS-devel s390x 2.4.2-5.fc40 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 129.9 KiB blosc-devel s390x 1.21.5-4.fc40 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 20.9 KiB blosc2-devel s390x 2.14.4-1.fc41 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 146.1 KiB brotli-devel s390x 1.1.0-3.fc40 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 65.6 KiB bzip2-devel s390x 1.0.8-18.fc40 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 309.8 KiB cfitsio-devel s390x 4.4.0-2.fc41 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 260.9 KiB gcc-c++ s390x 14.0.1-0.15.fc41 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 28.7 MiB giflib-devel s390x 5.2.2-1.fc41 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 673.9 KiB jxrlib-devel s390x 1.1-27.fc40 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 204.6 KiB lcms2-devel s390x 2.16-3.fc40 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 135.7 KiB libaec-devel s390x 1.1.2-1.fc40 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 11.9 KiB libavif-devel s390x 1.0.4-2.fc41 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 68.7 KiB libdeflate-devel s390x 1.20-4.fc41 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 25.7 KiB libheif-devel s390x 1.17.5-4.fc40 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 185.0 KiB libjpeg-turbo-devel s390x 3.0.2-1.fc40 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 352.9 KiB liblerc-devel s390x 4.0.0-6.fc40 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 4.3 MiB libpng-devel s390x 2:1.6.40-3.fc40 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 885.1 KiB libtiff-devel s390x 4.6.0-2.fc40 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 708.9 KiB libzstd-devel s390x 1.5.6-1.fc41 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 202.4 KiB lz4-devel s390x 1.9.4-6.fc40 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 96.2 KiB python3-blosc s390x 1.11.1-6.fc40 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 227.3 KiB python3-blosc2 s390x 2.5.1-2.fc41 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 1.0 MiB python3-brotli s390x 1.1.0-3.fc40 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 928.0 KiB python3-cython s390x 3.0.9-2.fc41 copr_base 18.1 MiB python3-devel s390x 3.12.3-2.fc41 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 1.2 MiB python3-lz4 s390x 4.3.3-3.fc40 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 6.1 MiB python3-numcodecs s390x 0.12.1-3.fc40 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 1.6 MiB python3-pytest noarch 7.4.3-5.fc41 copr_base 15.0 MiB python3-snappy s390x 0.6.1-8.fc40 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 105.7 KiB python3-tifffile noarch 2024.2.12-1.fc41 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 2.8 MiB python3-zarr noarch 2.16.1-1.fc40 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 3.2 MiB python3-zstd s390x 1.5.5.1-3.fc40 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 37.7 KiB snappy-devel s390x 1.1.10-4.fc40 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 45.2 KiB xz-devel s390x 1:5.4.6-3.fc41 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 255.8 KiB zfp-devel s390x 1.0.1-2.fc40 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 480.0 KiB zlib-ng-devel s390x 2.1.6-2.fc40 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 100.3 KiB zopfli-devel s390x 1.0.3-10.fc40 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 15.5 KiB Installing dependencies: CharLS s390x 2.4.2-5.fc40 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 346.3 KiB annobin-docs noarch 12.49-1.fc41 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 95.7 KiB annobin-plugin-gcc s390x 12.49-1.fc41 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 970.6 KiB blosc s390x 1.21.5-4.fc40 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 105.5 KiB blosc2 s390x 2.14.4-1.fc41 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 561.2 KiB brotli s390x 1.1.0-3.fc40 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 35.6 KiB cfitsio s390x 4.4.0-2.fc41 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 2.1 MiB cmake-filesystem s390x 3.28.3-1.fc41 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 0.0 B cpp s390x 14.0.1-0.15.fc41 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 25.4 MiB expat s390x 2.6.2-1.fc41 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 316.4 KiB flexiblas s390x 3.4.2-1.fc41 copr_base 46.9 KiB flexiblas-netlib s390x 3.4.2-1.fc41 copr_base 11.7 MiB flexiblas-openblas-openmp s390x 3.4.2-1.fc41 copr_base 39.2 KiB gc s390x 8.2.2-6.fc40 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 273.8 KiB gcc s390x 14.0.1-0.15.fc41 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 76.5 MiB gcc-plugin-annobin s390x 14.0.1-0.15.fc41 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 56.8 KiB giflib s390x 5.2.2-1.fc41 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 124.0 KiB glibc-devel s390x 2.39.9000-12.fc41 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 460.5 KiB glibc-headers-s390 noarch 2.39.9000-12.fc41 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 2.2 MiB guile30 s390x 3.0.7-12.fc40 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 51.5 MiB jbigkit-libs s390x 2.1-29.fc40 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 121.2 KiB jxrlib s390x 1.1-27.fc40 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 791.1 KiB kernel-headers s390x 6.9.0-0.rc4.37.fc41 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 6.2 MiB lcms2 s390x 2.16-3.fc40 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 456.7 KiB libaec s390x 1.1.2-1.fc40 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 109.7 KiB libaom s390x 3.8.2-2.fc41 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 3.5 MiB libaom-devel s390x 3.8.2-2.fc41 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 26.4 MiB libasan s390x 14.0.1-0.15.fc41 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 1.6 MiB libatomic s390x 14.0.1-0.15.fc41 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 32.3 KiB libavif s390x 1.0.4-2.fc41 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 195.6 KiB libb2 s390x 0.98.1-11.fc40 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 42.0 KiB libdav1d s390x 1.4.0-1.fc41 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 669.3 KiB libdav1d-devel s390x 1.4.0-1.fc41 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 41.9 KiB libdeflate s390x 1.20-4.fc41 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 104.1 KiB libgfortran s390x 14.0.1-0.15.fc41 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 2.2 MiB libheif s390x 1.17.5-4.fc40 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 992.7 KiB libjpeg-turbo s390x 3.0.2-1.fc40 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 747.6 KiB liblerc s390x 4.0.0-6.fc40 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 269.0 KiB libmpc s390x 1.3.1-5.fc40 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 172.5 KiB libpng s390x 2:1.6.40-3.fc40 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 253.6 KiB libstdc++-devel s390x 14.0.1-0.15.fc41 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 15.1 MiB libtiff s390x 4.6.0-2.fc40 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 1.2 MiB libubsan s390x 14.0.1-0.15.fc41 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 491.3 KiB libwebp s390x 1.4.0-1.fc41 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 658.3 KiB libwebp-devel s390x 1.4.0-1.fc41 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 120.3 KiB libxcrypt-devel s390x 4.4.36-5.fc40 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 30.3 KiB make s390x 1:4.4.1-6.fc40 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 1.9 MiB mpdecimal s390x 2.5.1-9.fc40 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 228.6 KiB openblas s390x 0.3.26-4.fc40 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 96.0 KiB openblas-openmp s390x 0.3.26-4.fc40 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 15.3 MiB openjpeg2 s390x 2.5.2-1.fc41 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 485.5 KiB openjpeg2-devel s390x 2.5.2-1.fc41 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 75.3 KiB openjpeg2-tools s390x 2.5.2-1.fc41 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 205.0 KiB pyproject-rpm-macros noarch 1.12.0-1.fc40 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 98.8 KiB python-pip-wheel noarch 24.0-2.fc41 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 1.5 MiB python-rpm-macros noarch 3.12-9.fc41 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 22.1 KiB python3 s390x 3.12.3-2.fc41 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 31.3 KiB python3-asciitree noarch 0.3.3-28.fc40 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 20.3 KiB python3-cffi s390x 1.16.0-4.fc40 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 1.3 MiB python3-cpuinfo noarch 9.0.0-7.fc40 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 306.5 KiB python3-fasteners noarch 0.19-4.fc40 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 116.3 KiB python3-iniconfig noarch 1.1.1-16.fc40 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 20.5 KiB python3-libs s390x 3.12.3-2.fc41 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 41.8 MiB python3-msgpack s390x 1.0.7-3.fc40 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 426.8 KiB python3-ndindex s390x 1.7-11.fc40 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 3.0 MiB python3-numpy s390x 1:1.26.4-3.fc41 copr_base 42.0 MiB python3-packaging noarch 24.0-1.fc41 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 424.8 KiB python3-pluggy noarch 1.3.0-3.fc40 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 182.5 KiB python3-ply noarch 3.11-23.fc40 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 561.6 KiB python3-pycparser noarch 2.20-14.fc40 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 839.5 KiB python3-rpm-generators noarch 14-10.fc40 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 81.7 KiB python3-rpm-macros noarch 3.12-9.fc41 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 6.4 KiB rav1e-libs s390x 0.7.1-1.fc40 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 2.5 MiB snappy s390x 1.1.10-4.fc40 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 70.7 KiB svt-av1-libs s390x 1.4.1-5.fc40 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 3.8 MiB tzdata noarch 2024a-5.fc41 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 1.6 MiB zfp s390x 1.0.1-2.fc40 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 291.5 KiB zlib-ng s390x 2.1.6-2.fc40 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 132.8 KiB zlib-ng-compat-devel s390x 2.1.6-2.fc40 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 103.4 KiB zopfli s390x 1.0.3-10.fc40 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 332.3 KiB Transaction Summary: Installing: 117 packages Total size of inbound packages is 130 MiB. Need to download 130 MiB. After this operation 444 MiB will be used (install 444 MiB, remove 0 B). [ 1/117] blosc2-devel-0:2.14.4-1.fc41. 100% | 414.9 KiB/s | 40.7 KiB | 00m00s [ 2/117] brotli-devel-0:1.1.0-3.fc40.s 100% | 11.0 MiB/s | 33.8 KiB | 00m00s [ 3/117] bzip2-devel-0:1.0.8-18.fc40.s 100% | 26.1 MiB/s | 213.5 KiB | 00m00s [ 4/117] cfitsio-devel-0:4.4.0-2.fc41. 100% | 10.0 MiB/s | 51.4 KiB | 00m00s [ 5/117] blosc-devel-0:1.21.5-4.fc40.s 100% | 120.6 KiB/s | 14.2 KiB | 00m00s [ 6/117] CharLS-devel-0:2.4.2-5.fc40.s 100% | 242.3 KiB/s | 30.3 KiB | 00m00s [ 7/117] giflib-devel-0:5.2.2-1.fc41.s 100% | 27.4 MiB/s | 196.3 KiB | 00m00s [ 8/117] lcms2-devel-0:2.16-3.fc40.s39 100% | 6.3 MiB/s | 32.1 KiB | 00m00s [ 9/117] libaec-devel-0:1.1.2-1.fc40.s 100% | 1.4 MiB/s | 11.8 KiB | 00m00s [ 10/117] libavif-devel-0:1.0.4-2.fc41. 100% | 2.8 MiB/s | 29.0 KiB | 00m00s [ 11/117] jxrlib-devel-0:1.1-27.fc40.s3 100% | 1.3 MiB/s | 38.6 KiB | 00m00s [ 12/117] libdeflate-devel-0:1.20-4.fc4 100% | 5.6 MiB/s | 17.3 KiB | 00m00s [ 13/117] libjpeg-turbo-devel-0:3.0.2-1 100% | 23.7 MiB/s | 97.2 KiB | 00m00s [ 14/117] libheif-devel-0:1.17.5-4.fc40 100% | 8.3 MiB/s | 42.3 KiB | 00m00s [ 15/117] libpng-devel-2:1.6.40-3.fc40. 100% | 22.0 MiB/s | 292.3 KiB | 00m00s [ 16/117] libtiff-devel-0:4.6.0-2.fc40. 100% | 48.2 MiB/s | 247.0 KiB | 00m00s [ 17/117] libzstd-devel-0:1.5.6-1.fc41. 100% | 16.8 MiB/s | 51.7 KiB | 00m00s [ 18/117] lz4-devel-0:1.9.4-6.fc40.s390 100% | 10.0 MiB/s | 30.8 KiB | 00m00s [ 19/117] gcc-c++-0:14.0.1-0.15.fc41.s3 100% | 120.0 MiB/s | 11.8 MiB | 00m00s [ 20/117] python3-devel-0:3.12.3-2.fc41 100% | 53.6 MiB/s | 274.7 KiB | 00m00s [ 21/117] python3-blosc-0:1.11.1-6.fc40 100% | 14.5 MiB/s | 59.3 KiB | 00m00s [ 22/117] python3-blosc2-0:2.5.1-2.fc41 100% | 42.8 MiB/s | 350.4 KiB | 00m00s [ 23/117] python3-brotli-0:1.1.0-3.fc40 100% | 27.0 MiB/s | 387.2 KiB | 00m00s [ 24/117] python3-lz4-0:4.3.3-3.fc40.s3 100% | 97.7 MiB/s | 500.4 KiB | 00m00s [ 25/117] python3-numcodecs-0:0.12.1-3. 100% | 80.8 MiB/s | 413.8 KiB | 00m00s [ 26/117] python3-pytest-0:7.4.3-5.fc41 100% | 73.9 MiB/s | 1.8 MiB | 00m00s [ 27/117] python3-cython-0:3.0.9-2.fc41 100% | 789.0 KiB/s | 3.9 MiB | 00m05s [ 28/117] python3-snappy-0:0.6.1-8.fc40 100% | 8.3 KiB/s | 41.0 KiB | 00m05s [ 29/117] python3-tifffile-0:2024.2.12- 100% | 43.3 MiB/s | 487.9 KiB | 00m00s [ 30/117] python3-zstd-0:1.5.5.1-3.fc40 100% | 6.4 MiB/s | 19.5 KiB | 00m00s [ 31/117] liblerc-devel-0:4.0.0-6.fc40. 100% | 643.2 KiB/s | 3.2 MiB | 00m05s [ 32/117] python3-zarr-0:2.16.1-1.fc40. 100% | 28.1 MiB/s | 518.6 KiB | 00m00s [ 33/117] snappy-devel-0:1.1.10-4.fc40. 100% | 4.3 MiB/s | 21.8 KiB | 00m00s [ 34/117] xz-devel-1:5.4.6-3.fc41.s390x 100% | 20.2 MiB/s | 62.1 KiB | 00m00s [ 35/117] zfp-devel-0:1.0.1-2.fc40.s390 100% | 17.4 MiB/s | 71.2 KiB | 00m00s [ 36/117] zopfli-devel-0:1.0.3-10.fc40. 100% | 3.2 MiB/s | 13.0 KiB | 00m00s [ 37/117] zlib-ng-devel-0:2.1.6-2.fc40. 100% | 6.9 MiB/s | 35.4 KiB | 00m00s [ 38/117] cfitsio-0:4.4.0-2.fc41.s390x 100% | 67.3 MiB/s | 689.6 KiB | 00m00s [ 39/117] blosc2-0:2.14.4-1.fc41.s390x 100% | 14.4 MiB/s | 221.7 KiB | 00m00s [ 40/117] giflib-0:5.2.2-1.fc41.s390x 100% | 10.7 MiB/s | 54.9 KiB | 00m00s [ 41/117] libavif-0:1.0.4-2.fc41.s390x 100% | 15.8 MiB/s | 96.8 KiB | 00m00s [ 42/117] libdeflate-0:1.20-4.fc41.s390 100% | 6.2 MiB/s | 63.1 KiB | 00m00s [ 43/117] python3-0:3.12.3-2.fc41.s390x 100% | 8.8 MiB/s | 27.0 KiB | 00m00s [ 44/117] libstdc++-devel-0:14.0.1-0.15 100% | 26.1 MiB/s | 2.6 MiB | 00m00s [ 45/117] python3-libs-0:3.12.3-2.fc41. 100% | 95.9 MiB/s | 8.8 MiB | 00m00s [ 46/117] glibc-devel-0:2.39.9000-12.fc 100% | 31.8 MiB/s | 130.2 KiB | 00m00s [ 47/117] glibc-headers-s390-0:2.39.900 100% | 64.8 MiB/s | 531.1 KiB | 00m00s [ 48/117] gcc-plugin-annobin-0:14.0.1-0 100% | 9.2 MiB/s | 47.3 KiB | 00m00s [ 49/117] python-rpm-macros-0:3.12-9.fc 100% | 5.9 MiB/s | 18.0 KiB | 00m00s [ 50/117] python3-rpm-macros-0:3.12-9.f 100% | 4.2 MiB/s | 12.8 KiB | 00m00s [ 51/117] cmake-filesystem-0:3.28.3-1.f 100% | 8.5 MiB/s | 17.5 KiB | 00m00s [ 52/117] zopfli-0:1.0.3-10.fc40.s390x 100% | 24.4 MiB/s | 149.9 KiB | 00m00s [ 53/117] zlib-ng-0:2.1.6-2.fc40.s390x 100% | 14.5 MiB/s | 74.0 KiB | 00m00s [ 54/117] zfp-0:1.0.1-2.fc40.s390x 100% | 18.4 MiB/s | 94.2 KiB | 00m00s [ 55/117] snappy-0:1.1.10-4.fc40.s390x 100% | 12.2 MiB/s | 37.6 KiB | 00m00s [ 56/117] python3-asciitree-0:0.3.3-28. 100% | 5.8 MiB/s | 17.7 KiB | 00m00s [ 57/117] python3-fasteners-0:0.19-4.fc 100% | 21.5 MiB/s | 44.0 KiB | 00m00s [ 58/117] python3-numpy-1:1.26.4-3.fc41 100% | 163.6 MiB/s | 6.9 MiB | 00m00s [ 59/117] python3-cffi-0:1.16.0-4.fc40. 100% | 36.6 MiB/s | 300.0 KiB | 00m00s [ 60/117] blosc-0:1.21.5-4.fc40.s390x 100% | 9.7 MiB/s | 49.8 KiB | 00m00s [ 61/117] expat-0:2.6.2-1.fc41.s390x 100% | 19.1 MiB/s | 117.1 KiB | 00m00s [ 62/117] gcc-0:14.0.1-0.15.fc41.s390x 100% | 109.2 MiB/s | 30.6 MiB | 00m00s [ 63/117] tzdata-0:2024a-5.fc41.noarch 100% | 14.5 MiB/s | 431.3 KiB | 00m00s [ 64/117] libb2-0:0.98.1-11.fc40.s390x 100% | 6.6 MiB/s | 26.8 KiB | 00m00s [ 65/117] mpdecimal-0:2.5.1-9.fc40.s390 100% | 24.7 MiB/s | 101.2 KiB | 00m00s [ 66/117] pyproject-rpm-macros-0:1.12.0 100% | 5.8 MiB/s | 41.4 KiB | 00m00s [ 67/117] python-pip-wheel-0:24.0-2.fc4 100% | 113.5 MiB/s | 1.5 MiB | 00m00s [ 68/117] python3-rpm-generators-0:14-1 100% | 5.8 MiB/s | 29.6 KiB | 00m00s [ 69/117] python3-cpuinfo-0:9.0.0-7.fc4 100% | 22.3 MiB/s | 68.4 KiB | 00m00s [ 70/117] python3-pycparser-0:2.20-14.f 100% | 35.8 MiB/s | 146.7 KiB | 00m00s [ 71/117] python3-msgpack-0:1.0.7-3.fc4 100% | 39.6 MiB/s | 121.7 KiB | 00m00s [ 72/117] python3-ndindex-0:1.7-11.fc40 100% | 82.9 MiB/s | 764.0 KiB | 00m00s [ 73/117] libtiff-0:4.6.0-2.fc40.s390x 100% | 51.9 MiB/s | 371.7 KiB | 00m00s [ 74/117] libwebp-devel-0:1.4.0-1.fc41. 100% | 9.6 MiB/s | 39.4 KiB | 00m00s [ 75/117] libwebp-0:1.4.0-1.fc41.s390x 100% | 51.2 MiB/s | 261.9 KiB | 00m00s [ 76/117] zlib-ng-compat-devel-0:2.1.6- 100% | 11.7 MiB/s | 36.1 KiB | 00m00s [ 77/117] jbigkit-libs-0:2.1-29.fc40.s3 100% | 27.3 MiB/s | 55.9 KiB | 00m00s [ 78/117] libjpeg-turbo-0:3.0.2-1.fc40. 100% | 29.8 MiB/s | 243.8 KiB | 00m00s [ 79/117] liblerc-0:4.0.0-6.fc40.s390x 100% | 15.7 MiB/s | 112.3 KiB | 00m00s [ 80/117] libpng-2:1.6.40-3.fc40.s390x 100% | 31.9 MiB/s | 130.5 KiB | 00m00s [ 81/117] libaom-0:3.8.2-2.fc41.s390x 100% | 81.9 MiB/s | 1.4 MiB | 00m00s [ 82/117] cpp-0:14.0.1-0.15.fc41.s390x 100% | 37.8 MiB/s | 9.6 MiB | 00m00s [ 83/117] libdav1d-devel-0:1.4.0-1.fc41 100% | 1.4 MiB/s | 19.1 KiB | 00m00s [ 84/117] libheif-0:1.17.5-4.fc40.s390x 100% | 45.8 MiB/s | 375.0 KiB | 00m00s [ 85/117] openjpeg2-devel-0:2.5.2-1.fc4 100% | 8.8 MiB/s | 27.0 KiB | 00m00s [ 86/117] libdav1d-0:1.4.0-1.fc41.s390x 100% | 22.6 MiB/s | 324.4 KiB | 00m00s [ 87/117] openjpeg2-tools-0:2.5.2-1.fc4 100% | 14.6 MiB/s | 89.5 KiB | 00m00s [ 88/117] openjpeg2-0:2.5.2-1.fc41.s390 100% | 20.9 MiB/s | 213.9 KiB | 00m00s [ 89/117] rav1e-libs-0:0.7.1-1.fc40.s39 100% | 54.7 MiB/s | 840.4 KiB | 00m00s [ 90/117] libaec-0:1.1.2-1.fc40.s390x 100% | 13.1 MiB/s | 40.3 KiB | 00m00s [ 91/117] lcms2-0:2.16-3.fc40.s390x 100% | 37.2 MiB/s | 190.4 KiB | 00m00s [ 92/117] svt-av1-libs-0:1.4.1-5.fc40.s 100% | 47.4 MiB/s | 1.2 MiB | 00m00s [ 93/117] jxrlib-0:1.1-27.fc40.s390x 100% | 35.5 MiB/s | 473.2 KiB | 00m00s [ 94/117] libxcrypt-devel-0:4.4.36-5.fc 100% | 5.6 MiB/s | 28.6 KiB | 00m00s [ 95/117] libaom-devel-0:3.8.2-2.fc41.s 100% | 113.5 MiB/s | 12.6 MiB | 00m00s [ 96/117] libmpc-0:1.3.1-5.fc40.s390x 100% | 6.0 MiB/s | 74.1 KiB | 00m00s [ 97/117] annobin-docs-0:12.49-1.fc41.n 100% | 10.9 MiB/s | 89.4 KiB | 00m00s [ 98/117] annobin-plugin-gcc-0:12.49-1. 100% | 72.2 MiB/s | 960.7 KiB | 00m00s [ 99/117] kernel-headers-0:6.9.0-0.rc4. 100% | 35.9 MiB/s | 1.4 MiB | 00m00s [100/117] libubsan-0:14.0.1-0.15.fc41.s 100% | 31.6 MiB/s | 226.3 KiB | 00m00s [101/117] libatomic-0:14.0.1-0.15.fc41. 100% | 3.7 MiB/s | 34.1 KiB | 00m00s [102/117] libasan-0:14.0.1-0.15.fc41.s3 100% | 46.6 MiB/s | 525.2 KiB | 00m00s [103/117] CharLS-0:2.4.2-5.fc40.s390x 100% | 19.6 MiB/s | 120.7 KiB | 00m00s [104/117] brotli-0:1.1.0-3.fc40.s390x 100% | 2.8 MiB/s | 20.4 KiB | 00m00s [105/117] python3-iniconfig-0:1.1.1-16. 100% | 5.8 MiB/s | 17.9 KiB | 00m00s [106/117] python3-packaging-0:24.0-1.fc 100% | 22.7 MiB/s | 116.4 KiB | 00m00s [107/117] make-1:4.4.1-6.fc40.s390x 100% | 45.1 MiB/s | 600.9 KiB | 00m00s [108/117] python3-pluggy-0:1.3.0-3.fc40 100% | 16.1 MiB/s | 49.5 KiB | 00m00s [109/117] flexiblas-0:3.4.2-1.fc41.s390 100% | 4.2 MiB/s | 25.5 KiB | 00m00s [110/117] libgfortran-0:14.0.1-0.15.fc4 100% | 49.7 MiB/s | 611.1 KiB | 00m00s [111/117] python3-ply-0:3.11-23.fc40.no 100% | 18.3 MiB/s | 131.2 KiB | 00m00s [112/117] flexiblas-openblas-openmp-0:3 100% | 1.4 MiB/s | 18.3 KiB | 00m00s [113/117] gc-0:8.2.2-6.fc40.s390x 100% | 27.8 MiB/s | 113.9 KiB | 00m00s [114/117] flexiblas-netlib-0:3.4.2-1.fc 100% | 115.3 MiB/s | 3.7 MiB | 00m00s [115/117] openblas-0:0.3.26-4.fc40.s390 100% | 7.5 MiB/s | 38.6 KiB | 00m00s [116/117] openblas-openmp-0:0.3.26-4.fc 100% | 129.2 MiB/s | 4.4 MiB | 00m00s [117/117] guile30-0:3.0.7-12.fc40.s390x 100% | 64.2 MiB/s | 8.1 MiB | 00m00s -------------------------------------------------------------------------------- [117/117] Total 100% | 22.2 MiB/s | 129.8 MiB | 00m06s Running transaction [ 1/119] Verify package files 100% | 278.0 B/s | 117.0 B | 00m00s [ 2/119] Prepare transaction 100% | 1.3 KiB/s | 117.0 B | 00m00s [ 3/119] Installing cmake-filesystem-0 100% | 7.0 MiB/s | 7.1 KiB | 00m00s [ 4/119] Installing libwebp-0:1.4.0-1. 100% | 215.6 MiB/s | 662.5 KiB | 00m00s [ 5/119] Installing libmpc-0:1.3.1-5.f 100% | 169.9 MiB/s | 174.0 KiB | 00m00s [ 6/119] Installing openjpeg2-0:2.5.2- 100% | 238.0 MiB/s | 487.5 KiB | 00m00s [ 7/119] Installing libdav1d-0:1.4.0-1 100% | 218.3 MiB/s | 670.5 KiB | 00m00s [ 8/119] Installing libaom-0:3.8.2-2.f 100% | 266.8 MiB/s | 3.5 MiB | 00m00s [ 9/119] Installing libjpeg-turbo-0:3. 100% | 243.9 MiB/s | 749.3 KiB | 00m00s [ 10/119] Installing snappy-0:1.1.10-4. 100% | 70.7 MiB/s | 72.4 KiB | 00m00s [ 11/119] Installing blosc-0:1.21.5-4.f 100% | 105.9 MiB/s | 108.4 KiB | 00m00s [ 12/119] Installing python-rpm-macros- 100% | 0.0 B/s | 22.8 KiB | 00m00s [ 13/119] Installing python3-rpm-macros 100% | 0.0 B/s | 6.7 KiB | 00m00s [ 14/119] Installing libjpeg-turbo-deve 100% | 347.1 MiB/s | 355.5 KiB | 00m00s [ 15/119] Installing libwebp-devel-0:1. 100% | 121.1 MiB/s | 124.0 KiB | 00m00s [ 16/119] Installing libgfortran-0:14.0 100% | 310.7 MiB/s | 2.2 MiB | 00m00s [ 17/119] Installing lcms2-0:2.16-3.fc4 100% | 223.8 MiB/s | 458.4 KiB | 00m00s [ 18/119] Installing svt-av1-libs-0:1.4 100% | 295.8 MiB/s | 3.8 MiB | 00m00s [ 19/119] Installing rav1e-libs-0:0.7.1 100% | 312.5 MiB/s | 2.5 MiB | 00m00s [ 20/119] Installing libpng-2:1.6.40-3. 100% | 248.9 MiB/s | 254.8 KiB | 00m00s [ 21/119] Installing liblerc-0:4.0.0-6. 100% | 264.2 MiB/s | 270.6 KiB | 00m00s [ 22/119] Installing zlib-ng-compat-dev 100% | 0.0 B/s | 104.5 KiB | 00m00s [ 23/119] Installing zlib-ng-0:2.1.6-2. 100% | 131.0 MiB/s | 134.2 KiB | 00m00s [ 24/119] Installing blosc2-0:2.14.4-1. 100% | 275.6 MiB/s | 564.3 KiB | 00m00s [ 25/119] Installing libavif-0:1.0.4-2. 100% | 192.3 MiB/s | 196.9 KiB | 00m00s [ 26/119] Installing libheif-0:1.17.5-4 100% | 242.9 MiB/s | 995.1 KiB | 00m00s [ 27/119] Installing pyproject-rpm-macr 100% | 49.2 MiB/s | 100.8 KiB | 00m00s [ 28/119] Installing libaom-devel-0:3.8 100% | 305.7 MiB/s | 26.6 MiB | 00m00s [ 29/119] Installing libdav1d-devel-0:1 100% | 0.0 B/s | 43.2 KiB | 00m00s [ 30/119] Installing cpp-0:14.0.1-0.15. 100% | 279.7 MiB/s | 25.5 MiB | 00m00s [ 31/119] Installing openblas-0:0.3.26- 100% | 0.0 B/s | 97.8 KiB | 00m00s [ 32/119] Installing openblas-openmp-0: 100% | 317.8 MiB/s | 15.3 MiB | 00m00s [ 33/119] Installing flexiblas-0:3.4.2- 100% | 0.0 B/s | 48.1 KiB | 00m00s [ 34/119] Installing flexiblas-openblas 100% | 0.0 B/s | 40.0 KiB | 00m00s [ 35/119] Installing flexiblas-netlib-0 100% | 308.5 MiB/s | 11.7 MiB | 00m00s [ 36/119] Installing gc-0:8.2.2-6.fc40. 100% | 89.9 MiB/s | 276.3 KiB | 00m00s [ 37/119] Installing guile30-0:3.0.7-12 100% | 363.8 MiB/s | 51.7 MiB | 00m00s [ 38/119] Installing make-1:4.4.1-6.fc4 100% | 266.1 MiB/s | 1.9 MiB | 00m00s [ 39/119] Installing CharLS-0:2.4.2-5.f 100% | 339.8 MiB/s | 347.9 KiB | 00m00s [ 40/119] Installing brotli-0:1.1.0-3.f 100% | 0.0 B/s | 36.2 KiB | 00m00s [ 41/119] Installing libubsan-0:14.0.1- 100% | 240.3 MiB/s | 492.1 KiB | 00m00s [ 42/119] Installing libatomic-0:14.0.1 100% | 0.0 B/s | 33.2 KiB | 00m00s [ 43/119] Installing libasan-0:14.0.1-0 100% | 273.7 MiB/s | 1.6 MiB | 00m00s [ 44/119] Installing annobin-docs-0:12. 100% | 47.2 MiB/s | 96.7 KiB | 00m00s [ 45/119] Installing kernel-headers-0:6 100% | 187.7 MiB/s | 6.4 MiB | 00m00s [ 46/119] Installing jxrlib-0:1.1-27.fc 100% | 258.4 MiB/s | 793.9 KiB | 00m00s [ 47/119] Installing libaec-0:1.1.2-1.f 100% | 109.4 MiB/s | 112.1 KiB | 00m00s [ 48/119] Installing jbigkit-libs-0:2.1 100% | 120.3 MiB/s | 123.2 KiB | 00m00s [ 49/119] Installing libtiff-0:4.6.0-2. 100% | 305.2 MiB/s | 1.2 MiB | 00m00s [ 50/119] Installing openjpeg2-tools-0: 100% | 202.1 MiB/s | 207.0 KiB | 00m00s [ 51/119] Installing openjpeg2-devel-0: 100% | 0.0 B/s | 76.9 KiB | 00m00s [ 52/119] Installing python-pip-wheel-0 100% | 509.3 MiB/s | 1.5 MiB | 00m00s [ 53/119] Installing mpdecimal-0:2.5.1- 100% | 224.3 MiB/s | 229.7 KiB | 00m00s [ 54/119] Installing libb2-0:0.98.1-11. 100% | 14.0 MiB/s | 43.1 KiB | 00m00s [ 55/119] Installing tzdata-0:2024a-5.f 100% | 59.4 MiB/s | 1.9 MiB | 00m00s [ 56/119] Installing expat-0:2.6.2-1.fc 100% | 62.2 MiB/s | 318.5 KiB | 00m00s [ 57/119] Installing python3-libs-0:3.1 100% | 279.5 MiB/s | 42.2 MiB | 00m00s [ 58/119] Installing python3-0:3.12.3-2 100% | 10.8 MiB/s | 33.0 KiB | 00m00s [ 59/119] Installing python3-numpy-1:1. 100% | 318.1 MiB/s | 42.3 MiB | 00m00s [ 60/119] Installing python3-packaging- 100% | 212.7 MiB/s | 435.6 KiB | 00m00s [ 61/119] Installing python3-rpm-genera 100% | 81.0 MiB/s | 82.9 KiB | 00m00s [ 62/119] Installing python3-numcodecs- 100% | 187.4 MiB/s | 1.7 MiB | 00m00s [ 63/119] Installing python3-ndindex-0: 100% | 256.4 MiB/s | 3.1 MiB | 00m00s [ 64/119] Installing python3-asciitree- 100% | 23.9 MiB/s | 24.5 KiB | 00m00s [ 65/119] Installing python3-fasteners- 100% | 121.3 MiB/s | 124.2 KiB | 00m00s [ 66/119] Installing python3-cpuinfo-0: 100% | 303.3 MiB/s | 310.6 KiB | 00m00s [ 67/119] Installing python3-msgpack-0: 100% | 211.5 MiB/s | 433.2 KiB | 00m00s [ 68/119] Installing python3-iniconfig- 100% | 0.0 B/s | 23.4 KiB | 00m00s [ 69/119] Installing python3-pluggy-0:1 100% | 183.9 MiB/s | 188.3 KiB | 00m00s [ 70/119] Installing python3-ply-0:3.11 100% | 276.8 MiB/s | 566.8 KiB | 00m00s [ 71/119] Installing python3-pycparser- 100% | 277.0 MiB/s | 850.9 KiB | 00m00s [ 72/119] Installing python3-cffi-0:1.1 100% | 268.3 MiB/s | 1.3 MiB | 00m00s [ 73/119] Installing zfp-0:1.0.1-2.fc40 100% | 286.7 MiB/s | 293.6 KiB | 00m00s [ 74/119] Installing zopfli-0:1.0.3-10. 100% | 109.2 MiB/s | 335.4 KiB | 00m00s [ 75/119] Installing glibc-headers-s390 100% | 159.6 MiB/s | 2.2 MiB | 00m00s [ 76/119] Installing libxcrypt-devel-0: 100% | 31.8 MiB/s | 32.6 KiB | 00m00s [ 77/119] Installing glibc-devel-0:2.39 100% | 226.7 MiB/s | 464.2 KiB | 00m00s [ 78/119] Installing gcc-0:14.0.1-0.15. 100% | 309.6 MiB/s | 76.5 MiB | 00m00s >>> Running trigger-install scriptlet: redhat-rpm-config-0:288-1.fc41.noarch >>> Stop trigger-install scriptlet: redhat-rpm-config-0:288-1.fc41.noarch [ 79/119] Installing libdeflate-0:1.20- 100% | 103.1 MiB/s | 105.6 KiB | 00m00s [ 80/119] Installing giflib-0:5.2.2-1.f 100% | 61.4 MiB/s | 125.7 KiB | 00m00s [ 81/119] Installing libstdc++-devel-0: 100% | 299.5 MiB/s | 15.3 MiB | 00m00s [ 82/119] Installing cfitsio-0:4.4.0-2. 100% | 299.6 MiB/s | 2.1 MiB | 00m00s [ 83/119] Installing libzstd-devel-0:1. 100% | 198.5 MiB/s | 203.2 KiB | 00m00s [ 84/119] Installing libtiff-devel-0:4. 100% | 234.2 MiB/s | 719.6 KiB | 00m00s [ 85/119] Installing cfitsio-devel-0:4. 100% | 256.3 MiB/s | 262.5 KiB | 00m00s [ 86/119] Installing gcc-c++-0:14.0.1-0 100% | 293.1 MiB/s | 28.7 MiB | 00m00s [ 87/119] Installing giflib-devel-0:5.2 100% | 224.3 MiB/s | 689.1 KiB | 00m00s [ 88/119] Installing libdeflate-devel-0 100% | 0.0 B/s | 27.1 KiB | 00m00s [ 89/119] Installing gcc-plugin-annobin 100% | 5.7 MiB/s | 58.4 KiB | 00m00s >>> Running trigger-install scriptlet: redhat-rpm-config-0:288-1.fc41.noarch >>> Stop trigger-install scriptlet: redhat-rpm-config-0:288-1.fc41.noarch [ 90/119] Installing annobin-plugin-gcc 100% | 79.1 MiB/s | 972.1 KiB | 00m00s >>> Running trigger-install scriptlet: redhat-rpm-config-0:288-1.fc41.noarch >>> Stop trigger-install scriptlet: redhat-rpm-config-0:288-1.fc41.noarch [ 91/119] Installing zopfli-devel-0:1.0 100% | 16.2 MiB/s | 16.6 KiB | 00m00s [ 92/119] Installing zfp-devel-0:1.0.1- 100% | 160.5 MiB/s | 492.9 KiB | 00m00s [ 93/119] Installing python3-snappy-0:0 100% | 36.6 MiB/s | 112.4 KiB | 00m00s [ 94/119] Installing python3-pytest-0:7 100% | 316.6 MiB/s | 15.2 MiB | 00m00s [ 95/119] Installing python3-blosc2-0:2 100% | 255.3 MiB/s | 1.0 MiB | 00m00s [ 96/119] Installing python3-zarr-0:2.1 100% | 319.0 MiB/s | 3.2 MiB | 00m00s [ 97/119] Installing python3-devel-0:3. 100% | 159.5 MiB/s | 1.3 MiB | 00m00s [ 98/119] Installing python3-blosc-0:1. 100% | 227.4 MiB/s | 232.9 KiB | 00m00s [ 99/119] Installing python3-tifffile-0 100% | 310.7 MiB/s | 2.8 MiB | 00m00s [100/119] Installing python3-cython-0:3 100% | 294.2 MiB/s | 18.2 MiB | 00m00s [101/119] Installing python3-brotli-0:1 100% | 227.2 MiB/s | 930.5 KiB | 00m00s [102/119] Installing python3-lz4-0:4.3. 100% | 385.3 MiB/s | 6.2 MiB | 00m00s [103/119] Installing python3-zstd-0:1.5 100% | 0.0 B/s | 40.0 KiB | 00m00s [104/119] Installing libheif-devel-0:1. 100% | 182.6 MiB/s | 187.0 KiB | 00m00s [105/119] Installing libaec-devel-0:1.1 100% | 0.0 B/s | 12.9 KiB | 00m00s [106/119] Installing jxrlib-devel-0:1.1 100% | 201.7 MiB/s | 206.6 KiB | 00m00s [107/119] Installing brotli-devel-0:1.1 100% | 66.4 MiB/s | 68.0 KiB | 00m00s [108/119] Installing CharLS-devel-0:2.4 100% | 129.2 MiB/s | 132.3 KiB | 00m00s [109/119] Installing libavif-devel-0:1. 100% | 0.0 B/s | 70.0 KiB | 00m00s [110/119] Installing blosc2-devel-0:2.1 100% | 146.4 MiB/s | 149.9 KiB | 00m00s [111/119] Installing zlib-ng-devel-0:2. 100% | 0.0 B/s | 101.4 KiB | 00m00s [112/119] Installing libpng-devel-2:1.6 100% | 289.4 MiB/s | 889.0 KiB | 00m00s [113/119] Installing liblerc-devel-0:4. 100% | 389.7 MiB/s | 4.3 MiB | 00m00s [114/119] Installing lcms2-devel-0:2.16 100% | 0.0 B/s | 136.4 KiB | 00m00s [115/119] Installing blosc-devel-0:1.21 100% | 0.0 B/s | 21.6 KiB | 00m00s [116/119] Installing snappy-devel-0:1.1 100% | 46.3 MiB/s | 47.4 KiB | 00m00s [117/119] Installing xz-devel-1:5.4.6-3 100% | 253.8 MiB/s | 259.9 KiB | 00m00s [118/119] Installing lz4-devel-0:1.9.4- 100% | 0.0 B/s | 97.1 KiB | 00m00s [119/119] Installing bzip2-devel-0:1.0. 100% | 2.9 MiB/s | 310.7 KiB | 00m00s >>> Running trigger-install scriptlet: glibc-common-0:2.39.9000-12.fc41.s390x >>> Stop trigger-install scriptlet: glibc-common-0:2.39.9000-12.fc41.s390x >>> Running trigger-install scriptlet: info-0:7.1-2.fc40.s390x >>> Stop trigger-install scriptlet: info-0:7.1-2.fc40.s390x Warning: skipped PGP checks for 117 package(s). Finish: build setup for python-imagecodecs-2023.1.23-1.fc41.src.rpm Start: rpmbuild python-imagecodecs-2023.1.23-1.fc41.src.rpm Building target platforms: s390x Building for target s390x setting SOURCE_DATE_EPOCH=1713657600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.sMjLps + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/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 + rm -rf /builddir/build/BUILD/imagecodecs-2023.1.23-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/imagecodecs-2023.1.23-SPECPARTS + /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.Htsqoj + umask 022 + cd /builddir/build/BUILD + cd imagecodecs-2023.1.23 + export PYTHONPATH=. + PYTHONPATH=. + 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-errors -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 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + '[' -f setup.py ']' + echo 'python3dist(setuptools) >= 40.8' + echo 'python3dist(wheel)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + mkdir -p /builddir/build/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 ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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 ' + TMPDIR=/builddir/build/BUILD/imagecodecs-2023.1.23/.pyproject-builddir + RPM_TOXENV=py312 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/imagecodecs-2023.1.23/pyproject-wheeldir --output /builddir/build/BUILD/python-imagecodecs-2023.1.23-1.fc41.s390x-pyproject-buildrequires Handling setuptools >= 40.8 from default build backend Requirement not satisfied: setuptools >= 40.8 Handling wheel from default build backend Requirement not satisfied: wheel Exiting dependency generation pass: build backend + cat /builddir/build/BUILD/python-imagecodecs-2023.1.23-1.fc41.s390x-pyproject-buildrequires + rm -rfv '*.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-imagecodecs-2023.1.23-1.fc41.buildreqs.nosrc.rpm INFO: Going to install missing dynamic buildrequires Updating and loading repositories: updates 100% | 179.0 KiB/s | 4.8 KiB | 00m00s fedora 100% | 20.5 KiB/s | 3.8 KiB | 00m00s Additional repo http_kojipkgs_fedorapr 100% | 16.6 KiB/s | 4.1 KiB | 00m00s Copr repository 100% | 313.0 B/s | 1.5 KiB | 00m05s Repositories loaded. Package "CharLS-devel-2.4.2-5.fc40.s390x" is already installed. Package "blosc-devel-1.21.5-4.fc40.s390x" is already installed. Package "blosc2-devel-2.14.4-1.fc41.s390x" is already installed. Package "brotli-devel-1.1.0-3.fc40.s390x" is already installed. Package "bzip2-devel-1.0.8-18.fc40.s390x" is already installed. Package "cfitsio-devel-4.4.0-2.fc41.s390x" is already installed. Package "gcc-c++-14.0.1-0.15.fc41.s390x" is already installed. Package "giflib-devel-5.2.2-1.fc41.s390x" is already installed. Package "jxrlib-devel-1.1-27.fc40.s390x" is already installed. Package "lcms2-devel-2.16-3.fc40.s390x" is already installed. Package "libaec-devel-1.1.2-1.fc40.s390x" is already installed. Package "libavif-devel-1.0.4-2.fc41.s390x" is already installed. Package "libdeflate-devel-1.20-4.fc41.s390x" is already installed. Package "libheif-devel-1.17.5-4.fc40.s390x" is already installed. Package "libjpeg-turbo-devel-3.0.2-1.fc40.s390x" is already installed. Package "liblerc-devel-4.0.0-6.fc40.s390x" is already installed. Package "libpng-devel-2:1.6.40-3.fc40.s390x" is already installed. Package "libtiff-devel-4.6.0-2.fc40.s390x" is already installed. Package "libzstd-devel-1.5.6-1.fc41.s390x" is already installed. Package "lz4-devel-1.9.4-6.fc40.s390x" is already installed. Package "pyproject-rpm-macros-1.12.0-1.fc40.noarch" is already installed. Package "python3-cython-3.0.9-2.fc41.s390x" is already installed. Package "python3-devel-3.12.3-2.fc41.s390x" is already installed. Package "python3-blosc-1.11.1-6.fc40.s390x" is already installed. Package "python3-blosc2-2.5.1-2.fc41.s390x" is already installed. Package "python3-brotli-1.1.0-3.fc40.s390x" is already installed. Package "python3-lz4-4.3.3-3.fc40.s390x" is already installed. Package "python3-numcodecs-0.12.1-3.fc40.s390x" is already installed. Package "python3-packaging-24.0-1.fc41.noarch" is already installed. Package "python3-pytest-7.4.3-5.fc41.noarch" is already installed. Package "python3-snappy-0.6.1-8.fc40.s390x" is already installed. Package "python3-tifffile-2024.2.12-1.fc41.noarch" is already installed. Package "python3-zarr-2.16.1-1.fc40.noarch" is already installed. Package "python3-zstd-1.5.5.1-3.fc40.s390x" is already installed. Package "snappy-devel-1.1.10-4.fc40.s390x" is already installed. Package "xz-devel-1:5.4.6-3.fc41.s390x" is already installed. Package "zfp-devel-1.0.1-2.fc40.s390x" is already installed. Package "zlib-ng-devel-2.1.6-2.fc40.s390x" is already installed. Package "zopfli-devel-1.0.3-10.fc40.s390x" is already installed. Package Arch Version Repository Size Installing: python3-pip noarch 24.0-2.fc41 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 14.2 MiB python3-setuptools noarch 69.2.0-1.fc41 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 7.2 MiB python3-wheel noarch 1:0.43.0-1.fc41 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 513.0 KiB Transaction Summary: Installing: 3 packages Total size of inbound packages is 4 MiB. Need to download 4 MiB. After this operation 22 MiB will be used (install 22 MiB, remove 0 B). [1/3] python3-wheel-1:0.43.0-1.fc41.noa 100% | 3.7 MiB/s | 148.7 KiB | 00m00s [2/3] python3-pip-0:24.0-2.fc41.noarch 100% | 42.3 MiB/s | 2.9 MiB | 00m00s [3/3] python3-setuptools-0:69.2.0-1.fc4 100% | 18.5 MiB/s | 1.4 MiB | 00m00s -------------------------------------------------------------------------------- [3/3] Total 100% | 58.3 MiB/s | 4.5 MiB | 00m00s Running transaction [1/5] Verify package files 100% | 214.0 B/s | 3.0 B | 00m00s [2/5] Prepare transaction 100% | 111.0 B/s | 3.0 B | 00m00s [3/5] Installing python3-wheel-1:0.43.0 100% | 103.9 MiB/s | 532.0 KiB | 00m00s [4/5] Installing python3-setuptools-0:6 100% | 221.7 MiB/s | 7.3 MiB | 00m00s [5/5] Installing python3-pip-0:24.0-2.f 100% | 159.6 MiB/s | 14.5 MiB | 00m00s >>> Running trigger-install scriptlet: glibc-common-0:2.39.9000-12.fc41.s390x >>> Stop trigger-install scriptlet: glibc-common-0:2.39.9000-12.fc41.s390x Warning: skipped PGP checks for 3 package(s). Building target platforms: s390x Building for target s390x setting SOURCE_DATE_EPOCH=1713657600 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.YzCPJh + umask 022 + cd /builddir/build/BUILD + cd imagecodecs-2023.1.23 + export PYTHONPATH=. + PYTHONPATH=. + 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-errors -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 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + '[' -f setup.py ']' + echo 'python3dist(setuptools) >= 40.8' + echo 'python3dist(wheel)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + mkdir -p /builddir/build/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 ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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 ' + TMPDIR=/builddir/build/BUILD/imagecodecs-2023.1.23/.pyproject-builddir + RPM_TOXENV=py312 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/imagecodecs-2023.1.23/pyproject-wheeldir --output /builddir/build/BUILD/python-imagecodecs-2023.1.23-1.fc41.s390x-pyproject-buildrequires Handling setuptools >= 40.8 from default build backend Requirement satisfied: setuptools >= 40.8 (installed: setuptools 69.2.0) Handling wheel from default build backend Requirement satisfied: wheel (installed: wheel 0.43.0) Handling wheel from get_requires_for_build_wheel Requirement satisfied: wheel (installed: wheel 0.43.0) Handling setuptools>=18.0 from get_requires_for_build_wheel Requirement satisfied: setuptools>=18.0 (installed: setuptools 69.2.0) Handling numpy from get_requires_for_build_wheel Requirement satisfied: numpy (installed: numpy 1.26.4) 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/imagecodecs-2023.1.23/imagecodecs-2023.1.23.dist-info' Handling numpy from hook generated metadata: Requires-Dist (imagecodecs) Requirement satisfied: numpy (installed: numpy 1.26.4) 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-1.fc41.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 Wrote: /builddir/build/SRPMS/python-imagecodecs-2023.1.23-1.fc41.buildreqs.nosrc.rpm ++ jobs -p + exit 0 INFO: Going to install missing dynamic buildrequires Updating and loading repositories: updates 100% | 81.9 KiB/s | 4.8 KiB | 00m00s Additional repo http_kojipkgs_fedorapr 100% | 832.0 B/s | 4.1 KiB | 00m05s fedora 100% | 761.0 B/s | 3.8 KiB | 00m05s Copr repository 100% | 17.5 KiB/s | 1.5 KiB | 00m00s Repositories loaded. Package "CharLS-devel-2.4.2-5.fc40.s390x" is already installed. Nothing to do. Package "blosc-devel-1.21.5-4.fc40.s390x" is already installed. Package "blosc2-devel-2.14.4-1.fc41.s390x" is already installed. Package "brotli-devel-1.1.0-3.fc40.s390x" is already installed. Package "bzip2-devel-1.0.8-18.fc40.s390x" is already installed. Package "cfitsio-devel-4.4.0-2.fc41.s390x" is already installed. Package "gcc-c++-14.0.1-0.15.fc41.s390x" is already installed. Package "giflib-devel-5.2.2-1.fc41.s390x" is already installed. Package "jxrlib-devel-1.1-27.fc40.s390x" is already installed. Package "lcms2-devel-2.16-3.fc40.s390x" is already installed. Package "libaec-devel-1.1.2-1.fc40.s390x" is already installed. Package "libavif-devel-1.0.4-2.fc41.s390x" is already installed. Package "libdeflate-devel-1.20-4.fc41.s390x" is already installed. Package "libheif-devel-1.17.5-4.fc40.s390x" is already installed. Package "libjpeg-turbo-devel-3.0.2-1.fc40.s390x" is already installed. Package "liblerc-devel-4.0.0-6.fc40.s390x" is already installed. Package "libpng-devel-2:1.6.40-3.fc40.s390x" is already installed. Package "libtiff-devel-4.6.0-2.fc40.s390x" is already installed. Package "libzstd-devel-1.5.6-1.fc41.s390x" is already installed. Package "lz4-devel-1.9.4-6.fc40.s390x" is already installed. Package "pyproject-rpm-macros-1.12.0-1.fc40.noarch" is already installed. Package "python3-cython-3.0.9-2.fc41.s390x" is already installed. Package "python3-devel-3.12.3-2.fc41.s390x" is already installed. Package "python3-blosc-1.11.1-6.fc40.s390x" is already installed. Package "python3-blosc2-2.5.1-2.fc41.s390x" is already installed. Package "python3-brotli-1.1.0-3.fc40.s390x" is already installed. Package "python3-lz4-4.3.3-3.fc40.s390x" is already installed. Package "python3-numcodecs-0.12.1-3.fc40.s390x" is already installed. Package "python3-numpy-1:1.26.4-3.fc41.s390x" is already installed. Package "python3-packaging-24.0-1.fc41.noarch" is already installed. Package "python3-pip-24.0-2.fc41.noarch" is already installed. Package "python3-pytest-7.4.3-5.fc41.noarch" is already installed. Package "python3-snappy-0.6.1-8.fc40.s390x" is already installed. Package "python3-setuptools-69.2.0-1.fc41.noarch" is already installed. Package "python3-setuptools-69.2.0-1.fc41.noarch" is already installed. Package "python3-tifffile-2024.2.12-1.fc41.noarch" is already installed. Package "python3-wheel-1:0.43.0-1.fc41.noarch" is already installed. Package "python3-zarr-2.16.1-1.fc40.noarch" is already installed. Package "python3-zstd-1.5.5.1-3.fc40.s390x" is already installed. Package "snappy-devel-1.1.10-4.fc40.s390x" is already installed. Package "xz-devel-1:5.4.6-3.fc41.s390x" is already installed. Package "zfp-devel-1.0.1-2.fc40.s390x" is already installed. Package "zlib-ng-devel-2.1.6-2.fc40.s390x" is already installed. Package "zopfli-devel-1.0.3-10.fc40.s390x" is already installed. Building target platforms: s390x Building for target s390x setting SOURCE_DATE_EPOCH=1713657600 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.GNOQ97 + umask 022 + cd /builddir/build/BUILD + cd imagecodecs-2023.1.23 + export PYTHONPATH=. + PYTHONPATH=. + 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-errors -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 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + '[' -f setup.py ']' + echo 'python3dist(setuptools) >= 40.8' + echo 'python3dist(wheel)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + mkdir -p /builddir/build/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 ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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 ' + TMPDIR=/builddir/build/BUILD/imagecodecs-2023.1.23/.pyproject-builddir + RPM_TOXENV=py312 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/imagecodecs-2023.1.23/pyproject-wheeldir --output /builddir/build/BUILD/python-imagecodecs-2023.1.23-1.fc41.s390x-pyproject-buildrequires Handling setuptools >= 40.8 from default build backend Requirement satisfied: setuptools >= 40.8 (installed: setuptools 69.2.0) Handling wheel from default build backend Requirement satisfied: wheel (installed: wheel 0.43.0) Handling wheel from get_requires_for_build_wheel Requirement satisfied: wheel (installed: wheel 0.43.0) Handling setuptools>=18.0 from get_requires_for_build_wheel Requirement satisfied: setuptools>=18.0 (installed: setuptools 69.2.0) Handling numpy from get_requires_for_build_wheel Requirement satisfied: numpy (installed: numpy 1.26.4) 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/imagecodecs-2023.1.23/imagecodecs-2023.1.23.dist-info' Handling numpy from hook generated metadata: Requires-Dist (imagecodecs) Requirement satisfied: numpy (installed: numpy 1.26.4) 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-1.fc41.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.ZIokm3 + umask 022 + cd /builddir/build/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-errors -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/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 ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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 ' + TMPDIR=/builddir/build/BUILD/imagecodecs-2023.1.23/.pyproject-builddir + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_wheel.py /builddir/build/BUILD/imagecodecs-2023.1.23/pyproject-wheeldir Processing /builddir/build/BUILD/imagecodecs-2023.1.23 Preparing metadata (pyproject.toml): started Running command Preparing metadata (pyproject.toml) running dist_info creating /builddir/build/BUILD/imagecodecs-2023.1.23/.pyproject-builddir/pip-modern-metadata-4ij53vpb/imagecodecs.egg-info writing /builddir/build/BUILD/imagecodecs-2023.1.23/.pyproject-builddir/pip-modern-metadata-4ij53vpb/imagecodecs.egg-info/PKG-INFO writing dependency_links to /builddir/build/BUILD/imagecodecs-2023.1.23/.pyproject-builddir/pip-modern-metadata-4ij53vpb/imagecodecs.egg-info/dependency_links.txt writing entry points to /builddir/build/BUILD/imagecodecs-2023.1.23/.pyproject-builddir/pip-modern-metadata-4ij53vpb/imagecodecs.egg-info/entry_points.txt writing requirements to /builddir/build/BUILD/imagecodecs-2023.1.23/.pyproject-builddir/pip-modern-metadata-4ij53vpb/imagecodecs.egg-info/requires.txt writing top-level names to /builddir/build/BUILD/imagecodecs-2023.1.23/.pyproject-builddir/pip-modern-metadata-4ij53vpb/imagecodecs.egg-info/top_level.txt writing manifest file '/builddir/build/BUILD/imagecodecs-2023.1.23/.pyproject-builddir/pip-modern-metadata-4ij53vpb/imagecodecs.egg-info/SOURCES.txt' reading manifest file '/builddir/build/BUILD/imagecodecs-2023.1.23/.pyproject-builddir/pip-modern-metadata-4ij53vpb/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/imagecodecs-2023.1.23/.pyproject-builddir/pip-modern-metadata-4ij53vpb/imagecodecs.egg-info/SOURCES.txt' creating '/builddir/build/BUILD/imagecodecs-2023.1.23/.pyproject-builddir/pip-modern-metadata-4ij53vpb/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) running bdist_wheel running build running build_py creating build creating build/lib.linux-s390x-cpython-312 creating build/lib.linux-s390x-cpython-312/imagecodecs copying imagecodecs/__init__.py -> build/lib.linux-s390x-cpython-312/imagecodecs copying imagecodecs/__main__.py -> build/lib.linux-s390x-cpython-312/imagecodecs copying imagecodecs/_imagecodecs.py -> build/lib.linux-s390x-cpython-312/imagecodecs copying imagecodecs/imagecodecs.py -> build/lib.linux-s390x-cpython-312/imagecodecs copying imagecodecs/numcodecs.py -> build/lib.linux-s390x-cpython-312/imagecodecs creating build/lib.linux-s390x-cpython-312/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-aom -> build/lib.linux-s390x-cpython-312/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-bitshuffle -> build/lib.linux-s390x-cpython-312/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-blosc -> build/lib.linux-s390x-cpython-312/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-blosc2 -> build/lib.linux-s390x-cpython-312/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-brotli -> build/lib.linux-s390x-cpython-312/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-brunsli -> build/lib.linux-s390x-cpython-312/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-bzip2 -> build/lib.linux-s390x-cpython-312/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-cfitsio -> build/lib.linux-s390x-cpython-312/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-charls -> build/lib.linux-s390x-cpython-312/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-dav1d -> build/lib.linux-s390x-cpython-312/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-fastlz -> build/lib.linux-s390x-cpython-312/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-giflib -> build/lib.linux-s390x-cpython-312/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-highway -> build/lib.linux-s390x-cpython-312/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-jetraw -> build/lib.linux-s390x-cpython-312/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-jpeg -> build/lib.linux-s390x-cpython-312/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-jpg_0xc3 -> build/lib.linux-s390x-cpython-312/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-jxrlib -> build/lib.linux-s390x-cpython-312/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-lcms2 -> build/lib.linux-s390x-cpython-312/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-lerc -> build/lib.linux-s390x-cpython-312/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-libaec -> build/lib.linux-s390x-cpython-312/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-libaivf -> build/lib.linux-s390x-cpython-312/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-libdeflate -> build/lib.linux-s390x-cpython-312/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-libjpeg -> build/lib.linux-s390x-cpython-312/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-libjpeg-turbo -> build/lib.linux-s390x-cpython-312/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-libjxl -> build/lib.linux-s390x-cpython-312/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-liblj92 -> build/lib.linux-s390x-cpython-312/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-liblzma -> build/lib.linux-s390x-cpython-312/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-libmng -> build/lib.linux-s390x-cpython-312/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-libpng -> build/lib.linux-s390x-cpython-312/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-libspng -> build/lib.linux-s390x-cpython-312/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-libtiff -> build/lib.linux-s390x-cpython-312/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-libwebp -> build/lib.linux-s390x-cpython-312/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-lz4 -> build/lib.linux-s390x-cpython-312/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-lzf -> build/lib.linux-s390x-cpython-312/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-lzfse -> build/lib.linux-s390x-cpython-312/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-lzham -> build/lib.linux-s390x-cpython-312/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-mozjpeg -> build/lib.linux-s390x-cpython-312/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-openjpeg -> build/lib.linux-s390x-cpython-312/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-postgresql -> build/lib.linux-s390x-cpython-312/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-qoi -> build/lib.linux-s390x-cpython-312/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-rav1e -> build/lib.linux-s390x-cpython-312/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-snappy -> build/lib.linux-s390x-cpython-312/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-svt-av1 -> build/lib.linux-s390x-cpython-312/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-zfp -> build/lib.linux-s390x-cpython-312/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-zlib -> build/lib.linux-s390x-cpython-312/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-zlib-ng -> build/lib.linux-s390x-cpython-312/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-zopfli -> build/lib.linux-s390x-cpython-312/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-zstd -> build/lib.linux-s390x-cpython-312/imagecodecs/licenses copying imagecodecs/licenses/PATENTS-rav1e -> build/lib.linux-s390x-cpython-312/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-312 creating build/temp.linux-s390x-cpython-312/imagecodecs gcc -fno-strict-overflow -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -fexceptions -fexceptions -fexceptions -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.12 -I/usr/lib64/python3.12/site-packages/numpy/core/include -c imagecodecs/_aec.c -o build/temp.linux-s390x-cpython-312/imagecodecs/_aec.o In file included from /usr/lib64/python3.12/site-packages/numpy/core/include/numpy/ndarraytypes.h:1929, from /usr/lib64/python3.12/site-packages/numpy/core/include/numpy/ndarrayobject.h:12, from /usr/lib64/python3.12/site-packages/numpy/core/include/numpy/arrayobject.h:5, from imagecodecs/_aec.c:1220: /usr/lib64/python3.12/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-errors -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-312/imagecodecs/_aec.o -L/usr/lib64 -lm -laec -o build/lib.linux-s390x-cpython-312/imagecodecs/_aec.cpython-312-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 -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.12 -I/usr/lib64/python3.12/site-packages/numpy/core/include -c imagecodecs/_avif.c -o build/temp.linux-s390x-cpython-312/imagecodecs/_avif.o In file included from /usr/lib64/python3.12/site-packages/numpy/core/include/numpy/ndarraytypes.h:1929, from /usr/lib64/python3.12/site-packages/numpy/core/include/numpy/ndarrayobject.h:12, from /usr/lib64/python3.12/site-packages/numpy/core/include/numpy/arrayobject.h:5, from imagecodecs/_avif.c:1220: /usr/lib64/python3.12/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:26730:56: warning: ‘__pyx_v_size’ may be used uninitialized [-Wmaybe-uninitialized] 26730 | __pyx_v_rgb.pixels = (__pyx_v_rgb.pixels + __pyx_v_size); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ imagecodecs/_avif.c:24762:14: note: ‘__pyx_v_size’ was declared here 24762 | 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-errors -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-312/imagecodecs/_avif.o -L/usr/lib64 -lm -lavif -o build/lib.linux-s390x-cpython-312/imagecodecs/_avif.cpython-312-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 -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.12 -I/usr/lib64/python3.12/site-packages/numpy/core/include -c imagecodecs/_blosc.c -o build/temp.linux-s390x-cpython-312/imagecodecs/_blosc.o In file included from /usr/lib64/python3.12/site-packages/numpy/core/include/numpy/ndarraytypes.h:1929, from /usr/lib64/python3.12/site-packages/numpy/core/include/numpy/ndarrayobject.h:12, from /usr/lib64/python3.12/site-packages/numpy/core/include/numpy/arrayobject.h:5, from imagecodecs/_blosc.c:1220: /usr/lib64/python3.12/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-errors -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-312/imagecodecs/_blosc.o -L/usr/lib64 -lm -lblosc -o build/lib.linux-s390x-cpython-312/imagecodecs/_blosc.cpython-312-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 -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.12 -I/usr/lib64/python3.12/site-packages/numpy/core/include -c imagecodecs/_blosc2.c -o build/temp.linux-s390x-cpython-312/imagecodecs/_blosc2.o In file included from /usr/lib64/python3.12/site-packages/numpy/core/include/numpy/ndarraytypes.h:1929, from /usr/lib64/python3.12/site-packages/numpy/core/include/numpy/ndarrayobject.h:12, from /usr/lib64/python3.12/site-packages/numpy/core/include/numpy/arrayobject.h:5, from imagecodecs/_blosc2.c:1220: /usr/lib64/python3.12/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-errors -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-312/imagecodecs/_blosc2.o -L/usr/lib64 -lm -lblosc2 -o build/lib.linux-s390x-cpython-312/imagecodecs/_blosc2.cpython-312-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 -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.12 -I/usr/lib64/python3.12/site-packages/numpy/core/include -c imagecodecs/_brotli.c -o build/temp.linux-s390x-cpython-312/imagecodecs/_brotli.o In file included from /usr/lib64/python3.12/site-packages/numpy/core/include/numpy/ndarraytypes.h:1929, from /usr/lib64/python3.12/site-packages/numpy/core/include/numpy/ndarrayobject.h:12, from /usr/lib64/python3.12/site-packages/numpy/core/include/numpy/arrayobject.h:5, from imagecodecs/_brotli.c:1222: /usr/lib64/python3.12/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-errors -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-312/imagecodecs/_brotli.o -L/usr/lib64 -lm -lbrotlienc -lbrotlidec -lbrotlicommon -o build/lib.linux-s390x-cpython-312/imagecodecs/_brotli.cpython-312-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 -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.12 -I/usr/lib64/python3.12/site-packages/numpy/core/include -c imagecodecs/_bz2.c -o build/temp.linux-s390x-cpython-312/imagecodecs/_bz2.o In file included from /usr/lib64/python3.12/site-packages/numpy/core/include/numpy/ndarraytypes.h:1929, from /usr/lib64/python3.12/site-packages/numpy/core/include/numpy/ndarrayobject.h:12, from /usr/lib64/python3.12/site-packages/numpy/core/include/numpy/arrayobject.h:5, from imagecodecs/_bz2.c:1220: /usr/lib64/python3.12/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-errors -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-312/imagecodecs/_bz2.o -L/usr/lib64 -lm -lbz2 -o build/lib.linux-s390x-cpython-312/imagecodecs/_bz2.cpython-312-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 -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.12 -I/usr/lib64/python3.12/site-packages/numpy/core/include -c imagecodecs/_cms.c -o build/temp.linux-s390x-cpython-312/imagecodecs/_cms.o In file included from /usr/lib64/python3.12/site-packages/numpy/core/include/numpy/ndarraytypes.h:1929, from /usr/lib64/python3.12/site-packages/numpy/core/include/numpy/ndarrayobject.h:12, from /usr/lib64/python3.12/site-packages/numpy/core/include/numpy/arrayobject.h:5, from imagecodecs/_cms.c:1220: /usr/lib64/python3.12/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:2774: /usr/include/python3.12/structmember.h:27:9: warning: "T_FLOAT" redefined 27 | #define T_FLOAT Py_T_FLOAT | ^~~~~~~ In file included from imagecodecs/_cms.c:1229: /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-errors -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-312/imagecodecs/_cms.o -L/usr/lib64 -lm -llcms2 -o build/lib.linux-s390x-cpython-312/imagecodecs/_cms.cpython-312-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 -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.12 -I/usr/lib64/python3.12/site-packages/numpy/core/include -c imagecodecs/_deflate.c -o build/temp.linux-s390x-cpython-312/imagecodecs/_deflate.o In file included from /usr/lib64/python3.12/site-packages/numpy/core/include/numpy/ndarraytypes.h:1929, from /usr/lib64/python3.12/site-packages/numpy/core/include/numpy/ndarrayobject.h:12, from /usr/lib64/python3.12/site-packages/numpy/core/include/numpy/arrayobject.h:5, from imagecodecs/_deflate.c:1220: /usr/lib64/python3.12/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-errors -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-312/imagecodecs/_deflate.o -L/usr/lib64 -lm -ldeflate -o build/lib.linux-s390x-cpython-312/imagecodecs/_deflate.cpython-312-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 -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.12 -I/usr/lib64/python3.12/site-packages/numpy/core/include -c imagecodecs/_gif.c -o build/temp.linux-s390x-cpython-312/imagecodecs/_gif.o In file included from /usr/lib64/python3.12/site-packages/numpy/core/include/numpy/ndarraytypes.h:1929, from /usr/lib64/python3.12/site-packages/numpy/core/include/numpy/ndarrayobject.h:12, from /usr/lib64/python3.12/site-packages/numpy/core/include/numpy/arrayobject.h:5, from imagecodecs/_gif.c:1220: /usr/lib64/python3.12/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-errors -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-312/imagecodecs/_gif.o -L/usr/lib64 -lm -lgif -o build/lib.linux-s390x-cpython-312/imagecodecs/_gif.cpython-312-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 -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.12 -I/usr/lib64/python3.12/site-packages/numpy/core/include -c imagecodecs/_heif.c -o build/temp.linux-s390x-cpython-312/imagecodecs/_heif.o In file included from /usr/lib64/python3.12/site-packages/numpy/core/include/numpy/ndarraytypes.h:1929, from /usr/lib64/python3.12/site-packages/numpy/core/include/numpy/ndarrayobject.h:12, from /usr/lib64/python3.12/site-packages/numpy/core/include/numpy/arrayobject.h:5, from imagecodecs/_heif.c:1220: /usr/lib64/python3.12/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:29316:12: warning: ‘__pyx_f_11imagecodecs_5_heif_output_seek’ defined but not used [-Wunused-function] 29316 | 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-errors -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-312/imagecodecs/_heif.o -L/usr/lib64 -lm -lheif -o build/lib.linux-s390x-cpython-312/imagecodecs/_heif.cpython-312-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 -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.12 -I/usr/lib64/python3.12/site-packages/numpy/core/include -c imagecodecs/_imcd.c -o build/temp.linux-s390x-cpython-312/imagecodecs/_imcd.o In file included from /usr/lib64/python3.12/site-packages/numpy/core/include/numpy/ndarraytypes.h:1929, from /usr/lib64/python3.12/site-packages/numpy/core/include/numpy/ndarrayobject.h:12, from /usr/lib64/python3.12/site-packages/numpy/core/include/numpy/arrayobject.h:5, from imagecodecs/_imcd.c:1221: /usr/lib64/python3.12/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:35940:164: warning: passing argument 3 of ‘imcd_lzw_encode’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 35940 | __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:1228: 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 -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.12 -I/usr/lib64/python3.12/site-packages/numpy/core/include -c imagecodecs/imcd.c -o build/temp.linux-s390x-cpython-312/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-errors -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-312/imagecodecs/_imcd.o build/temp.linux-s390x-cpython-312/imagecodecs/imcd.o -L/usr/lib64 -lm -o build/lib.linux-s390x-cpython-312/imagecodecs/_imcd.cpython-312-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 -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.12 -I/usr/lib64/python3.12/site-packages/numpy/core/include -c imagecodecs/_jpeg8.c -o build/temp.linux-s390x-cpython-312/imagecodecs/_jpeg8.o In file included from /usr/lib64/python3.12/site-packages/numpy/core/include/numpy/ndarraytypes.h:1929, from /usr/lib64/python3.12/site-packages/numpy/core/include/numpy/ndarrayobject.h:12, from /usr/lib64/python3.12/site-packages/numpy/core/include/numpy/arrayobject.h:5, from imagecodecs/_jpeg8.c:1220: /usr/lib64/python3.12/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-errors -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-312/imagecodecs/_jpeg8.o -L/usr/lib64 -lm -ljpeg -o build/lib.linux-s390x-cpython-312/imagecodecs/_jpeg8.cpython-312-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 -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.12 -I/usr/lib64/python3.12/site-packages/numpy/core/include -c imagecodecs/_jpegxr.c -o build/temp.linux-s390x-cpython-312/imagecodecs/_jpegxr.o In file included from /usr/lib64/python3.12/site-packages/numpy/core/include/numpy/ndarraytypes.h:1929, from /usr/lib64/python3.12/site-packages/numpy/core/include/numpy/ndarrayobject.h:12, from /usr/lib64/python3.12/site-packages/numpy/core/include/numpy/arrayobject.h:5, from imagecodecs/_jpegxr.c:1232: /usr/lib64/python3.12/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:31019:18: warning: ‘__pyx_f_11imagecodecs_7_jpegxr_pixelformat_str’ defined but not used [-Wunused-function] 31019 | 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-errors -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-312/imagecodecs/_jpegxr.o -L/usr/lib64 -lm -ljpegxr -ljxrglue -o build/lib.linux-s390x-cpython-312/imagecodecs/_jpegxr.cpython-312-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 -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.12 -I/usr/lib64/python3.12/site-packages/numpy/core/include -c imagecodecs/_lerc.c -o build/temp.linux-s390x-cpython-312/imagecodecs/_lerc.o In file included from /usr/lib64/python3.12/site-packages/numpy/core/include/numpy/ndarraytypes.h:1929, from /usr/lib64/python3.12/site-packages/numpy/core/include/numpy/ndarrayobject.h:12, from /usr/lib64/python3.12/site-packages/numpy/core/include/numpy/arrayobject.h:5, from imagecodecs/_lerc.c:1220: /usr/lib64/python3.12/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-errors -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-312/imagecodecs/_lerc.o -L/usr/lib64 -lm -lLerc -o build/lib.linux-s390x-cpython-312/imagecodecs/_lerc.cpython-312-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 -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.12 -I/usr/lib64/python3.12/site-packages/numpy/core/include -c imagecodecs/_lz4.c -o build/temp.linux-s390x-cpython-312/imagecodecs/_lz4.o In file included from /usr/lib64/python3.12/site-packages/numpy/core/include/numpy/ndarraytypes.h:1929, from /usr/lib64/python3.12/site-packages/numpy/core/include/numpy/ndarrayobject.h:12, from /usr/lib64/python3.12/site-packages/numpy/core/include/numpy/arrayobject.h:5, from imagecodecs/_lz4.c:1220: /usr/lib64/python3.12/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-errors -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-312/imagecodecs/_lz4.o -L/usr/lib64 -lm -llz4 -o build/lib.linux-s390x-cpython-312/imagecodecs/_lz4.cpython-312-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 -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.12 -I/usr/lib64/python3.12/site-packages/numpy/core/include -c imagecodecs/_lzma.c -o build/temp.linux-s390x-cpython-312/imagecodecs/_lzma.o In file included from /usr/lib64/python3.12/site-packages/numpy/core/include/numpy/ndarraytypes.h:1929, from /usr/lib64/python3.12/site-packages/numpy/core/include/numpy/ndarrayobject.h:12, from /usr/lib64/python3.12/site-packages/numpy/core/include/numpy/arrayobject.h:5, from imagecodecs/_lzma.c:1220: /usr/lib64/python3.12/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-errors -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-312/imagecodecs/_lzma.o -L/usr/lib64 -lm -llzma -o build/lib.linux-s390x-cpython-312/imagecodecs/_lzma.cpython-312-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 -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.12 -I/usr/lib64/python3.12/site-packages/numpy/core/include -c imagecodecs/_png.c -o build/temp.linux-s390x-cpython-312/imagecodecs/_png.o In file included from /usr/lib64/python3.12/site-packages/numpy/core/include/numpy/ndarraytypes.h:1929, from /usr/lib64/python3.12/site-packages/numpy/core/include/numpy/ndarrayobject.h:12, from /usr/lib64/python3.12/site-packages/numpy/core/include/numpy/arrayobject.h:5, from imagecodecs/_png.c:1220: /usr/lib64/python3.12/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-errors -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-312/imagecodecs/_png.o -L/usr/lib64 -lm -lpng -o build/lib.linux-s390x-cpython-312/imagecodecs/_png.cpython-312-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 -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.12 -I/usr/lib64/python3.12/site-packages/numpy/core/include -c imagecodecs/_rcomp.c -o build/temp.linux-s390x-cpython-312/imagecodecs/_rcomp.o In file included from /usr/lib64/python3.12/site-packages/numpy/core/include/numpy/ndarraytypes.h:1929, from /usr/lib64/python3.12/site-packages/numpy/core/include/numpy/ndarrayobject.h:12, from /usr/lib64/python3.12/site-packages/numpy/core/include/numpy/arrayobject.h:5, from imagecodecs/_rcomp.c:1221: /usr/lib64/python3.12/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:2747: /usr/include/python3.12/structmember.h:46:9: warning: "READONLY" redefined 46 | #define READONLY Py_READONLY | ^~~~~~~~ In file included from imagecodecs/_rcomp.c:1228: /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-errors -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-312/imagecodecs/_rcomp.o -L/usr/lib64 -lm -lcfitsio -lz -o build/lib.linux-s390x-cpython-312/imagecodecs/_rcomp.cpython-312-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 -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.12 -I/usr/lib64/python3.12/site-packages/numpy/core/include -c imagecodecs/_shared.c -o build/temp.linux-s390x-cpython-312/imagecodecs/_shared.o In file included from /usr/lib64/python3.12/site-packages/numpy/core/include/numpy/ndarraytypes.h:1929, from /usr/lib64/python3.12/site-packages/numpy/core/include/numpy/ndarrayobject.h:12, from /usr/lib64/python3.12/site-packages/numpy/core/include/numpy/arrayobject.h:5, from imagecodecs/_shared.c:1220: /usr/lib64/python3.12/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-errors -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-312/imagecodecs/_shared.o -L/usr/lib64 -lm -o build/lib.linux-s390x-cpython-312/imagecodecs/_shared.cpython-312-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 -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.12 -I/usr/lib64/python3.12/site-packages/numpy/core/include -c imagecodecs/_snappy.c -o build/temp.linux-s390x-cpython-312/imagecodecs/_snappy.o In file included from /usr/lib64/python3.12/site-packages/numpy/core/include/numpy/ndarraytypes.h:1929, from /usr/lib64/python3.12/site-packages/numpy/core/include/numpy/ndarrayobject.h:12, from /usr/lib64/python3.12/site-packages/numpy/core/include/numpy/arrayobject.h:5, from imagecodecs/_snappy.c:1220: /usr/lib64/python3.12/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-errors -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-312/imagecodecs/_snappy.o -L/usr/lib64 -lm -lsnappy -o build/lib.linux-s390x-cpython-312/imagecodecs/_snappy.cpython-312-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 -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.12 -I/usr/lib64/python3.12/site-packages/numpy/core/include -c imagecodecs/_tiff.c -o build/temp.linux-s390x-cpython-312/imagecodecs/_tiff.o In file included from /usr/lib64/python3.12/site-packages/numpy/core/include/numpy/ndarraytypes.h:1929, from /usr/lib64/python3.12/site-packages/numpy/core/include/numpy/ndarrayobject.h:12, from /usr/lib64/python3.12/site-packages/numpy/core/include/numpy/arrayobject.h:5, from imagecodecs/_tiff.c:1220: /usr/lib64/python3.12/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:28898:47: warning: ‘__pyx_f_11imagecodecs_5_tiff_memtif_new’ defined but not used [-Wunused-function] 28898 | 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-errors -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-312/imagecodecs/_tiff.o -L/usr/lib64 -lm -ltiff -o build/lib.linux-s390x-cpython-312/imagecodecs/_tiff.cpython-312-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 -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.12 -I/usr/lib64/python3.12/site-packages/numpy/core/include -c imagecodecs/_webp.c -o build/temp.linux-s390x-cpython-312/imagecodecs/_webp.o In file included from /usr/lib64/python3.12/site-packages/numpy/core/include/numpy/ndarraytypes.h:1929, from /usr/lib64/python3.12/site-packages/numpy/core/include/numpy/ndarrayobject.h:12, from /usr/lib64/python3.12/site-packages/numpy/core/include/numpy/arrayobject.h:5, from imagecodecs/_webp.c:1220: /usr/lib64/python3.12/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-errors -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-312/imagecodecs/_webp.o -L/usr/lib64 -lm -lwebp -o build/lib.linux-s390x-cpython-312/imagecodecs/_webp.cpython-312-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 -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.12 -I/usr/lib64/python3.12/site-packages/numpy/core/include -c imagecodecs/_zfp.c -o build/temp.linux-s390x-cpython-312/imagecodecs/_zfp.o In file included from /usr/lib64/python3.12/site-packages/numpy/core/include/numpy/ndarraytypes.h:1929, from /usr/lib64/python3.12/site-packages/numpy/core/include/numpy/ndarrayobject.h:12, from /usr/lib64/python3.12/site-packages/numpy/core/include/numpy/arrayobject.h:5, from imagecodecs/_zfp.c:1220: /usr/lib64/python3.12/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:22125:23: warning: ‘__pyx_v_ny’ may be used uninitialized [-Wmaybe-uninitialized] 22125 | __pyx_v_field = zfp_field_3d(((void *)__pyx_t_19), __pyx_v_ztype, __pyx_v_nx, __pyx_v_ny, __pyx_v_nz); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ imagecodecs/_zfp.c:20601:10: note: ‘__pyx_v_ny’ was declared here 20601 | size_t __pyx_v_ny; | ^~~~~~~~~~ imagecodecs/_zfp.c:22125:23: warning: ‘__pyx_v_nz’ may be used uninitialized [-Wmaybe-uninitialized] 22125 | __pyx_v_field = zfp_field_3d(((void *)__pyx_t_19), __pyx_v_ztype, __pyx_v_nx, __pyx_v_ny, __pyx_v_nz); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ imagecodecs/_zfp.c:20602:10: note: ‘__pyx_v_nz’ was declared here 20602 | size_t __pyx_v_nz; | ^~~~~~~~~~ imagecodecs/_zfp.c:22208:23: warning: ‘__pyx_v_nw’ may be used uninitialized [-Wmaybe-uninitialized] 22208 | __pyx_v_field = zfp_field_4d(((void *)__pyx_t_19), __pyx_v_ztype, __pyx_v_nx, __pyx_v_ny, __pyx_v_nz, __pyx_v_nw); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ imagecodecs/_zfp.c:20603:10: note: ‘__pyx_v_nw’ was declared here 20603 | size_t __pyx_v_nw; | ^~~~~~~~~~ imagecodecs/_zfp.c:22188:7: warning: ‘__pyx_v_sy’ may be used uninitialized [-Wmaybe-uninitialized] 22188 | zfp_field_set_stride_3d(__pyx_v_field, __pyx_v_sx, __pyx_v_sy, __pyx_v_sz); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ imagecodecs/_zfp.c:20605:13: note: ‘__pyx_v_sy’ was declared here 20605 | ptrdiff_t __pyx_v_sy; | ^~~~~~~~~~ imagecodecs/_zfp.c:22188:7: warning: ‘__pyx_v_sz’ may be used uninitialized [-Wmaybe-uninitialized] 22188 | zfp_field_set_stride_3d(__pyx_v_field, __pyx_v_sx, __pyx_v_sy, __pyx_v_sz); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ imagecodecs/_zfp.c:20606:13: note: ‘__pyx_v_sz’ was declared here 20606 | ptrdiff_t __pyx_v_sz; | ^~~~~~~~~~ imagecodecs/_zfp.c:22271:7: warning: ‘__pyx_v_sw’ may be used uninitialized [-Wmaybe-uninitialized] 22271 | zfp_field_set_stride_4d(__pyx_v_field, __pyx_v_sx, __pyx_v_sy, __pyx_v_sz, __pyx_v_sw); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ imagecodecs/_zfp.c:20607:13: note: ‘__pyx_v_sw’ was declared here 20607 | ptrdiff_t __pyx_v_sw; | ^~~~~~~~~~ imagecodecs/_zfp.c:22377:21: warning: ‘__pyx_v_minbits’ may be used uninitialized [-Wmaybe-uninitialized] 22377 | __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:20596:21: note: ‘__pyx_v_minbits’ was declared here 20596 | __pyx_t_3zfp_uint __pyx_v_minbits; | ^~~~~~~~~~~~~~~ imagecodecs/_zfp.c:22377:21: warning: ‘__pyx_v_maxbits’ may be used uninitialized [-Wmaybe-uninitialized] 22377 | __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:20597:21: note: ‘__pyx_v_maxbits’ was declared here 20597 | __pyx_t_3zfp_uint __pyx_v_maxbits; | ^~~~~~~~~~~~~~~ imagecodecs/_zfp.c:22377:21: warning: ‘__pyx_v_maxprec’ may be used uninitialized [-Wmaybe-uninitialized] 22377 | __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:20598:21: note: ‘__pyx_v_maxprec’ was declared here 20598 | __pyx_t_3zfp_uint __pyx_v_maxprec; | ^~~~~~~~~~~~~~~ imagecodecs/_zfp.c:22377:21: warning: ‘__pyx_v_minexp’ may be used uninitialized [-Wmaybe-uninitialized] 22377 | __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:20599:21: note: ‘__pyx_v_minexp’ was declared here 20599 | __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-errors -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-312/imagecodecs/_zfp.o -L/usr/lib64 -lm -lzfp -o build/lib.linux-s390x-cpython-312/imagecodecs/_zfp.cpython-312-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 -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.12 -I/usr/lib64/python3.12/site-packages/numpy/core/include -c imagecodecs/_zlib.c -o build/temp.linux-s390x-cpython-312/imagecodecs/_zlib.o In file included from /usr/lib64/python3.12/site-packages/numpy/core/include/numpy/ndarraytypes.h:1929, from /usr/lib64/python3.12/site-packages/numpy/core/include/numpy/ndarrayobject.h:12, from /usr/lib64/python3.12/site-packages/numpy/core/include/numpy/arrayobject.h:5, from imagecodecs/_zlib.c:1220: /usr/lib64/python3.12/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:23549:12: warning: ‘__pyx_f_11imagecodecs_5_zlib_output_seek’ defined but not used [-Wunused-function] 23549 | 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-errors -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-312/imagecodecs/_zlib.o -L/usr/lib64 -lm -lz -o build/lib.linux-s390x-cpython-312/imagecodecs/_zlib.cpython-312-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 -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.12 -I/usr/lib64/python3.12/site-packages/numpy/core/include -c imagecodecs/_zlibng.c -o build/temp.linux-s390x-cpython-312/imagecodecs/_zlibng.o In file included from /usr/lib64/python3.12/site-packages/numpy/core/include/numpy/ndarraytypes.h:1929, from /usr/lib64/python3.12/site-packages/numpy/core/include/numpy/ndarrayobject.h:12, from /usr/lib64/python3.12/site-packages/numpy/core/include/numpy/arrayobject.h:5, from imagecodecs/_zlibng.c:1220: /usr/lib64/python3.12/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:23557:12: warning: ‘__pyx_f_11imagecodecs_7_zlibng_output_seek’ defined but not used [-Wunused-function] 23557 | 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-errors -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-312/imagecodecs/_zlibng.o -L/usr/lib64 -lm -lz-ng -o build/lib.linux-s390x-cpython-312/imagecodecs/_zlibng.cpython-312-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 -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.12 -I/usr/lib64/python3.12/site-packages/numpy/core/include -c imagecodecs/_zopfli.c -o build/temp.linux-s390x-cpython-312/imagecodecs/_zopfli.o In file included from /usr/lib64/python3.12/site-packages/numpy/core/include/numpy/ndarraytypes.h:1929, from /usr/lib64/python3.12/site-packages/numpy/core/include/numpy/ndarrayobject.h:12, from /usr/lib64/python3.12/site-packages/numpy/core/include/numpy/arrayobject.h:5, from imagecodecs/_zopfli.c:1221: /usr/lib64/python3.12/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-errors -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-312/imagecodecs/_zopfli.o -L/usr/lib64 -lm -lzopfli -o build/lib.linux-s390x-cpython-312/imagecodecs/_zopfli.cpython-312-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 -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.12 -I/usr/lib64/python3.12/site-packages/numpy/core/include -c imagecodecs/_zstd.c -o build/temp.linux-s390x-cpython-312/imagecodecs/_zstd.o In file included from /usr/lib64/python3.12/site-packages/numpy/core/include/numpy/ndarraytypes.h:1929, from /usr/lib64/python3.12/site-packages/numpy/core/include/numpy/ndarrayobject.h:12, from /usr/lib64/python3.12/site-packages/numpy/core/include/numpy/arrayobject.h:5, from imagecodecs/_zstd.c:1220: /usr/lib64/python3.12/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-errors -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-312/imagecodecs/_zstd.o -L/usr/lib64 -lm -lzstd -o build/lib.linux-s390x-cpython-312/imagecodecs/_zstd.cpython-312-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-312/imagecodecs/__init__.py -> build/bdist.linux-s390x/wheel/imagecodecs copying build/lib.linux-s390x-cpython-312/imagecodecs/__main__.py -> build/bdist.linux-s390x/wheel/imagecodecs copying build/lib.linux-s390x-cpython-312/imagecodecs/_imagecodecs.py -> build/bdist.linux-s390x/wheel/imagecodecs copying build/lib.linux-s390x-cpython-312/imagecodecs/imagecodecs.py -> build/bdist.linux-s390x/wheel/imagecodecs copying build/lib.linux-s390x-cpython-312/imagecodecs/numcodecs.py -> build/bdist.linux-s390x/wheel/imagecodecs creating build/bdist.linux-s390x/wheel/imagecodecs/licenses copying build/lib.linux-s390x-cpython-312/imagecodecs/licenses/LICENSE-aom -> build/bdist.linux-s390x/wheel/imagecodecs/licenses copying build/lib.linux-s390x-cpython-312/imagecodecs/licenses/LICENSE-bitshuffle -> build/bdist.linux-s390x/wheel/imagecodecs/licenses copying build/lib.linux-s390x-cpython-312/imagecodecs/licenses/LICENSE-blosc -> build/bdist.linux-s390x/wheel/imagecodecs/licenses copying build/lib.linux-s390x-cpython-312/imagecodecs/licenses/LICENSE-blosc2 -> build/bdist.linux-s390x/wheel/imagecodecs/licenses copying build/lib.linux-s390x-cpython-312/imagecodecs/licenses/LICENSE-brotli -> build/bdist.linux-s390x/wheel/imagecodecs/licenses copying build/lib.linux-s390x-cpython-312/imagecodecs/licenses/LICENSE-brunsli -> build/bdist.linux-s390x/wheel/imagecodecs/licenses copying build/lib.linux-s390x-cpython-312/imagecodecs/licenses/LICENSE-bzip2 -> build/bdist.linux-s390x/wheel/imagecodecs/licenses copying build/lib.linux-s390x-cpython-312/imagecodecs/licenses/LICENSE-cfitsio -> build/bdist.linux-s390x/wheel/imagecodecs/licenses copying build/lib.linux-s390x-cpython-312/imagecodecs/licenses/LICENSE-charls -> build/bdist.linux-s390x/wheel/imagecodecs/licenses copying build/lib.linux-s390x-cpython-312/imagecodecs/licenses/LICENSE-dav1d -> build/bdist.linux-s390x/wheel/imagecodecs/licenses copying build/lib.linux-s390x-cpython-312/imagecodecs/licenses/LICENSE-fastlz -> build/bdist.linux-s390x/wheel/imagecodecs/licenses copying build/lib.linux-s390x-cpython-312/imagecodecs/licenses/LICENSE-giflib -> build/bdist.linux-s390x/wheel/imagecodecs/licenses copying build/lib.linux-s390x-cpython-312/imagecodecs/licenses/LICENSE-highway -> build/bdist.linux-s390x/wheel/imagecodecs/licenses copying build/lib.linux-s390x-cpython-312/imagecodecs/licenses/LICENSE-jetraw -> build/bdist.linux-s390x/wheel/imagecodecs/licenses copying build/lib.linux-s390x-cpython-312/imagecodecs/licenses/LICENSE-jpeg -> build/bdist.linux-s390x/wheel/imagecodecs/licenses copying build/lib.linux-s390x-cpython-312/imagecodecs/licenses/LICENSE-jpg_0xc3 -> build/bdist.linux-s390x/wheel/imagecodecs/licenses copying build/lib.linux-s390x-cpython-312/imagecodecs/licenses/LICENSE-jxrlib -> build/bdist.linux-s390x/wheel/imagecodecs/licenses copying build/lib.linux-s390x-cpython-312/imagecodecs/licenses/LICENSE-lcms2 -> build/bdist.linux-s390x/wheel/imagecodecs/licenses copying build/lib.linux-s390x-cpython-312/imagecodecs/licenses/LICENSE-lerc -> build/bdist.linux-s390x/wheel/imagecodecs/licenses copying build/lib.linux-s390x-cpython-312/imagecodecs/licenses/LICENSE-libaec -> build/bdist.linux-s390x/wheel/imagecodecs/licenses copying build/lib.linux-s390x-cpython-312/imagecodecs/licenses/LICENSE-libaivf -> build/bdist.linux-s390x/wheel/imagecodecs/licenses copying build/lib.linux-s390x-cpython-312/imagecodecs/licenses/LICENSE-libdeflate -> build/bdist.linux-s390x/wheel/imagecodecs/licenses copying build/lib.linux-s390x-cpython-312/imagecodecs/licenses/LICENSE-libjpeg -> build/bdist.linux-s390x/wheel/imagecodecs/licenses copying build/lib.linux-s390x-cpython-312/imagecodecs/licenses/LICENSE-libjpeg-turbo -> build/bdist.linux-s390x/wheel/imagecodecs/licenses copying build/lib.linux-s390x-cpython-312/imagecodecs/licenses/LICENSE-libjxl -> build/bdist.linux-s390x/wheel/imagecodecs/licenses copying build/lib.linux-s390x-cpython-312/imagecodecs/licenses/LICENSE-liblj92 -> build/bdist.linux-s390x/wheel/imagecodecs/licenses copying build/lib.linux-s390x-cpython-312/imagecodecs/licenses/LICENSE-liblzma -> build/bdist.linux-s390x/wheel/imagecodecs/licenses copying build/lib.linux-s390x-cpython-312/imagecodecs/licenses/LICENSE-libmng -> build/bdist.linux-s390x/wheel/imagecodecs/licenses copying build/lib.linux-s390x-cpython-312/imagecodecs/licenses/LICENSE-libpng -> build/bdist.linux-s390x/wheel/imagecodecs/licenses copying build/lib.linux-s390x-cpython-312/imagecodecs/licenses/LICENSE-libspng -> build/bdist.linux-s390x/wheel/imagecodecs/licenses copying build/lib.linux-s390x-cpython-312/imagecodecs/licenses/LICENSE-libtiff -> build/bdist.linux-s390x/wheel/imagecodecs/licenses copying build/lib.linux-s390x-cpython-312/imagecodecs/licenses/LICENSE-libwebp -> build/bdist.linux-s390x/wheel/imagecodecs/licenses copying build/lib.linux-s390x-cpython-312/imagecodecs/licenses/LICENSE-lz4 -> build/bdist.linux-s390x/wheel/imagecodecs/licenses copying build/lib.linux-s390x-cpython-312/imagecodecs/licenses/LICENSE-lzf -> build/bdist.linux-s390x/wheel/imagecodecs/licenses copying build/lib.linux-s390x-cpython-312/imagecodecs/licenses/LICENSE-lzfse -> build/bdist.linux-s390x/wheel/imagecodecs/licenses copying build/lib.linux-s390x-cpython-312/imagecodecs/licenses/LICENSE-lzham -> build/bdist.linux-s390x/wheel/imagecodecs/licenses copying build/lib.linux-s390x-cpython-312/imagecodecs/licenses/LICENSE-mozjpeg -> build/bdist.linux-s390x/wheel/imagecodecs/licenses copying build/lib.linux-s390x-cpython-312/imagecodecs/licenses/LICENSE-openjpeg -> build/bdist.linux-s390x/wheel/imagecodecs/licenses copying build/lib.linux-s390x-cpython-312/imagecodecs/licenses/LICENSE-postgresql -> build/bdist.linux-s390x/wheel/imagecodecs/licenses copying build/lib.linux-s390x-cpython-312/imagecodecs/licenses/LICENSE-qoi -> build/bdist.linux-s390x/wheel/imagecodecs/licenses copying build/lib.linux-s390x-cpython-312/imagecodecs/licenses/LICENSE-rav1e -> build/bdist.linux-s390x/wheel/imagecodecs/licenses copying build/lib.linux-s390x-cpython-312/imagecodecs/licenses/LICENSE-snappy -> build/bdist.linux-s390x/wheel/imagecodecs/licenses copying build/lib.linux-s390x-cpython-312/imagecodecs/licenses/LICENSE-svt-av1 -> build/bdist.linux-s390x/wheel/imagecodecs/licenses copying build/lib.linux-s390x-cpython-312/imagecodecs/licenses/LICENSE-zfp -> build/bdist.linux-s390x/wheel/imagecodecs/licenses copying build/lib.linux-s390x-cpython-312/imagecodecs/licenses/LICENSE-zlib -> build/bdist.linux-s390x/wheel/imagecodecs/licenses copying build/lib.linux-s390x-cpython-312/imagecodecs/licenses/LICENSE-zlib-ng -> build/bdist.linux-s390x/wheel/imagecodecs/licenses copying build/lib.linux-s390x-cpython-312/imagecodecs/licenses/LICENSE-zopfli -> build/bdist.linux-s390x/wheel/imagecodecs/licenses copying build/lib.linux-s390x-cpython-312/imagecodecs/licenses/LICENSE-zstd -> build/bdist.linux-s390x/wheel/imagecodecs/licenses copying build/lib.linux-s390x-cpython-312/imagecodecs/licenses/PATENTS-rav1e -> build/bdist.linux-s390x/wheel/imagecodecs/licenses copying build/lib.linux-s390x-cpython-312/imagecodecs/_aec.cpython-312-s390x-linux-gnu.so -> build/bdist.linux-s390x/wheel/imagecodecs copying build/lib.linux-s390x-cpython-312/imagecodecs/_avif.cpython-312-s390x-linux-gnu.so -> build/bdist.linux-s390x/wheel/imagecodecs copying build/lib.linux-s390x-cpython-312/imagecodecs/_blosc.cpython-312-s390x-linux-gnu.so -> build/bdist.linux-s390x/wheel/imagecodecs copying build/lib.linux-s390x-cpython-312/imagecodecs/_blosc2.cpython-312-s390x-linux-gnu.so -> build/bdist.linux-s390x/wheel/imagecodecs copying build/lib.linux-s390x-cpython-312/imagecodecs/_brotli.cpython-312-s390x-linux-gnu.so -> build/bdist.linux-s390x/wheel/imagecodecs copying build/lib.linux-s390x-cpython-312/imagecodecs/_bz2.cpython-312-s390x-linux-gnu.so -> build/bdist.linux-s390x/wheel/imagecodecs copying build/lib.linux-s390x-cpython-312/imagecodecs/_cms.cpython-312-s390x-linux-gnu.so -> build/bdist.linux-s390x/wheel/imagecodecs copying build/lib.linux-s390x-cpython-312/imagecodecs/_deflate.cpython-312-s390x-linux-gnu.so -> build/bdist.linux-s390x/wheel/imagecodecs copying build/lib.linux-s390x-cpython-312/imagecodecs/_gif.cpython-312-s390x-linux-gnu.so -> build/bdist.linux-s390x/wheel/imagecodecs copying build/lib.linux-s390x-cpython-312/imagecodecs/_heif.cpython-312-s390x-linux-gnu.so -> build/bdist.linux-s390x/wheel/imagecodecs copying build/lib.linux-s390x-cpython-312/imagecodecs/_imcd.cpython-312-s390x-linux-gnu.so -> build/bdist.linux-s390x/wheel/imagecodecs copying build/lib.linux-s390x-cpython-312/imagecodecs/_jpeg8.cpython-312-s390x-linux-gnu.so -> build/bdist.linux-s390x/wheel/imagecodecs copying build/lib.linux-s390x-cpython-312/imagecodecs/_jpegxr.cpython-312-s390x-linux-gnu.so -> build/bdist.linux-s390x/wheel/imagecodecs copying build/lib.linux-s390x-cpython-312/imagecodecs/_lerc.cpython-312-s390x-linux-gnu.so -> build/bdist.linux-s390x/wheel/imagecodecs copying build/lib.linux-s390x-cpython-312/imagecodecs/_lz4.cpython-312-s390x-linux-gnu.so -> build/bdist.linux-s390x/wheel/imagecodecs copying build/lib.linux-s390x-cpython-312/imagecodecs/_lzma.cpython-312-s390x-linux-gnu.so -> build/bdist.linux-s390x/wheel/imagecodecs copying build/lib.linux-s390x-cpython-312/imagecodecs/_png.cpython-312-s390x-linux-gnu.so -> build/bdist.linux-s390x/wheel/imagecodecs copying build/lib.linux-s390x-cpython-312/imagecodecs/_rcomp.cpython-312-s390x-linux-gnu.so -> build/bdist.linux-s390x/wheel/imagecodecs copying build/lib.linux-s390x-cpython-312/imagecodecs/_shared.cpython-312-s390x-linux-gnu.so -> build/bdist.linux-s390x/wheel/imagecodecs copying build/lib.linux-s390x-cpython-312/imagecodecs/_snappy.cpython-312-s390x-linux-gnu.so -> build/bdist.linux-s390x/wheel/imagecodecs copying build/lib.linux-s390x-cpython-312/imagecodecs/_tiff.cpython-312-s390x-linux-gnu.so -> build/bdist.linux-s390x/wheel/imagecodecs copying build/lib.linux-s390x-cpython-312/imagecodecs/_webp.cpython-312-s390x-linux-gnu.so -> build/bdist.linux-s390x/wheel/imagecodecs copying build/lib.linux-s390x-cpython-312/imagecodecs/_zfp.cpython-312-s390x-linux-gnu.so -> build/bdist.linux-s390x/wheel/imagecodecs copying build/lib.linux-s390x-cpython-312/imagecodecs/_zlib.cpython-312-s390x-linux-gnu.so -> build/bdist.linux-s390x/wheel/imagecodecs copying build/lib.linux-s390x-cpython-312/imagecodecs/_zlibng.cpython-312-s390x-linux-gnu.so -> build/bdist.linux-s390x/wheel/imagecodecs copying build/lib.linux-s390x-cpython-312/imagecodecs/_zopfli.cpython-312-s390x-linux-gnu.so -> build/bdist.linux-s390x/wheel/imagecodecs copying build/lib.linux-s390x-cpython-312/imagecodecs/_zstd.cpython-312-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.12.egg-info running install_scripts creating build/bdist.linux-s390x/wheel/imagecodecs-2023.1.23.dist-info/WHEEL creating '/builddir/build/BUILD/imagecodecs-2023.1.23/.pyproject-builddir/pip-wheel-gmlcxopv/.tmp-9u6oc2ks/imagecodecs-2023.1.23-cp312-cp312-linux_s390x.whl' and adding 'build/bdist.linux-s390x/wheel' to it adding 'imagecodecs/__init__.py' adding 'imagecodecs/__main__.py' adding 'imagecodecs/_aec.cpython-312-s390x-linux-gnu.so' adding 'imagecodecs/_avif.cpython-312-s390x-linux-gnu.so' adding 'imagecodecs/_blosc.cpython-312-s390x-linux-gnu.so' adding 'imagecodecs/_blosc2.cpython-312-s390x-linux-gnu.so' adding 'imagecodecs/_brotli.cpython-312-s390x-linux-gnu.so' adding 'imagecodecs/_bz2.cpython-312-s390x-linux-gnu.so' adding 'imagecodecs/_cms.cpython-312-s390x-linux-gnu.so' adding 'imagecodecs/_deflate.cpython-312-s390x-linux-gnu.so' adding 'imagecodecs/_gif.cpython-312-s390x-linux-gnu.so' adding 'imagecodecs/_heif.cpython-312-s390x-linux-gnu.so' adding 'imagecodecs/_imagecodecs.py' adding 'imagecodecs/_imcd.cpython-312-s390x-linux-gnu.so' adding 'imagecodecs/_jpeg8.cpython-312-s390x-linux-gnu.so' adding 'imagecodecs/_jpegxr.cpython-312-s390x-linux-gnu.so' adding 'imagecodecs/_lerc.cpython-312-s390x-linux-gnu.so' adding 'imagecodecs/_lz4.cpython-312-s390x-linux-gnu.so' adding 'imagecodecs/_lzma.cpython-312-s390x-linux-gnu.so' adding 'imagecodecs/_png.cpython-312-s390x-linux-gnu.so' adding 'imagecodecs/_rcomp.cpython-312-s390x-linux-gnu.so' adding 'imagecodecs/_shared.cpython-312-s390x-linux-gnu.so' adding 'imagecodecs/_snappy.cpython-312-s390x-linux-gnu.so' adding 'imagecodecs/_tiff.cpython-312-s390x-linux-gnu.so' adding 'imagecodecs/_webp.cpython-312-s390x-linux-gnu.so' adding 'imagecodecs/_zfp.cpython-312-s390x-linux-gnu.so' adding 'imagecodecs/_zlib.cpython-312-s390x-linux-gnu.so' adding 'imagecodecs/_zlibng.cpython-312-s390x-linux-gnu.so' adding 'imagecodecs/_zopfli.cpython-312-s390x-linux-gnu.so' adding 'imagecodecs/_zstd.cpython-312-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-cp312-cp312-linux_s390x.whl size=15763672 sha256=2c8c6d97ba901e7ab569770569133c0683ad3f7bcf50cae14898ea90d46b0c2b Stored in directory: /builddir/.cache/pip/wheels/03/39/35/3ba47148107845a9551f99908e3e71e02ac12a19d0b3a57b54 Successfully built imagecodecs + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.qdvbDX + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-imagecodecs-2023.1.23-1.fc41.s390x '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-imagecodecs-2023.1.23-1.fc41.s390x ++ dirname /builddir/build/BUILDROOT/python-imagecodecs-2023.1.23-1.fc41.s390x + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-imagecodecs-2023.1.23-1.fc41.s390x + 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-errors -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/imagecodecs-2023.1.23/pyproject-wheeldir/imagecodecs-2023.1.23-cp312-cp312-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/imagecodecs-2023.1.23/.pyproject-builddir + /usr/bin/python3 -m pip install --root /builddir/build/BUILDROOT/python-imagecodecs-2023.1.23-1.fc41.s390x --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/imagecodecs-2023.1.23/pyproject-wheeldir imagecodecs==2023.1.23 Using pip 24.0 from /usr/lib/python3.12/site-packages/pip (python 3.12) Looking in links: /builddir/build/BUILD/imagecodecs-2023.1.23/pyproject-wheeldir Processing ./pyproject-wheeldir/imagecodecs-2023.1.23-cp312-cp312-linux_s390x.whl Installing collected packages: imagecodecs Creating /builddir/build/BUILDROOT/python-imagecodecs-2023.1.23-1.fc41.s390x/usr/bin changing mode of /builddir/build/BUILDROOT/python-imagecodecs-2023.1.23-1.fc41.s390x/usr/bin/imagecodecs to 755 Successfully installed imagecodecs-2023.1.23 + '[' -d /builddir/build/BUILDROOT/python-imagecodecs-2023.1.23-1.fc41.s390x/usr/bin ']' + '[' -z sP ']' + shebang_flags=-kasP + /usr/bin/python3 -B /usr/lib/rpm/redhat/pathfix.py -pni /usr/bin/python3 -kasP /builddir/build/BUILDROOT/python-imagecodecs-2023.1.23-1.fc41.s390x/usr/bin/imagecodecs /builddir/build/BUILDROOT/python-imagecodecs-2023.1.23-1.fc41.s390x/usr/bin/imagecodecs: updating + rm -rfv /builddir/build/BUILDROOT/python-imagecodecs-2023.1.23-1.fc41.s390x/usr/bin/__pycache__ + rm -f /builddir/build/BUILD/python-imagecodecs-2023.1.23-1.fc41.s390x-pyproject-ghost-distinfo + site_dirs=() + '[' -d /builddir/build/BUILDROOT/python-imagecodecs-2023.1.23-1.fc41.s390x/usr/lib/python3.12/site-packages ']' + '[' /builddir/build/BUILDROOT/python-imagecodecs-2023.1.23-1.fc41.s390x/usr/lib64/python3.12/site-packages '!=' /builddir/build/BUILDROOT/python-imagecodecs-2023.1.23-1.fc41.s390x/usr/lib/python3.12/site-packages ']' + '[' -d /builddir/build/BUILDROOT/python-imagecodecs-2023.1.23-1.fc41.s390x/usr/lib64/python3.12/site-packages ']' + site_dirs+=("/usr/lib64/python3.12/site-packages") + for site_dir in ${site_dirs[@]} + for distinfo in /builddir/build/BUILDROOT/python-imagecodecs-2023.1.23-1.fc41.s390x$site_dir/*.dist-info + echo '%ghost /usr/lib64/python3.12/site-packages/imagecodecs-2023.1.23.dist-info' + sed -i s/pip/rpm/ /builddir/build/BUILDROOT/python-imagecodecs-2023.1.23-1.fc41.s390x/usr/lib64/python3.12/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/BUILDROOT/python-imagecodecs-2023.1.23-1.fc41.s390x --record /builddir/build/BUILDROOT/python-imagecodecs-2023.1.23-1.fc41.s390x/usr/lib64/python3.12/site-packages/imagecodecs-2023.1.23.dist-info/RECORD --output /builddir/build/BUILD/python-imagecodecs-2023.1.23-1.fc41.s390x-pyproject-record + rm -fv /builddir/build/BUILDROOT/python-imagecodecs-2023.1.23-1.fc41.s390x/usr/lib64/python3.12/site-packages/imagecodecs-2023.1.23.dist-info/RECORD removed '/builddir/build/BUILDROOT/python-imagecodecs-2023.1.23-1.fc41.s390x/usr/lib64/python3.12/site-packages/imagecodecs-2023.1.23.dist-info/RECORD' + rm -fv /builddir/build/BUILDROOT/python-imagecodecs-2023.1.23-1.fc41.s390x/usr/lib64/python3.12/site-packages/imagecodecs-2023.1.23.dist-info/REQUESTED removed '/builddir/build/BUILDROOT/python-imagecodecs-2023.1.23-1.fc41.s390x/usr/lib64/python3.12/site-packages/imagecodecs-2023.1.23.dist-info/REQUESTED' ++ wc -l /builddir/build/BUILD/python-imagecodecs-2023.1.23-1.fc41.s390x-pyproject-ghost-distinfo ++ cut -f1 '-d ' + lines=1 + '[' 1 -ne 1 ']' + RPM_PERCENTAGES_COUNT=2 + /usr/bin/python3 /usr/lib/rpm/redhat/pyproject_save_files.py --output-files /builddir/build/BUILD/python-imagecodecs-2023.1.23-1.fc41.s390x-pyproject-files --output-modules /builddir/build/BUILD/python-imagecodecs-2023.1.23-1.fc41.s390x-pyproject-modules --buildroot /builddir/build/BUILDROOT/python-imagecodecs-2023.1.23-1.fc41.s390x --sitelib /usr/lib/python3.12/site-packages --sitearch /usr/lib64/python3.12/site-packages --python-version 3.12 --pyproject-record /builddir/build/BUILD/python-imagecodecs-2023.1.23-1.fc41.s390x-pyproject-record --prefix /usr imagecodecs + /usr/bin/find-debuginfo -j2 --strict-build-id -m -i --build-id-seed 2023.1.23-1.fc41 --unique-debug-suffix -2023.1.23-1.fc41.s390x --unique-debug-src-base python-imagecodecs-2023.1.23-1.fc41.s390x --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/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-1.fc41.s390x 73592 blocks 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/BUILDROOT/python-imagecodecs-2023.1.23-1.fc41.s390x/usr/lib64/python3.12 using python3.12 Bytecompiling .py files below /builddir/build/BUILDROOT/python-imagecodecs-2023.1.23-1.fc41.s390x/usr/lib/debug/usr/lib64/python3.12 using python3.12 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.wfpWDE + umask 022 + cd /builddir/build/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-errors -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-errors -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/BUILDROOT/python-imagecodecs-2023.1.23-1.fc41.s390x/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + PYTHONPATH=/builddir/build/BUILDROOT/python-imagecodecs-2023.1.23-1.fc41.s390x/usr/lib64/python3.12/site-packages:/builddir/build/BUILDROOT/python-imagecodecs-2023.1.23-1.fc41.s390x/usr/lib/python3.12/site-packages + PYTHONDONTWRITEBYTECODE=1 + PYTEST_ADDOPTS=' --ignore=/builddir/build/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.12.3, pytest-7.4.3, pluggy-1.3.0 -- /usr/bin/python3 cachedir: .pytest_cache Python 3.12.3 (main, Apr 17 2024, 00:00:00) [GCC 14.0.1 20240411 (Red Hat 14.0.1-0)] packagedir: /builddir/build/BUILDROOT/python-imagecodecs-2023.1.23-1.fc41.s390x/usr/lib64/python3.12/site-packages/imagecodecs version: imagecodecs-2023.1.23, cython-3.0.9, numpy-1.26.4, numpy_abi-0x1000009.13, imcd-2022.12.22, apng-n/a, bitshuffle-n/a, brotli-1.1.0, brunsli-n/a, c-blosc-1.21.5, c-blosc2-2.14.4, cfitsio-4.4, 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.20, libheif-1.17.5, libjpeg_turbo-3.0.2/6.2, liblzma-5.4.6, libpng-1.6.40, libtiff-4.6.0, libwebp-1.4.0, ljpeg-n/a, lz4-1.9.4, 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.0.zlib-ng, zlib_ng-2.1.6, zopfli-1.0.x, zstd-1.5.6 dependencies: imagecodecs.py-2022.12.22, numpy-1.26.4, zlib-1.3.0.zlib-ng, bz2-stdlib, lzma-stdlib, blosc-1.11.1, blosc2-2.5.1, zstd-.5.5., 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.12.1, zarr-2.16.1, tifffile-2024.2.12, czifile-n/a rootdir: /builddir/build/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] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta-<-u2-encode-out] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta-<-u2-encode-inplace] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta-<-u2-decode-new] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta-<-u2-decode-out] PASSED [ 2%] 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 [ 3%] tests/test_imagecodecs.py::test_delta[delta-<-i4-decode-inplace] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[delta-<-i8-encode-new] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[delta-<-i8-encode-out] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[delta-<-i8-encode-inplace] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[delta-<-i8-decode-new] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[delta-<-i8-decode-out] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[delta-<-i8-decode-inplace] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[delta-<-f4-encode-new] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[delta-<-f4-encode-out] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[delta-<-f4-encode-inplace] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[delta-<-f4-decode-new] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[delta-<-f4-decode-out] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[delta-<-f4-decode-inplace] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[delta-<-f8-encode-new] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[delta-<-f8-encode-out] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[delta-<-f8-encode-inplace] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[delta-<-f8-decode-new] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[delta-<-f8-decode-out] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[delta-<-f8-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[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] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-u2-encode-out] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-u2-encode-inplace] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-u2-decode-new] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-u2-decode-out] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-u2-decode-inplace] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-u4-encode-new] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-u4-encode-out] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-u4-encode-inplace] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-u4-decode-new] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-u4-decode-out] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-u4-decode-inplace] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-u8-encode-new] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-u8-encode-out] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-u8-encode-inplace] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-u8-decode-new] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-u8-decode-out] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-u8-decode-inplace] PASSED [ 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] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-i2-encode-out] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-i2-encode-inplace] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-i2-decode-new] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-i2-decode-out] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-i2-decode-inplace] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-i4-encode-new] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-i4-encode-out] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-i4-encode-inplace] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-i4-decode-new] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-i4-decode-out] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-i4-decode-inplace] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-i8-encode-new] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-i8-encode-out] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-i8-encode-inplace] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-i8-decode-new] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-i8-decode-out] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-i8-decode-inplace] PASSED [ 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->] PASSED [ 97%] tests/test_imagecodecs.py::test_tifffile[lzw-False-u2-<] PASSED [ 97%] tests/test_imagecodecs.py::test_tifffile[lzw-False-u2->] PASSED [ 97%] tests/test_imagecodecs.py::test_tifffile[lzw-False-f2-<] PASSED [ 97%] tests/test_imagecodecs.py::test_tifffile[lzw-False-f2->] PASSED [ 97%] tests/test_imagecodecs.py::test_tifffile[lzw-False-f4-<] PASSED [ 97%] tests/test_imagecodecs.py::test_tifffile[lzw-False-f4->] PASSED [ 97%] tests/test_imagecodecs.py::test_tifffile[lzw-True-u1-<] PASSED [ 97%] tests/test_imagecodecs.py::test_tifffile[lzw-True-u1->] PASSED [ 97%] tests/test_imagecodecs.py::test_tifffile[lzw-True-u2-<] PASSED [ 97%] tests/test_imagecodecs.py::test_tifffile[lzw-True-u2->] PASSED [ 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->] PASSED [ 97%] tests/test_imagecodecs.py::test_tifffile[zstd-False-u2-<] PASSED [ 97%] tests/test_imagecodecs.py::test_tifffile[zstd-False-u2->] PASSED [ 97%] tests/test_imagecodecs.py::test_tifffile[zstd-False-f2-<] PASSED [ 97%] tests/test_imagecodecs.py::test_tifffile[zstd-False-f2->] PASSED [ 98%] tests/test_imagecodecs.py::test_tifffile[zstd-False-f4-<] PASSED [ 98%] tests/test_imagecodecs.py::test_tifffile[zstd-False-f4->] PASSED [ 98%] tests/test_imagecodecs.py::test_tifffile[zstd-True-u1-<] PASSED [ 98%] tests/test_imagecodecs.py::test_tifffile[zstd-True-u1->] PASSED [ 98%] tests/test_imagecodecs.py::test_tifffile[zstd-True-u2-<] PASSED [ 98%] tests/test_imagecodecs.py::test_tifffile[zstd-True-u2->] PASSED [ 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->] PASSED [ 98%] tests/test_imagecodecs.py::test_tifffile[packbits-False-u2-<] PASSED [ 98%] tests/test_imagecodecs.py::test_tifffile[packbits-False-u2->] PASSED [ 98%] tests/test_imagecodecs.py::test_tifffile[packbits-False-f2-<] PASSED [ 98%] tests/test_imagecodecs.py::test_tifffile[packbits-False-f2->] PASSED [ 98%] tests/test_imagecodecs.py::test_tifffile[packbits-False-f4-<] PASSED [ 98%] tests/test_imagecodecs.py::test_tifffile[packbits-False-f4->] PASSED [ 98%] tests/test_imagecodecs.py::test_tifffile[packbits-True-u1-<] PASSED [ 98%] tests/test_imagecodecs.py::test_tifffile[packbits-True-u1->] PASSED [ 98%] tests/test_imagecodecs.py::test_tifffile[packbits-True-u2-<] PASSED [ 98%] tests/test_imagecodecs.py::test_tifffile[packbits-True-u2->] PASSED [ 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->] PASSED [ 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 assert (0, 0, 0, 0, 0, 0, ...) == (3, 0, 2, 6, 1, 1, ...) E At index 0 diff: 0 != 3 E Full diff: E - (3, 0, 2, 6, 1, 1, 4, 3, 3, 1) E + (0, 0, 0, 0, 0, 0, 0, 0, 0, 0) tests/test_imagecodecs.py:371: AssertionError _____________________ 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.5... 0. , 0. ], [ 0. , 0. , 0. ], [ 0. , 0. , 0. ]]], dtype=float32)) kwds = {'err_msg': '', 'header': 'Arrays are not equal', 'strict': False, 'verbose': True} @wraps(func) def inner(*args, **kwds): with self._recreate_cm(): > return func(*args, **kwds) E AssertionError: E Arrays are not equal E E Mismatched elements: 3069 / 3069 (100%) E Max absolute difference: 1.68812e+38 E Max relative difference: inf E x: 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 y: array([[[ 0. , 0. , 0. ], E [ 0. , 0. , 0. ], E [ 0. , 0. , 0. ],... /usr/lib64/python3.12/contextlib.py:81: 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.5... 0. , 0. ], [ 0. , 0. , 0. ], [ 0. , 0. , 0. ]]], dtype=float32)) kwds = {'err_msg': '', 'header': 'Arrays are not equal', 'strict': False, 'verbose': True} @wraps(func) def inner(*args, **kwds): with self._recreate_cm(): > return func(*args, **kwds) E AssertionError: E Arrays are not equal E E Mismatched elements: 3069 / 3069 (100%) E Max absolute difference: 1.68812e+38 E Max relative difference: inf E x: 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 y: array([[[ 0. , 0. , 0. ], E [ 0. , 0. , 0. ], E [ 0. , 0. , 0. ],... /usr/lib64/python3.12/contextlib.py:81: 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.6...0.99707, 0.99739, 0.99772], [0.99804, 0.99837, 0.9987 ], [0.99902, 0.99935, 0.99967]]], dtype=float32)) kwds = {'err_msg': '', 'header': 'Arrays are not equal', 'strict': False, 'verbose': True} @wraps(func) def inner(*args, **kwds): with self._recreate_cm(): > return func(*args, **kwds) E AssertionError: E Arrays are not equal E E x and y nan location mismatch: E x: 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 y: array([[[0. , 0.000326, 0.000652], E [0.000978, 0.001303, 0.001629], E [0.001955, 0.002281, 0.002607],... /usr/lib64/python3.12/contextlib.py:81: 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.6...0.99707, 0.99739, 0.99772], [0.99804, 0.99837, 0.9987 ], [0.99902, 0.99935, 0.99967]]], dtype=float32)) kwds = {'err_msg': '', 'header': 'Arrays are not equal', 'strict': False, 'verbose': True} @wraps(func) def inner(*args, **kwds): with self._recreate_cm(): > return func(*args, **kwds) E AssertionError: E Arrays are not equal E E x and y nan location mismatch: E x: 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 y: array([[[0. , 0.000326, 0.000652], E [0.000978, 0.001303, 0.001629], E [0.001955, 0.002281, 0.002607],... /usr/lib64/python3.12/contextlib.py:81: 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. ], [ 0.5 , 0. , 0. , ..., 0. , 0. , 0. ]]], dtype=float32)) kwds = {'err_msg': '', 'header': 'Arrays are not equal', 'strict': False, 'verbose': True} @wraps(func) def inner(*args, **kwds): with self._recreate_cm(): > return func(*args, **kwds) E AssertionError: E Arrays are not equal E E Mismatched elements: 3069 / 3069 (100%) E Max absolute difference: 2.12843e+38 E Max relative difference: inf E x: 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 y: array([[[ 0. , 0. , 0. , ..., 0. , 0. , E 0. ], E [ 0.007874, 0. , 0. , ..., 0. , 0. ,... /usr/lib64/python3.12/contextlib.py:81: 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. ], [ 0.5 , 0. , 0. , ..., 0. , 0. , 0. ]]], dtype=float32)) kwds = {'err_msg': '', 'header': 'Arrays are not equal', 'strict': False, 'verbose': True} @wraps(func) def inner(*args, **kwds): with self._recreate_cm(): > return func(*args, **kwds) E AssertionError: E Arrays are not equal E E Mismatched elements: 3069 / 3069 (100%) E Max absolute difference: 2.12843e+38 E Max relative difference: inf E x: 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 y: array([[[ 0. , 0. , 0. , ..., 0. , 0. , E 0. ], E [ 0.007874, 0. , 0. , ..., 0. , 0. ,... /usr/lib64/python3.12/contextlib.py:81: 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, ....96742, 0.96839, 0.96937], [0.97035, 0.97133, 0.9723 , ..., 0.99772, 0.9987 , 0.99967]]], dtype=float32)) kwds = {'err_msg': '', 'header': 'Arrays are not equal', 'strict': False, 'verbose': True} @wraps(func) def inner(*args, **kwds): with self._recreate_cm(): > return func(*args, **kwds) E AssertionError: E Arrays are not equal E E x and y nan location mismatch: E x: 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 y: 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.12/contextlib.py:81: 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, ....96742, 0.96839, 0.96937], [0.97035, 0.97133, 0.9723 , ..., 0.99772, 0.9987 , 0.99967]]], dtype=float32)) kwds = {'err_msg': '', 'header': 'Arrays are not equal', 'strict': False, 'verbose': True} @wraps(func) def inner(*args, **kwds): with self._recreate_cm(): > return func(*args, **kwds) E AssertionError: E Arrays are not equal E E x and y nan location mismatch: E x: 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 y: 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.12/contextlib.py:81: 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 At index 0 diff: b'\x00' != b'\x7f' 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 At index 0 diff: b'\x00' != b'\xff' 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 At index 0 diff: b'\x00' != b'\xff' 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 At index 0 diff: b'\x00' != b'\x7f' 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 At index 0 diff: b'\x00' != b'\xff' 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 At index 0 diff: b'\x00' != b'\x80' 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 At index 0 diff: b'\x00' != b'?' 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 At index 0 diff: b'\x00' != b'\xbf' 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 At index 0 diff: b'\xf6' != b'@' 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 At index 0 diff: b'\x0f' != b',' 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 At index 0 diff: b'\x0f' != b',' 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 At index 0 diff: b'T' != b'\x00' 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 At index 0 diff: b'\x80' != b'\x7f' 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 At index 1 diff: b'\x00' != b'\x80' 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 At index 0 diff: b'\xff' != b'\x00' 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 At index 1 diff: b'\x00' != b'@' 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 At index 2 diff: b'\x00' != b'\x01' 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 At index 0 diff: b'\x00' != b'\x01' 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 At index 0 diff: b'\x00' != b'\x80' 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 At index 0 diff: b'\x00' != b'\x80' 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 At index 1 diff: b'\x00' != b'\x80' 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 At index 1 diff: b'\x00' != b'\x80' 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 At index 1 diff: b'\x00' != b'\x80' 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 At index 2 diff: b'\x00' != b'\x7f' 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 At index 2 diff: b'\x00' != b'\xff' 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 At index 2 diff: b'\x00' != b'\x80' 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 At index 2 diff: b'\x00' != b'?' 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 At index 2 diff: b'\x00' != b'\xbf' 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 At index 0 diff: b'\x92' != b' ' 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 At index 0 diff: b'\xa4' != b'\xa8' 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 At index 0 diff: b'\xa4' != b'\xa8' 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 At index 0 diff: b'\xd8' != b'\x0f' 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 At index 0 diff: b'\x0e' != b'\x00' 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 At index 1 diff: b'\x00' != b'\x80' 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 At index 2 diff: b'\xff' != b'\x00' 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 At index 1 diff: b'\x00' != b'@' 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 At index 0 diff: b'\x00' != b'\x01' 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 At index 2 diff: b'\x00' != b'\x01' 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 At index 2 diff: b'\x00' != b'\x80' 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 At index 2 diff: b'\x00' != b'\x80' 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 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 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 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 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 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 1.0 < 4e-08 E + where 1.0 = abs((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 1.0 < 4e-08 E + where 1.0 = abs((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 3.1416016 < 4e-08 E + where 3.1416016 = abs((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 3.1415839e-06 < 4e-08 E + where 3.1415839e-06 = abs((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 3.1415839e-06 < 4e-08 E + where 3.1415839e-06 = abs((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 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 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 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 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 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 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 1.0 < 4e-08 E + where 1.0 = abs((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 1.0 < 4e-08 E + where 1.0 = abs((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 3.1416016 < 4e-08 E + where 3.1416016 = abs((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 3.1415839e-06 < 4e-08 E + where 3.1415839e-06 = abs((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 3.1415839e-06 < 4e-08 E + where 3.1415839e-06 = abs((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 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 - >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], ..., ...140, 124], ..., [255, 147, 148], [255, 149, 151], [255, 146, 148]]]], dtype=uint8)) kwds = {'err_msg': '', 'header': 'Arrays are not equal', 'strict': False, 'verbose': True} @wraps(func) def inner(*args, **kwds): with self._recreate_cm(): > return func(*args, **kwds) E AssertionError: E Arrays are not equal E E Mismatched elements: 53818 / 55278 (97.4%) E Max absolute difference: 128 E Max relative difference: 0.50196 E x: array([[[[134, 122, 100], E [132, 120, 98], E [129, 116, 99],... E y: array([[[[255, 100, 122], E [255, 98, 120], E [255, 99, 116],... /usr/lib64/python3.12/contextlib.py:81: 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() 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... ], [ nan, 0.00019, -7.19 ], [ -0.00005, 0.03296, 0.00409]]], dtype=float16)) kwds = {'err_msg': '', 'header': 'Arrays are not equal', 'strict': False, 'verbose': True} @wraps(func) def inner(*args, **kwds): with self._recreate_cm(): > return func(*args, **kwds) E AssertionError: E Arrays are not equal E E x and y nan location mismatch: E x: array([[[0.5 , 0.766 , 0.6265 ], E [0.6064 , 0.805 , 0.6533 ], E [0.697 , 0.818 , 0.656 ],... E y: array([[[ 0.000003, 0.01021 , 0.000049], E [ -199. , 10704. , 0.778 ], E [ -0.000882, -0.000221, 1.806 ],... /usr/lib64/python3.12/contextlib.py:81: 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() 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... ], [ nan, 0.00019, -7.19 ], [ -0.00005, 0.03296, 0.00409]]], dtype=' return func(*args, **kwds) E AssertionError: E Arrays are not equal E E x and y nan location mismatch: E x: array([[[0.5 , 0.766 , 0.6265 ], E [0.6064 , 0.805 , 0.6533 ], E [0.697 , 0.818 , 0.656 ],... E y: array([[[ 0.000003, 0.01021 , 0.000049], E [ -199. , 10704. , 0.778 ], E [ -0.000882, -0.000221, 1.806 ],... /usr/lib64/python3.12/contextlib.py:81: 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() 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... [-2.32248e-37, 2.24825e+20, -1.99865e+15], [-9.92416e-36, -4.33710e-16, 1.15622e-32]]], dtype=float32)) kwds = {'err_msg': '', 'header': 'Arrays are not equal', 'strict': False, 'verbose': True} @wraps(func) def inner(*args, **kwds): with self._recreate_cm(): > return func(*args, **kwds) E AssertionError: E Arrays are not equal E E x and y nan location mismatch: E x: array([[[0.5 , 0.766055, 0.626249], E [0.60653 , 0.804974, 0.653208], E [0.696793, 0.817962, 0.655634],... E y: 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.12/contextlib.py:81: 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() 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... [-2.32248e-37, 2.24825e+20, -1.99865e+15], [-9.92416e-36, -4.33710e-16, 1.15622e-32]]], dtype=' return func(*args, **kwds) E AssertionError: E Arrays are not equal E E x and y nan location mismatch: E x: array([[[0.5 , 0.766055, 0.626249], E [0.60653 , 0.804974, 0.653208], E [0.696793, 0.817962, 0.655634],... E y: 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.12/contextlib.py:81: 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() 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... ], [ nan, 0.00019, -7.19 ], [ -0.00005, 0.03296, 0.00409]]], dtype=float16)) kwds = {'err_msg': '', 'header': 'Arrays are not equal', 'strict': False, 'verbose': True} @wraps(func) def inner(*args, **kwds): with self._recreate_cm(): > return func(*args, **kwds) E AssertionError: E Arrays are not equal E E x and y nan location mismatch: E x: array([[[0.5 , 0.766 , 0.6265 ], E [0.6064 , 0.805 , 0.6533 ], E [0.697 , 0.818 , 0.656 ],... E y: array([[[ 0.000003, 0.01021 , 0.000049], E [ -199. , 10704. , 0.778 ], E [ -0.000882, -0.000221, 1.806 ],... /usr/lib64/python3.12/contextlib.py:81: 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() 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... ], [ nan, 0.00019, -7.19 ], [ -0.00005, 0.03296, 0.00409]]], dtype=' return func(*args, **kwds) E AssertionError: E Arrays are not equal E E x and y nan location mismatch: E x: array([[[0.5 , 0.766 , 0.6265 ], E [0.6064 , 0.805 , 0.6533 ], E [0.697 , 0.818 , 0.656 ],... E y: array([[[ 0.000003, 0.01021 , 0.000049], E [ -199. , 10704. , 0.778 ], E [ -0.000882, -0.000221, 1.806 ],... /usr/lib64/python3.12/contextlib.py:81: 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() 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... [-2.32248e-37, 2.24825e+20, -1.99865e+15], [-9.92416e-36, -4.33710e-16, 1.15622e-32]]], dtype=float32)) kwds = {'err_msg': '', 'header': 'Arrays are not equal', 'strict': False, 'verbose': True} @wraps(func) def inner(*args, **kwds): with self._recreate_cm(): > return func(*args, **kwds) E AssertionError: E Arrays are not equal E E x and y nan location mismatch: E x: array([[[0.5 , 0.766055, 0.626249], E [0.60653 , 0.804974, 0.653208], E [0.696793, 0.817962, 0.655634],... E y: 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.12/contextlib.py:81: 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() 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... [-2.32248e-37, 2.24825e+20, -1.99865e+15], [-9.92416e-36, -4.33710e-16, 1.15622e-32]]], dtype=' return func(*args, **kwds) E AssertionError: E Arrays are not equal E E x and y nan location mismatch: E x: array([[[0.5 , 0.766055, 0.626249], E [0.60653 , 0.804974, 0.653208], E [0.696793, 0.817962, 0.655634],... E y: 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.12/contextlib.py:81: 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() 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... ], [ nan, 0.00019, -7.19 ], [ -0.00005, 0.03296, 0.00409]]], dtype=float16)) kwds = {'err_msg': '', 'header': 'Arrays are not equal', 'strict': False, 'verbose': True} @wraps(func) def inner(*args, **kwds): with self._recreate_cm(): > return func(*args, **kwds) E AssertionError: E Arrays are not equal E E x and y nan location mismatch: E x: array([[[0.5 , 0.766 , 0.6265 ], E [0.6064 , 0.805 , 0.6533 ], E [0.697 , 0.818 , 0.656 ],... E y: array([[[ 0.000003, 0.01021 , 0.000049], E [ -199. , 10704. , 0.778 ], E [ -0.000882, -0.000221, 1.806 ],... /usr/lib64/python3.12/contextlib.py:81: 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() 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... ], [ nan, 0.00019, -7.19 ], [ -0.00005, 0.03296, 0.00409]]], dtype=' return func(*args, **kwds) E AssertionError: E Arrays are not equal E E x and y nan location mismatch: E x: array([[[0.5 , 0.766 , 0.6265 ], E [0.6064 , 0.805 , 0.6533 ], E [0.697 , 0.818 , 0.656 ],... E y: array([[[ 0.000003, 0.01021 , 0.000049], E [ -199. , 10704. , 0.778 ], E [ -0.000882, -0.000221, 1.806 ],... /usr/lib64/python3.12/contextlib.py:81: 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() 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... [-2.32248e-37, 2.24825e+20, -1.99865e+15], [-9.92416e-36, -4.33710e-16, 1.15622e-32]]], dtype=float32)) kwds = {'err_msg': '', 'header': 'Arrays are not equal', 'strict': False, 'verbose': True} @wraps(func) def inner(*args, **kwds): with self._recreate_cm(): > return func(*args, **kwds) E AssertionError: E Arrays are not equal E E x and y nan location mismatch: E x: array([[[0.5 , 0.766055, 0.626249], E [0.60653 , 0.804974, 0.653208], E [0.696793, 0.817962, 0.655634],... E y: 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.12/contextlib.py:81: 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() 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... [-2.32248e-37, 2.24825e+20, -1.99865e+15], [-9.92416e-36, -4.33710e-16, 1.15622e-32]]], dtype=' return func(*args, **kwds) E AssertionError: E Arrays are not equal E E x and y nan location mismatch: E x: array([[[0.5 , 0.766055, 0.626249], E [0.60653 , 0.804974, 0.653208], E [0.696793, 0.817962, 0.655634],... E y: 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.12/contextlib.py:81: 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() 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], ..., ...130, 178, 92], ..., [136, 128, 66], [139, 132, 54], [138, 134, 43]]], dtype=uint8)) kwds = {'err_msg': '', 'header': 'Arrays are not equal', 'strict': False, 'verbose': True} @wraps(func) def inner(*args, **kwds): with self._recreate_cm(): > return func(*args, **kwds) E AssertionError: E Arrays are not equal E E Mismatched elements: 2956 / 2976 (99.3%) E Max absolute difference: 128 E Max relative difference: 5.35294 E x: array([[[255, 153, 189], E [255, 161, 201], E [255, 161, 207],... E y: array([[[147, 189, 153], E [166, 201, 161], E [185, 207, 161],... /usr/lib64/python3.12/contextlib.py:81: 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() 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], ..., ...130, 178, 92], ..., [136, 128, 66], [139, 132, 54], [138, 134, 43]]], dtype=uint8)) kwds = {'err_msg': '', 'header': 'Arrays are not equal', 'strict': False, 'verbose': True} @wraps(func) def inner(*args, **kwds): with self._recreate_cm(): > return func(*args, **kwds) E AssertionError: E Arrays are not equal E E Mismatched elements: 2956 / 2976 (99.3%) E Max absolute difference: 128 E Max relative difference: 5.35294 E x: array([[[255, 153, 189], E [255, 161, 201], E [255, 161, 207],... E y: array([[[147, 189, 153], E [166, 201, 161], E [185, 207, 161],... /usr/lib64/python3.12/contextlib.py:81: AssertionError ________________________ 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.12/site-packages/tifffile/tifffile.py:1449: in imwrite result = tif.write( /usr/lib/python3.12/site-packages/tifffile/tifffile.py:3562: in write iteritem = cast(bytes, next(dataiter)) /usr/lib/python3.12/site-packages/tifffile/tifffile.py:22161: in encode_chunks yield func(chunk) /usr/lib/python3.12/site-packages/tifffile/tifffile.py:22155: in func return encode(chunk) /usr/lib/python3.12/site-packages/tifffile/tifffile.py:3342: 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.12/site-packages/tifffile/tifffile.py:1449: in imwrite result = tif.write( /usr/lib/python3.12/site-packages/tifffile/tifffile.py:3562: in write iteritem = cast(bytes, next(dataiter)) /usr/lib/python3.12/site-packages/tifffile/tifffile.py:22161: in encode_chunks yield func(chunk) /usr/lib/python3.12/site-packages/tifffile/tifffile.py:22155: in func return encode(chunk) /usr/lib/python3.12/site-packages/tifffile/tifffile.py:3342: 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.12/site-packages/tifffile/tifffile.py:1449: in imwrite result = tif.write( /usr/lib/python3.12/site-packages/tifffile/tifffile.py:3562: in write iteritem = cast(bytes, next(dataiter)) /usr/lib/python3.12/site-packages/tifffile/tifffile.py:22161: in encode_chunks yield func(chunk) /usr/lib/python3.12/site-packages/tifffile/tifffile.py:22155: in func return encode(chunk) /usr/lib/python3.12/site-packages/tifffile/tifffile.py:3342: 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.12/site-packages/tifffile/tifffile.py:1449: in imwrite result = tif.write( /usr/lib/python3.12/site-packages/tifffile/tifffile.py:3562: in write iteritem = cast(bytes, next(dataiter)) /usr/lib/python3.12/site-packages/tifffile/tifffile.py:22161: in encode_chunks yield func(chunk) /usr/lib/python3.12/site-packages/tifffile/tifffile.py:22155: in func return encode(chunk) /usr/lib/python3.12/site-packages/tifffile/tifffile.py:3342: 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.12/site-packages/tifffile/tifffile.py:1449: in imwrite result = tif.write( /usr/lib/python3.12/site-packages/tifffile/tifffile.py:3562: in write iteritem = cast(bytes, next(dataiter)) /usr/lib/python3.12/site-packages/tifffile/tifffile.py:22161: in encode_chunks yield func(chunk) /usr/lib/python3.12/site-packages/tifffile/tifffile.py:22155: in func return encode(chunk) /usr/lib/python3.12/site-packages/tifffile/tifffile.py:3342: 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-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.12/site-packages/tifffile/tifffile.py:1449: in imwrite result = tif.write( /usr/lib/python3.12/site-packages/tifffile/tifffile.py:3562: in write iteritem = cast(bytes, next(dataiter)) /usr/lib/python3.12/site-packages/tifffile/tifffile.py:22161: in encode_chunks yield func(chunk) /usr/lib/python3.12/site-packages/tifffile/tifffile.py:22155: in func return encode(chunk) /usr/lib/python3.12/site-packages/tifffile/tifffile.py:3342: 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.12/site-packages/tifffile/tifffile.py:1449: in imwrite result = tif.write( /usr/lib/python3.12/site-packages/tifffile/tifffile.py:3562: in write iteritem = cast(bytes, next(dataiter)) /usr/lib/python3.12/site-packages/tifffile/tifffile.py:22161: in encode_chunks yield func(chunk) /usr/lib/python3.12/site-packages/tifffile/tifffile.py:22155: in func return encode(chunk) /usr/lib/python3.12/site-packages/tifffile/tifffile.py:3342: 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.12/site-packages/tifffile/tifffile.py:1449: in imwrite result = tif.write( /usr/lib/python3.12/site-packages/tifffile/tifffile.py:3562: in write iteritem = cast(bytes, next(dataiter)) /usr/lib/python3.12/site-packages/tifffile/tifffile.py:22161: in encode_chunks yield func(chunk) /usr/lib/python3.12/site-packages/tifffile/tifffile.py:22155: in func return encode(chunk) /usr/lib/python3.12/site-packages/tifffile/tifffile.py:3342: 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.12/site-packages/tifffile/tifffile.py:1449: in imwrite result = tif.write( /usr/lib/python3.12/site-packages/tifffile/tifffile.py:3562: in write iteritem = cast(bytes, next(dataiter)) /usr/lib/python3.12/site-packages/tifffile/tifffile.py:22161: in encode_chunks yield func(chunk) /usr/lib/python3.12/site-packages/tifffile/tifffile.py:22155: in func return encode(chunk) /usr/lib/python3.12/site-packages/tifffile/tifffile.py:3342: 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.12/site-packages/tifffile/tifffile.py:1449: in imwrite result = tif.write( /usr/lib/python3.12/site-packages/tifffile/tifffile.py:3562: in write iteritem = cast(bytes, next(dataiter)) /usr/lib/python3.12/site-packages/tifffile/tifffile.py:22161: in encode_chunks yield func(chunk) /usr/lib/python3.12/site-packages/tifffile/tifffile.py:22155: in func return encode(chunk) /usr/lib/python3.12/site-packages/tifffile/tifffile.py:3342: 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-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.12/site-packages/tifffile/tifffile.py:1449: in imwrite result = tif.write( /usr/lib/python3.12/site-packages/tifffile/tifffile.py:3562: in write iteritem = cast(bytes, next(dataiter)) /usr/lib/python3.12/site-packages/tifffile/tifffile.py:22161: in encode_chunks yield func(chunk) /usr/lib/python3.12/site-packages/tifffile/tifffile.py:22155: in func return encode(chunk) /usr/lib/python3.12/site-packages/tifffile/tifffile.py:3342: 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.12/site-packages/tifffile/tifffile.py:1449: in imwrite result = tif.write( /usr/lib/python3.12/site-packages/tifffile/tifffile.py:3562: in write iteritem = cast(bytes, next(dataiter)) /usr/lib/python3.12/site-packages/tifffile/tifffile.py:22161: in encode_chunks yield func(chunk) /usr/lib/python3.12/site-packages/tifffile/tifffile.py:22155: in func return encode(chunk) /usr/lib/python3.12/site-packages/tifffile/tifffile.py:3342: 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.12/site-packages/tifffile/tifffile.py:1449: in imwrite result = tif.write( /usr/lib/python3.12/site-packages/tifffile/tifffile.py:3562: in write iteritem = cast(bytes, next(dataiter)) /usr/lib/python3.12/site-packages/tifffile/tifffile.py:22161: in encode_chunks yield func(chunk) /usr/lib/python3.12/site-packages/tifffile/tifffile.py:22155: in func return encode(chunk) /usr/lib/python3.12/site-packages/tifffile/tifffile.py:3342: 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.12/site-packages/tifffile/tifffile.py:1449: in imwrite result = tif.write( /usr/lib/python3.12/site-packages/tifffile/tifffile.py:3562: in write iteritem = cast(bytes, next(dataiter)) /usr/lib/python3.12/site-packages/tifffile/tifffile.py:22161: in encode_chunks yield func(chunk) /usr/lib/python3.12/site-packages/tifffile/tifffile.py:22155: in func return encode(chunk) /usr/lib/python3.12/site-packages/tifffile/tifffile.py:3342: 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.12/site-packages/tifffile/tifffile.py:1449: in imwrite result = tif.write( /usr/lib/python3.12/site-packages/tifffile/tifffile.py:3562: in write iteritem = cast(bytes, next(dataiter)) /usr/lib/python3.12/site-packages/tifffile/tifffile.py:22161: in encode_chunks yield func(chunk) /usr/lib/python3.12/site-packages/tifffile/tifffile.py:22155: in func return encode(chunk) /usr/lib/python3.12/site-packages/tifffile/tifffile.py:3342: 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_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.], ..., [123., 58., 149.], [122., 54., 152.], [121., 51., 155.]]], dtype=float32)) kwds = {'err_msg': '', 'header': 'Arrays are not equal', 'strict': False, 'verbose': True} @wraps(func) def inner(*args, **kwds): with self._recreate_cm(): > return func(*args, **kwds) E AssertionError: E Arrays are not equal E E Mismatched elements: 1206 / 1206 (100%) E Max absolute difference: 244. E Max relative difference: 1. E x: array([[[0., 0., 0.], E [0., 0., 0.], E [0., 0., 0.],... E y: array([[[128., 140., 224.], E [132., 137., 222.], E [136., 133., 220.],... /usr/lib64/python3.12/contextlib.py:81: 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.], ..., [... ..., [145., 150., 150.], [145., 150., 148.], [144., 149., 146.]]]], dtype=float32)) kwds = {'err_msg': '', 'header': 'Arrays are not equal', 'strict': False, 'verbose': True} @wraps(func) def inner(*args, **kwds): with self._recreate_cm(): > return func(*args, **kwds) E AssertionError: E Arrays are not equal E E Mismatched elements: 363006 / 363006 (100%) E Max absolute difference: 250. E Max relative difference: 1. E x: array([[[[0., 0., 0.], E [0., 0., 0.], E [0., 0., 0.],... E y: array([[[[128., 141., 224.], E [128., 140., 224.], E [128., 139., 224.],... /usr/lib64/python3.12/contextlib.py:81: 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.12/site-packages/zarr/core.py:1497: in __setitem__ self.set_basic_selection(pure_selection, value, fields=fields) /usr/lib/python3.12/site-packages/zarr/core.py:1593: in set_basic_selection return self._set_basic_selection_nd(selection, value, fields=fields) /usr/lib/python3.12/site-packages/zarr/core.py:1983: in _set_basic_selection_nd self._set_selection(indexer, value, fields=fields) /usr/lib/python3.12/site-packages/zarr/core.py:2038: in _set_selection self._chunk_setitem(chunk_coords, chunk_selection, chunk_value, fields=fields) /usr/lib/python3.12/site-packages/zarr/core.py:2304: in _chunk_setitem self._chunk_setitem_nosync(chunk_coords, chunk_selection, value, fields=fields) /usr/lib/python3.12/site-packages/zarr/core.py:2314: in _chunk_setitem_nosync self.chunk_store[ckey] = self._encode_chunk(cdata) /usr/lib/python3.12/site-packages/zarr/core.py:2444: in _encode_chunk cdata = self._compressor.encode(chunk) ../../BUILDROOT/python-imagecodecs-2023.1.23-1.fc41.s390x/usr/lib64/python3.12/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.12/site-packages/zarr/core.py:1497: in __setitem__ self.set_basic_selection(pure_selection, value, fields=fields) /usr/lib/python3.12/site-packages/zarr/core.py:1593: in set_basic_selection return self._set_basic_selection_nd(selection, value, fields=fields) /usr/lib/python3.12/site-packages/zarr/core.py:1983: in _set_basic_selection_nd self._set_selection(indexer, value, fields=fields) /usr/lib/python3.12/site-packages/zarr/core.py:2038: in _set_selection self._chunk_setitem(chunk_coords, chunk_selection, chunk_value, fields=fields) /usr/lib/python3.12/site-packages/zarr/core.py:2304: in _chunk_setitem self._chunk_setitem_nosync(chunk_coords, chunk_selection, value, fields=fields) /usr/lib/python3.12/site-packages/zarr/core.py:2314: in _chunk_setitem_nosync self.chunk_store[ckey] = self._encode_chunk(cdata) /usr/lib/python3.12/site-packages/zarr/core.py:2444: in _encode_chunk cdata = self._compressor.encode(chunk) ../../BUILDROOT/python-imagecodecs-2023.1.23-1.fc41.s390x/usr/lib64/python3.12/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 - assert (0, 0, 0, 0, ... 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-True-f2-<] - AssertionErr... FAILED tests/test_imagecodecs.py::test_tifffile[lzw-True-f2->] - AssertionErr... FAILED tests/test_imagecodecs.py::test_tifffile[lzw-True-f4-<] - AssertionErr... FAILED tests/test_imagecodecs.py::test_tifffile[lzw-True-f4->] - AssertionErr... FAILED tests/test_imagecodecs.py::test_tifffile[zstd-True-f2-<] - AssertionEr... FAILED tests/test_imagecodecs.py::test_tifffile[zstd-True-f2->] - AssertionEr... FAILED tests/test_imagecodecs.py::test_tifffile[zstd-True-f4-<] - AssertionEr... FAILED tests/test_imagecodecs.py::test_tifffile[zstd-True-f4->] - AssertionEr... FAILED tests/test_imagecodecs.py::test_tifffile[packbits-True-f2-<] - Asserti... FAILED tests/test_imagecodecs.py::test_tifffile[packbits-True-f2->] - Asserti... FAILED tests/test_imagecodecs.py::test_tifffile[packbits-True-f4-<] - Asserti... FAILED tests/test_imagecodecs.py::test_tifffile[packbits-True-f4->] - Asserti... FAILED tests/test_imagecodecs.py::test_tifffile[jpeg-False-u1-<] - AssertionE... FAILED tests/test_imagecodecs.py::test_tifffile[jpeg-False-u1->] - AssertionE... 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-<] - ValueError:... 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-<] - ValueE... 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-<] - Val... 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... = 1770 failed, 2776 passed, 4132 skipped, 296 deselected, 1363 xfailed in 353.40s (0:05:53) = + : + RPM_EC=0 ++ jobs -p + exit 0 Processing files: python3-imagecodecs-2023.1.23-1.fc41.s390x Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.xC1540 + umask 022 + cd /builddir/build/BUILD + cd imagecodecs-2023.1.23 + DOCDIR=/builddir/build/BUILDROOT/python-imagecodecs-2023.1.23-1.fc41.s390x/usr/share/doc/python3-imagecodecs + export LC_ALL= + LC_ALL= + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-imagecodecs-2023.1.23-1.fc41.s390x/usr/share/doc/python3-imagecodecs + cp -pr /builddir/build/BUILD/imagecodecs-2023.1.23/README.rst /builddir/build/BUILDROOT/python-imagecodecs-2023.1.23-1.fc41.s390x/usr/share/doc/python3-imagecodecs + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.1h2emI + umask 022 + cd /builddir/build/BUILD + cd imagecodecs-2023.1.23 + LICENSEDIR=/builddir/build/BUILDROOT/python-imagecodecs-2023.1.23-1.fc41.s390x/usr/share/licenses/python3-imagecodecs + export LC_ALL= + LC_ALL= + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-imagecodecs-2023.1.23-1.fc41.s390x/usr/share/licenses/python3-imagecodecs + cp -pr /builddir/build/BUILD/imagecodecs-2023.1.23/LICENSE /builddir/build/BUILDROOT/python-imagecodecs-2023.1.23-1.fc41.s390x/usr/share/licenses/python3-imagecodecs + RPM_EC=0 ++ jobs -p + exit 0 Provides: python-imagecodecs = 2023.1.23-1.fc41 python3-imagecodecs = 2023.1.23-1.fc41 python3-imagecodecs(s390-64) = 2023.1.23-1.fc41 python3.12-imagecodecs = 2023.1.23-1.fc41 python3.12dist(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.3()(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.12 python3.12dist(numpy) rtld(GNU_HASH) Processing files: python-imagecodecs-debugsource-2023.1.23-1.fc41.s390x Provides: python-imagecodecs-debugsource = 2023.1.23-1.fc41 python-imagecodecs-debugsource(s390-64) = 2023.1.23-1.fc41 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-1.fc41.s390x Provides: debuginfo(build-id) = 16db19a74bb2dae4ca83c3ee2a1fbb59a523d931 debuginfo(build-id) = 19777bd2b28968848562e3e3f304ee018d85844f debuginfo(build-id) = 28162ded0c051433864f10e70d6c97a52521d386 debuginfo(build-id) = 2ab374de04d3026ffa7458293f0a989d6a9434b8 debuginfo(build-id) = 2df97105761b1adaab2dd54df804ac10f54bbd0d debuginfo(build-id) = 2fb6e7b15b06a66412c285fc5d44471e90da9068 debuginfo(build-id) = 403da49a1fc7cd543ffa65d82faf1ab3ceb609c1 debuginfo(build-id) = 5bb1fa2fa70d02adc715951099336f2e3c50cb50 debuginfo(build-id) = 5d538f1804e1580a3b4cdfb75cdb3971cb286f8a debuginfo(build-id) = 5dfc855f86d3205fd756dd1a8519e0a68295a7fd debuginfo(build-id) = 6341252b8cd710f01d4efee2e5d268edd83715d2 debuginfo(build-id) = 69f99f2e00d010461741a38391245ffd947616cf debuginfo(build-id) = 87b607d14a8c9bf18dfefe496526eb3ebd825c35 debuginfo(build-id) = 8eb3507b2ec6626c366982550aff7bc80d015bb1 debuginfo(build-id) = 988cbfc87ed1e3659c372fe9007144055e1aed24 debuginfo(build-id) = 99b49d2902fac499cd65c5ef3943948b63a52eb5 debuginfo(build-id) = adae85ea38caea1969585cd63e5154b576d66a11 debuginfo(build-id) = ccd51b34f4b4c9bc9cfb57e3e1450421220b7305 debuginfo(build-id) = d0d43aaf9bdc8ff478dca766413e750db4336a8b debuginfo(build-id) = dbaa9506596b94868dcf75f40833ecfb486b654b debuginfo(build-id) = dc1edd800b3d9dabf5e534f13cce6bb93e9795e8 debuginfo(build-id) = dc5bf8c532c4a1dff418e1acb3a099f75ace81ab debuginfo(build-id) = e132dd085c1997fb4fb97d29249fcd1dfcc7298a debuginfo(build-id) = e5483b5da3715f46e8dafb51604324f73ff6e65a debuginfo(build-id) = ed797a5551a5157c4258c9a33c85e365d3bcdb86 debuginfo(build-id) = fcb50a173d47696b97b27cb8b2e709f7f622c651 debuginfo(build-id) = fe44c086b63248bcf310c45cf964e721862c79b3 python-imagecodecs-debuginfo = 2023.1.23-1.fc41 python3-imagecodecs-debuginfo = 2023.1.23-1.fc41 python3-imagecodecs-debuginfo(s390-64) = 2023.1.23-1.fc41 python3.12-imagecodecs-debuginfo = 2023.1.23-1.fc41 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-1.fc41 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-imagecodecs-2023.1.23-1.fc41.s390x Wrote: /builddir/build/SRPMS/python-imagecodecs-2023.1.23-1.fc41.src.rpm Wrote: /builddir/build/RPMS/python-imagecodecs-debugsource-2023.1.23-1.fc41.s390x.rpm Wrote: /builddir/build/RPMS/python3-imagecodecs-2023.1.23-1.fc41.s390x.rpm Wrote: /builddir/build/RPMS/python3-imagecodecs-debuginfo-2023.1.23-1.fc41.s390x.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.Rvz1Fi + umask 022 + cd /builddir/build/BUILD + cd imagecodecs-2023.1.23 + /usr/bin/rm -rf /builddir/build/BUILDROOT/python-imagecodecs-2023.1.23-1.fc41.s390x + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.gZI9B2 + umask 022 + cd /builddir/build/BUILD + rm -rf /builddir/build/BUILD/imagecodecs-2023.1.23-SPECPARTS + rm -rf imagecodecs-2023.1.23 imagecodecs-2023.1.23.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Finish: rpmbuild python-imagecodecs-2023.1.23-1.fc41.src.rpm Finish: build phase for python-imagecodecs-2023.1.23-1.fc41.src.rpm INFO: chroot_scan: 1 files copied to /var/lib/copr-rpmbuild/results/chroot_scan INFO: /var/lib/mock/fedora-40-s390x-1713734902.857088/root/var/log/dnf5.log INFO: Done(/var/lib/copr-rpmbuild/results/python-imagecodecs-2023.1.23-1.fc41.src.rpm) Config(child) 14 minutes 2 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": "1.fc41", "arch": "s390x" }, { "name": "python-imagecodecs", "epoch": null, "version": "2023.1.23", "release": "1.fc41", "arch": "src" }, { "name": "python3-imagecodecs", "epoch": null, "version": "2023.1.23", "release": "1.fc41", "arch": "s390x" }, { "name": "python-imagecodecs-debugsource", "epoch": null, "version": "2023.1.23", "release": "1.fc41", "arch": "s390x" } ] } RPMResults finished